Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2004-06-21 : 11:24:17
|
| Monojit writes "Dear SirI am using MS SQL2K for last 3 years. For 1. year it was running smothly.Now Its showing lots of problem. For I.5 years the size 0f databse is around 2GB. At present it is 10.9GB. I am very worried its start deleting opening !st,2nd record. We have few tables whose index size is more 5 to 7MB. If we shrink the table nothing change really happen it remain the same. Can we resize the index space than i think the size of the database will reduce. Please help me. Waiting for your replyMonojit Das" |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2004-06-21 : 12:52:21
|
| Is it the database or log that has grown? If the log it's probably because someone has done some large updates.If the data file have a look at DBCC INDEXDEFRAG and DBCC REINDEX.You may have fragmentation problems. Defraging the clustered index will defragment the data pages.==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
derrickleggett
Pointy Haired Yak DBA
4184 Posts |
Posted - 2004-06-21 : 13:14:19
|
| Just as an fyi, you should be scheduling the DBCC INDEXDEFRAG and reindexes on a regular basis.MeanOldDBAderrickleggett@hotmail.comWhen life gives you a lemon, fire the DBA. |
 |
|
|
|
|
|