Can the materized view be used here?

Hi,
Can I create a materialized view at the database ABC (the materialized view site) using the following query? the regional data (the master sites is located remotely at apj_db, can_db and us_db databases) are pulled in using dblinks?
select name, dept from emp_table@apj_db
union
select name, dept from emp_table@can_db
union
select name, dept from emp_table@us_db
Also which refresh mechanism is the best for this case?
Thanks
Liz

user624700 wrote:
Hi,
Can I create a materialized view at the database ABC (the materialized view site) using the following query? the regional data (the master sites is located remotely at apj_db, can_db and us_db databases) are pulled in using dblinks?
select name, dept from emp_table@apj_db
union
select name, dept from emp_table@can_db
union
select name, dept from emp_table@us_db
Also which refresh mechanism is the best for this case?Liz,
there is a very handy procedure DBMS_MVIEW.EXPLAIN_MVIEW which you can pass your query and it will tell you what is possible and what might be required. I think that materialized views containing UNION can't be refreshed fast (whereas those using UNION ALL might be fast refreshable), but this might depend on your version of Oracle. If you're already on 10g, you can use DBMS_ADVISOR.TUNE_MVIEW to get recommendations regarding the refresh method.
Regards,
Randolf
Oracle related stuff blog:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/

Similar Messages

  • How can I get my document to save with the rotated view last used?

    How can I get my document to save with the rotated view last used? 

    Possible with Adobe Acrobat, not Adobe Reader.

  • External USB not recognized on my iMac (intel) in Disk Utility, Finder as well as in Terminal diskutil list but is listed in System Profile, which includes the location ID of 0xfa400000 / 5.  Can the location ID be used to restore USB identity ?

    My 1TB Seagate external USB not recognized by my iMac (intel) in Disk Utility, nor in Finder as well as in Terminal "diskutil list" but it is listed within the System Profile, which includes the location ID of 0xfa400000 / 5.  Can the location ID be used to restore the identity of my external USB ?

    Hello JNotorious,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    USB and FireWire Quick Assist
    http://support.apple.com/kb/ht1151
    Have a nice day,
    Mario

  • HT204158 Can the Smart Cover be used to support the ipad in the vertical position?

    Can the Smart Cover be used to support the ipad in the upright vertical position?

    It can, but its not very secure, and only in a completely vertical position i.e 90 degrees.

  • HT1178 Can the time capsule be used with a pc running Windows Vista , 7 or 8 as a backup drive

    Can the time capsule be used with a pc running Windows Vista , 7 or 8 as a backup drive. If so what software do I need to buy?

    Can the time capsule be used with a pc running Windows Vista , 7 or 8 as a backup drive.
    Yes, on XP, Vista and 7. Have not tried 8.
    If so what software do I need to buy?
    Genie Timeline Pro does a very nice job...and it is similar to Apple's Time Machine.  It's not cheap though.  Check with the Genie folks for more info and compatibility with Windows 8.
    Genie Timeline Pro | Overview | Time Machine Backup Software for ...
    Other users may have some other suggestions.

  • Can the WAN port be used as LAN when AirPort Express (2nd Generation) is setup to join a wireless network?

    Can the WAN port be used as LAN when AirPort Express (2nd Generation) is setup to join a wireless network? (IE: 2 LAN ports)
    I haven't been able to get a clear answer on this. I believe the 1st generation would act as WAN/LAN depending on setting, but what happens with the 2nd generation?
    Thank you for your time.

    If the Express joins a wireless network wirelessly, in other words its WAN port isn't connected to anything, the correct way to connect a wired client to it is by using its LAN port.
    I don't know what would happen if you were to connect a wired client to its WAN port instead — it's just not supposed to be used for that purpose. It won't permanently break anything if you were to try it though. If you were, the worst that would occur is that your network would become unresponsive as packets continuously traverse its WAN port in a circular fashion, which might require that you power down your router to reset your whole network.
    If you are already using your Express's LAN port and you need another, the way to provide more ports is to purchase an inexpensive ($10 or so) switch. Connect it to the LAN port and as many other pieces of equipment as the switch's available number of ports.
    You're correct about the first generation with the single Ethernet port. It could be used in either capacity depending on its configuration.

  • Can the Acrobat SDK be used to turn off protected mode(Sandboxing mode)?

    Can the Acrobat SDK be used to turn off protected mode(Sandboxing mode)?

    At times there also seem to be some issues with saving to a network link. When this happens, try saving locally and see if that does the job. Try working on the document locally and see if the issue goes away. If so, then you are dealing with a more complex issue involving networks. Unfortunately, I do not have a solution in that case, but it might be helpful to know if that is the issue.

  • Were is the artwork view that used to be in the bottom left corner?

    Were is the artwork view that used to be in the bottom left corner?

    Hmm, probably. Drop a line to iTunes Feedback if you want to ask them to restore it.
    tt2

  • HT2494 Can the headphone port be used as Mic-In? Can it be switched in settings of the Mac to Mic-in?

    Can the headphone port be used as Mic-In? Can it be switched in settings of the Mac to Mic-in?
    Same question for Macbook Pro (particularly 2010 13" edition).

    what about the new iMac?
    I use mic only when working in Sony Vegas and other Sony programs. I'd like to know if I can use proessional Mic with the new iMac and with the old Macbook Pro, probably by connecting it through audio-in port, maybe there is a way to transform it through the settings on the Mac into Mic-in?
    If not, then my question is can I otherways use a professional Mic staying in Windows through Bootcamp on a Mac? And the most important - the new iMac, cause that happens to be the only question that stands before me and buying the new iMac.
    Maybe I'm a little bit lame in all this stuff, because I'm used to use Windows-based computers to work with audio, but I didnt really understand what all that preamp and Line ment. I know that Line is a super-quality of the sound, guess thats possible to produce only in studios, not even with an extra good Shure mic at home. Or maybe you've been meaning smth else. If you could explane me everything in more easy and detailed way - I would be grateful.

  • Can the camera connector be used with nano 1st gen

    As subject states, can the camera connector be used with the Nano??
    Many thanks!!

    The camera connector cannot be used with the iPod
    nano; it is only compatible with the iPod photo, iPod
    with color display, and Fifth Generation iPods out of
    those released so far.
    (16782)
    Ok thanks, but the Nano does have a Does a colour screen and can also store photos.
    Not that i dissagree with what your saying, its just strange!

  • Can the time capsule be used as both a time machine backup and NAS storage

    Can the time capsule be used as both a time machine backup and NAS storage?   I want to use the drive as external, wireless storage for all of my files so all my PCs, MACs and iOS devices can access the files.  Plus, I want to use the drive for backing up my iMac via time machine.  Can the time capsule device be used for both these purposes simultaneously?  If not, are the other suggestions on how I can do this?

    Can the time capsule device be used for both these purposes simultaneously? 
    It can, but is really not recommended. Sooner or later there will be a fight for space on the drive between Time Machine and the other files.
    If you have plenty of free space on the drive, you can do this......but.....have you thought about how you will back up the "other" files that are stored on the Time Capsule?

  • Can the Time Capsule be used just to back up on an existing wi-fi network?

    Can the Time Capsule be used just to back up on an existing wi-fi network?    We just set-up a new Xfinity wireless modem which is supposed to be very fast, but Time Capsule set-up instructions indicate we need to use the Time capsule as the primary internet connection.   True?

    My mistake. Meant to reply to snorris3. Text is repeated below:
    Can I still use it as a back up device?   My new modem is also the router.
    Yes you can.
    The best way (and really the only way) to set up the Time Capsule would be to connect an Ethernet cable from your modem/router to the Time Capsule.
    The Time Capsule will produce a wireless network by default, but if you don't want to use that network, it is a simple matter to turn off the wireless on the Time Capsule and use it only as a  hard drive for backups.
    I would be very surprised if the Xfinity modem/router would even come close to the wireless performance of the Time Capsule, but that may be another discussion.
    If you elect not to use the wireless on the Time Capsule, then you will be backing up over the existing wireless network that you already have.
    That would be a shame, since a third to half of the total cost of the Time Capsule is tied up in the wireless router portion of the Time Capsule. If you want to use the existing Xfinity wireless network, you could save yourself quite a bit of money by simply connecting a USB or Firewire hard drive to your Mac for backups. But, it's your call.

  • Can the time capsule be used as an external hard drive

    Can the time capsule be used as an external hard drive

    If you mean by usb to a computer no.. it is a network device only and has to be used via ethernet or wireless.
    It can be used standalone,, ie not plugged into an existing network.. but there are some steps required to make it work if you want internet connection at the same time. It is generally much easier to have the TC bridged into the network.

  • On Apple TV. Can the USB port be used for a keyboard and mouse interface

    On Apple TV. Can the USB port be used for a keyboard and mouse interface

    A bluetooth keyboard can be used with the Apple TV.
    There is no need for a mouse with an ATV.

  • Can the iPhone 4 be used as a hot spot for Wi Fi connection

    Can the iPhone 4 be used as an hot spot to connect my ipad through Wi Fi connection?  Why get the iPad with 3G if i can use the connection on the phone itself when needed.

    http://support.apple.com/kb/HT4517

Maybe you are looking for

  • HT204053 can you have 2 apple ids under one account

    Our family has several apple devices.  Our phones and computers use icloud to coordinate calendars.  However we do not want to receive each others imessages and such.  With several iphones on imessage and icloud and under the same id this has recentl

  • Tranfering content from MacBook to MacBook air

    I have not received my custom air yet, but was wondering how I will transfer my entire content from black MacBook to air, since air has no FireWire. In the past I have just transferred user content via FireWire on both computers and that has worked p

  • Acrobat 8 Standard: Looking for Batch

    Hi Everybody, we are using Acrobat 8 Standard. I have many PDFs wich are really big. These PDFs should be converted in TIFF oder JPG. Now I am looking for an solution that Acrobat do this for me. Is there an Batch-Function in Acrobat? I am searching

  • Project definition system status change details

    Dear PS experts, Request, kindly let me know which report is available to show the system status change from crtd to rel rel to teco teco to clsd we would like to analyse which date or period the system status changed thru edit-status from crtd to re

  • Itunes 64 bit will not complete install for windows 7?

    When I attempt to install iTunes 64 bit for windows 7 the installation process stops and the follwoing message appears: "There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact