<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 - PASS</title>
        <link>http://weblogs.sqlteam.com/tarad/category/189.aspx</link>
        <description>SQL Server - PASS</description>
        <language>en-US</language>
        <copyright>Tara Kizer</copyright>
        <managingEditor>tara.kizer@gmail.com</managingEditor>
        <generator>Subtext Version 1.9.4.0</generator>
        <item>
            <title>PASS 2005: Session notes/comments Part 3</title>
            <link>http://weblogs.sqlteam.com/tarad/archive/2005/09/30/7915.aspx</link>
            <description>&lt;P&gt;Once again, I attended 3 sessions today (Friday): Kevin Kline's "Performance Baselining, Benchmarking, and Monitoring", Tom Davidson's "SQL Server 2005: Dynamic Management Views", and Ross LoForte's "Optimization Considerations for Designing Very Large SQL Server Database Systems".&lt;/P&gt;
&lt;P&gt;Kevin is a great speaker.&amp;nbsp; He went into detail on how to do proactive monitoring.&amp;nbsp; You start with a baseline, which is what is normal for the server.&amp;nbsp; It includes number of concurrent users, Performance Monitor counter averages, system processes, and much more.&amp;nbsp; He also showed us some exception monitoring, which is exceptions to the baseline.&amp;nbsp; It uses limited performance monitoring, more alerts, and heavy use of the error logs.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;I was in the presence of a SQL god during Kevin's session.&amp;nbsp; Ken Henderson sat one seat in front and one seat to the right of me.&amp;nbsp; I also was in the presence of someone with bad manners.&amp;nbsp; The guy sitting two seats to the left of Ken put his nasty, bare feet on the seat in front of him.&amp;nbsp; This is a professional conference, not a day at the beach.&amp;nbsp; Show a little respect!&lt;/P&gt;
&lt;P&gt;Tom showed us dynamic management views, also known as DMVs.&amp;nbsp; Catalog views expose metadata persisted on disk, whereas DMVs expose changing server state information.&amp;nbsp; They are used for diagnostics, memory and process tuning, and monitoring potentially across all sessions in that server.&amp;nbsp; He mentioned that parallelism is good for OLAP systems but not for OLTP systems.&lt;/P&gt;
&lt;P&gt;Ross noted that on systems with greater than 25% writes, RAID 10 is best and RAID 1 is next best.&amp;nbsp; For systems that are primarily used for reads, such as data warehouses and reporting, RAID 5 is acceptable.&amp;nbsp; He stated that RAID 10 should be used for the transaction log and for tempdb; the data drive can be either RAID 1, 5, or 10.&amp;nbsp; He does not recommend using the autogrow feature on your databases if you have large databases.&amp;nbsp; Instead, you should setup an alert to notify you when you are running out of space; then during a maintenance window, expand the file.&amp;nbsp; I had to leave this session early so that I could catch my flight.&amp;nbsp; I wish that I had been able to stay later as he was just getting into partitioning.&amp;nbsp; &lt;BR&gt;&lt;/P&gt;&lt;img src="http://weblogs.sqlteam.com/tarad/aggbug/7915.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Tara Duggan</dc:creator>
            <guid>http://weblogs.sqlteam.com/tarad/archive/2005/09/30/7915.aspx</guid>
            <pubDate>Fri, 30 Sep 2005 22:49:00 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/tarad/archive/2005/09/30/7915.aspx#feedback</comments>
            <slash:comments>5</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/tarad/comments/commentRss/7915.aspx</wfw:commentRss>
        </item>
        <item>
            <title>PASS 2005: My Experience</title>
            <link>http://weblogs.sqlteam.com/tarad/archive/2005/09/30/7914.aspx</link>
            <description>&lt;P&gt;Wow, what a great experience!&lt;/P&gt;
&lt;P&gt;Everyone here has been so friendly.&amp;nbsp; It was nice to put faces to names even for people I didn't actually meet.&amp;nbsp; I hope that I can attend another PASS conference some time in the near future and perhaps finally meet up with Nigel Rivett (I never did find him).&lt;/P&gt;
&lt;P&gt;The only negative that I have about the conference is that some of the sessions weren't advanced enough even though I attended the ones in the 400 Series.&amp;nbsp; Overall though, it was truly an amazing event.&amp;nbsp; I certainly would recommend it to anyone who wants to go to a SQL Server conference.&amp;nbsp; &lt;/P&gt;&lt;img src="http://weblogs.sqlteam.com/tarad/aggbug/7914.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Tara Duggan</dc:creator>
            <guid>http://weblogs.sqlteam.com/tarad/archive/2005/09/30/7914.aspx</guid>
            <pubDate>Fri, 30 Sep 2005 22:32:00 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/tarad/archive/2005/09/30/7914.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/tarad/comments/commentRss/7914.aspx</wfw:commentRss>
        </item>
        <item>
            <title>PASS 2005: Session notes/comments Part 2</title>
            <link>http://weblogs.sqlteam.com/tarad/archive/2005/09/29/7903.aspx</link>
            <description>&lt;P&gt;At the "General Session" today (Thursday), we saw a demo of the Upgrade Advisor tool which is used to prepare for the SQL Server 2005 upgrade.&amp;nbsp; It'll show you what you need to change prior to the upgrade and what you can change after the upgrade.&amp;nbsp; An example of something that you can change after the upgrade is the use of *= and =* for OUTER JOINs.&amp;nbsp; This syntax has been deprecated in the 90 compatibility mode.&amp;nbsp; Upgrade Advisor requires .NET Framework 2.0.&lt;/P&gt;
