SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL Server 2005 Express - Shrink Database


SQL Server 2005 Express - Shrink Database

Author
Message
horky
horky
Forum Newbie
Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: General Forum Members
Points: 7 Visits: 6
Hi all,

thanks for reading my comment.

We are working with SQL Server 2005 Express Version and I was amazed of the growing up Database in the System.
In one year only the DB was growing up to over 1GB and there comes up many problems in case of access to the DB, now.
We want to Shrink the DB but doesn´t know how to do that in the correct way.
Some Information about the POS-System, where the DB runs:
IBM SurePOS 300 with 40GB Memory on Harddisk, 1GB RAM (some Stations are installed with 2GB RAM), Windows XP, SP3.

If you have any Information, please write back in this Forum.

Thank´s a lot!
Regards,
Andreas
ALZDBA
ALZDBA
SSChampion
SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)

Group: General Forum Members
Points: 12674 Visits: 8930
Have a look at:

- How to: Shrink a Database (SQL Server Management Studio)

- How to: Shrink a File (SQL Server Management Studio)
- How to use the DBCC SHRINKFILE statement to shrink the transaction log file in SQL Server 2005

- DBCC SHRINKDATABASE (Transact-SQL)

Altough for the SSMS refs, I'm not sure they will also work with SSMS-express Blush


Keep in mind, after a shrink ( except if you only shrink the log file ) you need to perform db maintenance so all indexes get reorganized and will be in optimal shape !


Play it safe: Start with a full backup !

Johan


Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere w00t

- How to post Performance Problems
- How to post data/code to get the best help


- How to prevent a sore throat after hours of presenting ppt ?


press F1 for solution, press shift+F1 for urgent solution :-D


Need a bit of Powershell? How about this

Who am I ? Sometimes this is me Alien but most of the time this is me Hehe
horky
horky
Forum Newbie
Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: General Forum Members
Points: 7 Visits: 6
Thanks a lot!
These links will be help!!

Regards,
Andreas
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search