<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Deleting the transaction log</title>
	<atom:link href="http://sqlinthewild.co.za/index.php/2009/06/09/deleting-the-transaction-log/feed/" rel="self" type="application/rss+xml" />
	<link>http://sqlinthewild.co.za/index.php/2009/06/09/deleting-the-transaction-log/</link>
	<description>A discussion on SQL Server</description>
	<lastBuildDate>Mon, 14 May 2012 23:51:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Gail</title>
		<link>http://sqlinthewild.co.za/index.php/2009/06/09/deleting-the-transaction-log/comment-page-1/#comment-2071</link>
		<dc:creator>Gail</dc:creator>
		<pubDate>Mon, 14 May 2012 23:51:41 +0000</pubDate>
		<guid isPermaLink="false">http://sqlinthewild.co.za/?p=250#comment-2071</guid>
		<description>&#039;Just&#039; the transaction log? The log is one of the more critical portions of the database because it is what ensures durability and consistency. Any database platform that supports durability has some form of transaction log

It is not an audit log or just record of what happened. It&#039;s every bit as important (if not more) than the data files</description>
		<content:encoded><![CDATA[<p>&#8216;Just&#8217; the transaction log? The log is one of the more critical portions of the database because it is what ensures durability and consistency. Any database platform that supports durability has some form of transaction log</p>
<p>It is not an audit log or just record of what happened. It&#8217;s every bit as important (if not more) than the data files</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RJ</title>
		<link>http://sqlinthewild.co.za/index.php/2009/06/09/deleting-the-transaction-log/comment-page-1/#comment-2070</link>
		<dc:creator>RJ</dc:creator>
		<pubDate>Mon, 14 May 2012 10:26:47 +0000</pubDate>
		<guid isPermaLink="false">http://sqlinthewild.co.za/?p=250#comment-2070</guid>
		<description>I had lost my ldf file and neither had the DB, nor the backup. The workaround/hack you mentioned here worked successfully from the recovery mode. Muchas gracias!

PS: On a sidenote, this is exactly why I hate closed/proprietary systems. Who in their frigging mind ties the workability/dependence of a complete database with just its transaction log!</description>
		<content:encoded><![CDATA[<p>I had lost my ldf file and neither had the DB, nor the backup. The workaround/hack you mentioned here worked successfully from the recovery mode. Muchas gracias!</p>
<p>PS: On a sidenote, this is exactly why I hate closed/proprietary systems. Who in their frigging mind ties the workability/dependence of a complete database with just its transaction log!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gail</title>
		<link>http://sqlinthewild.co.za/index.php/2009/06/09/deleting-the-transaction-log/comment-page-1/#comment-2067</link>
		<dc:creator>Gail</dc:creator>
		<pubDate>Sat, 05 May 2012 05:45:20 +0000</pubDate>
		<guid isPermaLink="false">http://sqlinthewild.co.za/?p=250#comment-2067</guid>
		<description>Please note that restoring from backup should always be considered first and is a much safer way of getting the database back than rebuilding the log.</description>
		<content:encoded><![CDATA[<p>Please note that restoring from backup should always be considered first and is a much safer way of getting the database back than rebuilding the log.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HappynThankful</title>
		<link>http://sqlinthewild.co.za/index.php/2009/06/09/deleting-the-transaction-log/comment-page-1/#comment-2066</link>
		<dc:creator>HappynThankful</dc:creator>
		<pubDate>Sat, 05 May 2012 03:42:52 +0000</pubDate>
		<guid isPermaLink="false">http://sqlinthewild.co.za/?p=250#comment-2066</guid>
		<description>Big Thank You! Worked perfect!  A little data loss, but way better than all lost!</description>
		<content:encoded><![CDATA[<p>Big Thank You! Worked perfect!  A little data loss, but way better than all lost!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GSquared</title>
		<link>http://sqlinthewild.co.za/index.php/2009/06/09/deleting-the-transaction-log/comment-page-1/#comment-1856</link>
		<dc:creator>GSquared</dc:creator>
		<pubDate>Tue, 04 Oct 2011 08:38:16 +0000</pubDate>
		<guid isPermaLink="false">http://sqlinthewild.co.za/?p=250#comment-1856</guid>
		<description>Thanks again for this article, Gail.  Came in handy for me tonight, dealing with a log file corrupted during a server move.</description>
		<content:encoded><![CDATA[<p>Thanks again for this article, Gail.  Came in handy for me tonight, dealing with a log file corrupted during a server move.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shannon</title>
		<link>http://sqlinthewild.co.za/index.php/2009/06/09/deleting-the-transaction-log/comment-page-1/#comment-1641</link>
		<dc:creator>shannon</dc:creator>
		<pubDate>Tue, 10 May 2011 21:15:39 +0000</pubDate>
		<guid isPermaLink="false">http://sqlinthewild.co.za/?p=250#comment-1641</guid>
		<description>Ok thanks Gail, will do!</description>
		<content:encoded><![CDATA[<p>Ok thanks Gail, will do!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gail</title>
		<link>http://sqlinthewild.co.za/index.php/2009/06/09/deleting-the-transaction-log/comment-page-1/#comment-1640</link>
		<dc:creator>Gail</dc:creator>
		<pubDate>Tue, 10 May 2011 20:48:32 +0000</pubDate>
		<guid isPermaLink="false">http://sqlinthewild.co.za/?p=250#comment-1640</guid>
		<description>Short answer: You can&#039;t back a log up if the DB is in simple recovery, and log truncation happens every time a checkpoint runs.

If you want to go into more detail, maybe post a question over at SQLServerCentral.com and you&#039;ll get lots of good (and probably some not-so-good) advice.</description>
		<content:encoded><![CDATA[<p>Short answer: You can&#8217;t back a log up if the DB is in simple recovery, and log truncation happens every time a checkpoint runs.</p>
<p>If you want to go into more detail, maybe post a question over at SQLServerCentral.com and you&#8217;ll get lots of good (and probably some not-so-good) advice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shannon</title>
		<link>http://sqlinthewild.co.za/index.php/2009/06/09/deleting-the-transaction-log/comment-page-1/#comment-1639</link>
		<dc:creator>shannon</dc:creator>
		<pubDate>Tue, 10 May 2011 20:19:35 +0000</pubDate>
		<guid isPermaLink="false">http://sqlinthewild.co.za/?p=250#comment-1639</guid>
		<description>Gail, great article! I always love reading your blog. 

One question I do have though as I am trying to educate myself on Transaction Logs as much as I can, what is the best practice for managing Transaction logs in the Simple recovery mode? I use this on my reporting datawarehouse that supports SSAS Cubes and SSRS reporting. It is only loaded once a night at 2am in the morning and no modifications are made to it during the day so no point in time restores would be necessary. However during the night the transaction log does grow during the ETL process. I leave it alone as I am in no danger of running out of space and it is not that big, but none the less I wonder if I should be truncating it by backing it up? What is the best practice in this situation? I can&#039;t seem to find much of that info on the net :D</description>
		<content:encoded><![CDATA[<p>Gail, great article! I always love reading your blog. </p>
<p>One question I do have though as I am trying to educate myself on Transaction Logs as much as I can, what is the best practice for managing Transaction logs in the Simple recovery mode? I use this on my reporting datawarehouse that supports SSAS Cubes and SSRS reporting. It is only loaded once a night at 2am in the morning and no modifications are made to it during the day so no point in time restores would be necessary. However during the night the transaction log does grow during the ETL process. I leave it alone as I am in no danger of running out of space and it is not that big, but none the less I wonder if I should be truncating it by backing it up? What is the best practice in this situation? I can&#8217;t seem to find much of that info on the net <img src='http://sqlinthewild.co.za/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gail</title>
		<link>http://sqlinthewild.co.za/index.php/2009/06/09/deleting-the-transaction-log/comment-page-1/#comment-1631</link>
		<dc:creator>Gail</dc:creator>
		<pubDate>Wed, 04 May 2011 18:26:59 +0000</pubDate>
		<guid isPermaLink="false">http://sqlinthewild.co.za/?p=250#comment-1631</guid>
		<description>As I pointed out in this post, no, not always. If the database was not cleanly shut down, the attach will fail. See the second example in this post.

The sp_attach procs are deprecated, the replacement is the CREATE DATABASE ... FOR ATTACH or CREATE DATABASE ... FOR ATTACH_REBUILD_LOG that I used</description>
		<content:encoded><![CDATA[<p>As I pointed out in this post, no, not always. If the database was not cleanly shut down, the attach will fail. See the second example in this post.</p>
<p>The sp_attach procs are deprecated, the replacement is the CREATE DATABASE &#8230; FOR ATTACH or CREATE DATABASE &#8230; FOR ATTACH_REBUILD_LOG that I used</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kaminda</title>
		<link>http://sqlinthewild.co.za/index.php/2009/06/09/deleting-the-transaction-log/comment-page-1/#comment-1630</link>
		<dc:creator>Kaminda</dc:creator>
		<pubDate>Wed, 04 May 2011 11:05:21 +0000</pubDate>
		<guid isPermaLink="false">http://sqlinthewild.co.za/?p=250#comment-1630</guid>
		<description>Gail, We can do a single file db attach using sp_attach_single_file_db when the log file is deleted isnt it?</description>
		<content:encoded><![CDATA[<p>Gail, We can do a single file db attach using sp_attach_single_file_db when the log file is deleted isnt it?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

