<?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>Luka Manojlovic &#187; big log.ldf</title>
	<atom:link href="http://luka.manojlovic.net/tag/big-logldf/feed/" rel="self" type="application/rss+xml" />
	<link>http://luka.manojlovic.net</link>
	<description>Luka&#039;s technical blog</description>
	<lastBuildDate>Mon, 24 May 2010 21:59:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Reduce Sharepoint services 3.0 log.ldf files&#8230;</title>
		<link>http://luka.manojlovic.net/2008/06/15/reduce-sharepoint-services-30-logldf-files/</link>
		<comments>http://luka.manojlovic.net/2008/06/15/reduce-sharepoint-services-30-logldf-files/#comments</comments>
		<pubDate>Sun, 15 Jun 2008 14:05:53 +0000</pubDate>
		<dc:creator>manojlovicl</dc:creator>
				<category><![CDATA[Sharepoint services]]></category>
		<category><![CDATA[Sharepoint services 3.0]]></category>
		<category><![CDATA[big log.ldf]]></category>
		<category><![CDATA[large log.ldf]]></category>
		<category><![CDATA[log.ldf large]]></category>
		<category><![CDATA[sharepoint services 3.0 large log files]]></category>

		<guid isPermaLink="false">http://luka.manojlovic.net/2008/06/15/reduce-sharepoint-services-30-logldf-files/</guid>
		<description><![CDATA[I had the problem that Sharepoint_Config-ID-.log.ldf grow realy BIG (14GB) on a content database of 1 GB! You can solve this problem by using &#8220;Shrink&#8221; command in the MS SQL Server Management Studio Express First you need to connect to your Sharepoint 3.0 database called: \\.\pipe\mssql$microsoft##ssee\sql\query - just put this string in your &#8220;Server name&#8221; field: [...]]]></description>
			<content:encoded><![CDATA[<p>I had the problem that Sharepoint_Config-ID-.log.ldf grow realy BIG (14GB) on a content database of 1 GB!</p>
<p>You can solve this problem by using &#8220;Shrink&#8221; command in the <a target="_blank" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=c243a5ae-4bd1-4e3d-94b8-5a0f62bf7796">MS SQL Server Management Studio Express</a></p>
<p>First you need to connect to your Sharepoint 3.0 database called: \\.\pipe\mssql$microsoft##ssee\sql\query - just put this string in your &#8220;Server name&#8221; field:</p>
<p><strong>\\.\pipe\mssql$microsoft##ssee\sql\query</strong></p>
<p><strong> Create full backup of all databases before continuing!</strong></p>
<p>After that we should change restore mode from &#8220;Full&#8221; (this the parameter that allows .log.ldf to grow that large as transaction logs are not purged) to &#8220;Simple&#8221;:</p>
<p>Expand Databases, right mouse click on Sharepoint_Config&#8230; Properties, Options, Recovery model: <strong>Simple</strong> and click OK</p>
<p>Shrink the database procedure:</p>
<p>Expand Databases, right mouse click on Sharepoint_Config&#8230; Tasks, Shrink, Files in File type select <strong>Log</strong> and click OK<br />
Your log file will become radicaly smaller. <img src='http://luka.manojlovic.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Be sure you backup your databases <strong>before this procedure</strong> and also on daily bases&#8230;</p>
<p>Good luck!</p>
<p> Also check:<br />
<a href="http://geekswithblogs.net/RogueCoder/archive/2008/06/03/122588.aspx">http://geekswithblogs.net/RogueCoder/archive/2008/06/03/122588.aspx</a><br />
<a href="http://www.karaszi.com/SQLServer/info_dont_shrink.asp">http://www.karaszi.com/SQLServer/info_dont_shrink.asp</a></p>
]]></content:encoded>
			<wfw:commentRss>http://luka.manojlovic.net/2008/06/15/reduce-sharepoint-services-30-logldf-files/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
