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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Oracle Tunning

RE: Oracle Tunning

From: K Gopalakrishnan <kaygopal_at_yahoo.com>
Date: Fri, 01 Feb 2002 03:20:49 -0800
Message-ID: <F001.00403041.20020201031528@fatcity.com>

<span

style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>Continuing my previous mail :

<span

style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'> 

<span

style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>Since you (as I always) have high respect for Steve Adams, Check what Steve says about that tip (in p607 Oracle Performance Tuning tips and techniques.. Richard Niemic)  in his Ixora Q & A on
buffer cache at http://www.ixora.com.au/q+a/cache.htm

<span

style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'> 

<span

style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>The one is dated 9th December 1999;

<span

style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'> 

<span

style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>Here is the excerpt:

<span

style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'> 

<span

style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>Topic :Free buffers  9 December 1999

<span

style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><span style="mso-spacerun: yes"> 

<span

style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>Q: I have read in one of the performance books that "If free buffers are not available (none with STATE=0) within the first 30 minutes of business hours, you probably need to set db_block_buffers higher." I have checked, and we have no free buffers within a minute of startup, but my buffer cache hit ratio is already better than 99%. 

<span

style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'> 

<span

style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>A: The advice that free buffers should be available after a certain period is wrong prior to 8.1, and dubious for 8.1. 

<span

style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'> 

<span

style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'> 

<span

style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'> 

<!---size:10.0pt;mso-bidi-font-size:

12.0pt;font-family:Arial'><span
style="mso-spacerun: yes"> AUTOTEXTLIST \s "E-mail Signature" <font
color=navy>Best Regards,<font
color=navy>

<span

style='font-size:12.0pt;color:navy'>K Gopalakrishnan<font color=navy>

<span

style='font-size:12.0pt;color:navy'> <font color=navy>

<span

style='font-size:12.0pt;color:navy'> <font color=navy>

<!---size:10.0pt;mso-bidi-font-size:

12.0pt;font-family:Arial'><span
class=EmailStyle20><span style='font-size: 10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'> 

<font size=2 color=black

face=Tahoma>-----Original
Message-----
From: root_at_fatcity.com
[mailto:root_at_fatcity.com]On Behalf Of SARKAR, Samir
Sent: Friday, February 01, 2002
2:25 AM
To: Multiple recipients of list
ORACLE-L
Subject: RE: Oracle Tunning

<span

style='font-size:12.0pt'> 

<font size=3 color=black

face=Arial>Well
Mogens, Niemiec's book does have its plus points as well. What we basically want from Oracle<span style='color:black; mso-color-alt:windowtext'>

<font size=3 color=black

face=Arial>is
improved response times and faster performance........which is all about how many hits we r getting<span style='color:black; mso-color-alt:windowtext'>

<font size=3 color=black

face=Arial>and
improving the hit ratio is something any DBA will try to attain.<font color=black>

<font size=3 color=black

face=Arial>There
is a wonderful technique in his book about how to estimate the size of the db_block_buffers<span style='color:black; mso-color-alt:windowtext'>

<font size=3 color=black

face=Arial>by
mythically raising it by a certain amount and checking the hit ratio or decreasing it and checking <span
style='color:black;mso-color-alt:windowtext'>

<font size=3 color=black

face=Arial>the
impact. This way, we can arrive at an optimum value for the db_block_buffers.<font color=black>

<font size=3 color=black

face=Arial>How to
interpret the UTLESTAT/UTLBSTAT statistics r very clearly and lucidly explained as r the various<span style='color:black; mso-color-alt:windowtext'>

<font size=3 color=black

face=Arial>join
methods, improper use of indexes including index suppression, using the x$bh table to monitor buffer use, <span style='color:black; mso-color-alt:windowtext'>

<font size=3 color=black

face=Arial>a very
clear explanation of the Explain Plan, new tips for Oracle 8/8i, how to use PL/SQL for better performance etc.<span
style='color:black;mso-color-alt:windowtext'>

<font size=3 color=black

face=Arial>The
best part is the book has lots of very useful queries and screen reprints to help us understand the <span style='color:black; mso-color-alt:windowtext'>

<font size=3 color=black

face=Arial>scenario
better.<span style='color:black;mso-color-alt: windowtext'>

<font size=3 color=black

face="Times New Roman"> <font
color=black>

<font size=3 color=black

face=Arial>Am not
saying that it is the best tuning book in the market but the techniques of tuning r very clearly explained<span
style='color:black;mso-color-alt:windowtext'>

<font size=3 color=black

face=Arial>in it.<font
color=black>

<font size=3 color=black

face=Arial>Tuning
by wait events is still very arcane and not explained clearly exactly how to do it in many books though<span style='color:black; mso-color-alt:windowtext'>

<font size=3 color=black

face=Arial>I
haven't read the 101 book. I still find it difficult to properly interpret all the various wait events and latch contention <span style='color:black;mso-color-alt:windowtext'>

<font size=3 color=black

face=Arial>and how
to go about tuning them And until Steve Adams comes out with his advanced performance tuning book, <span
style='color:black;mso-color-alt:windowtext'>

<font size=3 color=black

face=Arial>we will
all have to wait.<span style='color:black; mso-color-alt:windowtext'>

<font size=3 color=black

face="Times New Roman"> <font
color=black>

<font size=3 color=black

face=Arial>Samir<font
color=black>

<span

style='font-size:10.0pt;font-family:Verdana;color:navy;font-weight:bold'>Samir Sarkar
<span

