Re: Restore Database Size
- From: "Russell Fields" <russellfields@xxxxxxxxxx>
- Date: Mon, 20 Aug 2007 11:58:11 -0400
Demian,
It depends on your file sizes. The BOL on DBCC SHRINKDATABASE says:
The database cannot be made smaller than the minimum size of the database.
The minimum size is the size specified when the database is originally
created, or the last size explicitly set by using a file size changing
operation such as DBCC SHRINKFILE or ALTER DATABASE.
However, as you might infer from that note, it is possible to use DBCC
SHRINKFILE to make the files smaller. So, why don't you try:
DBCC SHRINKFILE ('datafile', sizeyouwant)
RLF
"Demian" <Demian@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0D9AA514-B9A9-4185-BFB5-11EE83D48713@xxxxxxxxxxxxxxxx
I have made a copy of a SQL Server 2000 database for testing puposes. Most
of the data in the original database is in one gigantic table. To reduce
the
size of the test database, I have truncated the table in the test
database.
I also did a "shrink database" on the test database, so the database
should
be much smaller. However, the test database is still almost the same size
as
the original. What else can I try to reduce the size of the test
database?
Thanks.
.
- Prev by Date: RE: unattened installations
- Next by Date: RE: unexpected failure during the setup - help!
- Previous by thread: Re: Uninstalling Express Workstation tools and Installing Regular tool
- Next by thread: date
- Index(es):
Relevant Pages
|
Loading