SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Ghost_record_count increased drastically
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

govthamb
Starting Member

India
27 Posts

Posted - 04/02/2013 :  01:44:48  Show Profile  Reply with Quote
Hi Experts,

We have observed that "Ghost Cleanup" records are not getting cleaned up and ghost record count keeps on increasing when querying sys.dm_db_index_physical_stats.

After a SQL server reboot the "Ghost_record_count" came down, dramatically.

Could you please suggest in which scenario "ghost_record_count" will not clean up automatically, as server reboot is not the best possible suggestion.

Please suggest us,
1. In what scenarion "ghost_record_count" increases. (Our assumption, this record count will increase if any record got deleted from a table which does not contain Cluster Index)
2. How automatically "ghost_record_count" decreases automatically.

Thanks for your help!

chadmat
The Chadinator

USA
1974 Posts

Posted - 04/02/2013 :  03:17:55  Show Profile  Visit chadmat's Homepage  Reply with Quote
Here is a good explanation of the questions you are asking:

http://www.sqlskills.com/blogs/paul/inside-the-storage-engine-ghost-cleanup-in-depth/

-Chad
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000