unknown
2007-12-06 19:43:17 UTC
Hi All,
In a select statement, is it a normal behavior of the
optimizer to select indexes pages of a non-clustered index
using 16K buffer pulls with a MRU stategy? why?
I understand very well the fetch of data using 16K buffer
pool and MRU strategy, but in the cases of indexes;
especially the non-clustered ones; it is not at all clear
why such a choice is made. If one select 16K of indexe pages
of a non-clustered indexes into the cache and get rid of
them by MRU strategy, this is not a mistake? to me it is, as
most probably some of the pages which are flashed out of
memory will be needed again and must be fetched again, this
means a considerable increase in the number of physical I/O,
no?
I would like to understand the mechanism behind such a
choice, the sybase documenation describe very well the two
mechanism but I do not see any explaination as to why one
strategy is chosen while one expect the other.
Why by forcing the stategy from MRU to LRU for the indexes;
one obtains a better response time?
All help and suggestions, comments are well appreciated.
By the way, our Sybase ASE server is version 12.5.03 and the
tables are huge(70M rows and more).
tartampion
In a select statement, is it a normal behavior of the
optimizer to select indexes pages of a non-clustered index
using 16K buffer pulls with a MRU stategy? why?
I understand very well the fetch of data using 16K buffer
pool and MRU strategy, but in the cases of indexes;
especially the non-clustered ones; it is not at all clear
why such a choice is made. If one select 16K of indexe pages
of a non-clustered indexes into the cache and get rid of
them by MRU strategy, this is not a mistake? to me it is, as
most probably some of the pages which are flashed out of
memory will be needed again and must be fetched again, this
means a considerable increase in the number of physical I/O,
no?
I would like to understand the mechanism behind such a
choice, the sybase documenation describe very well the two
mechanism but I do not see any explaination as to why one
strategy is chosen while one expect the other.
Why by forcing the stategy from MRU to LRU for the indexes;
one obtains a better response time?
All help and suggestions, comments are well appreciated.
By the way, our Sybase ASE server is version 12.5.03 and the
tables are huge(70M rows and more).
tartampion