<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tags 'Agent' and 'Connect'</title><link>http://sqlblog.com/search/SearchResults.aspx?o=DateDescending&amp;tag=Agent,Connect&amp;orTags=0</link><description>Search results matching tags 'Agent' and 'Connect'</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Connect Digest : 2009-09-04</title><link>http://sqlblog.com/blogs/aaron_bertrand/archive/2009/09/04/connect-digest-2009-09-04.aspx</link><pubDate>Fri, 04 Sep 2009 11:30:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:16401</guid><dc:creator>AaronBertrand</dc:creator><description>&lt;p&gt;I am heading to &lt;a href="http://en.wikipedia.org/wiki/North_Bay,_Ontario" title="North Bay, Ontario, Canada" target="_blank"&gt;my home town&lt;/a&gt; for a week; we rented a cottage on &lt;a href="http://en.wikipedia.org/wiki/Lake_Nipissing" title="Lake Nipissing" target="_blank"&gt;Lake Nipissing&lt;/a&gt;, and are going to relax.&amp;nbsp; No, really : no howling beagles, no computers, and no schedule.&amp;nbsp; Sounds like a week of bliss to me.&lt;/p&gt;

&lt;p&gt;So, as you might imagine, there won't be a digest next week.&amp;nbsp; I think I have some interesting items to point out to you this week to hold you over.&lt;/p&gt;

&lt;hr&gt;
&lt;p style="font-weight:bold;"&gt;Users won't stop shrinking, so take the option away&lt;br&gt;&lt;/p&gt;

&lt;p&gt;Even with boatloads of advice to the country, a LOT of people are still shrinking their databases as a whole (as opposed to per file), and even doing so as a regularly scheduled maintenance plan.&amp;nbsp; While Microsoft has advised us that settings like &lt;a href="http://msdn.microsoft.com/en-us/library/ms136209.aspx" title="http://msdn.microsoft.com/en-us/library/ms136209.aspx" target="_blank"&gt;AutoShrink will be removed&lt;/a&gt; in some future version, personally I just don't think that's enough.&amp;nbsp; People don't need to be tempted in so many ways to shoot themselves in the foot and destroy their database performance, never mind to set the system up so it shoots their feet off automatically.&lt;br&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=486614" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=486614" target="_blank"&gt;#486614 : Deprecate all "shrink database" options&lt;/a&gt;&lt;br&gt;&amp;nbsp;&lt;br&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;hr&gt;

&lt;p style="font-weight:bold;"&gt;Make it harder for users to raise 600 GB log files&lt;br&gt;&lt;/p&gt;
&lt;div class="SubTitle"&gt;&lt;a href="http://twitter.com/way0utwest" title="http://twitter.com/way0utwest" target="_blank"&gt;Steve Jones&lt;/a&gt; formalized a thought I alluded to in an &lt;a href="http://sqlblog.com/blogs/aaron_bertrand/archive/2009/06/21/why-is-disaster-recovery-an-afterthought.aspx" title="http://sqlblog.com/blogs/aaron_bertrand/archive/2009/06/21/why-is-disaster-recovery-an-afterthought.aspx" target="_blank"&gt;earlier blog post&lt;/a&gt;: make the default recovery model simple.&amp;nbsp; The reason this will be better for users is that if you choose full by mistake, you don't realize until your transaction log has taken up your whole disk -- and then you're back into the need to shrink files again.&amp;nbsp; If you choose simple by mistake, you will realize your error the very first time you attempt to take a log backup, and at that point corrective action is simple (no pun intended) and immediate.&amp;nbsp; Do I think that simple recovery model should be how most databases end up?&amp;nbsp; Absolutely not.&amp;nbsp; But until they make other options mandatory (e.g. setting up a backup / log backup plan), I think default = full is more dangerous than default = simple.&amp;nbsp; And as I mentioned, correcting for a default of simple when you really wanted full is much more obvious and immediate.&lt;/div&gt;
&lt;blockquote&gt;&lt;div class="SubTitle"&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=472969" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=472969" target="_blank"&gt;#472969 : Change Default Recovery Model&lt;/a&gt;&lt;/div&gt;&lt;div class="SubTitle"&gt;&amp;nbsp; &lt;br&gt;&lt;/div&gt;&lt;/blockquote&gt;

