Ghost cleanup

来源:互联网 发布:花生壳 ddns 域名管理 编辑:程序博客网 时间:2024/05/18 21:40

Refer to http://social.msdn.microsoft.com/Forums/sqlserver/en-US/1409f597-2022-4c4c-ac5d-abaf91a7ec0c/problem-with-ghost-cleanup

http://www.sqlskills.com/blogs/paul/turning-off-the-ghost-cleanup-task-for-a-performance-gain/

今天安装Litespeed,它需要连接SQL Server并创建一个local repository数据库.然而一直超时。用profiler跟踪发现在创建数据库时,在sysprocesses中总是会出现一个ghost cleanup的系统进程block住这个进程。试了以下方法都失败了:


1, 重启SQL Server。

2,Stop agent server.

3,  使用trace flag 661。


从帖子里看貌似是cpu性能太差引起的。根本解决办法是升级。但是我不想弄的太复杂,就在SSMS里手工创建了数据库,好在Litespeed是个不错的tool,当发现数据库已经存在时就不再创建了,然后就过了。所以算是够lucky....

原创粉丝点击