/* -- 0. 高速压缩tempdb为初始值 USE tempdb DBCC SHRINKFILE(2,TRUNCATEONLY); */ -- 1. tempdb以下未回收的暂时表 ,某些版本号可能查不到数据 use tempdb; select * from sys.objects o where o.type like '%U%'; -- Chapter 7 - Knowing Tempdb -- christian@coeo.com -- Show tempdb usage by ty