RE: sql tuning.

RE: sql tuning.

 

  

Have you tried indexing? This will help with some of your stats from a basic SQL Plus session:

set autotrace traceonly

<< your query here >>

select a.*,b.* from table_a a, table_b b where a.key=b.key;





-----Original Message-----
From: Anthony Molinaro
[mailto:oracledba-ezmlmshield-x27645840.[Email address protected]
Sent: Friday, January 27, 2006 2:37 PM
To: LazyDBA Discussion
Subject: RE: sql tuning.


Jenny,
Since it's only one query can you post the query and some stats?
Maybe we can tweak it a bit before you go and partition your tables
and try parallel sql.

Regards,
Anthony


-----Original Message-----
From: Jenny
[mailto:oracledba-ezmlmshield-x96208125.[Email address protected]
Sent: Friday, January 27, 2006 5:33 PM
To: LazyDBA Discussion
Subject: sql tuning.

Hi, gurus!

Any one had a positive experience with using partitioning/parallel
select on a small-ish databases? I am getting desperate ...
Must improve performance of one query, which performs decently, but I am
asked to "improve", and seems like no matter what I try I am hitting a
wall.
I know my question is too generic, and it is all too
environment-dependent...so I am looking for an inspiration! Any war
stories appreciated.

Thanks,
Jenny

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version. This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.



--------
website: http://www.LazyDBA.com
Please don't reply to RTFM questions
Oracle documentation is here: http://tahiti.oracle.com
To unsubscribe: see http://www.lazydba.com/unsubscribe.html
To subscribe: see http://www.lazydba.com
By using this list you agree to these
terms:http://www.lazydba.com/legal.html



--------
website: http://www.LazyDBA.com
Please don't reply to RTFM questions
Oracle documentation is here: http://tahiti.oracle.com
To unsubscribe: see http://www.lazydba.com/unsubscribe.html
To subscribe: see http://www.lazydba.com
By using this list you agree to these terms:http://www.lazydba.com/legal.html


Oracle LazyDBA home page