February 13, 2025 at 7:26 pm
Can this baselining and benchmarking sqlserver be done using extended events ?
what are the various events from underneath which can be captured as metrics to benchmark/baseline a sqlserver ?
SELECT xp.[name], xo.* FROM sys.dm_xe_objects xo, sys.dm_xe_packages xp WHERE xp.[guid] = xo.[package_guid] AND xo.[object_type] = 'event' ORDER BY xp.[name];
What are the free options to baseline/benchmark sqlserver ?
We are doing this to get some metrics for sql server consolidation.
Please advise. Thanks
February 13, 2025 at 9:41 pm
Extended events tend to be more for diagnostic purposes than monitoring resource utilization. You can get some info like CPU utilization from XE. Perfmon could be used to capture resource utilization and there are DMVs like sys.dm_os_performance_counters, dm_io_virtual_file_stats that you can use. Instead of building something, you might want to look at DBA Dash - a free and open-source monitoring tool I created. It will capture CPU, IO, waits, memory, running queries, slow RPC/batch completed XE events, and a ton of other stuff. As it's open-source, you can also see the collection scripts used which might help if you are trying to build something. Glen Berry's diagnostic queries might also provide some inspiration.
DBA Dash - Free, open source monitoring for SQL Server
March 6, 2025 at 11:09 am
Extended Events can definitely help with baselining, but as mentioned, they are more suited for diagnostics than continuous performance tracking. If you're looking for resource utilization metrics, DMVs like sys.dm_os_wait_stats, sys.dm_exec_requests, and sys.dm_io_virtual_file_stats can give valuable insights.
Perfmon is another great option for tracking CPU, memory, and disk I/O over time. If you want something more structured, DBA Dash, which was already mentioned, is a solid choice. Additionally, you could explore SQL Server Query Store for query performance baselining and historical analysis, especially useful if you're consolidating multiple instances. If you need a lightweight approach without third-party tools, consider a combination of Extended Events for capturing slow queries and system views for performance metrics.
March 11, 2025 at 7:32 am
This was removed by the editor as SPAM
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy