SQL shrink database
HI I have microsoft sql server 2008 r2 every day my hard disk expanding 2-3gb in data base properties recovery model is simple,I shrink log file but data base expanding every day how can I stop this process?if I shrink data base it will be normal?
July 2nd, 2015 6:05am
You need to look inside the database and determine what causes it to grow. Is it data, if so, what tables. Or is it log? Etc. I never recommend doing shrink on regular basis, instead you should allow the database be the size it need to be.
More info: http://www.karaszi.com/SQLServer/info_dont_shrink.asp
Free Windows Admin Tool Kit Click here and download it now
July 2nd, 2015 6:10am
I looked up using Windirstat it shows that most of the space on my hard drive files .jpg
July 2nd, 2015 6:17am
I looked up using Windirstat it shows that most of the space on my hard drive files .jpgAnd the .MDF Database files takes just a small part; instead of shrink database better delete/move the JPG's
Free Windows Admin Tool Kit Click here and download it now
July 2nd, 2015 6:22am
That means that shrinking the database files won't give you any benefits (but still all disadvantages). Instead you need to work on that it is that uses all that disk space! Apparently jpegs.
July 2nd, 2015 6:24am
thank you I find directory this attachments previews i find older image here
Free Windows Admin Tool Kit Click here and download it now
July 2nd, 2015 7:40am
thank you I find directory this attachments previews i find older image hereI cannot tell you whether to delete or not, you have to consult your team members and find out and take necessary action. I would never shrink DB for 2G space
July 2nd, 2015 10:41am
I consulted with application firm they answered me I can delete this images thanks to all
Free Windows Admin Tool Kit Click here and download it now
July 3rd, 2015 2:21am