style='font-size:7.5pt;font-family:Verdana;color:navy;font-weight:bold; font-style:italic'>Oracle DBA - Lennon Team<font color=black>
<span style='font-family:Impact;

color:navy'>Schlumberger<span
style='font-family:Impact;color:maroon'>S<font color=navy face=Impact>ema<font
color=black>
<span

style='font-size:7.5pt;font-family:Verdana;color:navy;font-weight:bold; font-style:italic'>Email :  samir.sarkar_at_nottingham.sema.slb.com<font color=black>
<span

style='font-size:7.5pt;font-family:Verdana;color:navy;font-weight:bold; font-style:italic'>           
samir.sarkar_at_sema.co.uk <span
style='color:black'>
<span

style='font-size:7.5pt;font-family:Verdana;color:navy;font-weight:bold; font-style:italic'>Phone : +44 (0) 115 - 957 6217<font color=black>
<span

style='font-size:7.5pt;font-family:Verdana;color:navy;font-weight:bold; font-style:italic'>EPABX : +44 (0) 115 - 957 6418 Ext. 76217<font color=black>
<span

style='font-size:7.5pt;font-family:Verdana;color:navy;font-weight:bold; font-style:italic'>Fax : +44 (0) 115 - 957 6018            <font
color=black>

<p class=MsoNormal style='margin-right:.5in;mso-margin-top-alt:auto;margin-bottom:
12.0pt;margin-left:1.0in'><span
style='font-size:10.0pt;font-family:Tahoma;color:black'>-----Original Message-----
From: Mogens Nørgaard
[mailto:mln_at_miracleas.dk]
Sent: 31 January 2002 18:39
To: Multiple recipients of list
ORACLE-L
Subject: Re: Oracle Tunning<font
color=black>

<p class=MsoNormal style='margin-right:.5in;mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;margin-left:1.0in'><span
style='font-size:12.0pt;color:black'>Commit; :-)

In my opinion, you shouldn't spend your money on buying the Niemich book. It's full of errors (increase the buffer cache hit ratio, for instance) and the wrong approach (no time-based measurement method, just checklist after checklist).

Buy 101 by Gaja. Then buy Tom Kyte's One-On-One book for general fantastic advise on anything. Then go to oraperf.com (Anjo), hotsos.com (Millsap), ixora.com.au (Steve Adams) and Jonathan Lewis' website (can never remember the adresse). Or go to MiracleAS.dk and find all these links, including the book links.

Mogens
Miracle A/S
Denmark

Farnsworth, Dave wrote:

<span style='color:black;mso-color-alt:

windowtext'>

<pre style='mso-margin-top-alt:0in;margin-right:1.0in;margin-bottom:0in;
margin-left:1.5in;margin-bottom:.0001pt' wrap=""><font size=2 color=black face="Courier New">Binay,

I totally agree with this recommendation from Jared for a tuning book. Read the first three chapters, stop and re-read them.  And if you play your cards right you can even get a question answered by an author on this list.  Cool, eh.

Dave

-----Original Message-----
Sent: Tuesday, January 29, 2002 3:05 PM
To: Multiple recipients of list ORACLE-L

Start with 'Oracle Performance Tuning 101',  available at an amazon.com near you.

Jared

On Tuesday 29 January 2002 09:10, BINAY.KUMAR_at_ponl.com wrote:<font color=black><pre
style='mso-margin-top-alt:0in;margin-right:1.5in;margin-bottom:0in;margin-left: 2.0in;margin-bottom:.0001pt' wrap=""><span style='font-size:10.0pt;color:black'>Hi Everyone

       Can anyone suggest me some very good book on Oracle Tunning.<font color=black><pre
style='mso-margin-top-alt:0in;margin-right:1.0in;margin-bottom:0in;margin-left: 1.5in;margin-bottom:.0001pt' wrap=""><span

style='font-size:10.0pt;color:black'>Please only<font
color=black><pre
style='mso-margin-top-alt:0in;margin-right:1.5in;margin-bottom:0in;margin-left:
2.0in;margin-bottom:.0001pt' wrap=""><span style='font-size:10.0pt;color:black'>mention those books  which you think is really worth purchasing

Binay Kumar
Oracle Cerified DBA

London


The contents of this e-mail are confidential to the ordinary user of the e-mail address to which it was addressed and may also be privileged. If you are not the addressee of this e-mail you should not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you have received this e-mail in error please notify us by telephone or e-mail the sender by replying to this message, and then delete this e-mail and other copies of it from your computer system. Thank you.

We reserve the right to monitor all e-mail communications through our network.<span style='color:black;
mso-color-alt:windowtext'>

<p class=MsoNormal style='margin-right:.5in;mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;margin-left:1.0in'><span
style='font-size:12.0pt;color:black'> <font color=black>

<font size=3 color=black

face="Courier New"><span style='font-size:12.0pt;font-family:"Courier New"; mso-fareast-font-family:"Courier New";color:black'>



This
email is confidential and intended solely for the use of the individual
to whom it is addressed. Any views or opinions presented are solely
those of the author and do not necessarily represent those of SchlumbergerSema.

If you
are not the intended recipient, be advised that you have received this email
in error and that any use, dissemination, forwarding, printing, or copying
of this email is strictly prohibited.

If you
have received this email in error please notify the SchlumbergerSema Helpdesk by telephone on +44 (0) 121 627 5600.

___________________________________________________________________________<font
color=black> Received on Fri Feb 01 2002 - 05:20:49 CST

Original text of this message

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