Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SysIndex table of SQL Server does not reflect Current Count

Status
Not open for further replies.

vikaskalra

Technical User
Aug 12, 2002
41
GB
Hi All,

I was wondering if any of you have faced such a problem. I have some big databases which have tables having more that 100,000 records per table.

The procedure here is we do lot of bulk inserts via DTS packages. Once this is done, the Sysindex table reflects the exact count or records for small tables. But for the big tables I have been observing that these counts are not getting updated.

I have already tried my luck with DBCC DBREINDEX to rebuild the index of these tabls, then I also tried my luck with UPDATE STATISTICS.. but none of these seem to be working and am merely left firing the time consuming SELECT COUNT(1) on these table to get the counts.

Any clue on as to how to get keep the Sysindex updated with correct count ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top