<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblogcasts.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">SQL Server Database Administration</title><subtitle type="html">This blog will touch on SQL Server Database Administration, like in the words of Obi-Wan Kenobi, from a certain point of view.</subtitle><id>http://sqlblogcasts.com/blogs/johnparker/atom.aspx</id><link rel="alternate" type="text/html" href="http://sqlblogcasts.com/blogs/johnparker/default.aspx" /><link rel="self" type="application/atom+xml" href="http://sqlblogcasts.com/blogs/johnparker/atom.aspx" /><generator uri="http://communityserver.org" version="3.1.20917.1142">Community Server</generator><updated>2007-03-24T10:51:00Z</updated><entry><title>ER - She canny no take it Captain!</title><link rel="alternate" type="text/html" href="http://sqlblogcasts.com/blogs/johnparker/archive/2007/10/08/er-she-canny-no-take-it-captain.aspx" /><id>http://sqlblogcasts.com/blogs/johnparker/archive/2007/10/08/er-she-canny-no-take-it-captain.aspx</id><published>2007-10-08T15:06:00Z</published><updated>2007-10-08T15:06:00Z</updated><content type="html">In Star Trek it was pretty obvious when the Enterprise had problems; it was always something to do with the Warp-Drive anyway. On production systems, its normally SQL Server Enterprise having problems, but when your ship is going down, what should you check? Heres a list, we've cobbled together. Fire up Task Manager immediately. Then come back to this after it's built up a history; when you've checked over the other usual suspects, come back to here and check out CPU Usage, if its too low, this could...(&lt;a href="http://sqlblogcasts.com/blogs/johnparker/archive/2007/10/08/er-she-canny-no-take-it-captain.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=2624" width="1" height="1"&gt;</content><author><name>JohnParker</name><uri>http://sqlblogcasts.com/members/JohnParker.aspx</uri></author></entry><entry><title>SQL Server 2000/2005 Failover Clustering 101 by MS</title><link rel="alternate" type="text/html" href="http://sqlblogcasts.com/blogs/johnparker/archive/2007/04/05/sql-server-2000-2005-failover-clustering-101-by-ms.aspx" /><id>http://sqlblogcasts.com/blogs/johnparker/archive/2007/04/05/sql-server-2000-2005-failover-clustering-101-by-ms.aspx</id><published>2007-04-05T17:26:00Z</published><updated>2007-04-05T17:26:00Z</updated><content type="html">&lt;P&gt;Had a funny problem at work to do with clustering, we're not entirely sure if there was a problem with the cluster because we removed Builtin\Administrators.&amp;nbsp; I was the third person brought in to resolve this problem so I'm not quite sure what fixed it.&amp;nbsp; I find clustering kinda scary but also really interesting.&amp;nbsp; Anyways, two links if you're interested&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;SQL Server 2000 Failover Clustering&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/failclus.mspx"&gt;http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/failclus.mspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;SQL Server 2005 Failover Clustering White Paper ( for download )&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=818234dc-a17b-4f09-b282-c6830fead499&amp;amp;DisplayLang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=818234dc-a17b-4f09-b282-c6830fead499&amp;amp;DisplayLang=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The problem we had was related to this...&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;BUG: IsAlive check does not run under the context of the BUILTIN\Administrators account in SQL Server 2000 Enterprise Edition&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.microsoft.com/?id=291255"&gt;http://support.microsoft.com/?id=291255&lt;/A&gt;&lt;/P&gt;&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=1720" width="1" height="1"&gt;</content><author><name>JohnParker</name><uri>http://sqlblogcasts.com/members/JohnParker.aspx</uri></author></entry><entry><title>Stored Procedure or System Procedure?</title><link rel="alternate" type="text/html" href="http://sqlblogcasts.com/blogs/johnparker/archive/2007/03/24/stored-procedure-or-system-procedure.aspx" /><id>http://sqlblogcasts.com/blogs/johnparker/archive/2007/03/24/stored-procedure-or-system-procedure.aspx</id><published>2007-03-24T10:51:00Z</published><updated>2007-03-24T10:51:00Z</updated><content type="html">&lt;P&gt;If you could somehow link all the SQL Servers in the world together and then capture a Profiler trace on it, it would be extremely interesting to analyse the results.&amp;nbsp; I bet table scans and therefore missing indexes would be quite high on this list.&amp;nbsp; I wonder if recompilation of stored procedures called sp_ would be&amp;nbsp;in the top ten culprits, eating up precious CPU cycles and causing wait time?&amp;nbsp; I've been using SQL Server since 1999 as a Developer/DBA&amp;nbsp;and it's easy to be cynical about developers and the way they code queries.&amp;nbsp; I have lost count of the number of times I've seen developers create user stored procedures called sp_ not knowing that this forces recompilation ever time the query's run.&amp;nbsp; I started thinking about why they did this, I mean, it happens a lot.&lt;/P&gt;
&lt;P&gt;1. Microsoft call their own system stored procedures sp_, so that they recompile when they're executed.&amp;nbsp; Developers see this and think it's a standard and trying to be good developers,&amp;nbsp;replicate this Microsoft standard.&lt;/P&gt;
&lt;P&gt;2. Developers like to adhere to naming conventions to make coding easier.&amp;nbsp; I expect they think that sp_ means stored procedure but I wonder if it actually stands for system procedure? Surely though they should be called SSP (System Stored Procedures?)&lt;/P&gt;
&lt;P&gt;3. They just don't know, and no-one has ever told them.&amp;nbsp; It's eays to criticise other people's lack of knowledge, but I've seen this countless times.&amp;nbsp; How can they all be uninformed?&amp;nbsp; Maybe they don't have a DBA or SQL developer on site.&lt;/P&gt;
&lt;P&gt;Thinking about this, I think Microsoft are slightly at fault here because of the reasons above.&amp;nbsp; People who develop in SQL Server may not have the time to pick up a decent programming book and start learning the nuances of the product, they have to get a solution from SQL within the whole project they're working on and also to a deadline.&amp;nbsp; Is it any surprise they don't pick up a DBA or SQL Server programming book?&amp;nbsp; Perhaps if they did then I would be out of a job.&amp;nbsp; Microsoft have done a very good job at creating a self-tuning RDBMS, however, I can't help but think the easiest solution to this problem is when someone creates a stored procedure called sp_, the informational message should be 'Stored Procedures called sp_ will be recompiled every time they are run and this may affect performance'.&amp;nbsp; Surely this would force even the most reluctant developer to investigate this?&lt;/P&gt;
&lt;P&gt;I'm off to the SQL Server Connect website and logging this recommendation. If Microsoft added this in a future Service Pack, I wonder if that World-Wide Trace would get any smaller?&amp;nbsp; &lt;/P&gt;&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=1656" width="1" height="1"&gt;</content><author><name>JohnParker</name><uri>http://sqlblogcasts.com/members/JohnParker.aspx</uri></author></entry></feed>