Thread: Index not updated.
12-13-05, 07:58 #1Registered User
- Join Date
- Jan 2003
Unanswered: Index not updated.
We run SQL SERVER 2000 on win2000
I've a question regarding Index on a table.
I've a table (1 milj rows) with a extra index ZINDEX1.
Now lets say I insert 1000 rows in that table.
Now what will happend if I search on these NEW rows in my table.
The Index is not updated.
12-13-05, 10:49 #2Annie's Dog Walker
Provided Answers: 6
- Join Date
- Nov 2004
- on the wrong server
indices can become freagmented after large inserts. look up DBCC SHOWCONTIG, DBCC REINDEXDB and DBCC INDEXDEFRAG in books online. And here is a little more light reading...
http://www.microsoft.com/technet/pro.../ss2kidbp.mspxIf one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry. Earnest Hemingway, A Farewell To Arms.