&lt;hr&gt;
&lt;div class="SubTitle"&gt;&lt;b&gt;Make the SQL Server Agent / Jobs node more manageable&lt;/b&gt;&lt;/div&gt;&lt;div class="SubTitle"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="SubTitle"&gt;I probably have 50+ Connect items on how to make the SQL Server Agent components in SSMS easier to manage.&amp;nbsp; But after setting up a Utility Control Point (see &lt;a href="http://sqlblog.com/blogs/aaron_bertrand/archive/2009/08/31/sql-server-2008-r2-more-peeking-under-the-hood.aspx" title="http://sqlblog.com/blogs/aaron_bertrand/archive/2009/08/31/sql-server-2008-r2-more-peeking-under-the-hood.aspx" target="_blank"&gt;my most recent "under the hood" post&lt;/a&gt;), it became obvious how cluttered and ugly the Jobs node in Object Explorer can become.&amp;nbsp; And when you look at the &lt;a href="http://sqlblog.com/files/folders/16462/download.aspx" title="http://sqlblog.com/files/folders/16462/download.aspx" target="_blank"&gt;screen shot&lt;/a&gt;, kind in mind: this is before I've created a single user-defined job.&amp;nbsp; Blecch.&amp;nbsp; I'd like to see, at the very least, folders for each category with at least one job (this way we could control where our jobs appear simply by changing their category), with uncategorized jobs appearing at the root.&amp;nbsp; But user-defined hierarchies (even if only one level deep) would be much better.&lt;br&gt;&lt;/div&gt;
&lt;blockquote&gt;&lt;div class="SubTitle"&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=286925" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=286925" target="_blank"&gt;#286925 : SSMS : Allow folder grouping for SQL Agent jobs&lt;/a&gt;&lt;/div&gt;&lt;div class="SubTitle"&gt;&amp;nbsp; &lt;br&gt;&lt;/div&gt;&lt;/blockquote&gt;

&lt;hr&gt;
&lt;div class="SubTitle"&gt;&lt;b&gt;Prevent slipstream from failing silently&lt;/b&gt;&lt;/div&gt;&lt;div class="SubTitle"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="SubTitle"&gt;Earlier this week, I created a slipstream install: SQL Server 2008 with SP1 (2531) and SP1 CU3 (2723).&amp;nbsp; Little did I know that, when I grabbed the SP1 binaries off of our file server, I grabbed the pre-release CTP of SP1 (build 2520 vs. 2531).&amp;nbsp; Oops.&lt;/div&gt;&lt;div class="SubTitle"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="SubTitle"&gt;The &lt;a href="http://blogs.msdn.com/psssql/archive/2009/03/17/how-to-fix-your-sql-server-2008-setup-before-you-run-setup-part-ii.aspx" title="http://blogs.msdn.com/psssql/archive/2009/03/17/how-to-fix-your-sql-server-2008-setup-before-you-run-setup-part-ii.aspx" target="_blank"&gt;slipstream process itself&lt;/a&gt; is handy but pretty manual, and a great deal of thanks is owed to Peter Saddow of Microsoft for providing so many helpful blog posts with information.&amp;nbsp; But, as a manual process, it is certainly error-prone.&amp;nbsp; In my case, running a slipstreamed install yielded these results:&lt;/div&gt;&lt;div class="SubTitle"&gt;
&lt;ol&gt;
&lt;li&gt;Build 1600 (RTM) was installed.&amp;nbsp; Neither 2520 nor 2723 made it to the server.&lt;br&gt;&lt;/li&gt;

