Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-24-2008, 05:51 PM
Emmanuel
 
Posts: n/a
Default Freelists and Freelist Groups

Hello everybody,

I'm experiencing "db file sequential/scattered waits" problems on a
8.1.7 database on a Windows server. I'm pretty new to Oracle
Administration (and to DB Administration too), however it seems altering
the number of "freelists" on specific tables and indexes could help.
I've come to understand the use of the "freelists" parameter, but I
can't find any further explanation on Freelist groups than "number of
groups of freelists".

What's the "freelist groups" parameter used for ? What's the use of
grouping freelists anyway ?

Thanks all,

Emmanuel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-24-2008, 05:51 PM
Mark D Powell
 
Posts: n/a
Default Re: Freelists and Freelist Groups

Freelists groups is an OPS/RAC parameters where each database instance
pulls its freelist from different groups to reduce the likelihood that
updates done on one instance will go to the same block as updates done
from another instance.

What makes you think you need more freelists? We have run OPS from
version 7.0 and have found that most tables work fine with only 1
freelist on 1 freelist group even in RAC.

You should post your full version, platform, the queries, and the
results that you are basing your conclusion on so that board readers
can determine if what you think is a problem is the problem.

Have you ran a short duration statspack during peak time that you can
post numbers from?

HTH -- Mark D Powell --

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-24-2008, 05:51 PM
Emmanuel
 
Posts: n/a
Default Re: Freelists and Freelist Groups

First of all, thanks for the amazingly quick answer !

Mark D Powell a écrit :
> Freelists groups is an OPS/RAC parameters where each database instance
> pulls its freelist from different groups to reduce the likelihood that
> updates done on one instance will go to the same block as updates done
> from another instance.


Ok, I got it. As my DBs are accessed only with a single instance,
keeping 1 freelist group is just fine.

>
> What makes you think you need more freelists? We have run OPS from
> version 7.0 and have found that most tables work fine with only 1
> freelist on 1 freelist group even in RAC.
>
> You should post your full version, platform, the queries, and the
> results that you are basing your conclusion on so that board readers
> can determine if what you think is a problem is the problem.
>
> Have you ran a short duration statspack during peak time that you can
> post numbers from?
>
> HTH -- Mark D Powell --
>


Well, I haven't run the statspack yet, mostly because I'm really not
aware of the impact on the DB. So I've been through the basic v$ views.

The DB is a 8.1.7.4.1 Oracle DB running on a Windows 2000 Server which
I'm discovering (I'm a brand new DBA).
Here's a piece of v$system_event (I've removed SQL*Net message from
client, rdbms ipc message, pmon timer and smon timer which came in first
positions) :

> SELECT

EVENT, TOTAL_WAITS, TOTAL_TIMEOUTS,
TIME_WAITED, AVERAGE_WAIT
FROM SYS.V_$SYSTEM_EVENT Vw
ORDER BY TIME_WAITED DESC;

SELECT

EVENT TOTAL_WAITS
---------------------------------------------------------------- -----------
TOTAL_TIMEOUTS TIME_WAITED AVERAGE_WAITx
-------------- ----------- -------------
db file sequential read 35620543
0 17278123 .485060629

db file scattered read 12259065
0 2801865 .228554543


buffer busy waits 640026
0 359692 .561995919


enqueue 938
650 202598 215.989339


direct path read 281251
0 91242 .324414847

