Insert/append taking way too long

Hello,
I am trying to load the data from DB1 to DB2 via db-link, structure is as
DB#1
My_table
col1
c0l2
c0l3
col4
col15
DB#2
DB2_My_table
col1
c0l2
c0l3
col4
col15
Index on col1 ,col3,col5Structure is same
I have created a synonym MY_TABLE on DB#2 for my_table@DB1.
CREATE OR REPLACE SYNONYM MY_TABLE
FOR MY_TABLE@DB1Now for loading i am doing something like this on DB#2
Insert /*+ append*/ INTO DB2_MY_TABLE
(col1
col2
col3
col15
SELECT
col1
col2
col3
col15
from MY_DB
where col15 is nullTotal rows count in MY_TABLE@DB1 is 711,997,846
Currently this process takes nearly 3 hr , i am looking to optimize this in any way if i can.
Any reply/hint/idea will be much appreciated.
Oracle version on DB1
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Productionon DB2
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit ProductionThanks!

user10647455 wrote:
Currently this process takes nearly 3 hr , i am looking to optimize this in any way if i can.
Any reply/hint/idea will be much appreciated.It appears optimized to me.
HOW To Make TUNING request
SQL and PL/SQL FAQ
Handle:     user10647455
Status Level:     Newbie (15)
Registered:     Nov 24, 2008
Total Posts:     298
Total Questions:     79 (52 unresolved)

Similar Messages

  • Installing OS X on a new hard drive taking way too long?

    I switched out my old 250 GB hard drive that shipped with my MacBook Pro for a new 640 GB WesternDigit drive. I'm trying to use a Mavericks installer USB to install on my newly formatted hard drive, but it's taking way too long - I mean, I left it going overnight (about 7.5 hours), and when I came down, it wasn't even half done. Is there anything I can do here? I'd like to use my laptop. Thank you very much for any suggestions.

    Do you have a internet connection? Even with a USB installer that if good and functioning properly you need an internet connection to Authenticate the install with your Apple ID.
    If your old drive is still functioning you can connect it to your Mac with a SATA to USB adapter and use the Recovery HD on that original drive to reinstall Mavericks on the new drive.
    If the drive is no longer functioning and you have no way of getting to the Apple internet download for Mavericks then you will need to start with an install of the original version of OS X that came on your Mac when new then update and or upgrade to Snow Leopard 10.6.8 and then use the Mac App Store to reinstall Mavericks. There is not other way to do this. So save yourself some time and trouble and start fresh.
    If your original drive is still functioning and it had Mavericks installed on it you can also CLONE that drive to the new one once you connect it to your mac with some type of SATA to USB adapter or enclosure.
    If the Mavericks USB installer you have was made from a Mac that came with Mavericks pre-installed on it that will not work on your Mac.

  • It's taking way too long for my messages to load.

    Starting on Tuesday this week (10/14) it is taking way too long for my messages to load from my Gmail account. Once the message finally shows up in the Inbox, it's taking up to 10-15 min for the message to load where I can actually view the message. I'm going to have to move to another email application if this can't be resolved which is very unfortunate as I've enjoyed using Thunderbird up until now.

    I guess I'm at least happy to know it's not just me. I've had to abandon Thunderbird for now. I guess I'll keep an eye out for future updates.

  • Firefox is taking way too long to load pages. I have a very fast internet connection but firefox takes forever to load websites. At first it worked fine and very fast but now very slow??

    firefox is taking way too long to load pages. I have a very fast internet connection but firefox takes forever to load websites. At first it worked fine and very fast but now very slow??

    Hi there!
    do you test other browsers?
    i suggest to make a clean install of newer version of Firefox like v8.0.

  • Taking way too long to iPhone for iOS 5

    Taking too long to sinc iPhone for ios5

    What it has to do is install the framworks and then reload all of your data onto the iPhone. It took me 2 hours to install on my iPad but it took 15 min for my iPhone

  • OSX installation (and reloading images) taking way too long

    Hi everyone.
    I've noticed a problem lately: installing OSX (either my original Tiger DVD or my new Leopard DVD) is taking way longer than it should. The same thing also happens when I try to revert back to an older disk image.
    I tried installing Leopard yesterday and it said it was going to take 5 hours. Initially I thought it was because the disk I was using was partitioned, so today I have wiped the disk completely, restored it to one partition, and disconnected all my external drives and all but the primary internal ones. That seems to have dropped the install time to 3 hours.
    The first thing I did yesterday was try to restore an older image of my Tiger installation. That one was about 60GB in size and, even after 8 hours, the installation had not predicted an actual remaining install time, but from the progress bar, it looked like it would be at least 2 days.
    Why in the world would this be happening and has anyone run into it before? All the system checks I ran the other day seemed to indicate things were fine. So am I missing something?
    Thanks.
    -N

    Check the S.M.A.R.T. status of the HDs.
    Run DU and repair the HDs if needed.
    It's also possible that your optical drive is dying and/or your Tiger CD and Leopard DVDs are dirty or scratched.
    A typical Leopard install takes under 1 hour. Anything over 2 indicates some major issues.

  • Slideshow Taking WAY too long to load

    I have a slideshow posted at
    http://olyrents.com/slideshow.htm
    My client is saying it takes too long to load, and I am
    finding that it is loading all of the photos first before you can
    scroll through and view them. It's just not functioning properly.
    I wonder if someone could look at the actionscript and give
    me any suggestions? Maybe there's something else going on?
    I have attached the script from the original fla file.
    Thanks!

    That adds up to somewhere in the realm of 5MB, which isn't
    going to be a quick load time, though it might be visually workable
    if you separate the loading from the viewing.
    One thing you might consider is doing away with the preloader
    visual. With 65 images being interupted by 65 preloader screens, it
    kinda defeats the potential aethetics of the images and may lead
    one to think it's taking a long time to load them as a result.

  • Query taking way too long

    Hello,
    Can somebody please help.
    I am wanting to change this query so that it does not take too long. How can I do it please?
    select count(*), t.tel_no, t.prospect_id, a.ACCOUNT_NO, a.account_title
    from tel_nos t, account a
    where t.tel_type = 'S'
    AND t.prospect_id = a.prospect_id
    AND SYSDATE BETWEEN t.start_date AND NVL(t.end_date, SYSDATE)
    group by t.tel_no, t.prospect_id, a.ACCOUNT_NO, a.account_title
    having count(*) > 1
    Thanks in advance.

    Tuning is a science not a parlour guessing game. It's hard for us to diagnose the problem you have here as you have given us almost no information. For instance, are you using rule based or cost based optimizer? How big are these two tables? What indexes do they have? What percentage of rows are you expecting the query to return?
    Tuning is such a big area that it's hard to know where to begin. I suggest you start at the Oracle docs. Chapters 1, 4 and 5 will set you going.
    http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76992/toc.htm
    Having said all that you may well find this runs faster:
    SELECT count(*), t.tel_no, t.prospect_id, a.account_no, a.account_title
    FROM   account a, tel_nos t
    WHERE  t.tel_type = 'S'
    AND    sysdate BETWEEN t.start_date AND nvl(t.end_date, sysdate)
    AND    t.prospect_id = a.prospect_id
    GROUP  BY t.tel_no, t.prospect_id, a.account_no, a.account_title
    HAVING count(*) > 1
    /I leave it to you to work out why (it's nothing to do with clearer layout).
    Cheers, APC

  • HT1689 It is taking way too long to download my purchase, what's going on?

    My tv program download is taking too long

    Your TV program may be huge ... like a gigabyte or so.  That could take a very long time to download, depending on your WiFi connection speed and quality.

  • Mail taking way too long to get to my iphone...Rogers network Toronto

    Today, on more than one occasion I sent an email from my yahoo account to my .mac account. The email arrived within 2 minutes. I was online the entire time to verify. My iphone, failed to be notified within 30 minutes!! In actual fact, i don;t know how long it would have taken to get the email. The only way I managed to retrieve the email on my iphone was to select the mail application on the iphone and select "inbox". This forces the software to check for mail....This isn't PUSH at all.
    Is anyone else experiencing this.?
    Thanks
    B

    the push services are only as good as the pusher I believe. I know my yahoo mail doesn't get pushed very well. Sometimes it's instant other times it's not. My girlfriend's email on a microsoft exchange server activesync is pushed pretty consistently. Given some of the hangups with the mobileme services, I'm not too surprised that the push isn't working great. It's really a mobilme issue I think, and I will let others with the service chime in with their experiences.

  • BUNDLE_EXECUTE TAKING WAY TOO LONG TIME. PLEASE HELP

    Hi Experts,
    Please see that after we ugrade our SEM 4 to SEM 6 along with BW 3.5 to BI 7, I am performing Post Upgrade Testing in Sandbox.
    In this process when I tried executing a Global Planning Sequence in Back Ground by Right Clicking the GPS I wish to run and selected Execute PS in Background Option.
    But when I am looking at it's status in Job overview, it is running for ever. I still wonder that how come it is taking so long time and I have no clue.
    The same GPS when I tried executing the ssame way in DEV and QA servers where the Upgrade is still not happened it is not taking more than 80 Seconds.
    So Kindly guide me through this issue. Highly appreciate your valuble inputs.
    Thanks and Regards,
    BIP

    Hi ,
    We are facing the same issue in our new parallel systems (SEM 3.2 to SEM 6 along with BW 3.1 to BI 7). Please let us know how you solved the issue.
    Our Planning Sequence has just one copy function.
    The same GPS when I tried executing in old systems in SEM 3.2 and BW 3.1, it is working fine.
    Any solution?
    Thanks,
    H

  • Updating 3GS from 3.1.2 to 6.1.3 taking way too long. Is there a better and faster way?

    How long does it take to update an original 3GS to 6.1.3? I followed the iTune instructions and it has been updating for hours already. Is there a better and faster way to do this?

    SO if I want to represent the London Underground
    network as a Graph how would I be able to do it?By writing classes of your own or using some one else's. I don't think that the collections framework has out-of-the-box support for graphs.... So try google first.
    The implementation details depend on the API you are going to use, of course...
    from A to B 5 min
    from B to C 4 min
    from A to C 9 min
    this information is redundant, the third info should be omitted. <nit-picking>
    No it's not - What if there's a special, more direct route from A to C? Also, getting from A to B to C will usually take more time than the time from A to B plus the time from B to C. The trains have to stop at B, don't they?
    </nit-picking>
    Maybe this approach is more complex, but it solves the problem Have I understood correctly - isn't what you describe just another way to implement a graph?

  • Shuffle taking way too long to sync

    after updating to itunes 8.o, all of the three shuffles that use that itunes library take forever to sync-even one song or podcast. what happened?? does anyone know how to fix this??

    Even though the Shuffle is listed as USB 2.0 compatible it only seems to sync at USB 1.1 speeds. I've had a nano and a shuffle and the nano syncs WAY faster than shuffle (no conversion to 128kbps AAC is taking place)
    Message was edited by: ajstahl

  • OS X Mountain Lion...taking way too long

    I purchased OS X Mountain Lion for my iMac.  iMac meets all the requirements MAC OS X 10.7.4.  It's been 22 hours and it isn't doing anything, sitting at 1.86 GB of 4.37 GB.  Why is the download taking so long?  Is there something else I should be doing? 

    Thank you for your reply...I do believe the WiFi connection in our neighborhood could be the factor here...congestion.
    Browsing has never been an issue...but downloading something this large obviously is.
    I have paused the download and resumed...since I posted earlier, it is now at 2.22 GB of 4.37 GB ... moving VERY slowly. 
    Not sure what to do at this point...I will call the support line during wrkg hrs.  See if they can cancel my online pymt and I'm assuming I can purchase the OS X Mountain Lion at Best Buy???
    The neighborhood is waking up soon...and more congestion will be interfering soon.

  • JDBC Connection taking way too long

    Hi,
    I have an odd problem which has just started to happen. I am creating a very simple JDBC connection to the MS SQL Server database using the Microsoft JDBC driver. This has always worked for me in the past and has never caused any problems. Now, however, creating a connection to my database is taking about 20 seconds! This is usually a sub-second operation. I have tried to narrow down the cause, but everything I have tried has failed. Here are all the things I have tried so far:
    1. Using a different JDBC driver (several, including the ODBC bridge)
    2. Create a test app which just has my connection code and run this from different machines on the network under different JDKs
    3. Re-installed by SQL Server database
    4. Connected using IP address rather than machine name (in case it was a DNS issue of some sort)
    5. Connected using different login accounts
    6. Vertified connectivity using telnet (port 1433)
    7. Verified connectivity via ODBC in an ASP page
    If I telnet to the SQL Server service I can connection without any delay. I can also connect immediately using an ODBC connection via an ASP page, so I don't think it's a problem with my database. I just seems that connectivity from Java land of woefully slow. I have never had this problem before, it's only started happening recently. The only thing that has changed recently is that I signed up for a new ADSL provider, but I can't see how this could have any bearing as all the machines are internal and connected by a 100Mbps router!
    Here's the code I am using to test...
    long current = System.currentTimeMillis();
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
    Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://<server-ip>:1433;User=<usr>;Password=<pwd>", null);
    System.out.println(System.currentTimeMillis() - current);
    connection.close();This gives me times of about 20 seconds.
    Help!

    You are right.. but the fact that:
    a) I can telnet and connect instantly
    b) The jdbc-odbc bridge connects immediately
    .. tells me that the network is ok.. at least for native functions. The only consistency I can find is that native (windows) functions connect without any issue, but pure Java functions experience problems. It may well be an issue with my network, but it seems that the issue is isolated to the Java environment (guessing here).
    I tested this theory by simply opening a socket connection from Java, but has not problems (connected immediately).
    I tried switching on the debug messages in the DriverManager (DriverManager.setLogWriter(writer))... this didn't tell me anything.
    ... The ONLY thing I can think of trying is disconnecting from my ADSL router and trying a simple cross-over cable from one machine to the other.
    Thanks for your help though.

