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
»
Article Discussions
»
Article Discussions by Author
»
Discuss content posted by VM
»
Shrinking the transaction log
11 posts, Page 1 of 2
1
2
»»
Shrinking the transaction log
Rate Topic
Display Mode
Topic Options
Author
Message
VM-723206
VM-723206
Posted Thursday, December 10, 2009 12:09 AM
SSChasing Mays
Group: General Forum Members
Last Login: Saturday, April 06, 2013 12:20 AM
Points: 649,
Visits: 263
Comments posted to this topic are about the item
Shrinking the transaction log
Post #832011
Dude76
Dude76
Posted Thursday, December 10, 2009 2:11 AM
SSC Veteran
Group: General Forum Members
Last Login: Monday, March 18, 2013 7:52 PM
Points: 280,
Visits: 88
One more time (as usual ? as often ? ) , "all of these apply".
My
MCP Transcript
(ID : 692471 Access : 109741229)
Post #832058
Lynn Pettis
Lynn Pettis
Posted Thursday, December 10, 2009 6:31 AM
SSC-Insane
Group: General Forum Members
Last Login: Today @ 7:10 PM
Points: 21,588,
Visits: 27,380
I'm confused, what is the question asking? I'd like to answer it today, but with this question it would all be a shot in the dark.
Lynn Pettis
For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here
or
when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here
and
here
Managing Transaction Logs
SQL Musings from the Desert
Fountain Valley SQL
(My Mirror Blog)
Post #832152
SanjayAttray
SanjayAttray
Posted Thursday, December 10, 2009 9:27 AM
Hall of Fame
Group: General Forum Members
Last Login: Friday, March 15, 2013 2:43 PM
Points: 3,924,
Visits: 1,554
Lynn Pettis (12/10/2009)
I'm confused, what is the question asking? I'd like to answer it today, but with this question it would all be a shot in the dark.
( It would all be a shot in the dark ). That's what I did. Checked all and got points. I am not sure about this option. Will have to test it on some server. I thought its same and never observed time in seconds.
-- If a log file has lots of free space, shrinking the transaction log file in SQL Server 2005 is faster than shrinking the transaction log file in SQL Server 2000.
SQL DBA.
Post #832346
Alan Vogan
Alan Vogan
Posted Thursday, December 10, 2009 10:15 AM
Ten Centuries
Group: General Forum Members
Last Login: Thursday, May 02, 2013 10:44 AM
Points: 1,079,
Visits: 513
Not a very interesting or up-to-date question. I would have expected comparisons between 2005 and 2008.
Post #832397
Bhavesh_Patel
Bhavesh_Patel
Posted Thursday, December 10, 2009 10:12 PM
SSChasing Mays
Group: General Forum Members
Last Login: Friday, January 11, 2013 12:41 PM
Points: 621,
Visits: 297
It was bit confusing.
Bhavesh Patel
http://bhaveshgpatel.wordpress.com/
Post #832716
BudaCli
BudaCli
Posted Monday, December 14, 2009 11:41 PM
Ten Centuries
Group: General Forum Members
Last Login: Wednesday, March 27, 2013 9:02 AM
Points: 1,046,
Visits: 573
Another one busted the dust out on me...
What you don't know won't hurt you but what you know will make you plan to know better
Post #834316
wbeaton-664441
wbeaton-664441
Posted Thursday, March 18, 2010 10:38 AM
Mr or Mrs. 500
Group: General Forum Members
Last Login: Tuesday, February 12, 2013 3:20 PM
Points: 528,
Visits: 399
3 of the 4 options are correct. But, this statment can't be true:
"Reducing the physical size of a log file requires shrinking the file."
You can truncate a transaction log and that will reduce the physical size of the log file, therefore shrinking is not required.
Sorry for the late reply. I'm playing catchup on old questions I skipped over.
Post #885722
Peter Trast
Peter Trast
Posted Saturday, March 20, 2010 2:31 PM
Mr or Mrs. 500
Group: General Forum Members
Last Login: Friday, March 15, 2013 10:35 AM
Points: 594,
Visits: 654
wbeaton-664441 (3/18/2010)
3 of the 4 options are correct. But, this statment can't be true:
"Reducing the physical size of a log file requires shrinking the file."
You can truncate a transaction log and that will reduce the physical size of the log file, therefore shrinking is not required.
Sorry for the late reply. I'm playing catchup on old questions I skipped over.
I am behind on all of them but I am playing catchup anyway :)
Peter Trast
Microsoft Certified ...(insert many literal strings here)
Microsoft Design Architect with Alexander Open Systems
Post #886965
Lynn Pettis
Lynn Pettis
Posted Saturday, March 20, 2010 8:29 PM
SSC-Insane
Group: General Forum Members
Last Login: Today @ 7:10 PM
Points: 21,588,
Visits: 27,380
wbeaton-664441 (3/18/2010)
3 of the 4 options are correct. But, this statment can't be true:
"Reducing the physical size of a log file requires shrinking the file."
You can truncate a transaction log and that will reduce the physical size of the log file, therefore shrinking is not required.
Sorry for the late reply. I'm playing catchup on old questions I skipped over.
Hate to be the bearer of bad news, but truncating the transaction log, either by changing the recovery model from FULL or BULK_LOGGED to SIMPLE, or using the depreciated command BACKUP LOG <DBNAME> WITH TRUNCATE_ONLY, simply marks the space used by the committed transactions as reusable. To physically shrink the ldf file, you must use the DBCC SHRINKFILE.
Lynn Pettis
For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here
or
when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here
and
here
Managing Transaction Logs
SQL Musings from the Desert
Fountain Valley SQL
(My Mirror Blog)
Post #887019
« Prev Topic
|
Next Topic »
11 posts, Page 1 of 2
1
2
»»
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.