Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes needed for XTP perfmon counters #101

Closed
PiJoCoder opened this issue Jun 1, 2021 · 4 comments
Closed

Changes needed for XTP perfmon counters #101

PiJoCoder opened this issue Jun 1, 2021 · 4 comments
Assignees
Labels
Bug wave 1 - closed consider this issue for next wave of fixes

Comments

@PiJoCoder
Copy link
Contributor

Changes needed for XTP counters - shows version as 2018 instead of 2019 - need to double-check where the issues is - Diagmanager or SQL Server

Also, why do we have 4 XTP counters at the end?
XTP Cursors
XTP Garbage Collection
XTP Phantom processor
XTP Transactions

image

@PiJoCoder PiJoCoder added the Bug label Jun 1, 2021
@PiJoCoder PiJoCoder added the wave 2 consider this issue for next wave of fixes label Apr 15, 2022
@PiJoCoder
Copy link
Contributor Author

Based on some research these are actually valid, they exist for the default instance on the system (as long as it supports XTP/in-memory OLTP)

XTP Cursors
XTP Garbage Collection
XTP Phantom processor
XTP Transactions

@PiJoCoder
Copy link
Contributor Author

If you have a named instance sql 2016, the counters would look like this

image

For a SQL 2017 instance the counters would look like this:

image

We still need to double-check the "2018" counters and see if those are valid.

@PiJoCoder
Copy link
Contributor Author

PiJoCoder commented Jul 13, 2022

Quick research shows that SQL 2019 is actually using the "2017" in the object name.

select @@VERSION
go
SELECT object_name, counter_name FROM sys.dm_os_performance_counters
WHERE object_name LIKE '%XTP%';

Output

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Microsoft SQL Server 2019 (RTM-CU16-GDR) (KB5014353) - 15.0.4236.7 (X64) 
	May 29 2022 15:55:47 
	Copyright (C) 2019 Microsoft Corporation
	Enterprise Edition (64-bit) on Windows 10 Enterprise 10.0 <X64> (Build 19044: ) (Hypervisor)


(1 row affected)

