Re: DB size increase from SQL 2000 to 2005



Erland Sommarskog wrote:
Artie (artie2269@xxxxxxxxx) writes:
A few months ago a customer moved from SQL 2000 to SQL 2005. The db was
backed up on SQL 2000 and restored to SQL 2005. The application using
this data works on SQL 2005 but takes no advantage of new features. The
db on SQL 2000 was about 2.9GB, now on SQL 2005, it is 16.5GB. The db
is set to Simple recovery so trx log is only 2mb. The mdf file is
16.5GB, Management Studio shows only 5mb free space. There has not been
a huge increase in transactions. One of the largest tables has only added 2,000 rows since the move to
SQL 2005. Yet the data and index size has jumped from about 400mb to
3.5 GB. I used the 'BigTables.sql' script found at various SQL sites: www.databasejournal.com/img/BigTables.sql
There is very little information to work from. Have you checked the tables
for fragmentation? How many rows are there in the table that has grown
so much? Are there text/ntext/image columns in the database? Does this
query return any rows:

SELECT object_name(object_id), name FROM sys.indexes
WHERE index_id = 0?

What does it mean and what should you do if this does return rows?

TIA

aj
.



Relevant Pages

  • Re: Autostatistic ON/OFF on separate tables?
    ... "Erland Sommarskog" wrote in message ... This means that autostats do not set in very often on these tables. ... Links for SQL Server Books Online: ...
    (microsoft.public.sqlserver.server)
  • Re: SQL Server Management Studio Express
    ... The problem is that the user needs to be able to ... click on the relationship diagram button in the console but it is ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Links for SQL Server Books Online: ...
    (microsoft.public.sqlserver.tools)
  • Re: Update one database table values with another database table v
    ... records in another database. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Links for SQL Server Books Online: ...
    (microsoft.public.sqlserver.programming)
  • Re: Filtering a voter?
    ... "Erland Sommarskog" wrote: ... >> I'm a complete novice with SQl, I'm completely self taught I have not ... you don't have to include the entire database. ... > Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se ...
    (microsoft.public.sqlserver.programming)
  • Re: 15408 Revert Session Security Context"
    ... SqlBinary denyValue, SqlString userGroups, SqlBoolean mergeRights) ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Links for SQL Server Books Online: ...
    (microsoft.public.sqlserver.security)