July 14, 2011 at 12:49 am
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
July 14, 2011 at 1:10 am
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
Learn to play, play to learn !
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[/url]
- 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
July 14, 2011 at 4:01 am
Thanks a lot!
These links will be help!!
Regards,
Andreas
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply