initial population of repo

This commit is contained in:
Thierry Schork
2022-12-30 10:37:11 +01:00
parent 969dc57be1
commit 5d7658d85f
72 changed files with 488 additions and 0 deletions

View 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"
}