Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SQL Server 2005 Express - Shrink Database Expand / Collapse
Author
Message
Posted Thursday, July 14, 2011 12:49 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, July 19, 2011 7:20 AM
Points: 3, 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

Post #1141496
Posted Thursday, July 14, 2011 1:10 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 12:10 AM
Points: 6,997, Visits: 8,410
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


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


Don't drive faster than your guardian angel can fly ...
but keeping both feet on the ground won't get you anywhere

- 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"


Need a bit of Powershell? How about this

Who am I ? Sometimes this is me but most of the time this is me
Post #1141503
Posted Thursday, July 14, 2011 4:01 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, July 19, 2011 7:20 AM
Points: 3, Visits: 6
Thanks a lot!
These links will be help!!

Regards,
Andreas
Post #1141590
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse