RE: Performance issue - high Free buff wait
Date: Wed, 13 Jan 2021 18:25:36 +0100
Message-ID: <012b01d6e9d1$1c20da00$54628e00$_at_gmail.com>
Hi Pap,
Usually, common mistake with big SGA is too few db_writer processes producing free buffer waits on heavy activity.
Reasons: not enough db_writer processes to deal with all blocks to be written to disk before using the slot for another block.
I am curious to see if to many db_writers processes could produce the same effect, this is just a guess…
Cheers
jko
From: Pap <oracle.developer35_at_gmail.com>
Sent: 13 January 2021 18:20
To: jacques.kostic_at_gmail.com
Cc: Oracle L <oracle-l_at_freelists.org>
Subject: Re: Performance issue - high Free buff wait
As i have attached the AWR in my first email, below is the host CPU section from that.
And CPU_COUNT in the gv$parameter is set as - 64. No resource manager is active.
I am still not able to fully get the point, so can you please help me understand how these things(say decreasing db_writer_processes) logically help to get rid of "free buffer waits" and thereby eliminate other contentions/waits too?
Host Name
Platform
CPUs
Cores
Sockets
Memory (GB)
XXXX HP-UX IA (64-bit)
64
64
8
511.66
On Wed, Jan 13, 2021 at 10:34 PM <jacques.kostic_at_gmail.com <mailto:jacques.kostic_at_gmail.com> > wrote:
You can try.
How about your number of CPU in the host and cpu_count parameter?
Is resource manager active?
Cheers
jko
From: Pap <oracle.developer35_at_gmail.com <mailto:oracle.developer35_at_gmail.com> >
Sent: 13 January 2021 17:51
To: jacques.kostic_at_gmail.com <mailto:jacques.kostic_at_gmail.com>
Cc: Oracle L <oracle-l_at_freelists.org <mailto:oracle-l_at_freelists.org> >
Subject: Re: Performance issue - high Free buff wait
Thank you.
Do you mean to say decreasing the db_writer_process from current value of 8 to 2 will fix the free buffer wait issue thus removing contention from those 15minutes window? I am not able to relate it logically , how this will do such.
Regards
Pap
On Wed, 13 Jan 2021, 9:48 pm , <jacques.kostic_at_gmail.com <mailto:jacques.kostic_at_gmail.com> > wrote:
2 db_writer_processes will be more than enough
Cheers
jko
From: Pap <oracle.developer35_at_gmail.com <mailto:oracle.developer35_at_gmail.com> >
Sent: 13 January 2021 17:14
To: jacques.kostic_at_gmail.com <mailto:jacques.kostic_at_gmail.com>
Cc: Oracle L <oracle-l_at_freelists.org <mailto:oracle-l_at_freelists.org> >
Subject: Re: Performance issue - high Free buff wait
SGA is ~24GB for this database and total host memory is 500gb+ and its hosting 5 databases.
db_writer_processes is set as "8" for this database.
Don't have access to the DB server right now but I think we are using large pages, will check and confirm.
Regards
Pap
On Wed, Jan 13, 2021 at 7:52 PM <jacques.kostic_at_gmail.com <mailto:jacques.kostic_at_gmail.com> > wrote:
Hi,
What is the size of your SGA?
Are you using large pages?
What is your value for db_writer_processes?
Cheers
jko
From: oracle-l-bounce_at_freelists.org <mailto:oracle-l-bounce_at_freelists.org> <oracle-l-bounce_at_freelists.org <mailto:oracle-l-bounce_at_freelists.org> > On Behalf Of Pap
Sent: 13 January 2021 15:04
To: Oracle L <oracle-l_at_freelists.org <mailto:oracle-l_at_freelists.org> >
Subject: Performance issue - high Free buff wait
Below is count of waits from Dba_hist_active_sess_history for that ~15minutes window:-
db file sequential read
56
write complete waits
54
54
db file sequential read
51
Regards
Pap
-- http://www.freelists.org/webpage/oracle-lReceived on Wed Jan 13 2021 - 18:25:36 CET