&lt;P&gt;We also saw a demo of the reports available in Management Studio.&amp;nbsp; I really like the schema change history report that you get to by clicking on your SQL Server in the Object Explorer then selecting Report from the summary tab.&amp;nbsp; This will show you who has changed the schema and when it was done.&amp;nbsp; The report feature uses Reporting Services.&lt;/P&gt;
&lt;P&gt;In Alex Cheng's "Using SQL Execution Plans for Performance Optimizations in SQL Server 2005" session, I was surprised to see that SELECT * does not use a bookmark lookup in SQL Server 2005.&amp;nbsp; I was also surprised to see in SQL Server 2005 that WHERE Column1 LIKE '%Value1%' uses an index&amp;nbsp;seek instead of an index scan.&amp;nbsp; Alex stressed that the estimated cost in an execution plan should be less than 1 for most queries on an OLTP system.&amp;nbsp; I wish that Alex didn't spend so much time on the basics as he had a lot to cover and could have used that time to go into greater detail on the more advanced topics.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/khen1234/default.aspx"&gt;Ken Henderson&lt;/A&gt; covered three very useful tools that every DBA should consider using in his "SQL Server 2005 Diagnostic Collection and Analysis" session.&amp;nbsp; These tools are SQLDiag, Relog, and ReadTrace.&amp;nbsp; SQLDiag is a command line utility that is used to collect the data that you will need to diagnose a problem.&amp;nbsp; It captures SQL Profiler trace data, Performance Monitor counters, blocking information, server configuration, Event logs, SQL Server Error Logs, and much more.&amp;nbsp; It can be run as a console application or as a service.&amp;nbsp; Previous versions could only run as a console application.&amp;nbsp; You can customize what it collects via an ini or an XML (preferred) file.&amp;nbsp; If you are using it as a service, you can also use the registry.&amp;nbsp; It supports NTFS compression and has a built-in scheduling mechanism.&amp;nbsp; It can collect data from multiple servers simulatenously since it can use multiple threads.&amp;nbsp; It uses very little resources, except when it is collecting MS Info data (but you can turn this off).&amp;nbsp; Relog utility converts a Performance Monitor log into any other format that Performance Monitor supports, such as SQL Server tables.&amp;nbsp; If you convert to SQL, it will use an ODBC DSN for the connection.&amp;nbsp; ReadTrace utility analyzes trace files.&amp;nbsp; He had it analyze a 1GB trace file.&amp;nbsp; It didn't take very long at all.&amp;nbsp; It produces HTML reports with the analysis.&amp;nbsp; He covered much more, but that is all I could scribble down.&lt;/P&gt;
&lt;P&gt;In &lt;U&gt;&lt;FONT color=#800080&gt;&lt;A href="http://weblogs.sqlteam.com/chrism/"&gt;Chris Miller&lt;/A&gt;&lt;/FONT&gt;&lt;/U&gt;'s "Network Security and Database Administration", he demonstrated the netsh.exe command line utility.&amp;nbsp; It manipulates the Windows 2003 firewall settings.&amp;nbsp; You can schedule batch files that call this utility to change firewall settings such as to open a port for access for a short time window.&amp;nbsp; He also showed us how to use SQL Server 2000 with encryption.&amp;nbsp; It requires EXACTLY correct setup.&amp;nbsp; You can see &lt;A href="http://support.microsoft.com/default.aspx?scid=276553"&gt;KB276553&lt;/A&gt;&amp;nbsp;for how to set it up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://weblogs.sqlteam.com/tarad/aggbug/7903.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Tara Duggan</dc:creator>
            <guid>http://weblogs.sqlteam.com/tarad/archive/2005/09/29/7903.aspx</guid>
            <pubDate>Fri, 30 Sep 2005 02:18:00 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/tarad/archive/2005/09/29/7903.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/tarad/comments/commentRss/7903.aspx</wfw:commentRss>
        </item>
        <item>
            <title>PASS 2005: Session notes/comments Part 1</title>
            <link>http://weblogs.sqlteam.com/tarad/archive/2005/09/29/7902.aspx</link>
            <description>&lt;P&gt;On Tuesday, I attended Kimberly Tripp's "The Next Generation DBA: Critical New SQL Server Features NEED to Learn!" pre-conference seminar.&amp;nbsp; It was awesome!&amp;nbsp; She is a fantastic speaker.&amp;nbsp; She covered database snapshots and database mirroring amongst many other DBA topics.&amp;nbsp; I see my company using database snapshots so that developers can quickly query production data without querying the production database and also without having to copy the database to a development server.&amp;nbsp; Even though log shipping still exists in SQL Server 2005, I think we'll be switching over to database mirroring to sync our disaster recovery site.&amp;nbsp; Database mirroring won't be supported at RTM though.&lt;/P&gt;
&lt;P&gt;On Wednesday, I attended three sessions: Kimberly Tripp's "Indexing Best Practices in SQL Server - Creation, Performance, Maintenance", Charles Felber's "Performance Trend Analysis Using SQL Trace", and Keith Elmore's "Fine Tuning Performance with Plan Guides".&lt;/P&gt;
&lt;P&gt;The only negative to Kimberly's session was that it was only 75 minutes long.&amp;nbsp; She said it normally takes two days to cover this material.&amp;nbsp; She showed us how you can compare a Performance Monitor counter log with a SQL Profiler trace file on one screen in SQL Profiler.&amp;nbsp; The counter log doesn't even have to be from the same server as the trace file; you just need to make sure that the times are synced on both servers.&amp;nbsp; You can now see the execution plan graphically in SQL Profiler if you select the show plan in XML event.&amp;nbsp; One thing that I found interesting was her tip to use UNION instead of OR in SQL Server 2000.&amp;nbsp; In 2005, you won't see the performance improvement, but in 2000, you could see a drastic improvement.&amp;nbsp; I'll have to try this one out when I get back home.&lt;/P&gt;
&lt;P&gt;Charles' session showed us how to use SQL Trace, which is the alternative to SQL Profiler.&amp;nbsp; SQL Trace is run via T-SQL commands, whereas SQL Profiler is a GUI tool.&amp;nbsp; He demonstrated SQL Trace via his custom scripts.&amp;nbsp; I'll be downloading them as soon as I get back.&amp;nbsp; They are very well written.&amp;nbsp; They are even formatted the way that I write T-SQL code.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Keith's session showed us the new plan guides feature.&amp;nbsp; This is intended for scenarios where you have no control over the input SQL, such as third party applications.&amp;nbsp; It is available in both Standard and Enterprise Editions.&amp;nbsp; I don't currently support any third party applications, so I won't be able to use this feature, but it sounded useful.&lt;/P&gt;&lt;img src="http://weblogs.sqlteam.com/tarad/aggbug/7902.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Tara Duggan</dc:creator>
            <guid>http://weblogs.sqlteam.com/tarad/archive/2005/09/29/7902.aspx</guid>
            <pubDate>Fri, 30 Sep 2005 01:22:00 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/tarad/archive/2005/09/29/7902.aspx#feedback</comments>
            <slash:comments>5</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/tarad/comments/commentRss/7902.aspx</wfw:commentRss>
        </item>
        <item>
            <title>PASS 2005: Exhibits, Swag, and SQLTeamers</title>
            <link>http://weblogs.sqlteam.com/tarad/archive/2005/09/28/7877.aspx</link>
            <description>&lt;P&gt;During the "General Session" today (Wednesday), they threw out SQL Server 2005 t-shirts.&amp;nbsp; Almost everyone got one.&amp;nbsp; All of the t-shirts were black and had a verb on the back.&amp;nbsp; Mine says "Replicate".&amp;nbsp; I would have preferred "Analyze" or "Query" due to my disdain for replication.&amp;nbsp; Maybe I'll be able to swindle someone into a trade.&lt;/P&gt;
&lt;P&gt;I saw a demo of Red-Gate's SQL Log Rescue.&amp;nbsp; For that, I got a free t-shirt.&amp;nbsp; The product looks interesting enough that I'll probably download the free trial.&amp;nbsp; We are already using SQL Compare and SQL Data Compare.&lt;/P&gt;
&lt;P&gt;I also got a free t-shirt from HP, but they had to swipe my badge for that, which means marketing e-mails and phone calls are coming.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;I&amp;nbsp;met &lt;A href="http://weblogs.sqlteam.com/markc/"&gt;Mark Caldwell&lt;/A&gt;&amp;nbsp;and &lt;A href="http://weblogs.sqlteam.com/billg/"&gt;Bill Graziano&lt;/A&gt;&amp;nbsp;yesterday.&amp;nbsp; I was on my way to the second part of &lt;A href="http://www.sqlskills.com/blogs/kimberly/"&gt;Kimberly Tripp&lt;/A&gt;'s "The Next Generation DBA: Critical New SQL Server Features NEED to Learn!" seminar, so we weren't able to chat.&amp;nbsp; Bill and I talked for a few minutes today.&amp;nbsp; He said that &lt;A href="http://mindsdoor.net/"&gt;Nigel Rivett&lt;/A&gt;&amp;nbsp;is here somewhere, but I haven't seen him yet.&amp;nbsp; Hopefully I'll be able to chat with him as well as chat with Mark.&lt;BR&gt;&lt;/P&gt;&lt;img src="http://weblogs.sqlteam.com/tarad/aggbug/7877.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Tara Duggan</dc:creator>
            <guid>http://weblogs.sqlteam.com/tarad/archive/2005/09/28/7877.aspx</guid>
            <pubDate>Wed, 28 Sep 2005 23:13:00 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/tarad/archive/2005/09/28/7877.aspx#feedback</comments>
            <slash:comments>7</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/tarad/comments/commentRss/7877.aspx</wfw:commentRss>
        </item>
    </channel>
</rss>