<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>inVURTED.com &#187; database</title>
	<atom:link href="http://invurted.com/tag/database/feed/" rel="self" type="application/rss+xml" />
	<link>http://invurted.com</link>
	<description>With great virtualisation comes great responsibility!</description>
	<lastBuildDate>Thu, 09 Feb 2012 03:50:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Virtual Centre database problems</title>
		<link>http://invurted.com/virtual-centre-database-problems/</link>
		<comments>http://invurted.com/virtual-centre-database-problems/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 03:18:58 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[VMWare]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[virtual center]]></category>

		<guid isPermaLink="false">http://invurted.com/?p=252</guid>
		<description><![CDATA[I was mucking around with one of the SQL servers used for Virtual Centre because the SYSTEM drive was full and found some interesting problems. After some investigation I discovered that the transaction logs of the VC databases were averaging 1.4 GB each. To get around this I adjusted the recovery model of the databases [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>I was mucking around with one of the SQL servers used for Virtual Centre because the SYSTEM drive was full and found some interesting problems.<span id="more-252"></span></p>
<p>After some investigation I discovered that the transaction logs of the VC databases were averaging 1.4 GB each.</p>
<p>To get around this I adjusted the recovery model of the databases to simple and then shrunk the log files.  Code excerpt below.</p>
<p><code><br />
USE master<br />
GO</p>
<p>ALTER DATABASE <em>Virtual Center Database</em><br />
SET RECOVERY MODEL SIMPLE<br />
GO</p>
<p>USE <em>Virtual Center Database</em><br />
GO</p>
<p>DBCC SHRINKFILE(<em>Virtual Center Database</em>_log, 1)<br />
BACKUP LOG <em>Virtual Center Database</em><br />
 WITH TRUNCATE_ONLY<br />
DBCC SHRINKFILE(<em>Virtual Center Database</em>_log, 1)<br />
GO</code></p>
<p>Discuss!!</p>
<div class="shr-publisher-252"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Finvurted.com%2Fvirtual-centre-database-problems%2F' data-shr_title='Virtual+Centre+database+problems'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Finvurted.com%2Fvirtual-centre-database-problems%2F'></a><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Finvurted.com%2Fvirtual-centre-database-problems%2F' data-shr_title='Virtual+Centre+database+problems'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://invurted.com/virtual-centre-database-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

