See Books OnLine regarding dbcc shrinkfile and
shrinkdatabase.
>--Original Message--
>Hi,
>I created a database for test purposes. I am trying to
obtain some
>metrics for various scenarios I wish to test. Many of
these scenarios
>involve bulk inserts. Rather then deleting all rows after
each run I
>simply dropped and recreated the tables. However I've
noticed that the
>mdf and log files are getting larger and larger even when
the database
>is completely empty of data. How can I safely shrink the
size of these
>files?
>Thanks,
>Paul
>.
>Thanks
Saturday, February 25, 2012
Please help: Shrink SQL Server database
Labels:
andshrinkdatabase,
books,
created,
database,
dbcc,
gt-original,
gti,
message-gthi,
microsoft,
mysql,
online,
oracle,
purposes,
regarding,
server,
shrink,
shrinkfile,
sql
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment