Resizing an existing DB
From: Julie (anonymous_at_discussions.microsoft.com)
Date: 05/11/04
- Next message: Jacco Schalkwijk: "Re: sqlmaint.exe failed. [SQLSTATE 42000] (Error 22029). The step failed."
- Previous message: Hugo Kornelis: "Re: Query cost and execution plan"
- In reply to: Darren: "Resizing an existing DB"
- Next in thread: Tibor Karaszi: "Re: Resizing an existing DB"
- Reply: Tibor Karaszi: "Re: Resizing an existing DB"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 11 May 2004 01:55:54 -0700
Hi Darren,
Unfortunatly you can't. The smallest size you can shrink
your database to is the size the database was initally set
to when you created it, in this case 20gb.
Although there are lots of ways of doing it, personally I
would save the data, drop the database, recreate it with 1
gb, then copy the database back into it.
J
>-----Original Message-----
>I created a DB with a preallocated size of 20GB and I
need to shink
>this down to a smaller size. If I go into DB properties
and enter a
>new value it says that the size must be greater than the
current size.
>Is there any way to do this? Also when I try and restore
the DB is
>wants 20GB of disk space even though it's only using
about 1GB of
>data. Any help will be muchly appreciated.
>
>Darren.
>.
>
- Next message: Jacco Schalkwijk: "Re: sqlmaint.exe failed. [SQLSTATE 42000] (Error 22029). The step failed."
- Previous message: Hugo Kornelis: "Re: Query cost and execution plan"
- In reply to: Darren: "Resizing an existing DB"
- Next in thread: Tibor Karaszi: "Re: Resizing an existing DB"
- Reply: Tibor Karaszi: "Re: Resizing an existing DB"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|