<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>Rants</title>
        <link>http://weblogs.sqlteam.com/derrickl/category/89.aspx</link>
        <description>Contains my posts ranting and raving about stupid people, social and political issues, and anything else I might feel like ranting about at the moment.</description>
        <language>en-US</language>
        <copyright>Derrick Leggett</copyright>
        <managingEditor>derrickleggett@hotmail.com</managingEditor>
        <generator>Subtext Version 1.9.4.0</generator>
        <item>
            <title>Oracle and jhermiz</title>
            <link>http://weblogs.sqlteam.com/derrickl/archive/2005/05/03/4872.aspx</link>
            <description>&lt;P&gt;&lt;a title="Oracle Website" href="http://www.microsoft.com" target="_blank"&gt;Oracle&lt;/a&gt; and &lt;a title="jhermiz" href="http://www.oracleteam.com" target="_blank"&gt;jhermiz&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;This has been a test of absolutely nothing.&lt;/P&gt;
&lt;P&gt;I do believe this might be the most ridiculously stupid blog post I ever make.&amp;nbsp; :)&lt;/P&gt;&lt;img src="http://weblogs.sqlteam.com/derrickl/aggbug/4872.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Derrick Leggett</dc:creator>
            <guid>http://weblogs.sqlteam.com/derrickl/archive/2005/05/03/4872.aspx</guid>
            <pubDate>Wed, 04 May 2005 04:31:00 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/derrickl/archive/2005/05/03/4872.aspx#feedback</comments>
            <slash:comments>4</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/derrickl/comments/commentRss/4872.aspx</wfw:commentRss>
        </item>
        <item>
            <title>&lt;b&gt;SOX Auditing Companies SUCK!!!!&lt;/b&gt;</title>
            <link>http://weblogs.sqlteam.com/derrickl/archive/2004/10/26/2285.aspx</link>
            <description>&lt;P&gt;Just gotta rant for a second.&amp;nbsp; (I know it's hard to believe.)&amp;nbsp; There are only&amp;nbsp;a few&amp;nbsp;approved SOX auditing companies out there currently.&amp;nbsp; The law is so broad in scope, yet undefined, that auditing companies really have no idea what they are auditing for.&amp;nbsp; We have internal auditors talking to D&amp;amp;T; and one of the biggest problems we face is the vagueness of responses received back.&amp;nbsp; None of the auditors really agree with each other on what needs to be done.&amp;nbsp; Passing and/or failing an audit will not be determined by the security of the companies data.&amp;nbsp; It will be determined by your auditors interpretation of their auditing companies interpretation of a law the courts haven't yet interpreted.&lt;/P&gt;
&lt;P&gt;That should give anyone truly concerned about productive process and data security a really bad headache!&lt;/P&gt;
&lt;P&gt;Long live stupid laws......job security for IT people that couldn't keep a real job.&lt;/P&gt;
&lt;P&gt;Why do all these SOX auditing companies have IT consulting divisions???? HMMMMMMMMM&lt;/P&gt;&lt;img src="http://weblogs.sqlteam.com/derrickl/aggbug/2285.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Derrick Leggett</dc:creator>
            <guid>http://weblogs.sqlteam.com/derrickl/archive/2004/10/26/2285.aspx</guid>
            <pubDate>Wed, 27 Oct 2004 04:18:00 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/derrickl/archive/2004/10/26/2285.aspx#feedback</comments>
            <slash:comments>5</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/derrickl/comments/commentRss/2285.aspx</wfw:commentRss>
        </item>
        <item>
            <title>&lt;b&gt;SARBANES-OXLEY SUCKS&lt;/b&gt;</title>
            <link>http://weblogs.sqlteam.com/derrickl/archive/2004/06/28/1682.aspx</link>
            <description>&lt;P&gt;We are currently putting processes in place to comply with the Deloitte &amp;amp; Touche interpretation of Sarbanes-Oxley for&amp;nbsp;our internal audit department, and for certification of compliance with Deloitte &amp;amp; Touche.&amp;nbsp; As a DBA, I normally don't complain about processes and have introduced many at my company; however, today I read the proposed functions the DBA would have in my organization if they pass the version currently being considered.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Database Administrator:&lt;/STRONG&gt;&amp;nbsp; The DBA will insure the integrity and performance of the database environment.&amp;nbsp; The DBA will not have access to security functions.&amp;nbsp; The DBA will not have access to the physical servers.&amp;nbsp; The DBA will not be able to view production data.&lt;/P&gt;
&lt;P&gt;??????&amp;nbsp;&amp;nbsp; Do these people have any clue about reality?&amp;nbsp; I can't view production data.&amp;nbsp; My developers can't view production data, neither can anyone who is considered a developer.&amp;nbsp; So we have nobody able to view the data, who can fix&amp;nbsp;a bug should it occur.&amp;nbsp; I can't have access to the physical server.&amp;nbsp; Now this is a problem since I currently manage ALL the 27 SQL Servers we have including patches and critical updates.&amp;nbsp; I can't have access to security either, so everytime I set up a new user, or need to add a user to an existing NT Group I need to forward the change control to the NT Security group.&amp;nbsp; I can then do my job.&amp;nbsp; That's fine with me.....less work.&lt;/P&gt;
&lt;P&gt;In addition, all fixes need to go through a full SDLC including emergency bug fixes.&amp;nbsp; Think about this before you say it sounds reasonable.&amp;nbsp; This means I not only have to provide a dev/test/staging/prod environment for releases.&amp;nbsp; I need to have the ability to clone production quickly to produce test/staging environments for the bug fixes as well.&amp;nbsp; This will mean buying space for an entire new environment that can be quickly cloned with SnapView for testing of fixes seperately from the normal process.&amp;nbsp; While this environment is being build, and everyone on earth is taking time to test the bug fix, the users are just screwed.&amp;nbsp; I understand we need controls, but this is going WAAAAAAAAAY overboard.&lt;/P&gt;
&lt;P&gt;The thing that bothers me the most about this is the incredibly stupid and inept people dictating these processes.&amp;nbsp; We have non-technical people giving us their interpretation of the law as it regards technical matters.&amp;nbsp; Notice it's an interpretation that will benefit ONLY THEM!!!!!&amp;nbsp; That is where the real conflict of interest resides, not in the off chance that some developer could copy someone's phone number down and call them on the phone at night.&amp;nbsp; The head of our internal auditor department said that we must &amp;#8220;think like criminals&amp;#8221; and think that our developers are.&amp;nbsp; I believe the criminal is the one who slantingly interprets the law solely for the purpose of creating jobs for themselves to the point it erodes shareholder value by limiting the service levels provided by IT/IS departments.&amp;nbsp; That is criminal.&lt;/P&gt;
&lt;P&gt;Favorite words used:&amp;nbsp;8 (complain, reality, WAAAAAAAAAY, overboard, stupid, inept, screwed, Touche) --I just love that word.&lt;/P&gt;
&lt;P&gt;Mean level (1-10):&amp;nbsp;&amp;nbsp;4 (If you are an idiotic auditor completely out of touch with reality, I'm sure you'll find this somewhat mean.)&lt;/P&gt;
&lt;P&gt;Education level (1-10):&amp;nbsp;&amp;nbsp;-2 (You really can't learn anything from these people.&amp;nbsp; You are dumber after you sit in their presence.)&lt;/P&gt;
&lt;P&gt;Entertainment level (1-10): 5 (Don't worry.&amp;nbsp; Your turn is coming.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://weblogs.sqlteam.com/derrickl/aggbug/1682.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Derrick Leggett</dc:creator>
            <guid>http://weblogs.sqlteam.com/derrickl/archive/2004/06/28/1682.aspx</guid>
            <pubDate>Tue, 29 Jun 2004 01:23:00 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/derrickl/archive/2004/06/28/1682.aspx#feedback</comments>
            <slash:comments>17</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/derrickl/comments/commentRss/1682.aspx</wfw:commentRss>
        </item>
        <item>
            <title>&lt;b&gt;If you're going to lie, can you at least make it believable.&lt;/b&gt;</title>
            <link>http://weblogs.sqlteam.com/derrickl/archive/2004/04/25/1284.aspx</link>
            <description>&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#191970&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT color=#000000&gt;&lt;FONT face="Times New Roman"&gt;On one of the forums at SQLTeam.com, a &amp;#8220;development manager&amp;#8220; claims they have found a database engine that supports the following:&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT color=#000000&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT color=#000000&gt;&lt;FONT face="Times New Roman"&gt;1.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Zero or near zero administration&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT color=#000000&gt;&lt;FONT face="Times New Roman"&gt;2.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;One physical file for the database&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT color=#000000&gt;&lt;FONT face="Times New Roman"&gt;3.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Simple recovery procedures&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT color=#000000&gt;&lt;FONT face="Times New Roman"&gt;4.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Physical file protection while at rest and in transit&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT color=#000000&gt;&lt;FONT face="Times New Roman"&gt;5.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Acceptable performance&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT color=#000000&gt;&lt;FONT face="Times New Roman"&gt;6.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Scaleability&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT color=#000000&gt;&lt;FONT face="Times New Roman"&gt;7.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Small footprint&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT color=#000000&gt;&lt;FONT face="Times New Roman"&gt;8.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;SQL engine that typically eliminates the need for a DBA. &lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT color=#000000&gt;&lt;FONT face="Times New Roman"&gt;9.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;SQL engine with one app supporting 50,000 connections to the database&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT color=#000000&gt;&lt;FONT face="Times New Roman"&gt;10. The database is large (in the tetrabytes).&amp;nbsp; --ummmm, okey-dokey.&amp;nbsp; What's a tetrabyte?&amp;nbsp; Will it catch falling blocks and rearrange them in mid-air also?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT color=#000000&gt;&lt;FONT face="Times New Roman"&gt;11. The database has an overall performance of around 30 times faster than engines such as MSSQL and Oracle. --WOW!!!!!!&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT color=#000000&gt;&lt;FONT face="Times New Roman"&gt;12. The best of all is that many of these SQL engines run on Linux, Unix, VMS and Windows platforms, giving clients a choice.&amp;nbsp; --blah,blah,blah&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT color=#000000&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT color=#000000&gt;&lt;FONT face="Times New Roman"&gt;If anyone has ran across a database platform that supports the above&amp;nbsp;&amp;#8220;features&amp;#8221;, please let me know ASAP.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I would like to start using it immediately. (grin)&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT color=#000000&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT color=#000000&gt;&lt;FONT face="Times New Roman"&gt;BTW,&amp;nbsp; this "mistress of lies"&amp;nbsp;works for &lt;A href="http://www.eduadmin.com"&gt;www.eduadmin.com&lt;/A&gt;.&amp;nbsp; Please feel free to visit the website and see screens of the wonderful application this intense development house creates&amp;nbsp;requiring the magnificent database described above.&amp;nbsp; She states she has been developing for over 30 years.&amp;nbsp; What a wealth of incredibly useful lore.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;/FONT&gt;&lt;FONT color=#000000&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT color=#000000&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;Does this look like a terabyte size, high performance, super-duper, high-security database system to you?&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I think we can cry wolf on this one.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;If you do find any databases that meet the above specifications though, please let me know.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;I look forward to the hundreds of responses from vendors.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; (cough, cough)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT color=#000000&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT color=#000000&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Times New Roman" size=3&gt;Stupid people shouldn't lie.&amp;nbsp; They are too stupid to make it coherent and believable.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;Favorite words used:&amp;nbsp;8 (stupid, lie, coherent, super-duper, blah, WOW, okey-dokey, lore)&lt;/P&gt;
&lt;P&gt;Mean&amp;nbsp;level (1-10):&amp;nbsp;&amp;nbsp;10 (Stupid people should be branded on their foreheads.)&lt;/P&gt;
&lt;P&gt;Education level (1-10):&amp;nbsp;&amp;nbsp;1 (It's possible someone learned something from this.&amp;nbsp; The thousands of replies from vendors could exponentially increase level.)&lt;/P&gt;
&lt;P&gt;Entertainment level (1-10):&amp;nbsp;6&amp;nbsp;(This is mildly entertaining if you have had to repeatedly endure those Dilbert moments at work.)&lt;/P&gt;
&lt;P&gt;Respectfully and lovingly yours,&lt;/P&gt;
&lt;P&gt;The MeanOldDBA&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=2&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;&lt;img src="http://weblogs.sqlteam.com/derrickl/aggbug/1284.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Derrick Leggett</dc:creator>
            <guid>http://weblogs.sqlteam.com/derrickl/archive/2004/04/25/1284.aspx</guid>
            <pubDate>Sun, 25 Apr 2004 20:46:00 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/derrickl/archive/2004/04/25/1284.aspx#feedback</comments>
            <slash:comments>9</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/derrickl/comments/commentRss/1284.aspx</wfw:commentRss>
        </item>
        <item>
            <title>A table with a mind of it's own.  </title>
            <link>http://weblogs.sqlteam.com/derrickl/archive/2004/04/14/1257.aspx</link>
            <description>&lt;P&gt;I ran across something today I have never encountered in SQL Server 2000; and thought I would share it with the poor souls&amp;nbsp;unfortunate enough to&amp;nbsp;read my blog.&amp;nbsp; We had a process at work that was taking several hours to run (mainly because the stored procedures are written like crap), and about 5 days ago just stopped working.&amp;nbsp; It would just run for 3-5 hours and then stop, producing an error&amp;nbsp;saying it was locked by another process.&lt;/P&gt;
&lt;P&gt;There&amp;nbsp;were absolutely no other processes running on this server to &amp;#8220;lock&amp;#8221; the process, including the process it said was locking it.&amp;nbsp; I set up a profiler, turned on Performance Monitor, ran integrity checks, recompiled the stored procedure, reindexed the table, and hoped it would go away.&amp;nbsp; IT DIDN'T.&amp;nbsp; How incredibly vain and stupid of me to think it would.&amp;nbsp; :)&lt;/P&gt;
&lt;P&gt;I tried everything I could think of to solve the problem and accomplished minus 5 things.&amp;nbsp; The SQL Server developer rewrote a copy of the proc to use a copy of the table he created and it ran in under 15 minutes.&amp;nbsp; Sooooo, I figured I would drop the table, recreate it, and test the procedure.&amp;nbsp; When I went to drop the table, it wouldn't drop.&amp;nbsp; The drop ran for 30 minutes and was the ONLY process running consistently during that time.&amp;nbsp; The only way I could get the table to drop was to restart the SQL Server and drop it.&amp;nbsp; Earlier in the week, I got the process to start working by restarting SQL Server also.&lt;/P&gt;
&lt;P&gt;On my last badly frayed nerve, I recreated the table and tested the procedure again.&amp;nbsp; The process now runs consistently around 15-20 minutes.&amp;nbsp; Before it laid over and died it was taking around 1.5-2.0 hours with nothing unusual showing up in profiler except the millions of reads the inefficient code produces.&lt;/P&gt;
&lt;P&gt;Any great ideas?&amp;nbsp; Beats me!!!!!!!!!!!!!&lt;/P&gt;
&lt;P&gt;Now onto the task of rewriting the stored procedure.&amp;nbsp; It was written by an analytics group.&amp;nbsp; Why is it these people never analyze their code and realize it's a horrible, smelly, disgusting pile of &lt;/P&gt;
&lt;P&gt;i&lt;/P&gt;
&lt;P&gt;n&lt;/P&gt;
&lt;P&gt;e eeh eeeeh eeeeeh&lt;/P&gt;
&lt;P&gt;effffffffff&lt;/P&gt;
&lt;P&gt;ish ish iiiish iiiiiiiiish iiiiiiiiiiiii&lt;/P&gt;
&lt;P&gt;i&lt;/P&gt;
&lt;P&gt;ii&lt;/P&gt;
&lt;P&gt;iii&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://weblogs.sqlteam.com/derrickl/aggbug/1257.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Derrick Leggett</dc:creator>
            <guid>http://weblogs.sqlteam.com/derrickl/archive/2004/04/14/1257.aspx</guid>
            <pubDate>Thu, 15 Apr 2004 03:04:00 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/derrickl/archive/2004/04/14/1257.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/derrickl/comments/commentRss/1257.aspx</wfw:commentRss>
        </item>
        <item>
            <title>&lt;b&gt;The power of bold...&lt;i&gt;and other useless ramblings&lt;/I&gt;&lt;/b&gt;</title>
            <link>http://weblogs.sqlteam.com/derrickl/archive/2004/04/07/1222.aspx</link>
            <description>&lt;P&gt;I recently posted a blog on SQLTeam forgetting to&amp;nbsp;unbold my title.&amp;nbsp; I always bold the title for emphasis, but that day I managed to bold pretty much the whole aggregated blog page, which Tara Duggan was more than happy to point out.&amp;nbsp; :)&amp;nbsp; I tried to weasel out of it, but since Graz had already gone in and fixed it, there wasn't any room left in the tunnel to crawl under his feet.&amp;nbsp; Anytime you use a tag that needs to be closed, &amp;lt;b&amp;gt;CLOSE IT!!!!&amp;lt;/b&amp;gt;&amp;nbsp; Wise advice from the Graz Oracle.&lt;/P&gt;
&lt;P&gt;But then life is full of these kinds of things when you're in our line of work.&amp;nbsp; I recently brought a third-party imaging software under our management at work.&amp;nbsp; When I got it, the objects had a couple different owners.&amp;nbsp; The third-party vendors (i.e. end-users) and end-users really didn't know how that happened.&amp;nbsp; The images weren't stored in the right directories and nobody really knew how that happened.&amp;nbsp; The application would only show certain years and nobody really knew why that was happening.&amp;nbsp; None of the migrations which had been conducted by IT (don't they work on routers) and vendors (aren't they end-users) had worked and nobody knew how that really happened.&amp;nbsp; The developer in charge of the product told me the wrong database so we pointed the application to a database they hadn't been using in 1.5 years and nobody knew how that really happened.&lt;/P&gt;
&lt;P&gt;As long as I work at this company nobody will ever touch this database again unless I am watching them with an axe in my hand to instill fear and remind them that they shall not break anything.&amp;nbsp; :)&lt;/P&gt;
&lt;P&gt;One of the DBA's primary functions consists of insuring that&amp;nbsp;everything&amp;nbsp;which touches, breathes on, or approaches the databases is a known.&amp;nbsp; It is not something we have to guess about, wondering if the&amp;nbsp;affected area will work tomorrow.&amp;nbsp; We are the gatekeepers and organizers against chaos.&amp;nbsp; If we aren't allowed to do that it's time to get out the old dusty tie,&amp;nbsp;clean it off, and head down the road.&amp;nbsp; Or at least that's how I see it in this rant.&lt;/P&gt;
&lt;P&gt;BTW, this is a useful script if you ever have to change the owners of objects after end-users (that would be anyone who shouldn't touch your database) mess&amp;nbsp;them up.&lt;/P&gt;
&lt;P&gt;CREATE PROCEDURE sp_change_owner_all&lt;/P&gt;
&lt;P&gt;--Name:&amp;nbsp; &amp;nbsp;&amp;nbsp;sp_change_owner_all&lt;BR&gt;--&lt;BR&gt;--Purpose:&amp;nbsp;&amp;nbsp;Change the owner of all objects in a database owned by a given user to another.&lt;BR&gt;--&lt;BR&gt;--Type:&amp;nbsp;&amp;nbsp;&amp;nbsp;Utility&lt;BR&gt;--&lt;BR&gt;--Format:&amp;nbsp;&amp;nbsp;EXEC sp_change_owner_all 'derrick','dbo'&lt;BR&gt;--&lt;BR&gt;--Example_1:&amp;nbsp;EXEC sp_change_owner_all 'derrick','dbo'&amp;nbsp;--Changes owner from common to dbo.&lt;BR&gt;--&lt;BR&gt;--Author:&amp;nbsp;&amp;nbsp;&amp;nbsp;Date:&amp;nbsp;&amp;nbsp;Type:&amp;nbsp;&amp;nbsp;Description:&lt;BR&gt;--Derrick Leggett&amp;nbsp;02/01/2002&amp;nbsp;Created&amp;nbsp;&amp;nbsp;Changes all objects to use a specific owner.&lt;BR&gt;--Derrick Leggett&amp;nbsp;04/01/2003&amp;nbsp;Modified&amp;nbsp;Changed to only change specified owner to new owner.&lt;BR&gt;--&lt;/P&gt;
&lt;P&gt;@txt_old_name VARCHAR(55),&lt;BR&gt;@txt_new_name VARCHAR(55)&lt;/P&gt;
&lt;P&gt;AS&lt;/P&gt;
&lt;P&gt;DECLARE @objects TABLE(&lt;BR&gt;&amp;nbsp;int_id INT PRIMARY KEY IDENTITY(1,1),&lt;BR&gt;&amp;nbsp;txt_name VARCHAR(255))&lt;/P&gt;
&lt;P&gt;INSERT @objects(&lt;BR&gt;&amp;nbsp;txt_name)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;SELECT so.name&lt;BR&gt;&amp;nbsp;FROM sysobjects so INNER JOIN sysusers su ON so.uid = su.uid&lt;BR&gt;&amp;nbsp;WHERE &lt;BR&gt;&amp;nbsp;&amp;nbsp;su.name = @txt_old_name&lt;BR&gt;&amp;nbsp;&amp;nbsp;AND type IN ('P','U','V')&lt;/P&gt;
&lt;P&gt;DECLARE&lt;BR&gt;&amp;nbsp;@int_counter INT,&lt;BR&gt;&amp;nbsp;@int_max INT,&lt;BR&gt;&amp;nbsp;@txt_object VARCHAR(256),&lt;BR&gt;&amp;nbsp;@txt_sql VARCHAR(2500)&lt;/P&gt;
&lt;P&gt;SELECT&lt;BR&gt;&amp;nbsp;@int_counter = (SELECT MIN(int_id) FROM @objects),&lt;BR&gt;&amp;nbsp;@int_max = (SELECT MAX(int_id) FROM @objects)&lt;/P&gt;
&lt;P&gt;WHILE @int_counter &amp;lt;= @int_max&lt;BR&gt;BEGIN&lt;/P&gt;
&lt;P&gt;SELECT @txt_object = (SELECT txt_name FROM @objects WHERE int_id = @int_counter)&lt;/P&gt;
&lt;P&gt;SELECT @txt_sql = 'sp_changeobjectowner ''' + @txt_old_name + '.' + @txt_object + ''',''' + @txt_new_name + ''''&lt;/P&gt;
&lt;P&gt;PRINT @txt_sql&lt;BR&gt;EXEC(@txt_sql)&lt;/P&gt;
&lt;P&gt;SELECT @int_counter = @int_counter + 1&lt;BR&gt;END&lt;BR&gt;GO&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;Favorite words used:&amp;nbsp;7 (weasel, crawl, vendor, end-user, axe, fear, chaos)&lt;/P&gt;
&lt;P&gt;Mean&amp;nbsp;level (1-10):&amp;nbsp;&amp;nbsp;3 (Tara was mean, but she has a kewl blog so who cares.&amp;nbsp; Graz was gracious enough to not delete my blogs so who's complaining.)&lt;/P&gt;
&lt;P&gt;Education level (1-10):&amp;nbsp;&amp;nbsp;3 (Transact-SQL for Dummies and SQL Server Administration for Dummies would be way more educational than this.)&lt;/P&gt;
&lt;P&gt;Entertainment level (1-10):&amp;nbsp;6 (I have to be able to laugh at myself.&amp;nbsp; The need arises so often.)&lt;/P&gt;&lt;img src="http://weblogs.sqlteam.com/derrickl/aggbug/1222.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Derrick Leggett</dc:creator>
            <guid>http://weblogs.sqlteam.com/derrickl/archive/2004/04/07/1222.aspx</guid>
            <pubDate>Wed, 07 Apr 2004 05:15:00 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/derrickl/archive/2004/04/07/1222.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/derrickl/comments/commentRss/1222.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Vendors....We shall slay them and take their precious.</title>
            <link>http://weblogs.sqlteam.com/derrickl/archive/2004/04/01/1185.aspx</link>
            <description>&lt;P&gt;Does anyone else have problems with lying, cheating, stealing vendors promising the world and delivering nothing???&lt;/P&gt;
&lt;P&gt;We've been dealing with E&amp;&amp; for several months now and I can't say I've ever been more disappointed in a vendor that hires sales staff who know absolutely nothing about how the product REALLY WORKS.&lt;/P&gt;
&lt;P&gt;We have 30 databases, with the production instances currently on the EMC SAN.  The hardware and technical support have been great, but we want to expand our product to include backup, development, reporting, and staging.  We decide to purchase ERM (SQL Server replication manager) and SnapView (to clone LUNs).  We draw a diagram of the environment, draw process documents, and detail all daily processes that will be involved based on what they tell us.  They approve it and agree that the software solution will work exactly as we understand, so we buy it.  &lt;/P&gt;
&lt;P&gt;Now, here's where the evil sales people bash us over the head and run away laughing maniacally.  They never bothered to tell us that ERM will not support more than one database on a LUN (which equates to a drive letter on a server), even though our drawings all had it designed that way..  They didn't think this was important, even though they approved our environment having multiple databases on one LUN.  &lt;/P&gt;
&lt;P&gt;WE HAVE 30 DATABASES ON OUR PRODUCTION SERVER IDIOTS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/P&gt;
&lt;P&gt;Let me see.  &lt;/P&gt;
&lt;P&gt;That's one LUN for logs.  COUNT 1 STUPID. (Because our log files are on RAID 1+0 instead of RAID 5 like data, they have to be on seperate LUNs.)&lt;/P&gt;
&lt;P&gt;That's one LUN for data.  COUNT 1 STUPID.&lt;/P&gt;
&lt;P&gt;That's multiplied by 30 databases.  THAT'S 60 STUPID.&lt;/P&gt;
&lt;P&gt;That's multiplied by 4 environments.  THAT'S 240 STUPID.&lt;/P&gt;
&lt;P&gt;So, we're supposed to manage 240 LUNS.  DID THIS NEVER OCCUR TO ANYONE???????????????????&lt;/P&gt;
&lt;P&gt;Oh, and we're on Windows 2000 Advanced Server.  They're not sure if we can even see that many drive letters now.  AND, even if we can, they don't know if their product will work with it.  If they do get it to work though, guess what....the Clariion CX-400 won't support that many LUNs either.&lt;/P&gt;
&lt;P&gt;VENDORS SUCK.  VENDORS LIE.  VENDORS ARE STUPID.  VENDORS ARE IDIOTS.  VENDORS MUST BE END-USERS.&lt;/P&gt;
&lt;P&gt;Favorite words used: 2 (stupid, suck, lie, end-user, idiot, evil, bash, stinking, filthy)&lt;/P&gt;
&lt;P&gt;Mean level (1-10):  7 (It's late.  I just got done working.  I'm grouchy.  If you want a real blog, see &lt;A href="http://weblogs.sqlteam.com/tarad"&gt;http://weblogs.sqlteam.com/tarad&lt;/A&gt;.)&lt;/P&gt;
&lt;P&gt;Education level (1-10):  9 (Never, ever, ever, ever, ever trust a third-party vendor until you hold the product in your hands and know it works.)&lt;/P&gt;
&lt;P&gt;Entertainment level (1-10): 4 (E&amp;&amp; is laughing.  They think this is funny.  They have my precious.  I must slay them and take my precious.)&lt;/P&gt;&lt;img src="http://weblogs.sqlteam.com/derrickl/aggbug/1185.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Derrick Leggett</dc:creator>
            <guid>http://weblogs.sqlteam.com/derrickl/archive/2004/04/01/1185.aspx</guid>
            <pubDate>Fri, 02 Apr 2004 03:43:00 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/derrickl/archive/2004/04/01/1185.aspx#feedback</comments>
            <slash:comments>5</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/derrickl/comments/commentRss/1185.aspx</wfw:commentRss>
        </item>
    </channel>
</rss>