Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
T-SQL (SS2K5)
»
shrinking database
shrinking database
Rate Topic
Display Mode
Topic Options
Author
Message
lathish2kumar
lathish2kumar
Posted Tuesday, January 01, 2013 1:10 AM
Forum Newbie
Group: General Forum Members
Last Login: Thursday, March 14, 2013 6:44 AM
Points: 3,
Visits: 68
hi all,
i want to know that ,can we shrink the database at the time of working on that database. if it does is there any data loss or safe??
please give answer to this question asap
Post #1401560
GilaMonster
GilaMonster
Posted Tuesday, January 01, 2013 1:17 AM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 3:18 PM
Points: 37,744,
Visits: 30,025
Safe. Not usually a good idea, but safe.
If you decide to shrink, you need to rebuild all your indexes afterwards. Don't shrink as small as possible, shrink to a sensible size (leaving some free space for normal operation). Don't schedule shrinks.
Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild
: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter
We stand on the bridge and no one may pass
Post #1401561
Bhuvnesh
Bhuvnesh
Posted Wednesday, January 02, 2013 1:49 AM
SSCrazy
Group: General Forum Members
Last Login: Tuesday, March 26, 2013 8:41 AM
Points: 2,562,
Visits: 3,451
lathish2kumar (1/1/2013)
please give answer to this question asap
it seems that you went straightaway to apply this . to gain some space. and if thats the case then you might be doing this in future too .So i will suggest you to read some link as
http://blogs.msdn.com/b/sqlserverstorageengine/archive/2006/06/13/629059.aspx
-------Bhuvnesh----------
While 1 = 1 (Learning SQL....)
Click to get fast response of your post
Post #1401686
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.