DBAsupport.com Forums - Powered by vBulletin
Results 1 to 8 of 8

Thread: direct load

Threaded View

  1. #2
    Join Date
    Dec 2001
    Location
    UK
    Posts
    1,684
    Hi.

    Alot depends on how the DB is being used during this load. If you have got users on it then disabling the indexes is really going to p*ss them off.

    Also, you skip unusable indexes at session level. What about the other sessions accessing the data?

    You've not said what the source of the data is. Have you identified that it is the insert portion of the process that is definitely at fault, not the read.

    I don't want to sound like I'm teaching your grandmother to suck eggs, but have you tried this out and measured the total time. I've worked on a few systems where the index rebuilds alone would take many hours. It may be that using your method the data would get in quicker, but you would be rebuilding indexes for many hours after...

    Also, do you have any triggers on the tables? Can they be diabled and reenabled without affecting the integrity of the data? What happens if they are disabled and a user does somethig that would normally fire the trigger?

    If possible I try to leave the schema alone during data loads. My approach is, if the system can't deal with the data loads using "normal" methods, I've probably got the system design wrong, but there are always exceptions ;-)

    Cheers

    Tim...
    Last edited by TimHall; 06-21-2005 at 03:00 AM.
    Tim...
    OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
    OCA PL/SQL Developer
    Oracle ACE Director
    My website: oracle-base.com
    My blog: oracle-base.com/blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width