&lt;li&gt;The log files did not mention any problem, AFAICT.&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;&lt;div class="SubTitle"&gt;Both of these outcomes are undesirable, in my opinion.&amp;nbsp; If setup was not able to patch to the highest CU build I had attempted,
the process should fail completely.&amp;nbsp; Failing that, it should patch to the highest build possible (in this case 2520), and then make it *VERY* obvious (I'm
talking sirens, flashing lights and dancing girls here) that it did not
complete the full process.&lt;br&gt;&lt;/div&gt;&lt;div class="SubTitle"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="SubTitle"&gt;Only when I attempted to run the installers from the PCU and CU folders did I realize what had happened, since the log files were of no help.&amp;nbsp; I installed what I thought was SP1, and then when I tried to install CU3, it told me the minimum build # was 2531, and that I only had 2520.&amp;nbsp; Face palm time.&lt;/div&gt;&lt;div class="SubTitle"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="SubTitle"&gt;This sequence of events should not be allowed.&amp;nbsp; Since the CTP of SP1 was public, I doubt I am the first person who tried this, and I doubt I will be the last.&amp;nbsp; But the more dangerous problem is that a slipstream install can *look* like it was successful, but fail silently.&amp;nbsp; I noticed immediately that the server was still at 1600.&amp;nbsp; But what if I didn't pay as much attention to these details?&amp;nbsp; If I was relying on protecting my server from an exploit, say via some security patch in an SP or CU, I'm going to run this setup and walk away from the server, thinking I am protected when I am not.&lt;/div&gt;&lt;div class="SubTitle"&gt;
&lt;blockquote&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=487051" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=487051" target="_blank"&gt;#487051 : Slipstream : log says yes, result says no&lt;/a&gt;&lt;br&gt; &lt;br&gt;&lt;/blockquote&gt;
&lt;/div&gt;

&lt;hr&gt;
&lt;div class="SubTitle"&gt;&lt;div class="SubTitle"&gt;&lt;b&gt;Some polishing in R2 still required&lt;/b&gt;&lt;/div&gt;&lt;div class="SubTitle"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="SubTitle"&gt;I know it's pre-release material, but unhandled exceptions are never cool, and bugs I've submitted in the past were not always fixed in time for the initial release.&amp;nbsp; So I'd like to help avoid these from being in the product this time around.&amp;nbsp; When using the Utility Explorer for the first time, I came across a pretty serious and easily reproducible unhandled exception, as well as an instance of unintuitive behavior.&lt;/div&gt;
&lt;blockquote&gt;&lt;div class="SubTitle"&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=487722" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=487722" target="_blank"&gt;#487722 : R2 : Unhandled exception on Utility Explorer's Storage Utilization tab&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href="http://sqlblog.com/files/folders/16540/download.aspx" target="_blank"&gt;&lt;img src="http://sqlblog.com/files/folders/16540/download.aspx" alt=" Click to enlarge " border="1" width="500"&gt;&lt;/a&gt;&lt;br&gt;&lt;/div&gt;&lt;div class="SubTitle"&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="SubTitle"&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=487719" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=487719" target="_blank"&gt;#487719 : R2 : Utility Explorer Content links do not work&lt;/a&gt;&lt;br&gt;&lt;/div&gt;&lt;/blockquote&gt;
&lt;div class="SubTitle"&gt;The unhandled exception one is really troubling.&amp;nbsp; There are several other unresolved Connect items where SSMS raises unhandled exceptions, and it really makes me wonder why TRY/CATCH use isn't more widespread.&amp;nbsp; I guess SSMS gets the same kind of error handling priority as SQL Server itself.&amp;nbsp; =)&amp;nbsp; Sorry, I couldn't resist.&lt;br&gt;&lt;/div&gt;&lt;div class="SubTitle"&gt;&amp;nbsp;
&lt;br&gt;&lt;/div&gt;&lt;/div&gt;</description></item></channel></rss>