Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Average Page Life Expectancy

By Tim Parker,

Page Life Expectancy

For those of you not familiar with Page Life Expectancy (PLE), this is the length of time that a database page will stay in the buffer cache without references. Microsoft recommends a minimum target of 300 seconds for PLE, which is roughly (5) minutes. I have to admit that even in my own environment, we rarely see PLE more than (3) to (4) minutes.

I wondered what would the average DBA do in a situation where they do not have the luxury of using a 3rd party monitoring tool to capture (PLE)? In this post I decided to share a useful script that I wrote that will sample the DMV sys.dm_os_performance_counters table to provide an average PLE captured in (1) minute intervals. I hope this query will prove useful for those DBA's that do not have a 3rd party monitoring tool, or find themselves in a situation where they can only rely on a query to give them the results.

Total article views: 1370 | Views in the last 30 days: 11
 
Related Articles
BLOG

One More Minute

Ever say “one more minute” while working on something and then realize 30 minutes have gone by? My d...

FORUM

Converting Time value stored in minutes

minutes since 1-1-0001

BLOG

SQLRally Meeting Minutes

The starting point for a good meeting is an agenda and minutes. It took us a bit to catch up,...

FORUM

Converting minutes to days and hours

Converting minutes to days and hours

FORUM

calculate Hour and Minutes using text values.

calculate Hour and Minutes using text values.

 
Contribute

Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones
Editor, SQLServerCentral.com

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones