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 12»»

Shrinking the transaction log Expand / Collapse
Author
Message
Posted Thursday, December 10, 2009 12:09 AM
SSChasing Mays

SSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing Mays

Group: General Forum Members
Last Login: Tuesday, July 23, 2013 6:34 AM
Points: 654, Visits: 265
Comments posted to this topic are about the item Shrinking the transaction log
Post #832011
Posted Thursday, December 10, 2009 2:11 AM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC 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
Posted Thursday, December 10, 2009 6:31 AM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Today @ 11:42 AM
Points: 23,396, Visits: 32,235
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
Posted Thursday, December 10, 2009 9:27 AM
Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Thursday, July 17, 2014 10:56 AM
Points: 3,924, Visits: 1,607
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
Posted Thursday, December 10, 2009 10:15 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Friday, September 12, 2014 10:55 AM
Points: 1,082, Visits: 541
Not a very interesting or up-to-date question. I would have expected comparisons between 2005 and 2008.
Post #832397
Posted Thursday, December 10, 2009 10:12 PM


SSChasing Mays

SSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing 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
Posted Monday, December 14, 2009 11:41 PM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Tuesday, November 5, 2013 6:08 AM
Points: 1,079, Visits: 591
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
Posted Thursday, March 18, 2010 10:38 AM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Thursday, September 11, 2014 7:49 AM
Points: 534, Visits: 505
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
Posted Saturday, March 20, 2010 2:31 PM


Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Friday, June 13, 2014 3:03 PM
Points: 594, Visits: 655
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
Posted Saturday, March 20, 2010 8:29 PM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Today @ 11:42 AM
Points: 23,396, Visits: 32,235
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 »

Add to briefcase 12»»

Permissions Expand / Collapse