DBCC SQLPERF(RASTATS) 

Home
Up
What's New
DTS
SQL-DMO
SQL-NS
XP's
SQL Agent
Misc. Tools
Events
Articles
FAQ
Links
About...

DBCC SQLPERF(RASTATS) returns the LRU-MRU chain statistics. LRU stands for Last The same information is available via performance monitor counters.

The result set:

Statistic                         Value
-------------------------------- ------------------------
RA Pages Found in Cache           0.0
RA Pages Placed in Cache          0.0
RA Physical IO                    0.0
Used Slots                        0.0

Description of the statistic rows:

StatisticDescription
RA Pages Found in CacheThis counter is always zero
RA Pages Placed in CacheThis counter is always zero
RA Physical IOThis counter is always zero
Used SlotsThis counter is always zero

The table structure returned, has the following shape:

create table #lrustats
(
    [Statistic]    nvarchar(32) not null,
    [Value]        float not null
)

To populate the table use:

insert into #rastats exec('dbcc sqlperf(rastats) with tableresults, no_infomsgs')
select * from #rastats

NOTE: DBCC SQLPERF(RASTATS, CLEAR) is a NOP.

Questions or problems regarding this web site should be directed to Web Master.
Copyright © 1991-2005 SQLDev.Net. All rights reserved.
Last modified: 04/06/05.