Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2308565
  • 博文数量: 310
  • 博客积分: 6853
  • 博客等级: 准将
  • 技术积分: 2833
  • 用 户 组: 普通用户
  • 注册时间: 2005-08-04 16:41
文章分类

全部博文(310)

文章存档

2013年(17)

2012年(42)

2011年(76)

2010年(71)

2009年(99)

2007年(2)

2006年(1)

2005年(2)

分类: 数据库开发技术

2011-05-04 13:50:25

SQL SERVER – What is Page Life Expectancy (PLE) Counter

During performance tuning consultation there are plenty of counters and values, I often come across. Today we will quickly talk about Page Life Expectancy counter, which is commonly known as PLE as well.

You can find the value of the PLE by running following query.

SELECT [object_name],
[counter_name],
[cntr_value]
FROM sys.dm_os_performance_counters
WHERE [object_name] LIKE '%Manager%'
AND [counter_name] 'Page life expectancy'

The recommended value of the PLE counter is (update: minimum of) 300 seconds. I have seen on busy system this value to be as low as even 45 seconds and on unused system as high as 1250 seconds. Page Life Expectancy is number of seconds a page will stay in the buffer pool without references. In simple words, if your page stays longer in the buffer pool (area of the memory cache) your PLE is higher, leading to higher performance as every time request comes there are chances it may find its data in the cache itself instead of going to hard drive to read the data.

Now check your system and post back what is this counter value for you during various time of the day. Is this counter any way relates to performance issues for your system?

Note: There are various other counters which are important to discuss during the performance tuning and this counter is not everything.

阅读(2895) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~