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: Oracle and SQL Tuning

Re: Oracle and SQL Tuning

From: Noodles <noodles_at_aol.com>
Date: 30 Aug 1998 18:28:33 GMT
Message-ID: <1998083018283300.OAA10311@ladder03.news.aol.com>


I would respond that optimal means different thing to different people. Optimal with respect to:

transaction time,
indexes used ( if any),
# of IO's,
records returned per block per IO event whihc is a function of the db_block_buffer_size
whether the SQL statement has already been run once before, still present in the SQL shared pool and does not have to be parsed again ....
I could go on and on...

 The column selection of "*" returns null values so maybe that SQL is not as "optimal" because the columns with null data would also be returned; Assuming nulls are allowed in the column constraints. I'm not sure what the interviewer was looking for.

Cliff Received on Sun Aug 30 1998 - 13:28:33 CDT

Original text of this message

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