![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I notice our production .db file is 2.5 Gb It should only be two hundred Mb. I know this because I unloaded and recreated the db in a different environment. Why is it so big. I noticed the indexes were fragmanted and had a lot of pages, I rebuilt the indexes with "ALTER INDEX xxxxxx ON yyyyy REBUILD, This reduced the no of index pages considerably. However there was absolutely no effect on the size of the .db file, it's still 2.5 Gb Why is this, what can we do to make the database smaller, it seems to about 10 times bigger than it should be. |
#3
| |||
| |||
|
|
I notice our production .db file is 2.5 Gb It should only be two hundred Mb. I know this because I unloaded and recreated the db in a different environment. Why is it so big. I noticed the indexes were fragmanted and had a lot of pages, I rebuilt the indexes with "ALTER INDEX xxxxxx ON yyyyy REBUILD, This reduced the no of index pages considerably. However there was absolutely no effect on the size of the .db file, it's still 2.5 Gb Why is this, what can we do to make the database smaller, it seems to about 10 times bigger than it should be. |
![]() |
| Thread Tools | |
| Display Modes | |
| |