Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: PL/SQL help for a beginner
steve wrote:
> I need to "hammer" on the database, causing tremendous amounts of I/O.
> I have one program that I submit about 30 processes of to a batch queue,
> and it does 50K inserts to the table (per process), but the machine is
> still loafing.
Try using full table scans (not using any indexes). This can be done via a
hint in your SQL SELECT statement, e.g.
SELECT /*+ FULL(tablename) */ * FROM tablename
Use cartesian joins, e.g.
SELECT * FROM table1, table2, table3
Combine these with a CREATE TABLE AS SELECT.
In fact, being a newbie you have all the qualifications you need or hammering Oracle. :-)
-- BillyReceived on Fri Sep 20 2002 - 00:36:35 CDT