object_name                                                                                                                      counter_name
-------------------------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------------------------
SQL Server 2017 XTP Transactions                                                                                                 Transactions created/sec                                                                                                        
SQL Server 2017 XTP Transactions                                                                                                 Read-only transactions prepared/sec                                                                                             
SQL Server 2017 XTP Transactions                                                                                                 Transactions aborted/sec                                                                                                        
SQL Server 2017 XTP Transactions                                                                                                 Transactions aborted by user/sec                                                                                                
SQL Server 2017 XTP Transactions                                                                                                 Transaction validation failures/sec                                                                                             
SQL Server 2017 XTP Transactions                                                                                                 Commit dependencies taken/sec                                                                                                   
SQL Server 2017 XTP Transactions                                                                                                 Cascading aborts/sec                                                                                                            
SQL Server 2017 XTP Transactions                                                                                                 Save points created/sec                                                                                                         
SQL Server 2017 XTP Transactions                                                                                                 Save point rollbacks/sec                                                                                                        
SQL Server 2017 XTP Transactions                                                                                                 Save point refreshes/sec                                                                                                        
SQL Server 2017 XTP Transaction Log                                                                                              Log bytes written/sec                                                                                                           
SQL Server 2017 XTP Transaction Log                                                                                              Log records written/sec                                                                                                         
SQL Server 2017 XTP Cursors                                                                                                      Cursor scans started/sec                                                                                                        
SQL Server 2017 XTP Cursors                                                                                                      Rows returned/sec                                                                                                               
SQL Server 2017 XTP Cursors                                                                                                      Rows touched/sec                                                                                                                
SQL Server 2017 XTP Cursors                                                                                                      Tentatively-deleted rows touched/sec                                                                                            
SQL Server 2017 XTP Cursors                                                                                                      Expired rows touched/sec                                                                                                        
SQL Server 2017 XTP Cursors                                                                                                      Expired rows removed/sec                                                                                                        
SQL Server 2017 XTP Cursors                                                                                                      Dusty corner scan retries/sec (user-issued)                                                                                     
SQL Server 2017 XTP Cursors                                                                                                      Cursor write conflicts/sec                                                                                                      
SQL Server 2017 XTP Cursors                                                                                                      Cursor unique violations/sec                                                                                                    
SQL Server 2017 XTP Cursors                                                                                                      Cursor inserts/sec                                                                                                              
SQL Server 2017 XTP Cursors                                                                                                      Cursor updates/sec                                                                                                              
SQL Server 2017 XTP Cursors                                                                                                      Cursor deletes/sec                                                                                                              
SQL Server 2017 XTP Garbage Collection                                                                                           Rows processed/sec                                                                                                              
SQL Server 2017 XTP Garbage Collection                                                                                           Rows processed/sec (no sweep needed)                                                                                            
SQL Server 2017 XTP Garbage Collection                                                                                           Rows processed/sec (first in bucket)                                                                                            
SQL Server 2017 XTP Garbage Collection                                                                                           Rows processed/sec (first in bucket and removed)                                                                                
SQL Server 2017 XTP Garbage Collection                                                                                           Rows processed/sec (marked for unlink)                                                                                          
SQL Server 2017 XTP Garbage Collection                                                                                           Parallel GC work item/sec                                                                                                       
SQL Server 2017 XTP Garbage Collection                                                                                           Main GC work items/sec                                                                                                          
SQL Server 2017 XTP Garbage Collection                                                                                           Sweep scans started/sec                                                                                                         
SQL Server 2017 XTP Garbage Collection                                                                                           Sweep rows touched/sec                                                                                                          
SQL Server 2017 XTP Garbage Collection                                                                                           Sweep expiring rows touched/sec                                                                                                 
SQL Server 2017 XTP Garbage Collection                                                                                           Sweep expired rows touched/sec                                                                                                  
SQL Server 2017 XTP Garbage Collection                                                                                           Sweep expired rows removed/sec                                                                                                  
SQL Server 2017 XTP Garbage Collection                                                                                           Dusty corner scan retries/sec (GC-issued)                                                                                       
SQL Server 2017 XTP Phantom Processor                                                                                            Phantom scans started/sec                                                                                                       
SQL Server 2017 XTP Phantom Processor                                                                                            Phantom rows touched/sec                                                                                                        
SQL Server 2017 XTP Phantom Processor                                                                                            Phantom expiring rows touched/sec                                                                                               
SQL Server 2017 XTP Phantom Processor                                                                                            Phantom expired rows touched/sec                                                                                                
SQL Server 2017 XTP Phantom Processor                                                                                            Phantom expired rows removed/sec                                                                                                
SQL Server 2017 XTP Phantom Processor                                                                                            Dusty corner scan retries/sec (Phantom-issued)                                                                                  
SQL Server 2017 XTP Storage                                                                                                      Merge Requests Outstanding                                                                                                      
SQL Server 2017 XTP Storage                                                                                                      Merge Policy Evaluations                                                                                                        
SQL Server 2017 XTP Storage                                                                                                      Merges Installed                                                                                                                
SQL Server 2017 XTP Storage                                                                                                      Merges Abandoned                                                                                                                
SQL Server 2017 XTP Storage                                                                                                      Core Merges Completed                                                                                                           
SQL Server 2017 XTP Storage                                                                                                      Total Files Merged                                                                                                              
SQL Server 2017 XTP Storage                                                                                                      Checkpoints Completed                                                                                                           
SQL Server 2017 XTP Storage                                                                                                      Checkpoints Closed                                                                                                              
SQL Server 2017 XTP IO Governor                                                                                                  Log Blocks/sec                                                                                                                  
SQL Server 2017 XTP IO Governor                                                                                                  Io Issued/sec                                                                                                                   
SQL Server 2017 XTP IO Governor                                                                                                  Stale Rate Object Waits/sec                                                                                                     
SQL Server 2017 XTP IO Governor                                                                                                  Insufficient Credits Waits/sec                                                                                                  
SQL Server 2017 XTP IO Governor                                                                                                  Missed Credit Slots                                                                                                             
SQL Server 2017 XTP IO Governor                                                                                                  Total Rate Objects Published                                                                                                    

(57 rows affected)

@PiJoCoder PiJoCoder added wave 1 - closed consider this issue for next wave of fixes and removed wave 2 consider this issue for next wave of fixes labels Nov 9, 2022
@PiJoCoder
Copy link
Contributor Author

Fixed by #213

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug wave 1 - closed consider this issue for next wave of fixes
Projects
None yet
Development

No branches or pull requests

2 participants