Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: PL/SQL help for a beginner

Re: PL/SQL help for a beginner

From: Niall Litchfield <n-litchfield_at_audit-commission.gov.uk>
Date: Fri, 20 Sep 2002 15:38:53 +0100
Message-ID: <3d8b32fd$0$1286$ed9e5944@reading.news.pipex.net>


"Billy Verreynne" <vslabs_at_onwe.co.za> wrote in message news:amec6h$37i$2_at_ctb-nnrp2.saix.net...
> 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. :-)

Also forgot to mention, don't forget to size your redo buffer at the default 32k and the redo logs at say 128k so as to checkpoint as often as possible.

--
Niall Litchfield
Oracle DBA
Audit Commission UK
*****************************************
Please include version and platform
and SQL where applicable
It makes life easier and increases the
likelihood of a good answer

******************************************
Received on Fri Sep 20 2002 - 09:38:53 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US