initial population of repo
This commit is contained in:
6
ple-678da7f8-3efa-4e3e-810b-01ae866ea4b5.json
Normal file
6
ple-678da7f8-3efa-4e3e-810b-01ae866ea4b5.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"id": "678da7f8-3efa-4e3e-810b-01ae866ea4b5",
|
||||
"prefix": "ple",
|
||||
"description": "get current page life expectancy",
|
||||
"body": "SELECT \r\n\tobject_name\r\n\t,counter_name\r\n\t,value\t\t\t= cntr_value\r\nFROM sys.dm_os_performance_counters\r\nWHERE 1=1\r\nAND LTRIM(RTRIM(object_name)) LIKE '%:Buffer Manager'\r\nAND LTRIM(RTRIM(counter_name)) = 'Page life expectancy' \r\n"
|
||||
}
|
||||
Reference in New Issue
Block a user