<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>SQL Server</title>
        <link>http://geekswithblogs.net/slock/category/7439.aspx</link>
        <description>SQL Server</description>
        <language>en-US</language>
        <copyright>Scott Lock</copyright>
        <managingEditor>scott@caparea.net</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <item>
            <title>Timeout Error When Upgrading SPS 2003 Content Database </title>
            <link>http://geekswithblogs.net/slock/archive/2008/07/25/124011.aspx</link>
            <description>&lt;p&gt;Man, this issue has been kicking my butt all day.  We've been working on a SharePoint 2003 upgrade (testing) and got to the final content database.  Life was good up to this point.  110GB of content had upgraded and there were just a few hiccups, mostly related to size.  Then, it came.  The nasty, evil, dispicable:&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial"&gt;&lt;em&gt; Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Over and Over...&lt;/p&gt;
&lt;p&gt;Basically what's happening from what we can tell is SQL Server is choking on the large document library table copy (dbo.doc) and (dbo.docversion).  The temporary database (WSSUS_) log file timesout during autogrowth.  It just can't keep up with the upgrade.&lt;/p&gt;
&lt;p&gt;I'm trying again...this time I've set the autogrowth to grow by MB instead of percentage.  This is a tricky to get set simply because this database isn't created until the process starts.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;UPDATE&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The solution turned out to be relatively simple.  I grew the transaction log for the WSSUS_ database to 70GB which effectively stoped the autogrow thrashing.  After doing this, the process completed as expected.  The trick is that you have to run the script:&lt;/p&gt;
&lt;p&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;&lt;font face="Arial"&gt;The catch is that you have to run it &lt;em&gt;after&lt;/em&gt; the WSSUS database has been created.  I simply watched in Managment Studio until I saw the database in the list and ran the script.  It took 13 minutes for my hardward to execute the query.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;&lt;font face="Courier New"&gt;ALTER&lt;/font&gt;&lt;/p&gt;
&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;DATABASE&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; [WSSUP_Temp_675cfeec-6d15-414a-aae2-a3deabbbf01b] &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;MODIFY&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;FILE&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;(&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;NAME&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; N&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;'WSSUP_Temp_675cfeec-6d15-414a-aae2-a3deabbbf01b_log'&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;,&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;SIZE&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 73400320KB &lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;,&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;FILEGROWTH&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 10240KB &lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;
&lt;p&gt;&lt;font size="2"&gt;We also changed the default file location to a local disk rather than a SAN connected volume.  This may have had some impact, but did not solve the problem.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=124011"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=124011" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/slock/aggbug/124011.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Scott Lock</dc:creator>
            <guid>http://geekswithblogs.net/slock/archive/2008/07/25/124011.aspx</guid>
            <pubDate>Fri, 25 Jul 2008 04:34:10 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/slock/comments/124011.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/slock/archive/2008/07/25/124011.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/slock/comments/commentRss/124011.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/slock/services/trackbacks/124011.aspx</trackback:ping>
        </item>
        <item>
            <title>Database gotchas when upgrading SPS 2003 to MOSS</title>
            <link>http://geekswithblogs.net/slock/archive/2008/07/22/123955.aspx</link>
            <description>&lt;p&gt;Again, maybe old news but I thought I would post something interesting that happened during a recent upgrade from SPS 2003 to MOSS.  SharePoint is very finicky when it comes to database transactions and sizing during the gradual upgrade process.  Here are a couple of things to note:&lt;/p&gt;
&lt;p&gt;1.  Make sure you have enough size - When upgrading a site that had about 150GB in content, we needed about 500GB in space to complete the migration.&lt;/p&gt;
&lt;p&gt;2.  Make sure you know where your _Pair DB's Are - SharePoint for some reason didn't put the _Pair db's on the default data and log file locations (C:\) and had to be moved to a larger volume.  This caused the upgrade to fail with space issues.&lt;/p&gt;
&lt;p&gt;3.  Make sure to set the _Pair data and log files to AutoGrow - Now that you have the right amount of space, make sure that you configure the new databases to grow correctly.  Large content databases will have large transactions when copying the sitecollections.  This can also lead to things like timeouts and space issues.  You should also consider setting the recovery model to "Simple" during the migration to keep things tight.&lt;/p&gt;
&lt;p&gt;Just some things to think about.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=123955"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=123955" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/slock/aggbug/123955.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Scott Lock</dc:creator>
            <guid>http://geekswithblogs.net/slock/archive/2008/07/22/123955.aspx</guid>
            <pubDate>Tue, 22 Jul 2008 22:10:12 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/slock/comments/123955.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/slock/archive/2008/07/22/123955.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/slock/comments/commentRss/123955.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/slock/services/trackbacks/123955.aspx</trackback:ping>
        </item>
        <item>
            <title>SharePoint gradual upgrade disabled when using a SQL instance named SharePoint</title>
            <link>http://geekswithblogs.net/slock/archive/2008/07/22/123954.aspx</link>
            <description>This may be old news, but we just hit this issue the other day.  If you try to upgrade an instance of SharePoint Portal Server 2003 or WSS 2.0 that is running on a named instance of SQL Server called "SharePoint", the gradual upgrade option is greyed out.  It turns out that this is because the installer &lt;em&gt;thinks&lt;/em&gt; that you are trying to upgrade an instance of MSDE.  Changing the instance name to something other than "SharePoint" does the trick.  Talk about hardcoding something...&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=123954"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=123954" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/slock/aggbug/123954.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Scott Lock</dc:creator>
            <guid>http://geekswithblogs.net/slock/archive/2008/07/22/123954.aspx</guid>
            <pubDate>Tue, 22 Jul 2008 22:03:55 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/slock/comments/123954.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/slock/archive/2008/07/22/123954.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/slock/comments/commentRss/123954.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/slock/services/trackbacks/123954.aspx</trackback:ping>
        </item>
        <item>
            <title>SQL Server Client Working on Vista, Not connected to a domain</title>
            <link>http://geekswithblogs.net/slock/archive/2007/12/19/117848.aspx</link>
            <description>&lt;p&gt;To continue in the traditiion of trackbacks, and since I can't seem to find an orginal post in my body, I thought that I would share this one with you.  &lt;a href="http://jasonfollas.com/blog/"&gt;Jason Follas&lt;/a&gt; psted a solution on how to get SQL Client, running on Vista, to use different credentials when connecting to a SQL Server using Windows Authentication.  Basically, there are a ton of posts out there, but this is the ONLY one that that I could find that had the solution.  Here's the link to the full explantion:  &lt;a href="http://jasonf-blog.blogspot.com/2007/06/making-sql-server-management-server.html"&gt;Making SQL Server Management Server work on Windows Vista &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here's the solution - Create a "runas.exe" shortcut with the following configuration:&lt;/p&gt;
&lt;pre&gt;C:\Windows\System32\runas.exe /netonly /user:&lt;em&gt;domainx\myusername&lt;/em&gt;&lt;br /&gt;   "C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\SqlWb.exe"&lt;/pre&gt;
&lt;p&gt;Works like a charm!  Thank's Jason!&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=117848"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=117848" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/slock/aggbug/117848.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Scott Lock</dc:creator>
            <guid>http://geekswithblogs.net/slock/archive/2007/12/19/117848.aspx</guid>
            <pubDate>Wed, 19 Dec 2007 20:40:17 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/slock/comments/117848.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/slock/archive/2007/12/19/117848.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/slock/comments/commentRss/117848.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/slock/services/trackbacks/117848.aspx</trackback:ping>
        </item>
    </channel>
</rss>