Need to make a copy/clone of a table which has sdo_geometry data type

Folks,
We are running Oracle 11gr1 on Suse Linux platform.
We have a requirement, where we need to make a copy of a table, in the same database but in a difference schema, the source table has about 130 millions rows and also has the sdo_getometry data type.
I tried materialized view, but MV does not support sdo_geometry data type.
According to one of my DBAs, doing it via data pump , will take few days, which is not acceptable.
Is there a way, we can make a copy of this table in the same db ?
Thanks
Ashish

Siva,
This is not for backup purpose.
Here is the background information on this requirement.
I need to have a static copy of a table, which has spatial column, sdo_geometry in it.
So we can run another application against this table, just read-only, since we need static data, data in the source table changes quite often.
One of my DBA suggested to have another instance/database, to keep the copy of the source table, I thought idea of having another database just to keep a copy of a table is an over kill.
That is why I had asked this question and you had provided a viable solution.
Then we need to refresh this table , with the data (changes) from the source table, maybe once in 2- 3 weeks.
I tried creating a Materialized view, but it does not support Spatial columns.
So now I am trying to figure out, the most efficient way to refresh the clone table from the source table.
Regards,
Ashish

Similar Messages

  • How much space no I need to make Carbon Copy Clone of my internal drive?

    I am upgrading the RAM and HDD in my mid 2009 Macbook Pro. How much space on my external hard drive do I need if I want to make Carbon Copy Clone of my internal drive?
    Current drive is 250 GB in capacity
    I currently have limited space on in external HD

    Hi Niel thanks for the quick reply,
    My 250GB capacity drive is relatively full (at about 245GB). Given what you mentioned above,  I assume  I must need to have room for 20GB of surplus space for each backup I make?
    And therefore, would I need 265GB (to backup the 245GB drive) for the first time I clone the drive?
    Have I got that right?
    Cheers

  • I need to make a copy of an entire email, including the header w/the sender's info and time, etc. to insert into a letter, etc. How can I do this w/out cutting and paste and doing the header separately from the text.

    I need to make a copy of an entire email, including the header w/the sender's info and time, etc. to insert into a letter, etc. How can I do this w/out cutting and pasting   the header separately from the text. I know there is a way besides a screen shot but I've spend hours trying to find it.

    Smurfslayer wrote:
    For the particularly persnickety types you might want to expose the full headers in the email message as well.  It's easy enough to do, from mail's 'menu' select "view"; then "message"; then all headers.
    Another option you could use is a screen capture using Grab.
    Activate Grab, then shift + command + w (for a window screen shot).  Then confirm the window selection and click the mail message. 
    Dave
    Why are you addressing this to me...?
    I am not the OP...

  • Hi, I Would like to know what I need to do to make work iWork"09 with my portable which has mac OS Lion 10.7.5 ; it does non open it because it says I need to do some updates but how can I do it if it does not open it ?

    Hi,
    I Would like to know what I need to do to make work iWork"09 with my portable which has mac OS Lion 10.7.5 ; it does non open it because it says I need to do some updates but how can I do it if it does not open it ?
    Thank You

    WILL ANYONE ANSWER MY QUESTION?  WHAT DO I HAVE TO DO TO GET A REPLY FOR MY CONUNDRUM/

  • I need to implement Drag N Drop between two tables which saves both records

    I need to implement Drag N Drop between two tables which saves both records in a third page, by using drag n drop.

    check this video http://baigsorcl.blogspot.com/2011/01/drag-and-drop-collection-in-oracle-adf.html

  • I need to make a copy of my SL installation DVD

    I have SL installed in both my iMAC and my MacBook Pro. However, just for security's sake, I'd like to make a copy of the Snow Leopard installation DVD that Apple had sent me. I tried to do so using Disk Utility under SL, but when it came to actually copy the created image on a blank DVD, the system advised me that I didn't have enough space on my DVD. Are there readily available higher capacity DVD on the market that would fulfill this purpose (Higher than the traditional 4.7 GB ones? I think there are, having made a google search, but is there a specially recommended brand? I don't want a cheap one, since we are talking about an important DVD that may save me lots of trouble in a possible future problem.

    To do so requires a dual-layer DVD-R. I would use a good brand such as Verbatim. Do the following:
    Duplicate a CD or DVD
    1. Insert the DVD/CD;
    2. Open Disk Utility, and select the DVD/CD from the left side list (select the DVD/CD icon on top);
    3. from the DU File menu select New | Disk Image from Disk 1;
    4. Choose to format the disk image as DVD/CD Master, name the disk image and click Save;
    5. When the .cdr file is finished select it with mouse and press COMMAND-I to open the Get Info and check the box to lock the file;
    6. Choose the .cdr file from the left side list, click Burn, and insert a new, blank DVD or CD.

  • Need to make a dff field read only if it has data

    Hi,
    we added dffs to the manage sites page, i am extending the controller to do some validations of this DFF page. I need to make dff read only if it has some data. The following code is not working.
    public void processRequest(OAPageContext pageContext,OAWebBean webBean)
    super.processRequest(pageContext,webBean);
    OAApplicationModule xam = paramOAPageContext.getApplicationModule(paramOAWebBean);
    OAViewObjectImpl DffVO = (OAViewObjectImpl)xam.findViewObject("SitesFlexVO");
    OAViewRowImpl DffRow = (OAViewRowImpl)DffVO.getCurrentRow();
    if(DffRow.getAttribute("Attribute1")!= null)
    OADescriptiveFlexBean dffBean = (OADescriptiveFlexBean)webBean.findChildRecursive("Attribute1");
    dffBean.setReadOnly(true);
    can you please suggest whats wrong and give me a correct solution.
    Thanks,
    Kiran M.

    Thanks for the reply nani,
    it didnot work, i am getting the following exception.
    ## Detail 0 ##
    java.lang.NullPointerException
         at xxtjx.oracle.apps.pos.supplier.webui.XXTJXByrMngSiteDFFCO50.processRequest(XXTJXByrMngSiteDFFCO50.java:43)
    The error line 43 in my code is
    dffBean.setReadOnly(true);
    so i feel there is something wrong with this command. I kept this validation in process request and i am able to fetch attribute values in process request. so i feel there is no issue fetching the attribute value. i feel its the issue with the set command.
    Let me know if you have any other solution.
    Thanks,
    Kiran M.

  • Hey, newbie here. I'm trying to copy and paste a file which has text.

    I need to make a seperate sheet of labels of this file but it won't paste the text, only the background. What am I doing wrong?

    Are you sure the text is selected, might be a locked object or layer. Use the technique below as a test. Hide is a good friend in Illustrator, even after you become comfortable with the interface.
    Select >> all
    object >> hide >> selection
    object >> show all
    The other major reason this may be happening is you may have pasted the text, but that is somewhere off the screen. Zoom out and do a select all to see if you can find the text.

  • Clone internal disk(ufsdump) which has metadevice on external disk(sol 5.6)

    Dear IT Experts,
    I just help my friend. we planned to clone an internal disk of SUN Ultra 1 which is run using Solaris 2.6 (old).
    Actually, this system has one external disk which has created before using metadevice.
    The external disk (*/dev/md/dsk/d100 --> concatenation*) is used to save application data and connected to ultra 1 using SCSI device.
    Here is the vfstab content:
    +#device     device     mount     FS     fsck     mount     mount+
    +#to mount     to fsck     point     type     pass     at boot     options+
    +#+
    +#/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr     ufs     1     yes     -+
    fd     -     /dev/fd     fd     -     no     -
    +/proc     -     /proc     proc     -     no     -+
    swap     -     /tmp     tmpfs     -     yes     -
    +/dev/dsk/c0t0d0s1     -     -     swap     -     no     -+
    +/dev/dsk/c0t0d0s0     /dev/rdsk/c0t0d0s0     /     ufs     1     no     -+
    +/dev/dsk/c0t0d0s6     /dev/rdsk/c0t0d0s6     /usr     ufs     1     no     -+
    +/dev/dsk/c0t0d0s4     /dev/rdsk/c0t0d0s4     /var     ufs     1     no     -+
    +/dev/dsk/c0t0d0s7     /dev/rdsk/c0t0d0s7     /export/home     ufs     2     yes     -+
    +/dev/dsk/c0t0d0s5     /dev/rdsk/c0t0d0s5     /opt     ufs     2     yes     -+
    +/dev/md/dsk/d100     /dev/md/rdsk/d100     /export/home/oak     ufs     2     yes     +-
    Running command "metastat" and "metadb -i" will give output :
    +# metastat+
    d100: Concat/Stripe    Size: 53031888 blocks    Stripe 0: (interlace: 64 blocks)        Device              Start Block  Dbase        c0t2d0s7                   0     No        c0t3d0s7                   0     No        c0t4d0s7                   0     No
    +#+
    +# metadb -i+
    flags           first blk       block count
    a m  pc luo        16              1034            /dev/dsk/c0t0d0s3
    a    pc luo        1050            1034            /dev/dsk/c0t0d0s3
    a    pc luo        2084            1034            /dev/dsk/c0t0d0s3
    Running command "format" will give output :
    Current partition table (original):
    Total disk cylinders available: 2733 2 (reserved cylinders)+
    Part      Tag    Flag     Cylinders        Size            Blocks
    +0 root wm 0 - 134 100.20MB (135/0/0) 205200+
    +1 swap wu 135 - 307 128.40MB (173/0/0) 262960+
    +2 backup wm 0 - 2732 1.98GB (2733/0/0) 4154160+
    +3 unassigned wm 308 - 310 2.23MB (3/0/0) 4560+
    +4 var wm 311 - 580 200.39MB (270/0/0) 410400+
    +5 unassigned wm 581 - 985 300.59MB (405/0/0) 615600+
    +6 usr wm 986 - 2333 1000.47MB (1348/0/0) 2048960+
    +7 home wm 2334 - 2732 296.13MB (399/0/0) 606480+
    We try to clone disk using "ufsdump" command. The backup disk (cot1d0) capacity is like the capacity of original disk (c0t0d0) --> 2.1GB.
    Here is all the command that we have run:
    +# mount /dev/dsk/c0t1d0s0 /clone-root+
    +# cd /clone-root+
    +# ufsdump 0cf - /dev/rdsk/c0t0d0s0|ufsrestore -rf -+
    +# mount /dev/dsk/c0t1d0s3 /clone-s3+
    +# cd ../clone-s3+
    +# ufsdump 0cf - /dev/rdsk/c0t0d0s3|ufsrestore -rf - --> this command gave output "it is not ufsdump format"+
    # mount /dev/dsk/c0t1d0s4 /clone-var
    # cd ../clone-var
    # ufsdump 0cf - /dev/rdsk/c0t0d0s4|ufsrestore -rf -
    +# mount /dev/dsk/c0t1d0s5 /clone-opt+
    +# cd ../clone-opt+
    +# ufsdump 0cf - /dev/rdsk/c0t0d0s5|ufsrestore -rf -+
    +# mount /dev/dsk/c0t1d0s6 /clone-usr+
    +# cd ../clone-usr+
    +# ufsdump 0cf - /dev/rdsk/c0t0d0s6|ufsrestore -rf -+
    +# mount /dev/dsk/c0t1d0s7 /clone-export+
    +# cd ../clone-export+
    +# ufsdump 0cf - /dev/rdsk/c0t0d0s7|ufsrestore -rf+ -
    All dumping process were successfully done EXCEPT at /dev/rdsk/c0t0d0s3. It said that this partition is not in ufsdump format. I think because this partition is used as metadevice database.
    All dumping process were successfully done EXCEPT at /dev/rdsk/c0t0d0s3. It said that this partition is not in ufsdump format. I think because this partition is used as metadevice database.
    Afte install bootblk to c0t1d0s0, we tried to boot system using clone disk result (c0t1d0). We unplugged the original disk, and put the clone disk into target 0 slot (c0t0d0).
    While booting, it said that the meta database was broken and need to be repaired. we delete the metadb and re-create again --> # metadb -a -c3 -f /dev/dsk/c0t0d0s3.
    then REBOOT.
    But, after it, system won`t boot. the said that
    *"/dev/md/rdsk/d100" = no such device or address*
    */dev/md/rdsk/d100 /dev/dsk/c0t0d0s5 /dev/dsk/c0t0d0s7 = can`t check file system*
    please run fsck manually"
    we have run command "fsck". but the problem still there. System can`t boot. :-(
    But, while we put the original disk back, the system can run normally.
    Is there any steps that we are missing? Kindly need your help, please....we stuck. No idea...please response
    Thank you for any help and suggestion
    regarads,
    ferianto

    Sorry to hear.
    Other possibilities...
    Data Rescue...
    http://www.prosofteng.com/products/data_rescue.php
    (Has a Free Demo to see if it could or not, but you'll need another drive to recover to).
    rccharles on file recovery...
    "Stellar Phoenix Macintosh - Mac data recovery software, recovers data from damaged, deleted, or corrupted volumes and even from initialized disks."
    They have a trial version, so I guess you can see if your data can be recovered...
    http://www.stellarinfo.com/mac-data-recovery.htm
    FileSalvage is an extremely powerful Macintosh application for exploring and recovering deleted files from a drive or volume. FileSalvage is designed to restore files that have:
        * been accidentally deleted.
        * become unreadable due to media faults.
        * been stored on a drive before it was re-initialized/formatted.
    http://subrosasoft.com/OSXSoftware/index.php?main_page=product_info&products_id= 1

  • I make recovery media in my pendive but i format my D Drive of which has recovery data ?

    sir how will i make recovery drive from my pendrive ... i stored all data on my pendrive thourgh  HP RECOVERY MANAGER but unfortunatteky i format my local disk D drive from my laptop which has hp recovery data can i solve this problem ?

    Thanks for the feedback.  The weblink you provided is the one that errors out.  Below is the message that I receive.  I will try contacting HP Directly.
    Regards,
    DC
    The website cannot display the page
    HTTP 500
      Most likely causes:
    The website is under maintenance.
    The website has a programming error.
      What you can try:
      Refresh the page.
      Go back to the previous page.
      More information
    This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.
    For more information about HTTP errors, see Help.

  • TS1713 I need to purchase a new Portable Power Adapter which has a barrel type connection.  The one I have is not working.

    I need to purchase a new portable power adapter which has a barrel connector. Can not locate a new power adapter on the web site. Went through the troubleshooting, it is definitely not charging. Any one have info on this?

    You can buy from Apple. Or other vendors, such as Amazon.
    Check the wattage - it is printed on the side of the charger. Do not buy a lower wattage.
    Here's one. Note this is not an endorsement, only an example.
    http://www.amazon.com/Replacement-Adapter-Charger-PowerBook-A1021/dp/B002V1AYQ6/ ref=sr_1_1?s=electronics&ie=UTF8&qid=1396539641&sr=1-1&keywords=mac+powerbook+ch arger

  • I need to get rid of the second unwanted page which has icons for facebook etc.

    I've tried this before so this is the second time. I hope someone will reply. I don't want the second page which appears when I start up firefox. It has icons for facebook etc including Telegraph paper. I didn't ask for this and I don;t want it. A response needs to be in plain English with no computerese - I don't do jargon. (I have no idea what an 'add on' is nor do I know what a 'plug inn' is: have i got some of these unwillingly?

    hello johnxxxxzw35, we already received your original question - please don't open new threads for the same topic but please continue at [https://support.mozilla.org/en-US/questions/990532 /questions/990532].
    thank you!

  • Need to reset page numbers for each layout which has same data

    Hi Gurus,
    I have an requriement to reset the page number from 1 for each layout in same template.
    I know we can do this by @section when we have multiple header_id, but in my case, i have the same data that need to be shown in 3 different layouts under the same template.
    So for the first layout it should start with 1 of 2, 2 of 2
    Second layout should start with 1 of 2 , 2 of 2
    Third layout should start with 1 of 2 , 2 of 2
    Any help is highly appreciated.
    Thanks,
    Edited by: R on May 16, 2013 8:27 AM

    Hello Everyone,
    Appreciate if any clue about the mentioned requirement.

  • Want to make a bootable clone...which software should I use?

    After an accident with my previous laptop I've realised the importance of backing up all my stuff.
    I decided on an OWC Mercury Elite-AL external hard drive and now it's arrived I want to make a bootable clone of my HD. Has anyone who has an OWC Drive tried the software that comes with it and is it any good? It's called intech Speedtools.
    I've heard a lot of people on here talk about Carbon Copy Cloner and SuperDuper. Which is the best (and easiest cos I'm pretty stupid) would you say or are there others I should consider? A while ago I remember reading CCC wasn't compatible with Tiger. Is this still a problem?
    Any advice, I'd be grateful...

    You can make a clone using Disk Utility's restore function. I haven't tried it in a while though because it kept making three invisible folder visible on the clone. That was supposedly fixed with a 10.4 update but it kept happening to me.
    Carbon Copy Cloner isn't yet truly Tiger compatible is my understanding. It hasn't been updated since the 10.3 days. Many have reported that it's started working again if you install the 10.4.2 update. I myself have been making clones of my machine with it since then and haven't had any issues. Except for some reason, I have to select the destination disk first instead of the source, otherwise the app has crashed on me on occasion.
    Super Duper has a lot of fans and got a great write-up in Macworld. It's shareware but looks very easy to use. If I wasn't in such a tight financial situation right now (my business has been a little light on customers lately), that's the one I'd buy. It's not expensive though so maybe I'm just really cheap.
    I've also used Lacie Silverkeeper which was a touch difficult to understand and it also made the same three invisible folders visible that Disk Utility did. I haven't tried it or checked for updates in a while though.
    I actually need to make a clone of my machine today so I'm going to try and see if Disk Utility works correctly.

  • So i'm trying to make a copy of a vector....

    ... and it seems that i'm doing something wrong. I need to make a copy of the original vector because I need to clear it before the return statement(which returns a vector) so i'll have a clear vector to work with once the method is called again. I figure i'll just return the copy, but everytime I run my program its output isn't right unless I specifically return the first vector.
    I've declared
    Vector<Widget> original = new Vector<Widget>();
    Vector<Widget> clone = new Vector<Widget>();at the beginning of the class, and put the following at the inside the method of interest, at the end (after the original was filled with elements):
    clone = original;
    original.clear();
    return clone;that didn't work, so I tried this:
    clone = (Vector<Widget>) original.clone();
    original.clear();
    return clone;That didn't work either. Can someone explain to me how this works and what i'm doing wrong?
    Thanks.

    I apologize... i'm aware that a few students in my class visit this site, and don't want them copying my code.
    The code i've posted above is actually modified (changed the variable names), in an attempt to stop this.
    Here is the more info:
    What i'm trying to do is traverse a binary tree recursively for a (node.data).number that matches the argument the method takes in. The method is supposed to start at the root and add every node's data on the way to (and including) that particular node's data in to a vector, then return that vector.
    The nodes have the parameters: (data, parentNode,leftNode, and rightNode) where the leftNode and rightNodes represent the children of the node. The "data" parameter is an object with several other parameters... the only one of interest being "number". The traveler2 variable represents a node that I initialized (as class variables) to the root and will be using to traverse the tree. The Widget vectors clone and original have already been initialized in the class (class variables). The compareTo method was defined in another class, and compares an integer object with a node's data's number, to see if it's equal or not.
    public Vector<Widget> route(int widgetNumber)
              Integer wNumber = widgetNumber;
              clone.clear();
              if(wNumber.compareTo((traveler2.data).getNumber()) == 0 && wNumber!= null && traveler2.data != null)
                   original.add(traveler2.data);
                   traveler2 = root;
              else if(wNumber.compareTo((traveler2.data).getNumber()) == -1 && wNumber!= null && traveler2.data != null)
                   original.add(traveler2.data);
                   if(traveler2.leftNode == null)
                        traveler2 = root;
                   else
                        traveler2 = traveler2.leftNode;
                        route(widgetNumber);
              else
                   original.add(traveler2.data);
                   if(traveler2.rightNode == null)
                        traveler2 = root;
                   else
                        traveler2 = traveler2.rightNode;
                        route(widgetNumber);
              for(int i = 0; i < original.size(); i++)
                  Widget fromOriginal = original.get(i);
                  clone.add(new Widget(fromOriginal.getNumber(), fromOriginal.getW1(), fromOriginal.getW2(), fromOriginal.getW3(), fromOriginal.getW4(), fromOriginal.getW5()));
              original.clear();
              return clone;
         }The teacher has supplied an application that illustrates the path created when one runs the method. However, no path appears. No console errors either. I'm lost. If I were to take out the "original.clear();" line, and return original instead of clone, the method would work. However when it is called again, there is no way the path can be cleared to create a new one, thus providing an incorrect path (anytime other than the first time it is called).
    Please help?
    Thanks.
    Edited by: klawson88 on Mar 12, 2009 10:24 PM
    Edited by: klawson88 on Mar 12, 2009 10:26 PM

Maybe you are looking for

  • I just updated my macbook pro OSX 10.8.2 and now the speakers won't turn off mute.

    I did the software update, and upon restarting the speaker in the dock is off, and in the system preferences I am not allowed to uncheck the mute.  Using the keyboard buttons doesn't work either.

  • Why are most of the links on Oracle's site that relate to Java broken?

    Why are most of the links on Oracle's site that relate to Java broken? For example, try searching for SocketChannel and then clicking on any of the returned links, in particular click on www.oracle.com/technetwork/servers-storage/ts-4222-159193.pdf.

  • How to add certificate in mac os x lion for all users

    Hi hello I want just add certificate in the session Admin, but i want when one user connect in her session can have this certificate thanks for reply

  • Split and pick

    Hi Folks, I need to pick the data from a field and dispaly it as two fields.Can anyone here let me know how to go with this. addr1_data-remark:-(table is addr1_data and the field is remark). now i have to pick the contents from the field "remark" of

  • E-mail for support

    who can i write to about sending in my computer for repair....im not a "do-it-yourself" kinda person....also i believe i've searched until the end of the world for an e-mail address for mac to figure this out, but i guess only 1-800-myapple is the on