登入
Microsoft.com
台灣 (中文)
Australia (English)
Brasil (Português)
Česko (Čeština)
Danmark (Dansk)
Deutschland (Deutsch)
España (Español)
France (Français)
Indonesia (Bahasa)
Italia (Italiano)
Magyarország (Magyar)
Nederland (Nederlands)
Polska (Polski)
România (Română)
Singapore (English)
Türkiye (Türkçe)
United States (English)
Россия (Русский)
ישראל (עברית)
المملكة العربية السعودية (العربية)
ไทย (ไทย)
中国 (中文)
日本 (日本語)
대한민국 (한국어)
香港特別行政區 (中文)
Microsoft
首頁
發問
快速存取
論壇首頁
瀏覽論壇使用者
FAQ
搜尋相關討論串
Remove From My Forums
提問者
tempdb 占用的缓存怎么清除?
IT at Microsoft
>
SQL Server and Business Intelligence
問題
0
登入以投票
最近发现tempdb 占用的缓存特别多,因为很多批处理需要 申明临时表 但是最后都drop 掉了,可是tempdb 为什么回收的这么慢,有什么方法把tempdb缓存清除掉?
请指教 谢谢
2013年6月13日 上午 07:48
回覆
|
引述
所有回覆
0
登入以投票
You mean tempdb size? Leavl it if disk has enougn free space, it'll be recreated when restarting sql.
2013年6月13日 下午 12:58
回覆
|
引述
0
登入以投票
谢谢回复 我说不是tempdb的磁盘空间,是在缓存中的空间 依据是 这个视图 sys.dm_os_buffer_descriptors 我统计了一下 tempdb的占用很高, 是不是有的存储过程 使用临时表 # 导导致的呢 但是每次使用后都会drop
2013年7月3日 上午 03:53
回覆
|
引述
0
登入以投票
For cache buffer, sql will swap old data out when reads new data but not release memory to OS unless there's memory pressure on the machine.
2013年7月3日 下午 02:03
回覆
|
引述
© 2021 Microsoft Corporation. 著作權所有,並保留一切權利。
管理您的個人檔案
|
與我們連絡
|
使用規定
|
商標
|
隱私權聲明