Get tempdb version store space usage by database

Returns a table that displays total space in tempdb used by version store records for each database. sys.dm_tran_version_store_space_usage is efficient and not expensive to run, as it does not navigate through individual version store records, and returns aggregated version store space consumed in tempdb per database. Get TempDB files count Himanshu Patel SQL Server Consultant developer & …

Get tempdb version store space usage by database Read More »

Hardware information from SQL Server

Gives you some good basic hardware information about your database server Virtual_machine_type_desc of HYPERVISOR does not automatically mean you are running SQL Server inside of a VM. It merely indicates that you have a hypervisor running on your host Soft-NUMA (SQL Server) sys.dm_os_sys_info 

Manufacturer information inside SQL server

Get System Manufacturer and model number from SQL Server Error log This query will return no results if your error log has been recycled since the instance was started Can also be used to confirm if you are running in a VM Read specific errors using temp table Himanshu Patel SQL Server Consultant developer & …

Manufacturer information inside SQL server Read More »