What are the useful DMVs for TempDB? dm_db_file_space_usage: Stores metadata about disk space usage statistics by “user object”, “internal objects” and “version store” dm_db_session_space_usage: Stores metadata about disk space usage, page allocation and deallocation statistics at user session level. dm_db_task_space_usage: Stores metadata about disk space usage, page allocation and deallocation statistics at session task level. […]

I'm Anvesh Patel, a Database Engineer certified by Oracle and IBM. I'm working as a Database Architect, Database Optimizer, Database Administrator, Database Developer. Providing the best articles and solutions for different problems in the best manner through my blogs is my passion. I have more than six years of experience with various RDBMS products like MSSQL Server, PostgreSQL, MySQL, Greenplum and currently learning and doing research on BIGData and NoSQL technology. -- Hyderabad, India.