Now considering that the instance has been started 4 days ago, the
number of "db file sequential/scattered read" waits seems enormous (even
if the average wait's not so huge). The v$waitstat view confirms that
there's somewhat contentions :

> SELECT

CLASS, COUNT, TIME
FROM SYS.V_$WAITSTAT Vw;

CLASS COUNT TIMEx
------------------ ---------- ----------
data block 680909 384949
sort block 0 0
save undo block 0 0
segment header 114 98
save undo header 0 0
free list 0 0
extent map 0 0
bitmap block 6 0
bitmap index block 4 0
unused 0 0
system undo header 0 0
system undo block 0 0
undo header 82 41
undo block 3923 672

And here I am in fact. I've tried to retrieve the guilty tables/indexes
using v$session_wait, but it wasn't relevant. Looking at the storage
options of the tables made me think it could come from there. Basically
all the tables are created in the same way. Here's a sample :

TABLE_NAME PCT_FREEP PCT_USEDI INI_TRANS MAX_TRANS
------------------------------ ---------- ---------- ---------- ----------
NEXT_EXTENT MIN_EXTENTS MAX_EXTENTS PCT_INCREASEF FREELISTS FREELIST_GROUPS
----------- ----------- ----------- ------------- ---------- ---------------
T_COLIS 10 40 2 255
10485760 1 2147483645 0 1
1

I noticed also, and I think it's a bad thing, that almost all the
tablespaces (except one non-SYSTEM) are Dictionary Managed.
I'm not experienced enough to notice quickly the problems, so I'm basing
my diagnosis on what I can read from my different searches on Internet.
I'm therefore suspecting PCT_FREE, PCT_USED and FREELISTS parameters.

Could someone give me a hand on this ?

Thanks

Emmanuel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-24-2008, 05:52 PM
Matthias Hoys
 
Posts: n/a
Default Re: Freelists and Freelist Groups

> Well, I haven't run the statspack yet, mostly because I'm really not aware
> of the impact on the DB. So I've been through the basic v$ views.
>
> The DB is a 8.1.7.4.1 Oracle DB running on a Windows 2000 Server which I'm
> discovering (I'm a brand new DBA).
> Here's a piece of v$system_event (I've removed SQL*Net message from
> client, rdbms ipc message, pmon timer and smon timer which came in first
> positions) :
>
> > SELECT

> EVENT, TOTAL_WAITS, TOTAL_TIMEOUTS,
> TIME_WAITED, AVERAGE_WAIT
> FROM SYS.V_$SYSTEM_EVENT Vw
> ORDER BY TIME_WAITED DESC;
>
> SELECT
> EVENT
> TOTAL_WAITS
> ---------------------------------------------------------------- -----------
> TOTAL_TIMEOUTS TIME_WAITED AVERAGE_WAITx
> -------------- ----------- -------------
> db file sequential read
> 35620543
> 0 17278123 .485060629
>
> db file scattered read
> 12259065
> 0 2801865 .228554543
>
>
> buffer busy waits
> 640026
> 0 359692 .561995919
>
>
> enqueue
> 938
> 650 202598 215.989339
>
>
> direct path read
> 281251
> 0 91242 .324414847
>
> Now considering that the instance has been started 4 days ago, the number
> of "db file sequential/scattered read" waits seems enormous (even if the
> average wait's not so huge). The v$waitstat view confirms that there's
> somewhat contentions :
>
> > SELECT

> CLASS, COUNT, TIME
> FROM SYS.V_$WAITSTAT Vw;
>
> CLASS COUNT TIMEx
> ------------------ ---------- ----------
> data block 680909 384949
> sort block 0 0
> save undo block 0 0
> segment header 114 98
> save undo header 0 0
> free list 0 0
> extent map 0 0
> bitmap block 6 0
> bitmap index block 4 0
> unused 0 0
> system undo header 0 0
> system undo block 0 0
> undo header 82 41
> undo block 3923 672
>
> And here I am in fact. I've tried to retrieve the guilty tables/indexes
> using v$session_wait, but it wasn't relevant. Looking at the storage
> options of the tables made me think it could come from there. Basically
> all the tables are created in the same way. Here's a sample :
>
> TABLE_NAME PCT_FREEP PCT_USEDI INI_TRANS MAX_TRANS
> ------------------------------ ---------- ---------- ---------- ----------
> NEXT_EXTENT MIN_EXTENTS MAX_EXTENTS PCT_INCREASEF FREELISTS
> FREELIST_GROUPS
> ----------- ----------- ----------- ------------- ---------- ---------------
> T_COLIS 10 40 2 255
> 10485760 1 2147483645 0 1 1
>
> I noticed also, and I think it's a bad thing, that almost all the
> tablespaces (except one non-SYSTEM) are Dictionary Managed.
> I'm not experienced enough to notice quickly the problems, so I'm basing
> my diagnosis on what I can read from my different searches on Internet.
> I'm therefore suspecting PCT_FREE, PCT_USED and FREELISTS parameters.
>
> Could someone give me a hand on this ?
>
> Thanks
>
> Emmanuel


You have a very high amount of data block waits. This could point to "hot"
objects like tables or indexes where a high number of sessions try to
concurrently access the same data block. Do you have such tables (for
example a trace or audit table) ? I would suggest you rebuild those
tables/indexes with a higher setting for INITRANS and PCTFREE.

Matthias


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-24-2008, 05:52 PM
DA Morgan
 
Posts: n/a
Default Re: Freelists and Freelist Groups

Matthias Hoys wrote:
>>Well, I haven't run the statspack yet, mostly because I'm really not aware
>>of the impact on the DB. So I've been through the basic v$ views.
>>
>>The DB is a 8.1.7.4.1 Oracle DB running on a Windows 2000 Server which I'm
>>discovering (I'm a brand new DBA).
>>Here's a piece of v$system_event (I've removed SQL*Net message from
>>client, rdbms ipc message, pmon timer and smon timer which came in first
>>positions) :
>>
>>
>>>SELECT

>>
>>EVENT, TOTAL_WAITS, TOTAL_TIMEOUTS,
>> TIME_WAITED, AVERAGE_WAIT
>>FROM SYS.V_$SYSTEM_EVENT Vw
>>ORDER BY TIME_WAITED DESC;
>>
>>SELECT
>>EVENT
>>TOTAL_WAITS
>>---------------------------------------------------------------- -----------
>>TOTAL_TIMEOUTS TIME_WAITED AVERAGE_WAITx
>>-------------- ----------- -------------
>>db file sequential read
>>35620543
>> 0 17278123 .485060629
>>
>>db file scattered read
>>12259065
>> 0 2801865 .228554543
>>
>>
>>buffer busy waits
>>640026
>> 0 359692 .561995919
>>
>>
>>enqueue
>>938
>> 650 202598 215.989339
>>
>>
>>direct path read
>>281251
>> 0 91242 .324414847
>>
>>Now considering that the instance has been started 4 days ago, the number
>>of "db file sequential/scattered read" waits seems enormous (even if the
>>average wait's not so huge). The v$waitstat view confirms that there's
>>somewhat contentions :
>>
>>
>>>SELECT

>>
>> CLASS, COUNT, TIME
>>FROM SYS.V_$WAITSTAT Vw;
>>
>>CLASS COUNT TIMEx
>>------------------ ---------- ----------
>>data block 680909 384949
>>sort block 0 0
>>save undo block 0 0
>>segment header 114 98
>>save undo header 0 0
>>free list 0 0
>>extent map 0 0
>>bitmap block 6 0
>>bitmap index block 4 0
>>unused 0 0
>>system undo header 0 0
>>system undo block 0 0
>>undo header 82 41
>>undo block 3923 672
>>
>>And here I am in fact. I've tried to retrieve the guilty tables/indexes
>>using v$session_wait, but it wasn't relevant. Looking at the storage
>>options of the tables made me think it could come from there. Basically
>>all the tables are created in the same way. Here's a sample :
>>
>>TABLE_NAME PCT_FREEP PCT_USEDI INI_TRANS MAX_TRANS
>>------------------------------ ---------- ---------- ---------- ----------
>>NEXT_EXTENT MIN_EXTENTS MAX_EXTENTS PCT_INCREASEF FREELISTS
>>FREELIST_GROUPS
>>----------- ----------- ----------- ------------- ---------- ---------------
>>T_COLIS 10 40 2 255
>> 10485760 1 2147483645 0 1 1
>>
>>I noticed also, and I think it's a bad thing, that almost all the
>>tablespaces (except one non-SYSTEM) are Dictionary Managed.
>>I'm not experienced enough to notice quickly the problems, so I'm basing
>>my diagnosis on what I can read from my different searches on Internet.
>>I'm therefore suspecting PCT_FREE, PCT_USED and FREELISTS parameters.
>>
>>Could someone give me a hand on this ?
>>
>>Thanks
>>
>>Emmanuel

>
>
> You have a very high amount of data block waits. This could point to "hot"
> objects like tables or indexes where a high number of sessions try to
> concurrently access the same data block. Do you have such tables (for
> example a trace or audit table) ? I would suggest you rebuild those
> tables/indexes with a higher setting for INITRANS and PCTFREE.
>
> Matthias


Why PCTFREE?
--
Daniel A. Morgan
http://www.psoug.org
damorgan@x.washington.edu
(replace x with u to respond)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-24-2008, 05:52 PM
Matthias Hoys
 
Posts: n/a
Default Re: Freelists and Freelist Groups


>>>CLASS COUNT TIMEx
>>>------------------ ---------- ----------
>>>data block 680909 384949
>>>sort block 0 0
>>>save undo block 0 0
>>>segment header 114 98
>>>save undo header 0 0
>>>free list 0 0
>>>extent map 0 0
>>>bitmap block 6 0
>>>bitmap index block 4 0
>>>unused 0 0
>>>system undo header 0 0
>>>system undo block 0 0
>>>undo header 82 41
>>>undo block 3923 672
>>>
>>>And here I am in fact. I've tried to retrieve the guilty tables/indexes
>>>using v$session_wait, but it wasn't relevant. Looking at the storage
>>>options of the tables made me think it could come from there. Basically
>>>all the tables are created in the same way. Here's a sample :
>>>
>>>TABLE_NAME PCT_FREEP PCT_USEDI INI_TRANS
>>>MAX_TRANS
>>>------------------------------ ---------- ---------- ---------- ----------
>>>NEXT_EXTENT MIN_EXTENTS MAX_EXTENTS PCT_INCREASEF FREELISTS
>>>FREELIST_GROUPS
>>>----------- ----------- ----------- ------------- ---------- ---------------
>>>T_COLIS 10 40 2
>>>255
>>> 10485760 1 2147483645 0 1 1
>>>
>>>I noticed also, and I think it's a bad thing, that almost all the
>>>tablespaces (except one non-SYSTEM) are Dictionary Managed.
>>>I'm not experienced enough to notice quickly the problems, so I'm basing
>>>my diagnosis on what I can read from my different searches on Internet.
>>>I'm therefore suspecting PCT_FREE, PCT_USED and FREELISTS parameters.
>>>
>>>Could someone give me a hand on this ?
>>>
>>>Thanks
>>>
>>>Emmanuel

>>
>>
>> You have a very high amount of data block waits. This could point to
>> "hot" objects like tables or indexes where a high number of sessions try
>> to concurrently access the same data block. Do you have such tables (for
>> example a trace or audit table) ? I would suggest you rebuild those
>> tables/indexes with a higher setting for INITRANS and PCTFREE.
>>
>> Matthias

>
> Why PCTFREE?
> --
> Daniel A. Morgan
> http://www.psoug.org
> damorgan@x.washington.edu
> (replace x with u to respond)


Higher PCTFREE = less rows in 1 block = less data block contention ?


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-24-2008, 05:52 PM
Connor McDonald
 
Posts: n/a
Default Re: Freelists and Freelist Groups

Emmanuel wrote:
>
> First of all, thanks for the amazingly quick answer !
>
> Mark D Powell a écrit :
> > Freelists groups is an OPS/RAC parameters where each database instance
> > pulls its freelist from different groups to reduce the likelihood that
> > updates done on one instance will go to the same block as updates done
> > from another instance.

>
> Ok, I got it. As my DBs are accessed only with a single instance,
> keeping 1 freelist group is just fine.
>
> >
> > What makes you think you need more freelists? We have run OPS from
> > version 7.0 and have found that most tables work fine with only 1
> > freelist on 1 freelist group even in RAC.
> >
> > You should post your full version, platform, the queries, and the
> > results that you are basing your conclusion on so that board readers
> > can determine if what you think is a problem is the problem.
> >
> > Have you ran a short duration statspack during peak time that you can
> > post numbers from?
> >
> > HTH -- Mark D Powell --
> >

>
> Well, I haven't run the statspack yet, mostly because I'm really not
> aware of the impact on the DB. So I've been through the basic v$ views.
>
> The DB is a 8.1.7.4.1 Oracle DB running on a Windows 2000 Server which
> I'm discovering (I'm a brand new DBA).
> Here's a piece of v$system_event (I've removed SQL*Net message from
> client, rdbms ipc message, pmon timer and smon timer which came in first
> positions) :
>
> > SELECT

> EVENT, TOTAL_WAITS, TOTAL_TIMEOUTS,
> TIME_WAITED, AVERAGE_WAIT
> FROM SYS.V_$SYSTEM_EVENT Vw
> ORDER BY TIME_WAITED DESC;
>
> SELECT
>
> EVENT TOTAL_WAITS
> ---------------------------------------------------------------- -----------
> TOTAL_TIMEOUTS TIME_WAITED AVERAGE_WAITx
> -------------- ----------- -------------
> db file sequential read 35620543
> 0 17278123 .485060629
>
> db file scattered read 12259065
> 0 2801865 .228554543
>
>
> buffer busy waits 640026
> 0 359692 .561995919
>
>
> enqueue 938
> 650 202598 215.989339
>
>
> direct path read 281251
> 0 91242 .324414847
>
> Now considering that the instance has been started 4 days ago, the
> number of "db file sequential/scattered read" waits seems enormous (even
> if the average wait's not so huge). The v$waitstat view confirms that
> there's somewhat contentions :
>
> > SELECT

> CLASS, COUNT, TIME
> FROM SYS.V_$WAITSTAT Vw;
>
> CLASS COUNT TIMEx
> ------------------ ---------- ----------
> data block 680909 384949
> sort block 0 0
> save undo block 0 0
> segment header 114 98
> save undo header 0 0
> free list 0 0
> extent map 0 0
> bitmap block 6 0
> bitmap index block 4 0
> unused 0 0
> system undo header 0 0
> system undo block 0 0
> undo header 82 41
> undo block 3923 672
>
> And here I am in fact. I've tried to retrieve the guilty tables/indexes
> using v$session_wait, but it wasn't relevant. Looking at the storage
> options of the tables made me think it could come from there. Basically
> all the tables are created in the same way. Here's a sample :
>
> TABLE_NAME PCT_FREEP PCT_USEDI INI_TRANS MAX_TRANS
> ------------------------------ ---------- ---------- ---------- ----------
> NEXT_EXTENT MIN_EXTENTS MAX_EXTENTS PCT_INCREASEF FREELISTS FREELIST_GROUPS
> ----------- ----------- ----------- ------------- ---------- ---------------
> T_COLIS 10 40 2 255
> 10485760 1 2147483645 0 1
> 1
>
> I noticed also, and I think it's a bad thing, that almost all the
> tablespaces (except one non-SYSTEM) are Dictionary Managed.
> I'm not experienced enough to notice quickly the problems, so I'm basing
> my diagnosis on what I can read from my different searches on Internet.
> I'm therefore suspecting PCT_FREE, PCT_USED and FREELISTS parameters.
>
> Could someone give me a hand on this ?
>
> Thanks
>
> Emmanuel


freelists / groups et al will be related to improving your situation
with the buffer busy waits (which came in third). Improving scattered /
sequential waits comes down the good old fashioned tuning mantra: look
for poor SQL, where "poor" = badly written, running at wrong time, or
running against the wrong design

hth
connor

--
Connor McDonald
Co-author: "Mastering Oracle PL/SQL - Practical Solutions"
Co-author: "Oracle Insight - Tales of the OakTable"

web: http://www.oracledba.co.uk
web: http://www.oaktable.net
email: connor_mcdonald@yahoo.com


"Semper in excremento, sole profundum qui variat."

------------------------------------------------------------
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-24-2008, 05:52 PM
DA Morgan
 
Posts: n/a
Default Re: Freelists and Freelist Groups

Matthias Hoys wrote:
>>>>CLASS COUNT TIMEx
>>>>------------------ ---------- ----------
>>>>data block 680909 384949
>>>>sort block 0 0
>>>>save undo block 0 0
>>>>segment header 114 98
>>>>save undo header 0 0
>>>>free list 0 0
>>>>extent map 0 0
>>>>bitmap block 6 0
>>>>bitmap index block 4 0
>>>>unused 0 0
>>>>system undo header 0 0
>>>>system undo block 0 0
>>>>undo header 82 41
>>>>undo block 3923 672
>>>>
>>>>And here I am in fact. I've tried to retrieve the guilty tables/indexes
>>>>using v$session_wait, but it wasn't relevant. Looking at the storage
>>>>options of the tables made me think it could come from there. Basically
>>>>all the tables are created in the same way. Here's a sample :
>>>>
>>>>TABLE_NAME PCT_FREEP PCT_USEDI INI_TRANS
>>>>MAX_TRANS
>>>>------------------------------ ---------- ---------- ---------- ----------
>>>>NEXT_EXTENT MIN_EXTENTS MAX_EXTENTS PCT_INCREASEF FREELISTS
>>>>FREELIST_GROUPS
>>>>----------- ----------- ----------- ------------- ---------- ---------------
>>>>T_COLIS 10 40 2
>>>>255
>>>> 10485760 1 2147483645 0 1 1
>>>>
>>>>I noticed also, and I think it's a bad thing, that almost all the
>>>>tablespaces (except one non-SYSTEM) are Dictionary Managed.
>>>>I'm not experienced enough to notice quickly the problems, so I'm basing
>>>>my diagnosis on what I can read from my different searches on Internet.
>>>>I'm therefore suspecting PCT_FREE, PCT_USED and FREELISTS parameters.
>>>>
>>>>Could someone give me a hand on this ?
>>>>
>>>>Thanks
>>>>
>>>>Emmanuel
>>>
>>>
>>>You have a very high amount of data block waits. This could point to
>>>"hot" objects like tables or indexes where a high number of sessions try
>>>to concurrently access the same data block. Do you have such tables (for
>>>example a trace or audit table) ? I would suggest you rebuild those
>>>tables/indexes with a higher setting for INITRANS and PCTFREE.
>>>
>>>Matthias

>>
>>Why PCTFREE?
>>--
>>Daniel A. Morgan
>>http://www.psoug.org
>>damorgan@x.washington.edu
>>(replace x with u to respond)

>
>
> Higher PCTFREE = less rows in 1 block = less data block contention ?


More wasted disk space. More wasted i/o.

And I don't see this as a cause of disk contention in systems I've observed.
--
Daniel A. Morgan
http://www.psoug.org
damorgan@x.washington.edu
(replace x with u to respond)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-24-2008, 05:52 PM
Jonathan Lewis
 
Posts: n/a
Default Re: Freelists and Freelist Groups

"Emmanuel" <mars@tacks.com> wrote in message
news:dlkr0h$mt4$1@s1.news.oleane.net...
>
> EVENT
> TOTAL_WAITS
> ---------------------------------------------------------------- -----------
> TOTAL_TIMEOUTS TIME_WAITED AVERAGE_WAITx
> -------------- ----------- -------------
> db file sequential read
> 35620543
> 0 17278123 .485060629
>
> db file scattered read
> 12259065
> 0 2801865 .228554543
>
>
> buffer busy waits
> 640026
> 0 359692 .561995919
>
>
> enqueue
> 938
> 650 202598 215.989339
>
>
> direct path read
> 281251
> 0 91242 .324414847
>
> Now considering that the instance has been started 4 days ago, the number
> of "db file sequential/scattered read" waits seems enormous (even if the
> average wait's not so huge). The v$waitstat view confirms that there's
> somewhat contentions :
>
>
> Could someone give me a hand on this ?
>
> Thanks
>
> Emmanuel




The time lost on buffer busy waits is a small fraction
of the time lost on physical I/O; moreover, one of
the causes of buffer busy waits is excessive I/O.
Consequently, you should be addressing the I/O
problem first, as a reduction in I/O may result in
the elimination of the buffer busy waits.

Check v$sql for any queries where disk_reads is high,
especially if it is also a significant fraction of the buffer_gets,
and see if you can find ways to make them more efficient.


--
Regards

Jonathan Lewis

http://www.jlcomp.demon.co.uk/faq/ind_faq.html
The Co-operative Oracle Users' FAQ

http://www.jlcomp.demon.co.uk/cbo_book/ind_book.html
Cost Based Oracle: Fundamentals

http://www.jlcomp.demon.co.uk/appearances.html
Public Appearances - schedule updated 4th Nov 2005


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-24-2008, 05:54 PM
Emmanuel
 
Posts: n/a
Default Re: Freelists and Freelist Groups

Jonathan Lewis a écrit :
> The time lost on buffer busy waits is a small fraction
> of the time lost on physical I/O; moreover, one of
> the causes of buffer busy waits is excessive I/O.
> Consequently, you should be addressing the I/O
> problem first, as a reduction in I/O may result in
> the elimination of the buffer busy waits.
>
> Check v$sql for any queries where disk_reads is high,
> especially if it is also a significant fraction of the buffer_gets,
> and see if you can find ways to make them more efficient.
>
>


Thanks for all the answers. I'll look after v$sql to find out which
queries and which tables/indexes cause the most trouble and try to make
it work efficiently.

Emmanuel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:18 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342