in reply to Threading (Perl 5.8 ithreads) with Oracle 9i dumps core
In Oracle if I have a lot of deletes to do in a large database, I use partitioned views to spread the work out. I also drop as many indexes as I can so that the index overhead is removed until I am done deleting and then I reindex.
The partitioned views will help the update issue also, since the actual database will be spread across multiple disks. Also make sure that your temp space is not on the same disks as your database and indexes.
I would also optimize my segment management and use stored procedures for the updates and deletes. You can have Perl call the stored procedures if you want.
Overall I would tune my database side first, and then work on concurrent SQL processes.
Richard
There are three types of people in this world, those that can count and those that cannot. Anon
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Threading (Perl 5.8 ithreads) with Oracle 9i dumps core
by fx (Pilgrim) on Dec 21, 2003 at 14:52 UTC | |
by fx (Pilgrim) on Jan 02, 2004 at 15:34 UTC | |
by elf_firein (Acolyte) on Jan 06, 2009 at 09:18 UTC |