Maybe you are looking for

  • Toshiba DT01ACA050 too many bad sectors on first 5 months

    Hi Good day, I bought a toshiba internal drive 500gb(sealed) from my friend but after weird behavior on my pc I found out that it has too many bad sectors detected by HD tune pro and HDsentinel. He insisted that the drive is in good condition because

  • JTable horizontal fit into JScrollPane

    Hi, I am having problems with a JTable that has too many columns so it is not possible to see them all at once. So I am trying to put the table in a JScrollPane that can display the right ends of the table when scrolled, with the correct column width

  • [won't solve] cannot get chromium-libpdf with qpdfview to work

    Hello! I tried to get qpdfview working with chromium, but I didn't find out how- does someone knows how to do this? Is it possible? I only read about people installing evince, acroread or okular but I don't really like any of them pdfreaders- Thanks

  • J2EE to legacy

    I have a scenario J2EE web based application to legacy. What are the possible adapters to be used. I am thinking SOAP or HTTP or Java Proxy (Sender) and File (Receiver) I am curious as to why I would choose SOAP over Java Proxy or vice versa. Also ar

  • Report server crashed

    Hi All , We are using Oracle EBS 11.5.10.2 with database version 11.2.0.2.0. Its a 3 node setup , node 1 runs the DB The other 2 nodes run everything else. There are has been no change in the setup. but frequently we have been getting complaints in t