![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
---------- Forwarded message ---------- From:*Andrew Ford <aford (AT) networkip (DOT) net To:*"informix-list (AT) iiug (DOT) org" <informix-list (AT) iiug (DOT) org Date:*Tue, 26 Jul 2011 16:13:41 +0000 Subject:*Upgrade to 11.70 from 11.50 results in low Read Ahead Utilization I recently upgraded from 11.50.FC3 to 11.70.FC3. As expected, the upgrade was painless and there are no apparent issues asa result of the upgrade. One thing that I do notice is my Read Ahead Utilization (RA-pgsused / (ixda-RA + idx-RA + da-RA)) is in the toilet after the upgrade. Pre upgrade - 11.50.FC3 - 99.05% RA_PAGES * * 128 RA_THRESHOLD 32 ixda-RA * *idx-RA * * da-RA * * *RA-pgsused lchwaits 3724876 * *4323945 * *321113 * * 8290237 * *3197641 Post upgrage - 11.70.FC3 - 15.14% AUTO_READAHEAD *1 * # equivalent to RA_PAGES 128, RA_THRESHOLD 64, right? ixda-RA * *idx-RA * * da-RA * * *logrec-RA *RA-pgsused lchwaits 0 * * * * *35100202 * 136980 * * 0 * * * * *5334831 * *1114786 My Read Cache Hit % has not suffered, it has even increased from 95.45% to 98.84%. I believe this to be a result of a new Auto Light Scan feature and some reconfiguration of buffer pools I did as part of the upgrade. Changing AUTO_READAHEAD from the default to AUTO_READAHEAD 1,16 has increased my RAU to 25%. I'm pretty sure this increase in idx-RA is a result of enabling BATCHEDREAD_INDEX and not a cause for alarm because performance is fine. Just curious if anyone else running 11.70 is seeing the same thing and ifthe recommendations for RAU at or above 99% needs to be modified when BATCHEDREAD_INDEX is enabled. Thanks, Andrew |
#3
| |||
| |||
|
|
Hi, In 11.70.xC3, the new AUTO_READAHEAD ONCONFIG parameter was introduced. This parameter reflects a new read-ahead algorithm in the database server. Basically, in mode 1 setting, auto read-ahead will turn off read-aheads for a scan if it detects that the pages are already cached in the buffer pool. If the database server detects that the query is encountering I/O, it will turn on read-aheads again for the |
|
scan/query. This is the auto part of AUTO_READAHEAD. If you want AUTO_READAHEAD to do read-aheads no matter what, you can set AUTO_READAHEAD to 2 (use the mode 2 setting). The recommended setting is 1. Note 1: You can use "onstat -g rah" to view read-ahead stats. One thing to note is that even if you turn off AUTO_READAHEAD globally, you will still see some read-aheads being done because there are internal uses of read-aheads by the database server and some utilities. Note 2: You can also set/change AUTO_READAHEAD settings for a session using the " Set Environment AUTO_READAHEAD '...' " command. Hyun-Ju ---------- Forwarded message ---------- From: Andrew Ford<aford (AT) networkip (DOT) net To: "informix-list (AT) iiug (DOT) org"<informix-list (AT) iiug (DOT) org Date: Tue, 26 Jul 2011 16:13:41 +0000 Subject: Upgrade to 11.70 from 11.50 results in low Read Ahead Utilization I recently upgraded from 11.50.FC3 to 11.70.FC3. As expected, the upgrade was painless and there are no apparent issues as a result of the upgrade. One thing that I do notice is my Read Ahead Utilization (RA-pgsused / (ixda-RA + idx-RA + da-RA)) is in the toilet after the upgrade. Pre upgrade - 11.50.FC3 - 99.05% RA_PAGES 128 RA_THRESHOLD 32 ixda-RA idx-RA da-RA RA-pgsused lchwaits 3724876 4323945 321113 8290237 3197641 Post upgrage - 11.70.FC3 - 15.14% AUTO_READAHEAD 1 # equivalent to RA_PAGES 128, RA_THRESHOLD 64, right? ixda-RA idx-RA da-RA logrec-RA RA-pgsused lchwaits 0 35100202 136980 0 5334831 1114786 My Read Cache Hit % has not suffered, it has even increased from 95.45% to 98.84%. I believe this to be a result of a new Auto Light Scan feature and some reconfiguration of buffer pools I did as part of the upgrade. Changing AUTO_READAHEAD from the default to AUTO_READAHEAD 1,16 has increased my RAU to 25%. I'm pretty sure this increase in idx-RA is a result of enabling BATCHEDREAD_INDEX and not a cause for alarm because performance is fine. Just curious if anyone else running 11.70 is seeing the same thing and if the recommendations for RAU at or above 99% needs to be modified when BATCHEDREAD_INDEX is enabled. Thanks, Andrew |
#4
| |||
| |||
|
| From: Richard Kofler <richard.kofler (AT) chello (DOT) at To: informix-list (AT) iiug (DOT) org Date: Sat, 30 Jul 2011 15:51:48 +0200 Subject: Re: Upgrade to 11.70 from 11.50 results in low Read Ahead Utilization Hi Hyun-Ju, Am 30.07.2011 05:28, schrieb Hyun-Ju Vega: Hi, In 11.70.xC3, the new AUTO_READAHEAD ONCONFIG parameter was introduced. This parameter reflects a new read-ahead algorithm in the database server. Basically, in mode 1 setting, auto read-ahead will turn off read-aheads for a scan if it detects that the pages are already cached in the buffer pool. If the database server detects that the query is encountering I/O, it will turn on read-aheads again for the how fast will this be detected? And how fast will RA start again? ... -- Richard Kofler SOLID STATE EDV Dienstleistungen GmbH Vienna/Austria/Europe |
![]() |
| Thread Tools | |
| Display Modes | |
| |