<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>SQL Server Journey with SQL Authority &#187; SQL Performance</title>
	<atom:link href="http://blog.sqlauthority.com/category/sql-performance/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Wed, 08 Feb 2012 13:09:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.sqlauthority.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/08e35387c05b61340e885b1763a69d9f?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>SQL Server Journey with SQL Authority &#187; SQL Performance</title>
		<link>http://blog.sqlauthority.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.sqlauthority.com/osd.xml" title="SQL Server Journey with SQL Authority" />
	<atom:link rel='hub' href='http://blog.sqlauthority.com/?pushpress=hub'/>
		<item>
		<title>SQL SERVER &#8211; Using SafePeak to Accelerate Performance of 3rd Party Applications</title>
		<link>http://blog.sqlauthority.com/2012/01/16/sql-server-using-safepeak-to-accelerate-performance-of-3rd-party-applications/</link>
		<comments>http://blog.sqlauthority.com/2012/01/16/sql-server-using-safepeak-to-accelerate-performance-of-3rd-party-applications/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 01:30:17 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[SQL Optimization]]></category>
		<category><![CDATA[PostADay]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=16924</guid>
		<description><![CDATA[An exciting solution I found last year (2011) for SQL Server performance acceleration is SafePeak. Designed to specifically to accelerate and tune performance of cases where you have minimum control on the applications, like 3rd party line of business applications. SafePeak performs automated caching of queries and procedures results, returning with very high speed results [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16924&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">An exciting solution I found last year (2011) for SQL Server performance acceleration is <a href="http://www.safepeak.com/download?source=sqlauthority-sidebar">SafePeak</a>. Designed to specifically to accelerate and tune performance of cases where you have minimum control on the applications, like 3<sup>rd</sup> party line of business applications. SafePeak performs automated <strong>caching</strong> of queries and procedures results, returning with very high speed results from memory and reducing the SQL load by factor of 10. No code changes needed. And that is make it very interesting and appealing!</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/safepeak64bit.png" alt="" width="499" height="262" /></p>
<p style="text-align:justify;">One of the questions I hear many times concern performance acceleration of 3<sup>rd</sup> party applications applications that are critical to business function, the <em><strong>“line of business”</strong></em> applications. In most cases critical software remain intact for many years, growing and expanding but also losing its performance edge and affecting the business for the worse, instead for the good. The main problem with fixing and tuning 3<sup>rd</sup> party apps is that it is a closed code or someone else’s code. Those applications are waiting for an upgrade every few years, while the business being affected for the worse.</p>
<p style="text-align:justify;">SafePeak idea: a middleware software that studies SQL Server schema (tables, views, stored procedures, functions, triggers) to learn about object dependencies, and then creates patterns of similar SQL queries and procedures executions while understanding their direct and indirect object dependents. And then it starts actively caching results in RAM, while keeping those update commands (DML, DDL and procs that do DML or DDL) to both effect the cache and the SQL Server. After downloading it (<a href="http://www.safepeak.com/download?source=sqlauthority-sidebar">www.safepeak.com/download</a>) the installation is on a standard Windows 2008 R2 virtual machine or a server (different then the SQL server) takes several minutes. Connecting the application is done by pointing the connection string to SafePeak (easy). Configuration is done via their very nice looking GUI and focuses on things SafePeak didn’t understood, which are usually procedures that have some dynamic code inside.</p>
<p style="text-align:justify;">Results can be very exciting: cached queries response time is reduced to 0.25 millisecond or so. Yes, I meant millisecond, pretty impressive. So queries that are slow become extremely fast and queries that are already fast become even faster.</p>
<p style="text-align:justify;">Because it no code change is involved this specifically fits well 3<sup>rd</sup> party applications – plug it in, play with it for couple of hours of fine-tuning and see the results.</p>
<p style="text-align:justify;"><a href="http://www.safepeak.com/download?source=sqlauthority-sidebar">SafePeak</a> supports SQL 2000, 2005, 2008 and 2008 R2 and can run in a private cloud or the public cloud.</p>
<p style="text-align:justify;">SafePeak provides a 14 days trial with all functions available for a single installation (they also have a safepeak cluster installation, which I plan to review in near future). The download is available here: <a href="http://www.safepeak.com/download?source=sqlauthority-sidebar">www.safepeak.com/download</a> &#8211; Good luck and tell me your stories.</p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.sqlauthority.com</a>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-optimization/'>SQL Optimization</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/16924/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16924/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16924/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16924/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16924/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16924/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16924/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16924/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16924/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16924/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16924/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16924/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16924/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16924/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16924&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/01/16/sql-server-using-safepeak-to-accelerate-performance-of-3rd-party-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/safepeak64bit.png" medium="image" />
	</item>
		<item>
		<title>SQLAuthority News &#8211; I am Speaking at SQL Saturday 116 &#8211; Bangalore, India on January 7, 2012 &#8211; First SQL Saturday in India</title>
		<link>http://blog.sqlauthority.com/2012/01/05/sqlauthority-news-i-am-speaking-at-sql-saturday-116-bangalore-india-on-january-7-2012-first-sql-saturday-in-india/</link>
		<comments>http://blog.sqlauthority.com/2012/01/05/sqlauthority-news-i-am-speaking-at-sql-saturday-116-bangalore-india-on-january-7-2012-first-sql-saturday-in-india/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 01:30:36 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLAuthority Author Visit]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[SQL Saturday]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=16897</guid>
		<description><![CDATA[SQLSaturday 116 is now only 3 days away. SQL Saturday is FREE event all the attendees and 100% SQL community driven. This is very first SQL Saturday in India and I am very much excited that I will be speaking at this event on my favorite subject of SQL Server Performance Tuning. I have so [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16897&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><img class="alignleft" src="http://www.pinaldave.com/bimg/sqlsat116_web.jpg" alt="" width="236" height="115" />SQLSaturday 116 is now only 3 days away. SQL Saturday is FREE event all the attendees and 100% SQL community driven. This is very first SQL Saturday in India and I am very much excited that I will be speaking at this event on my favorite subject of SQL Server Performance Tuning. I have so far delivered 100s of presentation on this subject but this subject never gets old and I never ran out of new tips and tricks.</p>
<p style="text-align:justify;">I suggest you mark your calender right now and present at the hall before time to secure your seat.</p>
<h2 style="text-align:justify;">Session Details</h2>
<h3 style="text-align:justify;">SQL Server Performance Tips and Tricks</h3>
<p style="text-align:justify;"><img class="alignleft" style="margin:2px;" src="http://www.pinaldave.com/bimg/speed1.jpg" alt="" width="150" />In this session we will go over various SQL Server Performance Tuning Tricks and Tips. Learn about top tips and best SQL Server performance practices related to:</p>
<ul style="text-align:justify;">
<li>Unused Indexes</li>
<li>Clustered Indexes</li>
<li>Importance of Statistics</li>
<li>Index Maintenance Scripts</li>
<li>ColumnStore Index</li>
<li>A Surprise Secret Tip</li>
</ul>
<h3 style="text-align:justify;">January 7, 2012 1:30 PM</h3>
<p style="text-align:justify;">I will ask 5 questions during my session and needless to say 5 winners will get copy of my book.</p>
<p style="text-align:justify;">The session will be 100% demo oriented and I will share lots of tips and tricks during this session. Just like every other session of mine, this session will have lots of trivia for you as well it will be extremely interactive. If you prefer to stay quite during the session, this session will a perfect technology opener for you. Once you are in the session &#8211; you will be talking and discussion various aspect of performance along with your co-attendees and me.</p>
<p style="text-align:justify;">Additionally, I am personally waiting for the sessions of <strong>Rick Morelan</strong> who is founder of Joes 2 Pros series. Do not miss any of the sessions of SQL Saturday &#8211; here is the <a href="http://sqlsaturday.com/schedule.aspx" target="_blank">complete schedule</a>.</p>
<p style="text-align:justify;">My friend <strong><a href="http://blogs.extremeexperts.com/2012/01/04/sqlsaturday-116-my-session/" target="_blank">Vinod Kumar</a></strong> has written blog on his sessions, read it <a href="http://blogs.extremeexperts.com/2012/01/04/sqlsaturday-116-my-session/" target="_blank">here</a>.</p>
<p style="text-align:justify;"><strong>Note:</strong> Session will be not recorded. There will be no live cast of the session.</p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/about-me/'>About Me</a>, <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/database/'>Database</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-author-visit/'>SQLAuthority Author Visit</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-news/'>SQLAuthority News</a>, <a href='http://blog.sqlauthority.com/category/sqlserver/'>SQLServer</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a> Tagged: <a href='http://blog.sqlauthority.com/tag/sql-saturday/'>SQL Saturday</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/16897/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16897/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16897/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16897/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16897/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16897/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16897/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16897/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16897/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16897/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16897/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16897/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16897/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16897/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16897&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2012/01/05/sqlauthority-news-i-am-speaking-at-sql-saturday-116-bangalore-india-on-january-7-2012-first-sql-saturday-in-india/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlsat116_web.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/speed1.jpg" medium="image" />
	</item>
		<item>
		<title>SQLAuthority News &#8211; Online Session Practical Tricks and Tips to Speed up Database Queries Today</title>
		<link>http://blog.sqlauthority.com/2011/12/15/sqlauthority-news-online-session-practical-tricks-and-tips-to-speed-up-database-queries-today/</link>
		<comments>http://blog.sqlauthority.com/2011/12/15/sqlauthority-news-online-session-practical-tricks-and-tips-to-speed-up-database-queries-today/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 01:30:01 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Optimization]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=16349</guid>
		<description><![CDATA[I am presenting on performance tuning topic again today at Virtual Tech Days. This time I am going to talk about lots of practical tips and will focus on what we can do immediately right after the session is over. During the session I have two things for you to spot. How many times, I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16349&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">I am presenting on performance tuning topic again today at <strong><a href="http://www.virtualtechdays.com/joinsession.aspx" target="_blank">Virtual Tech Days</a></strong>. This time I am going to talk about lots of practical tips and will focus on what we can do immediately right after the session is over.</p>
<p style="text-align:justify;">During the session I have two things for you to spot.</p>
<ol style="text-align:justify;">
<li>How many times, I say word &#8220;performance&#8221;?</li>
<li>How many times, I use the phrase &#8220;It is interesting to &#8230;&#8221;?</li>
</ol>
<p style="text-align:justify;">Let us see if you can tell me after the session the count. Trust me, I am not going to count there as I will be presenting so I let you come up with the answer of this fun game.</p>
<h3 style="text-align:justify;">Sessions Details</h3>
<p style="text-align:justify;">Title: <em><strong>Practical Tricks and Tips to Speed up Database Queries</strong></em><br />
Timing: <strong><em>December 15</em></strong><em><strong>, 2011 1:45pm &#8211; 2:45pm IST</strong></em><br />
In this session I am going to discuss various performance tuning related techniques. Here is the agenda of the session.</p>
<ul style="text-align:justify;">
<li>A Quick Start on Performance</li>
<li>Denali T-SQL Enhancements</li>
<li>Timeless Best Practices</li>
<li>The Superlative Performance</li>
</ul>
<p style="text-align:justify;">Each of the above topics will be associated with very practical solid demo. I am sure you will absolutely enjoy the session.</p>
<h3 style="text-align:justify;">Giveaways</h3>
<p style="text-align:justify;"><img class="alignleft" src="http://www.pinaldave.com/bimg/sqlinterview_s" alt="" width="138" height="211" />During my session I will ask a simple question. I will give away <strong>5 copies</strong> of my <strong><a href="http://blog.sqlauthority.com/sql-server-books/sql-server-interview-questions-and-answers-for-all-database-developers-and-developers-administrators/" target="_blank">SQL Server Interview Questions and Answers</a></strong> books to five random person who will answer it correctly (more details in the session). If you have already have this book, I strongly suggest you attend this session as this session will take the performance tuning concepts to next level. I will make sure that I autograph and send this copies to your way.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.sqlauthority.com</a>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-optimization/'>SQL Optimization</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sqlserver/'>SQLServer</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/16349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16349/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16349&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/12/15/sqlauthority-news-online-session-practical-tricks-and-tips-to-speed-up-database-queries-today/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlinterview_s" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; A Quick Look at Performance &#8211; A Quick Look at Configuration</title>
		<link>http://blog.sqlauthority.com/2011/12/13/sql-server-a-quick-look-at-performance-a-quick-look-at-configuration/</link>
		<comments>http://blog.sqlauthority.com/2011/12/13/sql-server-a-quick-look-at-performance-a-quick-look-at-configuration/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 01:30:00 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Optimization]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=16293</guid>
		<description><![CDATA[This blog post is written in response to the T-SQL Tuesday post of Tips and Tricks. For me, this is a very interesting subject. I perfectly enjoy a discussion when it is about performance tuning. I commonly get follow-up questions regarding this subject, but most of them do not give the complete information about their [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16293&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><img class="alignleft" src="http://www.pinaldave.com/bimg/TSQL2sDay.jpg" alt="" width="123" height="123" /></p>
<p style="text-align:justify;">This blog post is written in response to the T-SQL Tuesday post of <a href="http://sqlblog.com/blogs/allen_white/archive/2011/12/05/t-sql-tuesday-025-invitation-to-share-your-tricks.aspx" target="_blank">Tips and Tricks</a>. For me, this is a very interesting subject. I perfectly enjoy a discussion when it is about performance tuning. I commonly get follow-up questions regarding this subject, but most of them do not give the complete information about their environment.</p>
<p style="text-align:justify;">Whenever I get a question which does not have complete information but is obviously requesting for my help, my initial reaction is to ask more questions. When I ask more details, I usually get more questions from them rather than the details I was asking for. Indeed, this is an endless loop. I prefer to resolve a query or a problem quickly, easily and accurately so that there is no more confusion or further problems in the future.</p>
<p style="text-align:justify;">Here is the method I follow: I send people who request my help a couple of SQL Server scripts and ask them to run these scripts on their system. Once they send me the results,  I would then have a good idea on what the status of their system is.</p>
<p style="text-align:justify;">Here are a couple of scripts which I usually request them to run on their respective machines and get back to me with results in Excel.</p>
<p style="text-align:justify;"><strong>1) System Configuration</strong></p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">SELECT </span><span style="color:gray;">*<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">sys.configurations<br />
</span><span style="color:blue;">ORDER BY </span><span style="color:black;">name </span><span style="color:blue;">OPTION </span><span style="color:gray;">(</span><span style="color:black;">RECOMPILE</span><span style="color:gray;">);<br />
</span></code></p>
<p style="text-align:justify;"><strong>2) Filename and Paths of Database</strong></p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">SELECT </span><span style="color:magenta;">DB_NAME</span><span style="color:gray;">(</span><span style="color:black;">[database_id]</span><span style="color:gray;">)</span><span style="color:blue;">AS </span><span style="color:black;">[DBName]</span><span style="color:gray;">,<br />
</span><span style="color:black;">name</span><span style="color:gray;">, </span><span style="color:black;">physical_name</span><span style="color:gray;">, </span><span style="color:black;">type_desc</span><span style="color:gray;">, </span><span style="color:black;">state_desc</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">CONVERT</span><span style="color:gray;">( </span><span style="color:black;">bigint</span><span style="color:gray;">, </span><span style="color:black;">size</span><span style="color:gray;">/</span><span style="color:black;">128.0</span><span style="color:gray;">) </span><span style="color:black;">[SizeinMB]<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">sys.master_files<br />
</span><span style="color:blue;">ORDER BY </span><span style="color:magenta;">DB_NAME</span><span style="color:gray;">(</span><span style="color:black;">[database_id]</span><span style="color:gray;">)</span></code></p>
<p style="text-align:justify;"><strong>3) Capturing Wait Types and Wait Stats Information at Interva</strong></p>
<p style="text-align:justify;">You can review the script mentioned in <a href="http://blog.sqlauthority.com/2011/02/05/sql-server-capturing-wait-types-and-wait-stats-information-at-interval-wait-type-day-5-of-28/" target="_blank"><strong>my earlier blog post over here</strong></a>.</p>
<p style="text-align:justify;">Honestly, there is a lot of information one needs to solve a query, but this is how I start and get all the basic information from the questioner. Once I get these, I review the results and continue to ask more questions or help right away if I am able to reach the root cause of the issue.</p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-optimization/'>SQL Optimization</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/tech/sql-scripts/'>SQL Scripts</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sqlserver/'>SQLServer</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/16293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16293/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16293&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/12/13/sql-server-a-quick-look-at-performance-a-quick-look-at-configuration/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/TSQL2sDay.jpg" medium="image" />
	</item>
		<item>
		<title>SQLAuthority News &#8211; Virtual Presentation on Practical Tricks and Tips to Speed up Database Queries &#8211; December 15, 2011</title>
		<link>http://blog.sqlauthority.com/2011/12/12/sqlauthority-news-virtual-presentation-on-practical-tricks-and-tips-to-speed-up-database-queries-december-15-2011/</link>
		<comments>http://blog.sqlauthority.com/2011/12/12/sqlauthority-news-virtual-presentation-on-practical-tricks-and-tips-to-speed-up-database-queries-december-15-2011/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 01:30:01 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Optimization]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=16305</guid>
		<description><![CDATA[Performance tuning has been my favorite subject and any time when I have to present on this subject, this itself gives me tremendous pleasure as well. I am always excited to present something new on this topic. Virtual Tech Days is just here around the corner and I am going to present about performance tuning [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16305&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><img class="alignleft" src="http://www.pinaldave.com/bimg/performancestandout.png" alt="" width="305" height="151" />Performance tuning has been my favorite subject and any time when I have to present on this subject, this itself gives me tremendous pleasure as well. I am always excited to present something new on this topic. Virtual Tech Days is just here around the corner and I am going to present about performance tuning subject once again. However, I am going to focus that instead of theory, I will talk about the practical aspect of the performance tuning and share tips which one can use right away.</p>
<h3 style="text-align:justify;">Sessions Details</h3>
<p style="text-align:justify;">Title: <em><strong>Practical Tricks and Tips to Speed up Database Queries</strong></em><br />
Timing: <strong><em>December 15</em></strong><em><strong>, 2011 1:45pm &#8211; 2:45pm IST</strong></em><br />
In this session I am going to discuss various performance tuning related techniques. Here is the agenda of the session.</p>
<ul style="text-align:justify;">
<li>A Quick Start on Performance</li>
<li>Denali T-SQL Enhancements</li>
<li>Timeless Best Practices</li>
<li>The Superlative Performance</li>
</ul>
<p style="text-align:justify;">Each of the above topics will be associated with very practical solid demo. I am sure you will absolutely enjoy the session.</p>
<h3 style="text-align:justify;">Giveaways</h3>
<p style="text-align:justify;"><img class="alignleft" src="http://www.pinaldave.com/bimg/sqlinterview_s" alt="" width="138" height="211" />During my session I will ask a simple question. I will give away <strong>5 copies</strong> of my <strong><a href="http://blog.sqlauthority.com/sql-server-books/sql-server-interview-questions-and-answers-for-all-database-developers-and-developers-administrators/" target="_blank">SQL Server Interview Questions and Answers</a></strong> books to five random person who will answer it correctly (more details in the session). If you have already have this book, I strongly suggest you attend this session as this session will take the performance tuning concepts to next level. I will make sure that I autograph and send this copies to your way.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.sqlauthority.com</a>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-optimization/'>SQL Optimization</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sqlserver/'>SQLServer</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/16305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16305/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16305&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/12/12/sqlauthority-news-virtual-presentation-on-practical-tricks-and-tips-to-speed-up-database-queries-december-15-2011/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/performancestandout.png" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/sqlinterview_s" medium="image" />
	</item>
		<item>
		<title>SQLAuthority News &#8211; SafePeak&#8217;s SQL Server Performance Contest &#8211; Winners</title>
		<link>http://blog.sqlauthority.com/2011/11/28/sqlauthority-news-safepeaks-sql-server-performance-contest-winners/</link>
		<comments>http://blog.sqlauthority.com/2011/11/28/sqlauthority-news-safepeaks-sql-server-performance-contest-winners/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 01:30:53 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Puzzle]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=16047</guid>
		<description><![CDATA[SafePeak, the unique automated SQL performance acceleration and performance tuning software vendor, announced the winners of their SQL Performance Contest 2011. The contest quite unique: the writer of the best / most interesting and most community liked “performance story” would win an expensive gadget. The judges were the community DBAs that could participating and Like’ing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16047&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><strong><a href="http://www.safepeak.com/?source=sqlauthority" target="_blank">SafePeak</a></strong>, the unique automated <strong>SQL performance acceleration and performance tuning</strong> <a href="http://www.safepeak.com/download?source=sqlauthority" target="_blank">software</a> vendor, announced the winners of their <a href="http://www.safepeak.com/SQL-Performance-Contest-2011?source=sqlauthority" target="_blank">SQL Performance Contest 2011</a>. The contest quite unique: the writer of the best / most interesting and most community liked “performance story” would win an expensive gadget. The judges were the community DBAs that could participating and Like’ing stories and could also win expensive prizes. <a href="http://www.sqlservercentral.com/blogs/pearlknows/default.aspx" target="_blank">Robert Pearl</a> SQL MVP, was the contest supervisor. I liked most of the stories and decided then to contact SafePeak and suggested to participate in the give-away and they have gladly accepted the same.</p>
<p style="text-align:justify;">The winner of best story is: <a href="http://www.safepeak.com/SQL-Performance-Contest-2011/Contest-Story?story=28&amp;pageId=0&amp;source=sqlauthority" target="_blank"><strong>Jason Brimhall</strong></a> (USA) with a story about a proc with a fair amount of business logic. Congratulations Jason!</p>
<p style="text-align:justify;">The 3 participants won the second prize of $100 gift card on amazon.com are: <strong>Michael Corey</strong> (USA), <strong>Hakim Ali</strong> (USA) and <strong>Alex Bernal</strong> (USA).</p>
<p style="text-align:justify;">And 5 participants won a printed copy of a book of mine (Book Reviews of SQL Wait Stats Joes 2 Pros: SQL Performance Tuning Techniques Using Wait Statistics, Types &amp; Queues) are:<br />
Patrick Kansa (USA), Wagner Bianchi (USA), Riyas.V.K (India), Farzana Patwa (USA) and Wagner Crivelini (Brazil).</p>
<p style="text-align:justify;">The winners are welcome to send safepeak their mail address to receive the prizes (to “info &#8216;at&#8217; safepeak.com”). Also SafePeak team asked me to welcome you all to continue sending stories, simply because they (and we all) like to read interesting stuff) as well as to send them ideas for future contests. You can do it from here: <a href="http://www.safepeak.com/SQL-Performance-Contest-2011/Submit-Story?source=sqlauthority" target="_blank">www.safepeak.com/SQL-Performance-Contest-2011/Submit-Story</a></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/safepeak-diagram-cloud.png" alt="" width="500" height="279" /></p>
<p style="text-align:justify;"><strong>Congratulations to everybody!</strong></p>
<p style="text-align:justify;"><strong>I found this very funny video about SafePeak: </strong></p>
<p style="text-align:justify;">It looks like someone (maybe the vendor) played with video’s once and created this non-commercial like video:</p>
<p style="text-align:justify;"><span style="text-align:center; display: block;"><a href="http://blog.sqlauthority.com/2011/11/28/sqlauthority-news-safepeaks-sql-server-performance-contest-winners/"><img src="http://img.youtube.com/vi/KSNUWld-pfw/2.jpg" alt="" /></a></span></p>
<p style="text-align:justify;">SafePeak dynamic caching is an immediate plug-n-play performance acceleration and scalability solution for cloud, hosted and business SQL server applications. By caching in memory result sets of queries and stored procedures, while keeping all those cache correct and up to date using unique patent pending technology, SafePeak can fix SQL performance problems and bottlenecks of most applications – most importantly: without actual code changes.</p>
<p style="text-align:justify;">By the way, I checked their website prior this contest announcement and noticed that they are running these days a special end year promotion giving between 30% to 45% discounts.<br />
Since the installation is quick and full testing can be done within couple of days – those have the need (performance problems) and have budget leftovers: I suggest you hurry.</p>
<p style="text-align:justify;">A free fully functional trial is here: <a href="http://www.safepeak.com/download?source=sqlauthority" target="_blank"><strong>www.safepeak.com/download</strong></a>, while those that want to start with a quote should ping here <a href="http://www.safepeak.com/quote" target="_blank"><strong>www.safepeak.com/quote</strong></a>.</p>
<p style="text-align:justify;">Good luck!</p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/sql-puzzle/'>SQL Puzzle</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/16047/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/16047/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/16047/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/16047/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/16047/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/16047/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/16047/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/16047/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/16047/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/16047/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/16047/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/16047/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/16047/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/16047/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=16047&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/11/28/sqlauthority-news-safepeaks-sql-server-performance-contest-winners/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/safepeak-diagram-cloud.png" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Video &#8211; Performance Improvement in Columnstore Index</title>
		<link>http://blog.sqlauthority.com/2011/11/07/sql-server-video-performance-improvement-in-columnstore-index/</link>
		<comments>http://blog.sqlauthority.com/2011/11/07/sql-server-video-performance-improvement-in-columnstore-index/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 01:30:48 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Index]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=15635</guid>
		<description><![CDATA[I earlier wrote an article about SQL SERVER – Fundamentals of Columnstore Index and it got very well accepted in community. However, one of the suggestion I keep on receiving for that article is that many of the reader wanted to see columnstore index in the action but they were not able to do that. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=15635&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">I earlier wrote an article about <a href="http://blog.sqlauthority.com/2011/10/29/sql-server-fundamentals-of-columnstore-index/" target="_blank"><strong>SQL SERVER – Fundamentals of Columnstore Index</strong></a> and it got very well accepted in community. However, one of the suggestion I keep on receiving for that article is that many of the reader wanted to see columnstore index in the action but they were not able to do that. Some of the readers did not install SQL Server 2012 or some did not have good machine to recreate the big table involved in the demo.</p>
<p style="text-align:justify;">For the same reason, I have created small video for that.</p>
<p style="text-align:justify;"><span style="text-align:center; display: block;"><a href="http://blog.sqlauthority.com/2011/11/07/sql-server-video-performance-improvement-in-columnstore-index/"><img src="http://img.youtube.com/vi/C-Ay6UxMfMo/2.jpg" alt="" /></a></span></p>
<p style="text-align:justify;">I have written two more article on columstore index. Please read them as followup to the video:</p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2011/10/30/sql-server-how-to-ignore-columnstore-index-usage-in-query/" target="_blank"><strong>SQL SERVER – How to Ignore Columnstore Index Usage in Query</strong></a></p>
<p style="text-align:justify;"><a href="http://blog.sqlauthority.com/2011/11/06/sql-server-updating-data-in-a-columnstore-index/" target="_blank"><strong>SQL SERVER – Updating Data in A Columnstore Index</strong></a></p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-index/'>SQL Index</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/tech/sql-scripts/'>SQL Scripts</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>, <a href='http://blog.sqlauthority.com/category/video/'>Video</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/15635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/15635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/15635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/15635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/15635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/15635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/15635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/15635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/15635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/15635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/15635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/15635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/15635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/15635/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=15635&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/11/07/sql-server-video-performance-improvement-in-columnstore-index/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; Database Dynamic Caching by Automatic SQL Server Performance Acceleration</title>
		<link>http://blog.sqlauthority.com/2011/10/31/sql-server-database-dynamic-caching-by-automatic-sql-server-performance-acceleration/</link>
		<comments>http://blog.sqlauthority.com/2011/10/31/sql-server-database-dynamic-caching-by-automatic-sql-server-performance-acceleration/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 01:30:55 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=15395</guid>
		<description><![CDATA[My second look at SafePeak’s new version (2.1) revealed to me few additional interesting features. For those of you who hadn’t read my previous reviews SafePeak and not familiar with it, here is a quick brief: SafePeak is in business of accelerating performance of SQL Server applications, as well as their scalability, without making code [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=15395&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">My second look at <a href="http://www.safepeak.com/?source=sqlauthority-Oct31">SafePeak</a>’s new version (2.1) revealed to me few additional interesting features. For those of you who hadn’t read my previous reviews SafePeak and not familiar with it, here is a quick brief:</p>
<p style="text-align:justify;">SafePeak is in business of accelerating performance of SQL Server applications, as well as their scalability, without making code changes to the applications or to the databases. SafePeak performs <strong>database</strong> <strong>dynamic caching</strong>, by caching in memory result sets of queries and stored procedures while keeping all those cache correct and up to date. Cached queries are retrieved from the SafePeak RAM in microsecond speed and not send to the SQL Server. The application gets much faster results (100-500 micro seconds), the load on the SQL Server is reduced (less CPU and IO) and the application or the infrastructure gets better scalability.</p>
<p style="text-align:justify;">SafePeak solution is hosted either within your cloud servers, hosted servers or your enterprise servers, as part of the application architecture. Connection of the application is done via change of connection strings or adding reroute line in the c:\windows\system32\drivers\etc\hosts file on all application servers.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/safepeak-diagram-cloud.png" alt="" width="525" height="276" /></p>
<p style="text-align:justify;">For those who would like to learn more on SafePeak architecture and how it works, I suggest to read this vendor’s webpage: <a href="http://www.safepeak.com/Product/SafePeak-Architecture?source=sqlauthority-oct31">SafePeak Architecture</a>.</p>
<h3 style="text-align:justify;">More interesting new features in SafePeak 2.1</h3>
<p style="text-align:justify;">In my previous review of SafePeak new I covered the first 4 things I noticed in the new SafePeak (check out my article “<a href="http://blog.sqlauthority.com/2011/10/17/sqlauthority-news-safepeak-releases-a-major-update-safepeak-version-2-1-for-sql-server-performance-acceleration/">SQLAuthority News – SafePeak Releases a Major Update: SafePeak version 2.1 for SQL Server Performance Acceleration</a>”):</p>
<ol style="text-align:justify;">
<li>Cache setup and fine-tuning – a critical part for getting good caching results</li>
<li>Database templates</li>
<li>Choosing which database to cache</li>
<li>Monitoring and analysis options by SafePeak</li>
</ol>
<p style="text-align:justify;">Since then I had a chance to play with SafePeak some more and here is what I found.</p>
<h3 style="text-align:justify;">5. Analysis of SQL Performance (present and history):</h3>
<p style="text-align:justify;">In SafePeak v.2.1 the tools for understanding of performance became more comprehensive. Every 15 minutes SafePeak creates and updates various performance statistics. Each query (or a procedure execute) that arrives to SafePeak gets a SQL pattern, and after it is used again there are statistics for such pattern. An important part of this product is that it understands the dependencies of every pattern (list of tables, views, user defined functions and procs). From this understanding SafePeak creates important analysis information on performance of every object: response time from the database, response time from SafePeak cache, average response time, percent of traffic and break down of behavior. One of the interesting things this behavior column shows is how often the object is actually pdated. The break down analysis allows knowing the above information for: queries and procedures, tables, views, databases and even instances level.</p>
<p style="text-align:justify;">The data is show now on all arriving queries, both read queries (that can be cached), but also any types of updates like DMLs, DDLs, DCLs, and even session settings queries.</p>
<p style="text-align:justify;">The stats are being updated every 15 minutes and SafePeak dashboard allows going back in time and investigating what happened within any time frame.</p>
<p style="text-align:justify;"><a href="http://www.pinaldave.com/bimg/safepeak-diagram-cloud2.png"><img class="alignnone" src="http://www.pinaldave.com/bimg/safepeak-diagram-cloud2.png" alt="" width="500" height="281" /></a></p>
<h3 style="text-align:justify;">6. Logon trigger, for making sure nothing corrupts SafePeak cache data</h3>
<p style="text-align:justify;">If you have an application with many parts, many servers many possible locations that can actually update the database, or the SQL Server is accessible to many DBAs or software engineers, each can access some database directly and do some changes without going thru SafePeak – this can create a potential corruption of the data stored in SafePeak cache. To make sure SafePeak cache is correct it needs to get all updates to arrive to SafePeak, and if a DBA will access the database directly and do some changes, for example, then SafePeak will simply not know about it and will not clean SafePeak cache.</p>
<p style="text-align:justify;">In the new version, SafePeak brought a new feature called “Logon Trigger” to solve the above challenge. By special click of a button SafePeak can deploy a special server logon trigger (with a CLR object) on your SQL Server that actually monitors all connections and informs SafePeak on any connection that is coming not from SafePeak. In SafePeak dashboard there is an interface that allows to control which logins can be ignored based on login names and IPs, while the rest will invoke cache cleanup of SafePeak and actually locks SafePeak cache until this connection will not be closed. Important to note, that this does not interrupt any logins, only informs SafePeak on such connection.</p>
<p style="text-align:justify;">On the Dashboard screen in SafePeak you will be able to see those connections and then decide what to do with them.</p>
<p style="text-align:justify;">Configuration of this feature in SafePeak dashboard can be done here: Settings -&gt; SQL instances management -&gt; click on instance -&gt; Logon Trigger tab.</p>
<h3 style="text-align:justify;">Other features:</h3>
<h4 style="text-align:justify;">7. User management</h4>
<p style="text-align:justify;">ability to grant permissions to someone without changing its configuration and only use SafePeak as performance analysis tool.</p>
<h4 style="text-align:justify;">8. Better reports</h4>
<p style="text-align:justify;"><strong></strong>for analysis of performance using 15 minute resolution charts.<strong></strong></p>
<h4 style="text-align:justify;"><strong>9. Caching of client cursors</strong></h4>
<h4 style="text-align:justify;"><strong>10. Support for IPv6</strong></h4>
<h3 style="text-align:justify;">Summary</h3>
<p style="text-align:justify;">SafePeak is a great SQL Server performance acceleration solution for users who want immediate results for sites with performance, scalability and peak spikes challenges. Especially if your apps are packaged or 3<sup>rd</sup> party, since no code changes are done. SafePeak can significantly increase response times, by reducing network roundtrip to the database, decreasing CPU resource usage, eliminating I/O and storage access.</p>
<p style="text-align:justify;">SafePeak team provides a free fully functional trial <a href="http://www.safepeak.com/download?source=sqlauthority-Oct31">www.safepeak.com/download</a> and actually provides a one-on-one assistance during such trial.</p>
<p style="text-align:justify;">Reference:<strong></strong> <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/about-me/'>About Me</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/15395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/15395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/15395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/15395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/15395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/15395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/15395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/15395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/15395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/15395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/15395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/15395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/15395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/15395/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=15395&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/10/31/sql-server-database-dynamic-caching-by-automatic-sql-server-performance-acceleration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/safepeak-diagram-cloud.png" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/safepeak-diagram-cloud2.png" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; How to Ignore Columnstore Index Usage in Query</title>
		<link>http://blog.sqlauthority.com/2011/10/30/sql-server-how-to-ignore-columnstore-index-usage-in-query/</link>
		<comments>http://blog.sqlauthority.com/2011/10/30/sql-server-how-to-ignore-columnstore-index-usage-in-query/#comments</comments>
		<pubDate>Sun, 30 Oct 2011 01:30:37 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Index]]></category>
		<category><![CDATA[SQL Optimization]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=15371</guid>
		<description><![CDATA[Earlier I wrote about SQL SERVER – Fundamentals of Columnstore Index and very first question I received in email was as following. &#8220;We are using SQL Server 2012 CTP3 and so far so good. In our data warehouse solution we have created 1 non-clustered columnstore index on our large fact table. We have very unique situation [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=15371&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Earlier I wrote about <strong><a title="Permanent Link to SQL SERVER – Fundamentals of Columnstore Index" href="http://blog.sqlauthority.com/2011/10/29/sql-server-fundamentals-of-columnstore-index/" rel="bookmark">SQL SERVER – Fundamentals of Columnstore Index</a></strong> and very first question I received in email was as following.</p>
<p style="text-align:justify;padding-left:30px;">&#8220;We are using SQL Server 2012 CTP3 and so far so good. In our data warehouse solution we have created 1 non-clustered columnstore index on our large fact table. We have very unique situation but your article did not cover it. We are running few queries on our fact table which is working very efficiently but there is one query which earlier was running very fine but after creating this non-clustered columnstore index this query is running very slow. We dropped the columnstore index and suddenly this one query is running fast but other queries which were benefited by this columnstore index it is running slow.</p>
<p style="text-align:justify;padding-left:30px;">Any workaround in this situation?&#8221;</p>
<p style="text-align:justify;">In summary the question in simple words <em><strong>&#8220;How can we ignore using columnstore index in selective queries?&#8221;</strong></em></p>
<p style="text-align:justify;">Very interesting question &#8211; you can use I can understand there may be the cases when columnstore index is not ideal and needs to be ignored the same. You can use the query hint IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX to ignore the columnstore index. SQL Server Engine will use any other index which is best after ignoring the columnstore index.</p>
<p style="text-align:justify;">Here is the quick script to prove the same.</p>
<p style="text-align:justify;">We will first create sample database and then create columnstore index on the same. Once columnstore index is created we will write simple query. This query will use columnstore index. We will then show the usage of the query hint.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">USE </span><span style="color:black;">AdventureWorks<br />
GO<br />
</span><span style="color:green;">-- Create New Table<br />
</span><span style="color:blue;">CREATE TABLE </span><span style="color:black;">[dbo].[MySalesOrderDetail]</span><span style="color:gray;">(<br />
</span><span style="color:black;">[SalesOrderID] [int] </span><span style="color:gray;">NOT NULL,<br />
</span><span style="color:black;">[SalesOrderDetailID] [int] </span><span style="color:gray;">NOT NULL,<br />
</span><span style="color:black;">[CarrierTrackingNumber] [nvarchar]</span><span style="color:gray;">(</span><span style="color:black;">25</span><span style="color:gray;">) NULL,<br />
</span><span style="color:black;">[OrderQty] [smallint] </span><span style="color:gray;">NOT NULL,<br />
</span><span style="color:black;">[ProductID] [int] </span><span style="color:gray;">NOT NULL,<br />
</span><span style="color:black;">[SpecialOfferID] [int] </span><span style="color:gray;">NOT NULL,<br />
</span><span style="color:black;">[UnitPrice] [money] </span><span style="color:gray;">NOT NULL,<br />
</span><span style="color:black;">[UnitPriceDiscount] [money] </span><span style="color:gray;">NOT NULL,<br />
</span><span style="color:black;">[LineTotal] [numeric]</span><span style="color:gray;">(</span><span style="color:black;">38</span><span style="color:gray;">, </span><span style="color:black;">6</span><span style="color:gray;">) NOT NULL,<br />
</span><span style="color:black;">[rowguid] [uniqueidentifier] </span><span style="color:gray;">NOT NULL,<br />
</span><span style="color:black;">[ModifiedDate] [datetime] </span><span style="color:gray;">NOT NULL<br />
) </span><span style="color:blue;">ON </span><span style="color:black;">[PRIMARY]<br />
GO<br />
</span><span style="color:green;">-- Create clustered index<br />
</span><span style="color:blue;">CREATE CLUSTERED INDEX </span><span style="color:black;">[CL_MySalesOrderDetail] </span><span style="color:blue;">ON </span><span style="color:black;">[dbo].[MySalesOrderDetail]<br />
</span><span style="color:gray;">( </span><span style="color:black;">[SalesOrderDetailID]</span><span style="color:gray;">)<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">-- Create Sample Data Table<br />
-- WARNING: This Query may run upto 2-10 minutes based on your systems resources<br />
</span><span style="color:blue;">INSERT INTO </span><span style="color:black;">[dbo].[MySalesOrderDetail]<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">S1.</span><span style="color:gray;">*<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">Sales.SalesOrderDetail S1<br />
GO 100<br />
</span><span style="color:green;">-- Create ColumnStore Index<br />
</span><span style="color:blue;">CREATE NONCLUSTERED </span><span style="color:black;">COLUMNSTORE </span><span style="color:blue;">INDEX </span><span style="color:black;">[IX_MySalesOrderDetail_ColumnStore]<br />
</span><span style="color:blue;">ON </span><span style="color:black;">[MySalesOrderDetail]<br />
</span><span style="color:gray;">(</span><span style="color:black;">UnitPrice</span><span style="color:gray;">, </span><span style="color:black;">OrderQty</span><span style="color:gray;">, </span><span style="color:black;">ProductID</span><span style="color:gray;">)<br />
</span><span style="color:black;">GO<br />
</span></code></p>
<p style="text-align:justify;">Now we have created columnstore index so if we run following query it will use for sure the same index.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:green;">-- Select Table with regular Index<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">ProductID</span><span style="color:gray;">, </span><span style="color:magenta;">SUM</span><span style="color:gray;">(</span><span style="color:black;">UnitPrice</span><span style="color:gray;">) </span><span style="color:black;">SumUnitPrice</span><span style="color:gray;">, </span><span style="color:magenta;">AVG</span><span style="color:gray;">(</span><span style="color:black;">UnitPrice</span><span style="color:gray;">) </span><span style="color:black;">AvgUnitPrice</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">SUM</span><span style="color:gray;">(</span><span style="color:black;">OrderQty</span><span style="color:gray;">) </span><span style="color:black;">SumOrderQty</span><span style="color:gray;">, </span><span style="color:magenta;">AVG</span><span style="color:gray;">(</span><span style="color:black;">OrderQty</span><span style="color:gray;">) </span><span style="color:black;">AvgOrderQty<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">[dbo].[MySalesOrderDetail]<br />
</span><span style="color:blue;">GROUP BY </span><span style="color:black;">ProductID<br />
</span><span style="color:blue;">ORDER BY </span><span style="color:black;">ProductID<br />
GO</span></code></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/columnstore3.jpg" alt="" width="316" height="158" /></p>
<p style="text-align:justify;">We can specify Query Hint IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX as described in following query and it will not use columnstore index.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:green;">-- Select Table with regular Index<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">ProductID</span><span style="color:gray;">, </span><span style="color:magenta;">SUM</span><span style="color:gray;">(</span><span style="color:black;">UnitPrice</span><span style="color:gray;">) </span><span style="color:black;">SumUnitPrice</span><span style="color:gray;">, </span><span style="color:magenta;">AVG</span><span style="color:gray;">(</span><span style="color:black;">UnitPrice</span><span style="color:gray;">) </span><span style="color:black;">AvgUnitPrice</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">SUM</span><span style="color:gray;">(</span><span style="color:black;">OrderQty</span><span style="color:gray;">) </span><span style="color:black;">SumOrderQty</span><span style="color:gray;">, </span><span style="color:magenta;">AVG</span><span style="color:gray;">(</span><span style="color:black;">OrderQty</span><span style="color:gray;">) </span><span style="color:black;">AvgOrderQty<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">[dbo].[MySalesOrderDetail]<br />
</span><span style="color:blue;">GROUP BY </span><span style="color:black;">ProductID<br />
</span><span style="color:blue;">ORDER BY </span><span style="color:black;">ProductID<br />
</span><span style="color:blue;">OPTION </span><span style="color:gray;">(</span><span style="color:black;">IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX</span><span style="color:gray;">)<br />
</span><span style="color:black;">GO</span></code></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/columnstore4.jpg" alt="" width="327" height="148" /></p>
<p style="text-align:justify;">Let us clean up the database.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:green;">-- Cleanup<br />
</span><span style="color:blue;">DROP INDEX </span><span style="color:black;">[IX_MySalesOrderDetail_ColumnStore] </span><span style="color:blue;">ON </span><span style="color:black;">[dbo].[MySalesOrderDetail]<br />
GO<br />
</span><span style="color:blue;">TRUNCATE TABLE </span><span style="color:black;">dbo.MySalesOrderDetail<br />
GO<br />
</span><span style="color:blue;">DROP TABLE </span><span style="color:black;">dbo.MySalesOrderDetail<br />
GO</span></code></p>
<p style="text-align:justify;">Again, make sure that you use hint sparingly and understanding the proper implication of the same. Make sure that you test it with and without hint and select the best option after review of your administrator. Here is the question for you &#8211; have you started to use SQL Server 2012 for your validation and development (not on production)? It will be interesting to know the answer.</p>
<p style="text-align:justify;">Reference:<strong></strong> <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-index/'>SQL Index</a>, <a href='http://blog.sqlauthority.com/category/sql-optimization/'>SQL Optimization</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/15371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/15371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/15371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/15371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/15371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/15371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/15371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/15371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/15371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/15371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/15371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/15371/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/15371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/15371/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=15371&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/10/30/sql-server-how-to-ignore-columnstore-index-usage-in-query/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/columnstore3.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/columnstore4.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Fundamentals of Columnstore Index</title>
		<link>http://blog.sqlauthority.com/2011/10/29/sql-server-fundamentals-of-columnstore-index/</link>
		<comments>http://blog.sqlauthority.com/2011/10/29/sql-server-fundamentals-of-columnstore-index/#comments</comments>
		<pubDate>Sat, 29 Oct 2011 01:30:21 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Index]]></category>
		<category><![CDATA[SQL Optimization]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=15283</guid>
		<description><![CDATA[There are two kind of storage in database. Row Store and Column Store. Row store does exactly as the name suggests – stores rows of data on a page – and column store stores all the data in a column on the same page. These columns are much easier to search – instead of a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=15283&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">There are two kind of storage in database. Row Store and Column Store. Row store does exactly as the name suggests – stores rows of data on a page – and column store stores all the data in a column on the same page.  These columns are much easier to search – instead of a query searching all the data in an entire row whether the data is relevant or not, column store queries need only to search much lesser number of the columns.  This means major increases in search speed and hard drive use.  Additionally, the column store indexes are heavily compressed, which translates to even greater memory and faster searches. I am sure this looks very exciting and it does not mean that you convert every single index from row store to column store index. One has to understand the proper places where to use row store or column store indexes. Let us understand in this article what is the difference in Columnstore type of index.</p>
<p style="text-align:justify;">Column store indexes are run by Microsoft’s VertiPaq technology. However, all you really need to know is that this method of storing data is columns on a single page is much faster and more efficient.  Creating a column store index is very easy, and you don’t have to learn new syntax to create them.  You just need to specify the keyword “COLUMNSTORE” and enter the data as you normally would.  Keep in mind that once you add a column store to a table, though, you cannot delete, insert or update the data – it is READ ONLY.  However, since column store will be mainly used for data warehousing, this should not be a big problem.  You can always use partitioning to avoid rebuilding the index.</p>
<p style="text-align:justify;">A columnstore index stores each column in a separate set of disk pages, rather than storing multiple rows per page as data traditionally has been stored. The difference between column store and row store approaches is illustrated below:</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/columnstore.jpg" alt="" width="500" /></p>
<p style="text-align:justify;">In case of the row store indexes multiple pages will contain multiple rows of the columns spanning across multiple pages. In case of column store indexes multiple pages will contain multiple single columns. This will lead only the columns needed to solve a query will be fetched from disk. Additionally there is good chance that there will be redundant data in a single column which will further help to compress the data, this will have positive effect on buffer hit rate as most of the data will be in memory and due to same it will not need to be retrieved.</p>
<p style="text-align:justify;">Let us see small example of how columnstore index improves the performance of the query on a large table.</p>
<p style="text-align:justify;">As a first step let us create databaseset which is large enough to show performance impact of columnstore index. The time taken to create sample database may vary on different computer based on the resources.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">USE </span><span style="color:black;">AdventureWorks<br />
GO<br />
</span><span style="color:green;">-- Create New Table<br />
</span><span style="color:blue;">CREATE TABLE </span><span style="color:black;">[dbo].[MySalesOrderDetail]</span><span style="color:gray;">(<br />
</span><span style="color:black;">[SalesOrderID] [int] </span><span style="color:gray;">NOT NULL,<br />
</span><span style="color:black;">[SalesOrderDetailID] [int] </span><span style="color:gray;">NOT NULL,<br />
</span><span style="color:black;">[CarrierTrackingNumber] [nvarchar]</span><span style="color:gray;">(</span><span style="color:black;">25</span><span style="color:gray;">) NULL,<br />
</span><span style="color:black;">[OrderQty] [smallint] </span><span style="color:gray;">NOT NULL,<br />
</span><span style="color:black;">[ProductID] [int] </span><span style="color:gray;">NOT NULL,<br />
</span><span style="color:black;">[SpecialOfferID] [int] </span><span style="color:gray;">NOT NULL,<br />
</span><span style="color:black;">[UnitPrice] [money] </span><span style="color:gray;">NOT NULL,<br />
</span><span style="color:black;">[UnitPriceDiscount] [money] </span><span style="color:gray;">NOT NULL,<br />
</span><span style="color:black;">[LineTotal] [numeric]</span><span style="color:gray;">(</span><span style="color:black;">38</span><span style="color:gray;">, </span><span style="color:black;">6</span><span style="color:gray;">) NOT NULL,<br />
</span><span style="color:black;">[rowguid] [uniqueidentifier] </span><span style="color:gray;">NOT NULL,<br />
</span><span style="color:black;">[ModifiedDate] [datetime] </span><span style="color:gray;">NOT NULL<br />
) </span><span style="color:blue;">ON </span><span style="color:black;">[PRIMARY]<br />
GO<br />
</span><span style="color:green;">-- Create clustered index<br />
</span><span style="color:blue;">CREATE CLUSTERED INDEX </span><span style="color:black;">[CL_MySalesOrderDetail] </span><span style="color:blue;">ON </span><span style="color:black;">[dbo].[MySalesOrderDetail]<br />
</span><span style="color:gray;">(    </span><span style="color:black;">[SalesOrderDetailID]</span><span style="color:gray;">)<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">-- Create Sample Data Table<br />
-- WARNING: This Query may run upto 2-10 minutes based on your systems resources<br />
</span><span style="color:blue;">INSERT INTO </span><span style="color:black;">[dbo].[MySalesOrderDetail]<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">S1.</span><span style="color:gray;">*<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">Sales.SalesOrderDetail S1<br />
GO 100<br />
</span></code></p>
<p style="text-align:justify;">Now let us do quick performance test. I have kept STATISTICS IO ON for measuring how much IO following queries take. In my test first I will run query which will use regular index. We will note the IO usage of the query. After that we will create columnstore index and will measure the IO of the same.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:green;">-- Performance Test<br />
-- Comparing Regular Index with ColumnStore Index<br />
</span><span style="color:blue;">USE </span><span style="color:black;">AdventureWorks<br />
GO<br />
</span><span style="color:blue;">SET STATISTICS </span><span style="color:black;">IO </span><span style="color:blue;">ON<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">-- Select Table with regular Index<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">ProductID</span><span style="color:gray;">, </span><span style="color:magenta;">SUM</span><span style="color:gray;">(</span><span style="color:black;">UnitPrice</span><span style="color:gray;">) </span><span style="color:black;">SumUnitPrice</span><span style="color:gray;">, </span><span style="color:magenta;">AVG</span><span style="color:gray;">(</span><span style="color:black;">UnitPrice</span><span style="color:gray;">) </span><span style="color:black;">AvgUnitPrice</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">SUM</span><span style="color:gray;">(</span><span style="color:black;">OrderQty</span><span style="color:gray;">) </span><span style="color:black;">SumOrderQty</span><span style="color:gray;">, </span><span style="color:magenta;">AVG</span><span style="color:gray;">(</span><span style="color:black;">OrderQty</span><span style="color:gray;">) </span><span style="color:black;">AvgOrderQty<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">[dbo].[MySalesOrderDetail]<br />
</span><span style="color:blue;">GROUP BY </span><span style="color:black;">ProductID<br />
</span><span style="color:blue;">ORDER BY </span><span style="color:black;">ProductID<br />
GO<br />
</span><span style="color:green;">-- Table 'MySalesOrderDetail'. Scan count 1, logical reads 342261, physical reads 0, read-ahead reads 0.<br />
-- Create ColumnStore Index<br />
</span><span style="color:blue;">CREATE NONCLUSTERED </span><span style="color:black;">COLUMNSTORE </span><span style="color:blue;">INDEX </span><span style="color:black;">[IX_MySalesOrderDetail_ColumnStore]<br />
</span><span style="color:blue;">ON </span><span style="color:black;">[MySalesOrderDetail]<br />
</span><span style="color:gray;">(</span><span style="color:black;">UnitPrice</span><span style="color:gray;">, </span><span style="color:black;">OrderQty</span><span style="color:gray;">, </span><span style="color:black;">ProductID</span><span style="color:gray;">)<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">-- Select Table with Columnstore Index<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">ProductID</span><span style="color:gray;">, </span><span style="color:magenta;">SUM</span><span style="color:gray;">(</span><span style="color:black;">UnitPrice</span><span style="color:gray;">) </span><span style="color:black;">SumUnitPrice</span><span style="color:gray;">, </span><span style="color:magenta;">AVG</span><span style="color:gray;">(</span><span style="color:black;">UnitPrice</span><span style="color:gray;">) </span><span style="color:black;">AvgUnitPrice</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">SUM</span><span style="color:gray;">(</span><span style="color:black;">OrderQty</span><span style="color:gray;">) </span><span style="color:black;">SumOrderQty</span><span style="color:gray;">, </span><span style="color:magenta;">AVG</span><span style="color:gray;">(</span><span style="color:black;">OrderQty</span><span style="color:gray;">) </span><span style="color:black;">AvgOrderQty<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">[dbo].[MySalesOrderDetail]<br />
</span><span style="color:blue;">GROUP BY </span><span style="color:black;">ProductID<br />
</span><span style="color:blue;">ORDER BY </span><span style="color:black;">ProductID<br />
GO</span></code></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/columnstore2.jpg" alt="" width="500" /></p>
<p style="text-align:justify;">It is very clear from the results that query is performance extremely fast after creating ColumnStore Index. The amount of the pages it has to read to run query is drastically reduced as the column which are needed in the query are stored in the same page and query does not have to go through every single page to read those columns.</p>
<p style="text-align:justify;"><a href="http://www.pinaldave.com/bimg/columnstore1.jpg"><img class="alignnone" src="http://www.pinaldave.com/bimg/columnstore1.jpg" alt="" width="500" height="194" /></a></p>
<p style="text-align:justify;">If we enable execution plan and compare we can see that column store index performance way better than regular index in <strong>this</strong> case.</p>
<p style="text-align:justify;">Let us clean up the database.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:green;">-- Cleanup<br />
</span><span style="color:blue;">DROP INDEX </span><span style="color:black;">[IX_MySalesOrderDetail_ColumnStore] </span><span style="color:blue;">ON </span><span style="color:black;">[dbo].[MySalesOrderDetail]<br />
GO<br />
</span><span style="color:blue;">TRUNCATE TABLE </span><span style="color:black;">dbo.MySalesOrderDetail<br />
GO<br />
</span><span style="color:blue;">DROP TABLE </span><span style="color:black;">dbo.MySalesOrderDetail<br />
GO</span></code></p>
<p style="text-align:justify;">In future posts we will see cases where Columnstore index is not appropriate solution as well few other tricks and tips of the columnstore index.</p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-index/'>SQL Index</a>, <a href='http://blog.sqlauthority.com/category/sql-optimization/'>SQL Optimization</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/tech/sql-scripts/'>SQL Scripts</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/15283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/15283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/15283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/15283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/15283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/15283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/15283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/15283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/15283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/15283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/15283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/15283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/15283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/15283/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=15283&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/10/29/sql-server-fundamentals-of-columnstore-index/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/columnstore.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/columnstore2.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/columnstore1.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; TRACEWRITE &#8211; Wait Type &#8211; Wait Related to Buffer and Resolution</title>
		<link>http://blog.sqlauthority.com/2011/10/20/sql-server-tracewrite-wait-type-wait-related-to-buffer-and-resolution/</link>
		<comments>http://blog.sqlauthority.com/2011/10/20/sql-server-tracewrite-wait-type-wait-related-to-buffer-and-resolution/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 01:30:20 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Optimization]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Wait Stats]]></category>
		<category><![CDATA[SQL Wait Types]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=15093</guid>
		<description><![CDATA[Earlier this year I wrote for a whole month on SQL Server Wait Stats and the series was one of the best reviewed I have ever written. The same series has been enhanced and compiled into a book as SQL Server Wait Stats [Amazon] &#124; [Flipkart] &#124; [Kindle]. The best part of this book is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=15093&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Earlier this year I wrote for a whole month on <a href="http://blog.sqlauthority.com/2011/02/28/sql-server-summary-of-month-wait-type-day-28-of-28/" target="_blank"><strong>SQL Server Wait Stats</strong></a> and the series was one of the best reviewed I have ever written. The same series has been enhanced and compiled into a book as <em>SQL Server Wait Stats</em> [<a href="http://amzn.to/p3tL1n" target="_blank"><strong>Amazon</strong></a>] | [<a href="http://bit.ly/waitstats" target="_blank"><strong>Flipkart</strong></a>] | [<a href="http://amzn.to/waitstatskindle" target="_blank"><strong>Kindle</strong></a>]. The best part of this book is it is an evolving book. I am planning to expand this book at certain intervals.</p>
<p style="text-align:justify;">Yesterday I came across a very interesting system, where the top most wait type was TRACEWRITE. The DBA of the system reached out to me asking what this wait types means and how it can be resolved. As I had not written about this in the book so far, this is the blog post dedicated to his question. It will definitely be included in future versions of the book. For the moment let us go over it quickly and see what we can learn about TRACEWRITE.</p>
<p style="text-align:justify;">Personally I consider TRACEWRITE a <strong>harmless</strong> and <strong>innocent</strong> wait type and I recommend that you ignore it too. However, the DBA who ran the script mentioned in my <a href="http://blog.sqlauthority.com/2011/02/01/sql-server-introduction-to-wait-stats-and-wait-types-wait-type-day-1-of-28/" target="_blank"><strong>very first blog</strong></a> still found this wait type on the top as I did not include this wait type in the exclusion list.  I think it should be there and in future versions of the script I will include it.</p>
<h2 style="text-align:justify;"><strong>From Book On-Line:</strong></h2>
<p style="text-align:justify;">TRACEWRITE<br />
Occurs when the SQL Trace rowset trace provider waits for either a free buffer or a buffer with events to process.</p>
<h2 style="text-align:justify;"><strong>TRACEWRITE Explanation:</strong></h2>
<p style="text-align:justify;">SQL Trace is a SQL Server database engine technology which monitors specific events generated when various actions occur in the database engine. When any event is fired it goes through various stages as well various routes. One of the routes is Trace I/O Provider, which sends data to its final destination either as file or rowset. This rowset provider does not provide any guarantees to data. It stores the data into its internal buffers. If the data from the internal buffer is not consumed quickly enough (20 seconds) the buffers start to drop the events to free itself up to handle future events. This is when it sends a special error messages to the profiler client. When more threads are waiting for free buffers the wait type TRACEWRITE is implemented. The higher this wait type, the higher the number of threads waiting for free buffer, degrading performance in most of the system.</p>
<h2 style="text-align:justify;"><strong>Reducing TRACEWRITE wait:</strong></h2>
<p style="text-align:justify;">It is not necessary to consider this wait type as bad or evil. In <strong>most</strong> systems it can be a perfectly normal wait type and you just need to ignore it. If you are convinced, you should stop reading this blog post here. However, if still want to reduce this wait type, here is something you can experiment with on your development server (never on production server).</p>
<p style="text-align:justify;">Run the following query and see if it returns any value. This query will list all the trace running in your system.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">SELECT </span><span style="color:gray;">*<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">sys.</span><span style="color:darkred;">fn_trace_getinfo</span><span style="color:gray;">(</span><span style="color:black;">0</span><span style="color:gray;">)<br />
</span></code></p>
<p style="text-align:justify;">In most of the systems I have come across I have noticed default trace enabled for the system. I personally like this to keep it on as it helps the DBA to diagnosis problems the first time they occur. Additionally, this helps Microsoft to diagnosis your system if you request their support. (One more reason to ignore this wait type and <strong>do not</strong> attempt to disable default trace). However, you can manually disable this trace by following script.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:darkred;">sp_configure </span><span style="color:red;">'show advanced options'</span><span style="color:gray;">, </span><span style="color:black;">1</span><span style="color:gray;">;<br />
</span><span style="color:black;">GO<br />
</span><span style="color:blue;">RECONFIGURE</span><span style="color:gray;">;<br />
</span><span style="color:black;">GO<br />
</span><span style="color:darkred;">sp_configure </span><span style="color:red;">'default trace enabled'</span><span style="color:gray;">, </span><span style="color:black;">0</span><span style="color:gray;">;<br />
</span><span style="color:black;">GO<br />
</span><span style="color:blue;">RECONFIGURE</span><span style="color:gray;">;<br />
</span><span style="color:black;">GO</span></code></p>
<p style="text-align:justify;">Well, as this is not harmful wait type, I had not included it in my book or initial series. Anyway, now we have learned about this wait type so I will include it in future versions.</p>
<p style="text-align:justify;">Read all the post in the <a href="http://blog.sqlauthority.com/2011/02/01/sql-server-wait-stats-wait-types-wait-queues-day-0-of-28/" target="_blank"><strong>Wait Types and Queue</strong></a> series.</p>
<p style="text-align:justify;"><strong>Note:</strong> The information presented here is from my experience and there is no way that I claim it to be accurate. I suggest reading my book OnLine for further clarification. All the discussion of Wait Stats in this blog is generic and varies from system to system. It is recommended that you test this on a development server before implementing it to a production server.</p>
<p style="text-align:justify;">Reference:<strong> Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-optimization/'>SQL Optimization</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-wait-stats/'>SQL Wait Stats</a>, <a href='http://blog.sqlauthority.com/category/sql-wait-types/'>SQL Wait Types</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/15093/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/15093/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/15093/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/15093/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/15093/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/15093/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/15093/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/15093/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/15093/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/15093/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/15093/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/15093/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/15093/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/15093/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=15093&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/10/20/sql-server-tracewrite-wait-type-wait-related-to-buffer-and-resolution/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQLAuthority News &#8211; SafePeak Releases a Major Update: SafePeak version 2.1 for SQL Server Performance Acceleration</title>
		<link>http://blog.sqlauthority.com/2011/10/17/sqlauthority-news-safepeak-releases-a-major-update-safepeak-version-2-1-for-sql-server-performance-acceleration/</link>
		<comments>http://blog.sqlauthority.com/2011/10/17/sqlauthority-news-safepeak-releases-a-major-update-safepeak-version-2-1-for-sql-server-performance-acceleration/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 01:30:22 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Optimization]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=15065</guid>
		<description><![CDATA[Couple of months ago I had the opportunity to share with my first look at SafePeak, a new and unique software solution for improving SQL Server performance and solving bottlenecks, accelerates the data access and cuts the CPU and IO of your SQL Server. SafePeak unique approach not just tells you about the problems but [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=15065&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Couple of months ago I had the opportunity to share with my first look at <strong><a href="http://www.safepeak.com/download?source=sqlauthority-sidebar" target="_blank">SafePeak</a></strong>, a new and unique software solution for improving SQL Server performance and solving bottlenecks, accelerates the data access and cuts the CPU and IO of your SQL Server. <strong><a href="http://www.safepeak.com/download?source=sqlauthority-sidebar" target="_blank">SafePeak </a></strong>unique approach not just tells you about the problems but actually resolves them automatically and improves SQL Server performance and the performance of applications dramatically.</p>
<p style="text-align:justify;">It looks like SafePeak team gave a very serious thinking how to make things even easier during the integration and fine tuning, thus improving the short term benefits, and also to provide a valuable information about the usage of the database by the application, an important long term benefit. Before I get into my key findings of the new features and improvements let me give a short reminder of SafePeak.</p>
<p style="text-align:justify;"><strong><span style="text-decoration:underline;">SafePeak in a brief:</span></strong></p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a href="http://www.pinaldave.com/bimg/safepeak2_1.png"><img src="http://www.pinaldave.com/bimg/safepeak2_1.png" alt="" width="500" /></a></dt>
<dd class="wp-caption-dd">Click to Enlarge</dd>
</dl>
</div>
<p style="text-align:justify;"><strong><a href="http://www.safepeak.com/download?source=sqlauthority-sidebar" target="_blank">SafePeak</a></strong> is a <span style="text-decoration:underline;">dynamic caching</span> proxy that resides between the application and the database. It is unique in the way it requires neither code changes nor database changes. The only change required is routing the application through SafePeak instead of the database (by changing connection string, a DNS record, or simply adding reroute line in the c:\windows\system32\drivers\etc\hosts file).</p>
<p style="text-align:justify;">Here is a <strong><a href="http://www.youtube.com/watch?v=PkxuPBE-f5s&amp;w=560&amp;h=315" target="_blank">short video</a></strong> about SafePeak (thanks to ApplicationPerformance.com team for benchmark and the video):</p>
<p style="text-align:justify;">SafePeak analyses the database schema and the SQL traffic, prepares sql patterns for decision making process and applies those sql patterns as caching rules. When data served from cache – the result is immediate (tests show 100-400 micro seconds per query – that is 0.000,100 of a second).</p>
<p style="text-align:justify;">Concept of “dynamic caching” is actually very interesting and unique: SafePeak caches in RAM the results of queries and stored procedures, but makes sure that the data integrity is enforced real-time both in SafePeak and in SQL Server.</p>
<p style="text-align:justify;">The benefits of such a solution are obvious: quick integration, immediate ROI, no complex projects and most importantly, minimal downtime for production systems.</p>
<p style="text-align:justify;">To learn more about the concept and how SafePeak works see <strong><a href="http://blog.sqlauthority.com/2011/08/11/sql-server-safepeak-the-plug-and-play-immediate-acceleration-solution/" target="_blank">my previous post here</a></strong>.</p>
<p style="text-align:justify;"><strong><span style="text-decoration:underline;">New features in the SafePeak version 2.1 </span></strong></p>
<p style="text-align:justify;">As this is my first semi-deep look at the new version, I’ll cover the top features that I found useful.</p>
<p style="text-align:justify;"><strong>1. Improvement of the cache setup and fine-tuning.</strong></p>
<p style="text-align:justify;">The #1 obstacle in previous versions was the understanding what needs to be actually configured to improve cache efficiency. Most of the setup is automated, some applications still demand important fine-tuning process. You see, SafePeak takes data integrity as its primary concern and that can reduce even significantly he cache effectiveness at the beginning. Two factors to consider from the beginning: A) “Dynamic Objects”; B) Manual (or non-deterministic) patterns to be enabled for cache. Actually few of the comments of my previous review asked questions exactly about this.</p>
<p style="text-align:justify;">The “dynamic objects” are usually stored procedures that your application has, that dynamically create SQL and then execute it (actually CLR objects and encrypted objects are also considered as “dynamic”). For SafePeak such procs are signed as “dynamic objects” and by default SafePeak takes the safest course of action to ensure data correctness: each execution of such proc ALL Cache is cleaned and SafePeak mode during the execution is “Disabled (DDL)” (visible on the dashboard screen).</p>
<p style="text-align:justify;">Consider that you have 2-3 procedures with dynamic code that do not change any data and are executed every 5 seconds. This means that instead of caching them, SafePeak all instance cache is cleaned each 5 seconds. This doesn’t really give you a chance for improvement, right..?</p>
<p style="text-align:justify;">While it was configurable in the previous versions, the new version makes the process of both identification of such events and procedures and the configuration much easier: Immediately on such execution you will see on the Dashboard the name of the procedure that needs to be configured:</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a href="http://www.pinaldave.com/bimg/safepeak2_2.png"><img src="http://www.pinaldave.com/bimg/safepeak2_2.png" alt="" width="500" /></a></dt>
<dd class="wp-caption-dd">Click to Enlarge</dd>
</dl>
</div>
<p style="text-align:justify;">Clicking on the line will take to the Dynamic Objects configuration screen (Caching managementàInstanceàDatabaseàDynamic Object tab) where a filter will apply to show you only this procedure plus all of its dependant dynamic procedures. You will need to manually configure to all these procedures.</p>
<p style="text-align:justify;">Configuration became easier too, eliminating the previous requirement running “sp_helptext” on your production SQL Server each time. The “Available Objects” popup (under “Object Dependencies” tab) shows us the text of the procedure. All we are left to do is identify the <span style="text-decoration:underline;">tables</span> that are read from (selects, joints), tables that are updated (DMLs) and/or which other stored procedures it calls. Focus only the SQL code that is dynamic (the regular code has already been learned by SafePeak automatically).</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a href="http://www.pinaldave.com/bimg/safepeak2_3.png"><img src="http://www.pinaldave.com/bimg/safepeak2_3.png" alt="" width="500" /></a></dt>
<dd class="wp-caption-dd">Click to Enlarge</dd>
</dl>
</div>
<p style="text-align:justify;">At the end configure the checkboxes at the “Object Information”: if object is deterministic (makes the activation of cache automatic), does it have transactions inside, DDL &#8211; does it changes schema, and should it clear all SafePeak cache (best not to do that J ).</p>
<p style="text-align:justify;">The new version makes it simple to know what needs to be configured (from the dashboard) and the configuration is simpler and no longer requires opening in parallel your database server. This makes things also nice, as this can be done remotely.</p>
<p style="text-align:justify;"><strong>2. Database templates</strong></p>
<p style="text-align:justify;">What happens if I have multiple similar structured database (like content databases in SharePoint)? Or I have several servers with same structured databases?</p>
<p style="text-align:justify;">Well this is the next improvement by SafePeak: creation of Database Templates.</p>
<p style="text-align:justify;">After you configure One database, you can save this a as a database template (in the Caching Management area). Then if you have additional similar database, SafePeak will recognize their pattern and apply that configuration to those databases too. You have also control for it under the very much enhanced “SettingsàInstance Configuration” section. You can also export these settings to a file and then import it on another SafePeak installation. A very nice feature.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a href="http://www.pinaldave.com/bimg/safepeak2_4.png"><img class=" " src="http://www.pinaldave.com/bimg/safepeak2_4.png" alt="" width="500" height="192" /></a></dt>
<dd class="wp-caption-dd">Click to Enlarge</dd>
</dl>
</div>
<p style="text-align:justify;"><strong>3. Controlling caching by databases </strong>was also enhanced. In addition to controlling sql patterns, at the “SettingsàInstance Configuration” section you can enable and disable cache per each database. Because SafePeak licensing model is based on cached databases this makes it very simple to control.</p>
<p style="text-align:justify;"><strong>4. SafePeak extends to near real-time analytical abilities of the SQL Server usage</strong></p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a href="http://www.pinaldave.com/bimg/safepeak2_5.png"><img src="http://www.pinaldave.com/bimg/safepeak2_5.png" alt="" width="500" /></a></dt>
<dd class="wp-caption-dd">Click to Enlarge</dd>
</dl>
</div>
<p style="text-align:justify;">SafePeak version 2.1 brings the DBA new abilities to see and analyze all the SQL queries that were executed during anytime. While previously we could see only cacheable “read” sql patterns, the new SafePeak allows investigation of all executed SQL patterns, including DMLs, DDLs, DCLs etc. The new SafePeak also makes it possible to check exactly what happened by choosing the specific timeframe. The new version creates analytical statistics every 15 minutes (reduced from 1 hour), which allows better investigation of suspicions events. SafePeak team also changed the columns list, added a “DB” column. This way you immediately see the queries response time as they run on SQL, performance from cache, and the change on the average performance new performance with SafePeak.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a href="http://www.pinaldave.com/bimg/safepeak2_6.png"><img src="http://www.pinaldave.com/bimg/safepeak2_6.png" alt="" width="500" /></a></dt>
<dd class="wp-caption-dd">Click to Enlarge</dd>
</dl>
</div>
<p style="text-align:justify;">Actually this is interesting, as just couple of weeks ago one of my customers had a sudden overload on the SQL server during evening hours. It is not really clear when it started, when it ended, what happened there and why – all remain a mystery up to day. SafePeak’s new analytical abilities could definitely unveil the mystery and help the DBAs to save their precious time and back to normal work.</p>
<p style="text-align:justify;"><strong><span style="text-decoration:underline;">Summary</span></strong></p>
<p style="text-align:justify;">I was impressed of SafePeak first version, but the new features and components make SafePeak a very advanced and comprehensive SQL Server performance, acceleration and analytical solution. In this post scanned a small part of the overall changes and improvement. I would very much like to hear your findings and suggestions.</p>
<p style="text-align:justify;"><strong><a href="http://www.safepeak.com/download?source=sqlauthority-sidebar" target="_blank">SafePeak</a></strong> is a great acceleration solution for users who want immediate results for sites with performance, scalability and peak spikes challenges.</p>
<p style="text-align:justify;">SafePeak can significantly increase response times, by reducing network round-trip to the database, decreasing CPU resource usage, eliminating I/O and storage access.</p>
<p style="text-align:justify;">For all those SQL Server shops – definitely worth giving <strong><a href="http://www.safepeak.com/download?source=sqlauthority-sidebar" target="_blank">SafePeak</a></strong> a try. You can download a free, fully functional trial <strong><a href="http://www.safepeak.com/download" target="_blank">www.safepeak.com/download</a></strong>.</p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-optimization/'>SQL Optimization</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/15065/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/15065/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/15065/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/15065/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/15065/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/15065/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/15065/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/15065/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/15065/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/15065/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/15065/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/15065/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/15065/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/15065/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=15065&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/10/17/sqlauthority-news-safepeak-releases-a-major-update-safepeak-version-2-1-for-sql-server-performance-acceleration/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/safepeak2_1.png" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/safepeak2_2.png" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/safepeak2_3.png" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/safepeak2_4.png" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/safepeak2_5.png" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/safepeak2_6.png" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; CE &#8211; 3 Links to Performance Tuning Compact Edition</title>
		<link>http://blog.sqlauthority.com/2011/10/04/sql-server-ce-3-links-to-performance-tuning-compact-edition/</link>
		<comments>http://blog.sqlauthority.com/2011/10/04/sql-server-ce-3-links-to-performance-tuning-compact-edition/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 01:30:03 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Optimization]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14808</guid>
		<description><![CDATA[Today, I am going to do webcast online on how to improve performance for SQL CE. Here are three articles which I am going to base my session. Database Design and Performance (SQL Server Compact Edition) Use Database Denormalization Decide Between Variable and Fixed-length Columns Create Smaller Row Lengths Use Smaller Key Lengths Publication Article [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=14808&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Today, I am going to do webcast online on how to improve performance for SQL CE. Here are three articles which I am going to base my session.</p>
<p style="text-align:justify;"><a href="http://msdn.microsoft.com/en-us/library/ms172432%28v=SQL.90%29.aspx?ocid=aff-n-in-loc--pd" target="_blank">Database Design and Performance (SQL Server Compact Edition)</a></p>
<ul style="text-align:justify;">
<li>Use Database Denormalization</li>
<li>Decide Between Variable and Fixed-length Columns</li>
<li>Create Smaller Row Lengths</li>
<li>Use Smaller Key Lengths</li>
<li>Publication Article Types and Options</li>
</ul>
<p style="text-align:justify;"><a href="http://msdn.microsoft.com/en-us/library/ms172984%28v=SQL.90%29.aspx?ocid=aff-n-in-loc--pd" target="_blank">Query Performance Tuning (SQL Server Compact Edition)</a></p>
<ul style="text-align:justify;">
<li>Improve Indexes</li>
<li>Choose What to Index</li>
<li>Use the Query Optimizer</li>
<li>Understand Response Time vs. Total Time</li>
<li>Rewrite Subqueries to Use JOIN</li>
<li>Use Parameterized Queries</li>
<li>Query Only When You Must</li>
</ul>
<p style="text-align:justify;"><a href="http://msdn.microsoft.com/en-us/library/bb190959%28v=SQL.90%29.aspx?ocid=aff-n-in-loc--pd" target="_blank">Optimizing Connectivity (SQL Server Compact Edition)</a></p>
<ul style="text-align:justify;">
<li>Synchronization Time-Out Properties</li>
<li>Time-out Optimization</li>
</ul>
<p style="text-align:justify;">I found above articles very interesting and useful, and looking forward to your opinion on the same.</p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-optimization/'>SQL Optimization</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-news/'>SQLAuthority News</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/14808/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/14808/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/14808/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/14808/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/14808/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/14808/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/14808/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/14808/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/14808/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/14808/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/14808/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/14808/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/14808/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/14808/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=14808&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/10/04/sql-server-ce-3-links-to-performance-tuning-compact-edition/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQLAuthority News &#8211; Tomorrow Online Session &#8211; Ancient Trade of Performance Tuning &#8211; Index, Beyond Index and No Index</title>
		<link>http://blog.sqlauthority.com/2011/09/28/sqlauthority-news-tomorrow-online-session-ancient-trade-of-performance-tuning-index-beyond-index-and-no-index/</link>
		<comments>http://blog.sqlauthority.com/2011/09/28/sqlauthority-news-tomorrow-online-session-ancient-trade-of-performance-tuning-index-beyond-index-and-no-index/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 01:30:34 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Index]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14621</guid>
		<description><![CDATA[Today in few hours I am going to present on my very favorite subject of performance tuning. You can read more about this sessions over here. This presentation is based on the famous book &#8216;The Art of War&#8217; written in sixth century BC by Sun Tzu. Index is usually a favorite tool of many when [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=14621&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Today in few hours I am going to present on my very favorite subject of performance tuning.</p>
<p style="text-align:justify;">You can read more about this sessions over here. <img class="alignleft" style="margin:3px;" src="http://www.pinaldave.com/bimg/art-of-war-poster.jpg" alt="" width="134" height="201" /></p>
<p style="text-align:justify;"><strong></strong>This presentation is based on the famous book <strong>&#8216;The Art of War&#8217;</strong> written in sixth century BC by Sun Tzu. Index is usually a favorite tool of many when it is about performance tuning. However, Index is not everything. Performance tuning is much very deep subject and one needs to understand various aspect of the performance tuning. In today&#8217;s session I will cover performance tuning beyond indexes. I have created some real interesting demos.</p>
<h3 style="text-align:justify;">Sessions Details</h3>
<p style="text-align:justify;">Title: <em><strong>Ancient Trade of Performance Tuning &#8211; Index, Beyond Index and No Index</strong></em><br />
Timing: <em><strong>September 29, 2011 11:45am-12:45pm IST</strong></em><br />
SQL Server Indexes are double edge sword. If used properly it gives tremendous performance improvement of the server. However, there is a dark side of the Index as well, which one needs to learn before using them to improve performance of the query. In this session we will go over various concepts of the Indexes which are not common but extremely important.<br />
Location: <a href="http://www.virtualtechdays.com/agendaDay2.aspx?WT.mc_id=aff-n-in-loc--pd" target="_blank">Register for Virtual Tech Days </a></p>
<h3 style="text-align:justify;">Giveaways</h3>
<p style="text-align:justify;"><img class="alignleft" style="margin:4px;" src="http://www.pinaldave.com/bimg/j2pwait_s.jpg" alt="" width="92" height="139" />During my session I will ask a simple question. I will give away <strong>5 copies</strong> of my <strong><a href="http://bit.ly/waitstats" target="_blank">SQL Server Wait Stats</a></strong> books to five random person who will answer it correctly. If you have already have this book, I strongly suggest you attend this session as this session will take the performance tuning concepts to next level. I will make sure that I autograph and send this copies to your way.</p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/database/'>Database</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-index/'>SQL Index</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-news/'>SQLAuthority News</a>, <a href='http://blog.sqlauthority.com/category/sqlserver/'>SQLServer</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/14621/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/14621/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/14621/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/14621/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/14621/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/14621/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/14621/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/14621/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/14621/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/14621/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/14621/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/14621/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/14621/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/14621/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=14621&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/09/28/sqlauthority-news-tomorrow-online-session-ancient-trade-of-performance-tuning-index-beyond-index-and-no-index/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/art-of-war-poster.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/j2pwait_s.jpg" medium="image" />
	</item>
		<item>
		<title>SQLAuthority News &#8211; Online Session &#8211; Ancient Trade of Performance Tuning &#8211; Index, Beyond Index and No Index</title>
		<link>http://blog.sqlauthority.com/2011/09/26/sqlauthority-news-online-session-ancient-trade-of-performance-tuning-index-beyond-index-and-no-index/</link>
		<comments>http://blog.sqlauthority.com/2011/09/26/sqlauthority-news-online-session-ancient-trade-of-performance-tuning-index-beyond-index-and-no-index/#comments</comments>
		<pubDate>Mon, 26 Sep 2011 01:30:49 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Index]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14594</guid>
		<description><![CDATA[Performance Tuning has been my favorite subject always. I love this subject the most. I personally have enjoyed every aspect of performance tuning. Quite often I have seen that when it is about performance, people end up talking about Indexes. Index for sure can help performance, but it is like secret weapon and it must [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=14594&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Performance Tuning has been my favorite subject always. I love this subject the most. I personally have enjoyed every aspect of performance tuning. Quite often I have seen that when it is about performance, people end up talking about Indexes. Index for sure can help performance, but it is like secret weapon and it must be used carefully as the same thing can be dangerous. I have personally attended many sessions that are related to Indexes as well as how to identify the correct index and remove useless indexes. I always wanted Indexing presentation to bring much more than these usual topics.</p>
<h3 style="text-align:justify;">Session Inspiration</h3>
<p style="text-align:justify;"><img class="alignleft" style="margin:3px;" src="http://www.pinaldave.com/bimg/art-of-war-poster.jpg" alt="" width="158" height="236" /></p>
<p style="text-align:justify;">Driven with coming up something different around indexes, I created this presentation. This presentation is based on the famous book <strong>&#8216;The Art of War&#8217;</strong> written in sixth century BC by Sun Tzu. This book is composed of 13 chapters, each of which is devoted to one aspect of warfare, and it is said to be the definitive work on military strategies and tactics of its time, and it is still read for its military insights. I am heavily inspired by this book, and I have always treated performance tuning as a war.</p>
<p style="text-align:justify;">Here are the three subjects which I will be covering in my online presentation.</p>
<h3 style="text-align:justify;">How to defeat an opponent</h3>
<ul style="text-align:justify;">
<li>Using Weapon</li>
</ul>
<blockquote>
<ul>
<li>Carry a convenient weapon</li>
<li>Use anything as weapon</li>
</ul>
</blockquote>
<ul style="text-align:justify;">
<li>Use Counter Intelligence</li>
</ul>
<blockquote>
<ul>
<li>Use spy network</li>
<li>Use statistical data points</li>
</ul>
</blockquote>
<ul style="text-align:justify;">
<li>The Lords of War</li>
</ul>
<blockquote>
<ul>
<li>Extra-ordinary intellect</li>
<li>Supreme heroic ability</li>
</ul>
</blockquote>
<p style="text-align:justify;">I have created three demos to support the above three sections. I am very sure that this is one of the most interesting and inspiring sessions for performance tuning. Here are the details for the session.</p>
<h3 style="text-align:justify;">Sessions Details</h3>
<p style="text-align:justify;">Title: <em><strong>Ancient Trade of Performance Tuning &#8211; Index, Beyond Index and No Index</strong></em><br />
Timing: <em><strong>September 29, 2011 11:45am-12:45pm IST</strong></em><br />
SQL Server Indexes are like a double-sided sword. If used properly it gives tremendous performance improvement of the server. However, there is a dark side of the Index as well, which one needs to learn before using them to improve the performance of the query. In this session, we will go over various concepts of the Indexes, which are not common but extremely important.<br />
Location: <a href="http://www.virtualtechdays.com/agendaDay2.aspx?WT.mc_id=aff-n-in-loc--pd" target="_blank">Register for Virtual Tech Days </a></p>
<h3 style="text-align:justify;">Giveaways</h3>
<p style="text-align:justify;"><img class="alignleft" style="margin:4px;" src="http://www.pinaldave.com/bimg/j2pwait_s.jpg" alt="" width="94" height="142" /></p>
<p style="text-align:justify;">During my session, I will ask a simple question. I will give away <strong>5 copies</strong> of my <a href="http://bit.ly/waitstats" target="_blank"><strong>SQL Server Wait Stats</strong></a> books to five random people who will answer it correctly. If you already have this book, I strongly suggest you attend this session as this session will take the performance tuning concepts to next level. I will make sure that I personally autograph and send these copies to your way.</p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/best-practices/'>Best Practices</a>, <a href='http://blog.sqlauthority.com/category/database/'>Database</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-index/'>SQL Index</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-news/'>SQLAuthority News</a>, <a href='http://blog.sqlauthority.com/category/sqlserver/'>SQLServer</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/14594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/14594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/14594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/14594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/14594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/14594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/14594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/14594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/14594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/14594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/14594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/14594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/14594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/14594/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=14594&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/09/26/sqlauthority-news-online-session-ancient-trade-of-performance-tuning-index-beyond-index-and-no-index/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/art-of-war-poster.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/j2pwait_s.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; DBA Quiz 2011 &#8211; All was well few moments before all went wrong &#8211; Reasons and Resolutions</title>
		<link>http://blog.sqlauthority.com/2011/09/12/sql-server-dba-quiz-2011-all-was-well-few-moments-before-all-went-wrong-reasons-and-resolutions/</link>
		<comments>http://blog.sqlauthority.com/2011/09/12/sql-server-dba-quiz-2011-all-was-well-few-moments-before-all-went-wrong-reasons-and-resolutions/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 01:30:34 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Puzzle]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=14372</guid>
		<description><![CDATA[My question just got published at DBA Quiz 2011. This question is inspired from a real life incident, which occurred to me a few years ago. That time, I was a DBA myself and then one fine day, everything went south. When we checked the log, all the logs were fine till few minutes before [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=14372&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><img class="alignleft" src="http://www.pinaldave.com/bimg/disasterwall.jpg" alt="" width="285" height="285" /></p>
<p style="text-align:justify;">My question just got published at <a href="http://beyondrelational.com/quiz/sqlserver/dba/2011/questions/163/all-was-well-few-moments-before-all-went-wrong-reasons-and-resolutions.aspx" target="_blank"><strong>DBA Quiz 2011</strong></a>. This question is inspired from a real life incident, which occurred to me a few years ago. That time, I was a DBA myself and then one fine day, everything went south. When we checked the log, all the logs were fine till few minutes before our server started to face the issue. After working for long hours, we fixed the issue. Our CTO had called us to analyze the situation. Instead of blaming anyone, he adorned an extremely positive attitude. He suggested that we all go out and come back with three top best solutions. We all gathered after a week and looked at each other’s solution. We combined that and put them in order for our later reference.</p>
<p style="text-align:justify;">Well, today we are going to do the same task. SQL Server MVP Jacob Sebastian has come up with an SQL Server DBA Quiz where my question has just got published.</p>
<p style="text-align:justify;">A query that was working fine every time suddenly became slow. There has been no change in the workload; no new development changes have been deployed, and there have been no other configuration changes in the system. Everybody runs to the DBA asking for resolution. If you were the DBA, what will be the first thing you would do and why? List the three most important priorities.</p>
<p style="text-align:justify;">There are various awards for the winner, but here is a small effort from me. Irrespective of the whoever wins the SQL Quiz at the end, I will give a copy of my <em><strong>wait stats</strong></em> print book to one person who has attempted to answer the question I have asked. If you are not sure on how to answer this question, here is a quick hint.</p>
<p style="text-align:justify;">Hint: <strong>SQL Programming Joes 2 Pros (vol 4) [</strong><a href="http://amzn.to/rsC2La" target="_blank"><strong>Amazon</strong></a>] | [<a href="http://bit.ly/pinalbook4" target="_blank"><strong>Flipkart</strong></a>]- Chapter 13 has few interesting hints.</p>
<p style="text-align:justify;"><a href="http://beyondrelational.com/quiz/sqlserver/dba/2011/questions/163/all-was-well-few-moments-before-all-went-wrong-reasons-and-resolutions.aspx" target="_blank">Please participate in the DBA Quiz Here.</a></p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/sql-puzzle/'>SQL Puzzle</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/14372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/14372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/14372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/14372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/14372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/14372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/14372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/14372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/14372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/14372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/14372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/14372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/14372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/14372/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=14372&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/09/12/sql-server-dba-quiz-2011-all-was-well-few-moments-before-all-went-wrong-reasons-and-resolutions/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/disasterwall.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; SafePeak &#8211; The Plug and Play Immediate Acceleration Solution</title>
		<link>http://blog.sqlauthority.com/2011/08/11/sql-server-safepeak-the-plug-and-play-immediate-acceleration-solution/</link>
		<comments>http://blog.sqlauthority.com/2011/08/11/sql-server-safepeak-the-plug-and-play-immediate-acceleration-solution/#comments</comments>
		<pubDate>Thu, 11 Aug 2011 01:31:02 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13860</guid>
		<description><![CDATA[Introduction Given how important performance is these days among SQL Server critical applications, I was excited to look into a new product by SafePeak Technologies (www.SafePeak.com) that aims to immediately resolve, in a plug-and-play way, the performance, scalability and peaks challenges of SQL Server applications on the Cloud, hosting servers and enterprise data centers. While [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13860&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2 style="text-align:justify;"><strong>Introduction</strong></h2>
<p style="text-align:justify;">Given how important performance is these days among SQL Server critical applications, I was excited to look into a new product by <strong><a href="http://www.safepeak.com/download?source=sqlauthority-sidebar" target="_blank">SafePeak</a></strong> Technologies (www.SafePeak.com) that aims to immediately resolve, in a plug-and-play way, the performance, scalability and peaks challenges of SQL Server applications on the Cloud, hosting servers and enterprise data centers.</p>
<div class="wp-caption alignnone" style="width: 510px"><a href="http://www.pinaldave.com/bimg/SafePeak1.jpg"><img src="http://www.pinaldave.com/bimg/SafePeak1.jpg" alt="" width="500" /></a><p class="wp-caption-text">Click to Enlarge</p></div>
<p style="text-align:justify;">While most SQL Server shops ask me about performance monitoring and alert solutions, to allow them to identify and analyze performance bottlenecks, this unique product actually can resolve them and increase performance in dramatic ways.</p>
<p style="text-align:justify;"><strong><a href="http://www.safepeak.com/download?source=sqlauthority-sidebar" target="_blank">SafePeak</a> </strong>is a caching proxy that resides between the application and the database. It is unique in the way it requires neither code changes nor database changes. The only change required is routing the application through SafePeak instead of the database.</p>
<p style="text-align:justify;">The benefits of such a solution are obvious: quick integration, immediate ROI, no complex projects and most importantly, minimal downtime for production systems.</p>
<p style="text-align:justify;">As far as I know, this is the only true plug &amp; play caching solution available on the market today and it can provide instant acceleration to any Cloud, hosted or business SQL Server application.</p>
<h2 style="text-align:justify;">The concept</h2>
<p style="text-align:justify;">The idea behind <strong><a href="http://www.safepeak.com/download?source=sqlauthority-sidebar" target="_blank">SafePeak</a> </strong>is that simple &#8211; repeatable queries should not be executed against the database, the result sets can be stored in RAM and can be returned immediately, in fractions of a millisecond, without the need to validate the syntax, calculate the execution plan, read IO blocks from the disk and perform data aggregation.</p>
<p style="text-align:justify;">On transactional applications there are many such repeatable queries and SafePeak can reduce the overhead of executing them against the database over and over again.</p>
<h2 style="text-align:justify;">How Does SafePeak work?</h2>
<p style="text-align:justify;">SafePeak’s solution to the performance problem is to store the result sets returned by the database in RAM, as is. When a recurring query or SP execution with the same parameters is passed through <strong><a href="http://www.safepeak.com/download?source=sqlauthority-sidebar" target="_blank">SafePeak</a></strong>, it will reply from RAM in a fraction of a millisecond instead of sending the query to the database, thus significantly reducing resources from the database server and the database storage.</p>
<p style="text-align:justify;">In order to achieve this behavior, SafePeak reads and analyzes the TDS protocol (the protocol between the application and the SQL Server), making it transparent to any application working with SQL Server.</p>
<h2 style="text-align:justify;"><strong>Data integrity, reliability and high availability</strong></h2>
<p style="text-align:justify;">The main challenge with database caching is to understand in real time when data is no longer valid and should be evicted from the cache. Data can become obsolete for numerous reasons: DML, DDL, executing complex stored procedures, triggers etc.</p>
<p style="text-align:justify;"><strong><a href="http://www.safepeak.com/download?source=sqlauthority-sidebar" target="_blank">SafePeak</a> </strong>solved this complicated challenge with patent-pending algorithms with three parts: 1) Automatic analysis algorithm of the database schema and creation of a relations graph between all the objects in the database: tables, views, triggers, functions, stored procedures, etc.; 2) A self-adaptive algorithm that studies the application traffic, creates patterns of queries and understands their dependant objects; 3) Real-time analysis of the TDS and the T-SQL queries upon arrival of data modification event, and then flushing or refreshing in real-time the relevant cache items results.</p>
<p style="text-align:justify;">The data on the SQL Server is always up-to-date and the cache items that remain in SafePeak memory are always up to date.</p>
<p style="text-align:justify;">SafePeak’s team made sure to protect the application and database from potential glitches of software and hardware. Basically, in single-mode installation the worst case of any failure the traffic will be sent directly to the database server. In cluster installation, SafePeak second, the passive server takes over (Virtual IP) and becomes the active one.</p>
<h2 style="text-align:justify;">Installation and configuration</h2>
<p style="text-align:justify;"><strong><a href="http://www.safepeak.com/download?source=sqlauthority-sidebar" target="_blank">SafePeak</a> </strong>Installation is quick and simple, and is completed in few minutes. It requires a different server than the database with Windows 2008 64bit or Windows 2008R2 (VMware, Microsoft Hyper-V or any cloud virtual instance/server are supported as well).</p>
<p style="text-align:justify;">Adding a database instance to SafePeak requires mixed authentication on the database but again, it is simple and takes few seconds. From this point SafePeak analyzes the schema and creates the relations graph, a procedure that takes between seconds to an hour and is a one-time operation. Once this is completed, you are good to go.</p>
<p style="text-align:justify;">The application should be pointed (via connection string or etc\hosts file or a change of DNS record) to the SafePeak server instead of the database. If you have Jobs running on SQL Server using the agent then you may need to define an “alias” to the agent that will route all the jobs via SafePeak (but only if want SafePeak to be aware on any updates they may perform).</p>
<p style="text-align:justify;">From this point <strong><a href="http://www.safepeak.com/download?source=sqlauthority-sidebar" target="_blank">SafePeak </a></strong>is in auto-pilot, learns the traffic patterns and does caching of whatever is possible.</p>
<p style="text-align:justify;">There is fine tuning that can be done to improve performance in relation to stored procedures that perform dynamic SQL (inform SafePeak which objects are being accessed) and the same operation is required for CLR and encrypted objects. The application will continue to work without the configuration, but the effectiveness of SafePeak decreases. Basically within one hour the application will be accelerated.</p>
<h2 style="text-align:justify;">User Interface</h2>
<p style="text-align:justify;">The nice, easy browser-based GUI allows both product management and also provides tools for performance bottlenecks identifications and analysis.</p>
<div class="wp-caption alignnone" style="width: 510px"><a href="http://www.pinaldave.com/bimg/SafePeak2.jpg"><img src="http://www.pinaldave.com/bimg/SafePeak2.jpg" alt="" width="500" /></a><p class="wp-caption-text">Click to Enlarge</p></div>
<p style="text-align:justify;">The product provides a structured way to see performance information starting with the instance level all the way through the queries execution.</p>
<p style="text-align:justify;">On each level the product shows the amount read and records the average response time, the cached response time.</p>
<p style="text-align:justify;">Historical information can be viewed using the product reports.</p>
<h2 style="text-align:justify;">Conclusion</h2>
<p style="text-align:justify;">Overall, I am very impressed with <strong><a href="http://www.safepeak.com/download?source=sqlauthority-sidebar" target="_blank">SafePeak</a> </strong>as a novel product. SafePeak is a great acceleration solution for users who want immediate results for sites with performance, scalability and peak spikes challenges.</p>
<p style="text-align:justify;">While there are specific environments that will clearly benefit from SafePeak, such as SQL Servers with high SELECTivity and read-intensive databases, it is designed for OLTP applications. Such environments that seem to get the most out of SafePeak’s acceleration are E-commerce, Cloud and Hosted apps, large SharePoint and CRM Dynamics implementations, ERP &amp; CRM applications.</p>
<p style="text-align:justify;">SafePeak can significantly increase response times, by reducing network roundtrip to the database, decreasing CPU resource usage, eliminating I/O and storage access</p>
<p style="text-align:justify;">It is simple, plug-and-play, and easily integrates into the current architecture. If you have an important SQL Server website or enterprise application whose performance affects company sales and productivity – then it is definitely worth giving SafePeak a try.</p>
<p style="text-align:justify;">However, while SafePeak works well with SQL Server OLTP apps, it does not play well with OLAP databases. You can still use SafePeak, but you will need to specially configure CLR objects with SafePeak.</p>
<p style="text-align:justify;">You can download a free, fully functional trial here: <strong><a href="http://www.SafePeak.com/download">www.SafePeak.com/download</a></strong>.</p>
<p style="text-align:justify;">Reference:<strong></strong> <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
<p>http://www.safepeak.com/download?source=sqlauthority-sidebar</p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-utility/'>SQL Utility</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-news/'>SQLAuthority News</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/13860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/13860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/13860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/13860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/13860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/13860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/13860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/13860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/13860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/13860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/13860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/13860/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/13860/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/13860/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13860&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/08/11/sql-server-safepeak-the-plug-and-play-immediate-acceleration-solution/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/SafePeak1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/SafePeak2.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Query to Find Duplicate Indexes &#8211; Script to Find Redundant Indexes</title>
		<link>http://blog.sqlauthority.com/2011/07/13/sql-server-query-to-find-duplicate-indexes-script-to-find-redundant-indexes/</link>
		<comments>http://blog.sqlauthority.com/2011/07/13/sql-server-query-to-find-duplicate-indexes-script-to-find-redundant-indexes/#comments</comments>
		<pubDate>Wed, 13 Jul 2011 01:30:41 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Index]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13564</guid>
		<description><![CDATA[Download Duplicate Index Script with Unused Index Script and Missing Index Script I was recently delivering session on Performance Tuning subject. I was asking if there is any harm having duplicate indexes. Of course, duplicate indexes are nothing but overhead on the database system. Database system has to maintain two sets of indexes when it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13564&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><strong><a href="http://www.pinaldave.com/best-sql-server-download.cfm?Download=MissingIndex_UnusedIndex" target="_blank">Download Duplicate Index Script with Unused Index Script and Missing Index Script</a></strong></p>
<p style="text-align:justify;">I was recently delivering session on Performance Tuning subject. I was asking if there is any harm having duplicate indexes. Of course, duplicate indexes are nothing but overhead on the database system. Database system has to maintain two sets of indexes when it has to do update, delete, insert on the table which has duplicate indexes. There is also a possibility that indexes are overlapped.</p>
<p style="text-align:justify;">For example,</p>
<p style="text-align:justify;"><strong>Index1</strong> have <em>Col1, Col2, Col3</em> but <strong>Index2</strong> have <em>Col1,Col2,Col3,Col4,Col5. </em>Here Index1 and Index2 are overlapping and there is no need of Index1, which should be removed.</p>
<p style="text-align:justify;">Following is the script which does the same task. You can run the script, get duplicate indexes and overlapping indexes. Carefully review each of them first and test this by deploying on your development server (not on production). If this script has any issue, do write back and I will do necessary modifications.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:gray;">;</span><span style="color:blue;">WITH </span><span style="color:black;">MyDuplicate </span><span style="color:blue;">AS </span><span style="color:gray;">(</span><span style="color:blue;">SELECT<br />
</span><span style="color:black;">Sch.[name] </span><span style="color:blue;">AS </span><span style="color:black;">SchemaName</span><span style="color:gray;">,<br />
</span><span style="color:black;">Obj.[name] </span><span style="color:blue;">AS </span><span style="color:black;">TableName</span><span style="color:gray;">,<br />
</span><span style="color:black;">Idx.[name] </span><span style="color:blue;">AS </span><span style="color:black;">IndexName</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">INDEX_COL</span><span style="color:gray;">(</span><span style="color:black;">Sch.[name] </span><span style="color:gray;">+ </span><span style="color:red;">'.' </span><span style="color:gray;">+ </span><span style="color:black;">Obj.[name]</span><span style="color:gray;">, </span><span style="color:black;">Idx.index_id</span><span style="color:gray;">, </span><span style="color:black;">1</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">Col1</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">INDEX_COL</span><span style="color:gray;">(</span><span style="color:black;">Sch.[name] </span><span style="color:gray;">+ </span><span style="color:red;">'.' </span><span style="color:gray;">+ </span><span style="color:black;">Obj.[name]</span><span style="color:gray;">, </span><span style="color:black;">Idx.index_id</span><span style="color:gray;">, </span><span style="color:black;">2</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">Col2</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">INDEX_COL</span><span style="color:gray;">(</span><span style="color:black;">Sch.[name] </span><span style="color:gray;">+ </span><span style="color:red;">'.' </span><span style="color:gray;">+ </span><span style="color:black;">Obj.[name]</span><span style="color:gray;">, </span><span style="color:black;">Idx.index_id</span><span style="color:gray;">, </span><span style="color:black;">3</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">Col3</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">INDEX_COL</span><span style="color:gray;">(</span><span style="color:black;">Sch.[name] </span><span style="color:gray;">+ </span><span style="color:red;">'.' </span><span style="color:gray;">+ </span><span style="color:black;">Obj.[name]</span><span style="color:gray;">, </span><span style="color:black;">Idx.index_id</span><span style="color:gray;">, </span><span style="color:black;">4</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">Col4</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">INDEX_COL</span><span style="color:gray;">(</span><span style="color:black;">Sch.[name] </span><span style="color:gray;">+ </span><span style="color:red;">'.' </span><span style="color:gray;">+ </span><span style="color:black;">Obj.[name]</span><span style="color:gray;">, </span><span style="color:black;">Idx.index_id</span><span style="color:gray;">, </span><span style="color:black;">5</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">Col5</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">INDEX_COL</span><span style="color:gray;">(</span><span style="color:black;">Sch.[name] </span><span style="color:gray;">+ </span><span style="color:red;">'.' </span><span style="color:gray;">+ </span><span style="color:black;">Obj.[name]</span><span style="color:gray;">, </span><span style="color:black;">Idx.index_id</span><span style="color:gray;">, </span><span style="color:black;">6</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">Col6</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">INDEX_COL</span><span style="color:gray;">(</span><span style="color:black;">Sch.[name] </span><span style="color:gray;">+ </span><span style="color:red;">'.' </span><span style="color:gray;">+ </span><span style="color:black;">Obj.[name]</span><span style="color:gray;">, </span><span style="color:black;">Idx.index_id</span><span style="color:gray;">, </span><span style="color:black;">7</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">Col7</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">INDEX_COL</span><span style="color:gray;">(</span><span style="color:black;">Sch.[name] </span><span style="color:gray;">+ </span><span style="color:red;">'.' </span><span style="color:gray;">+ </span><span style="color:black;">Obj.[name]</span><span style="color:gray;">, </span><span style="color:black;">Idx.index_id</span><span style="color:gray;">, </span><span style="color:black;">8</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">Col8</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">INDEX_COL</span><span style="color:gray;">(</span><span style="color:black;">Sch.[name] </span><span style="color:gray;">+ </span><span style="color:red;">'.' </span><span style="color:gray;">+ </span><span style="color:black;">Obj.[name]</span><span style="color:gray;">, </span><span style="color:black;">Idx.index_id</span><span style="color:gray;">, </span><span style="color:black;">9</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">Col9</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">INDEX_COL</span><span style="color:gray;">(</span><span style="color:black;">Sch.[name] </span><span style="color:gray;">+ </span><span style="color:red;">'.' </span><span style="color:gray;">+ </span><span style="color:black;">Obj.[name]</span><span style="color:gray;">, </span><span style="color:black;">Idx.index_id</span><span style="color:gray;">, </span><span style="color:black;">10</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">Col10</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">INDEX_COL</span><span style="color:gray;">(</span><span style="color:black;">Sch.[name] </span><span style="color:gray;">+ </span><span style="color:red;">'.' </span><span style="color:gray;">+ </span><span style="color:black;">Obj.[name]</span><span style="color:gray;">, </span><span style="color:black;">Idx.index_id</span><span style="color:gray;">, </span><span style="color:black;">11</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">Col11</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">INDEX_COL</span><span style="color:gray;">(</span><span style="color:black;">Sch.[name] </span><span style="color:gray;">+ </span><span style="color:red;">'.' </span><span style="color:gray;">+ </span><span style="color:black;">Obj.[name]</span><span style="color:gray;">, </span><span style="color:black;">Idx.index_id</span><span style="color:gray;">, </span><span style="color:black;">12</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">Col12</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">INDEX_COL</span><span style="color:gray;">(</span><span style="color:black;">Sch.[name] </span><span style="color:gray;">+ </span><span style="color:red;">'.' </span><span style="color:gray;">+ </span><span style="color:black;">Obj.[name]</span><span style="color:gray;">, </span><span style="color:black;">Idx.index_id</span><span style="color:gray;">, </span><span style="color:black;">13</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">Col13</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">INDEX_COL</span><span style="color:gray;">(</span><span style="color:black;">Sch.[name] </span><span style="color:gray;">+ </span><span style="color:red;">'.' </span><span style="color:gray;">+ </span><span style="color:black;">Obj.[name]</span><span style="color:gray;">, </span><span style="color:black;">Idx.index_id</span><span style="color:gray;">, </span><span style="color:black;">14</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">Col14</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">INDEX_COL</span><span style="color:gray;">(</span><span style="color:black;">Sch.[name] </span><span style="color:gray;">+ </span><span style="color:red;">'.' </span><span style="color:gray;">+ </span><span style="color:black;">Obj.[name]</span><span style="color:gray;">, </span><span style="color:black;">Idx.index_id</span><span style="color:gray;">, </span><span style="color:black;">15</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">Col15</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">INDEX_COL</span><span style="color:gray;">(</span><span style="color:black;">Sch.[name] </span><span style="color:gray;">+ </span><span style="color:red;">'.' </span><span style="color:gray;">+ </span><span style="color:black;">Obj.[name]</span><span style="color:gray;">, </span><span style="color:black;">Idx.index_id</span><span style="color:gray;">, </span><span style="color:black;">16</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">Col16<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">sys.indexes Idx<br />
</span><span style="color:blue;">INNER JOIN </span><span style="color:black;">sys.objects Obj </span><span style="color:blue;">ON </span><span style="color:black;">Idx.[object_id] </span><span style="color:blue;">= </span><span style="color:black;">Obj.[object_id]<br />
</span><span style="color:blue;">INNER JOIN </span><span style="color:black;">sys.schemas Sch </span><span style="color:blue;">ON </span><span style="color:black;">Sch.[schema_id] </span><span style="color:blue;">= </span><span style="color:black;">Obj.[schema_id]<br />
</span><span style="color:blue;">WHERE </span><span style="color:black;">index_id </span><span style="color:gray;">&gt; </span><span style="color:black;">0</span><span style="color:gray;">)<br />
</span><span style="color:blue;">SELECT    </span><span style="color:black;">MD1.SchemaName</span><span style="color:gray;">, </span><span style="color:black;">MD1.TableName</span><span style="color:gray;">, </span><span style="color:black;">MD1.IndexName</span><span style="color:gray;">,<br />
</span><span style="color:black;">MD2.IndexName </span><span style="color:blue;">AS </span><span style="color:black;">OverLappingIndex</span><span style="color:gray;">,<br />
</span><span style="color:black;">MD1.Col1</span><span style="color:gray;">, </span><span style="color:black;">MD1.Col2</span><span style="color:gray;">, </span><span style="color:black;">MD1.Col3</span><span style="color:gray;">, </span><span style="color:black;">MD1.Col4</span><span style="color:gray;">,<br />
</span><span style="color:black;">MD1.Col5</span><span style="color:gray;">, </span><span style="color:black;">MD1.Col6</span><span style="color:gray;">, </span><span style="color:black;">MD1.Col7</span><span style="color:gray;">, </span><span style="color:black;">MD1.Col8</span><span style="color:gray;">,<br />
</span><span style="color:black;">MD1.Col9</span><span style="color:gray;">, </span><span style="color:black;">MD1.Col10</span><span style="color:gray;">, </span><span style="color:black;">MD1.Col11</span><span style="color:gray;">, </span><span style="color:black;">MD1.Col12</span><span style="color:gray;">,<br />
</span><span style="color:black;">MD1.Col13</span><span style="color:gray;">, </span><span style="color:black;">MD1.Col14</span><span style="color:gray;">, </span><span style="color:black;">MD1.Col15</span><span style="color:gray;">, </span><span style="color:black;">MD1.Col16<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">MyDuplicate MD1<br />
</span><span style="color:blue;">INNER JOIN </span><span style="color:black;">MyDuplicate MD2 </span><span style="color:blue;">ON </span><span style="color:black;">MD1.tablename </span><span style="color:blue;">= </span><span style="color:black;">MD2.tablename<br />
</span><span style="color:gray;">AND </span><span style="color:black;">MD1.indexname </span><span style="color:gray;">&lt;&gt; </span><span style="color:black;">MD2.indexname<br />
</span><span style="color:gray;">AND </span><span style="color:black;">MD1.Col1 </span><span style="color:blue;">= </span><span style="color:black;">MD2.Col1<br />
</span><span style="color:gray;">AND (</span><span style="color:black;">MD1.Col2 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD2.Col2 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD1.Col2 </span><span style="color:blue;">= </span><span style="color:black;">MD2.Col2</span><span style="color:gray;">)<br />
AND (</span><span style="color:black;">MD1.Col3 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD2.Col3 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD1.Col3 </span><span style="color:blue;">= </span><span style="color:black;">MD2.Col3</span><span style="color:gray;">)<br />
AND (</span><span style="color:black;">MD1.Col4 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD2.Col4 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD1.Col4 </span><span style="color:blue;">= </span><span style="color:black;">MD2.Col4</span><span style="color:gray;">)<br />
AND (</span><span style="color:black;">MD1.Col5 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD2.Col5 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD1.Col5 </span><span style="color:blue;">= </span><span style="color:black;">MD2.Col5</span><span style="color:gray;">)<br />
AND (</span><span style="color:black;">MD1.Col6 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD2.Col6 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD1.Col6 </span><span style="color:blue;">= </span><span style="color:black;">MD2.Col6</span><span style="color:gray;">)<br />
AND (</span><span style="color:black;">MD1.Col7 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD2.Col7 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD1.Col7 </span><span style="color:blue;">= </span><span style="color:black;">MD2.Col7</span><span style="color:gray;">)<br />
AND (</span><span style="color:black;">MD1.Col8 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD2.Col8 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD1.Col8 </span><span style="color:blue;">= </span><span style="color:black;">MD2.Col8</span><span style="color:gray;">)<br />
AND (</span><span style="color:black;">MD1.Col9 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD2.Col9 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD1.Col9 </span><span style="color:blue;">= </span><span style="color:black;">MD2.Col9</span><span style="color:gray;">)<br />
AND (</span><span style="color:black;">MD1.Col10 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD2.Col10 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD1.Col10 </span><span style="color:blue;">= </span><span style="color:black;">MD2.Col10</span><span style="color:gray;">)<br />
AND (</span><span style="color:black;">MD1.Col11 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD2.Col11 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD1.Col11 </span><span style="color:blue;">= </span><span style="color:black;">MD2.Col11</span><span style="color:gray;">)<br />
AND (</span><span style="color:black;">MD1.Col12 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD2.Col12 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD1.Col12 </span><span style="color:blue;">= </span><span style="color:black;">MD2.Col12</span><span style="color:gray;">)<br />
AND (</span><span style="color:black;">MD1.Col13 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD2.Col13 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD1.Col13 </span><span style="color:blue;">= </span><span style="color:black;">MD2.Col13</span><span style="color:gray;">)<br />
AND (</span><span style="color:black;">MD1.Col14 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD2.Col14 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD1.Col14 </span><span style="color:blue;">= </span><span style="color:black;">MD2.Col14</span><span style="color:gray;">)<br />
AND (</span><span style="color:black;">MD1.Col15 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD2.Col15 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD1.Col15 </span><span style="color:blue;">= </span><span style="color:black;">MD2.Col15</span><span style="color:gray;">)<br />
AND (</span><span style="color:black;">MD1.Col16 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD2.Col16 </span><span style="color:blue;">IS </span><span style="color:gray;">NULL OR </span><span style="color:black;">MD1.Col16 </span><span style="color:blue;">= </span><span style="color:black;">MD2.Col16</span><span style="color:gray;">)<br />
</span><span style="color:blue;">ORDER BY </span><span style="color:black;">MD1.SchemaName</span><span style="color:gray;">,</span><span style="color:black;">MD1.TableName</span><span style="color:gray;">,</span><span style="color:black;">MD1.IndexName<br />
</span></code></p>
<p style="text-align:justify;">Related Posts:</p>
<p style="text-align:justify;"><strong></strong><strong><a href="http://blog.sqlauthority.com/2011/01/03/sql-server-2008-missing-index-script-download/">SQL SERVER – 2008 – Missing Index Script – Download</a></strong></p>
<p style="text-align:justify;"><strong></strong><strong></strong><strong><a href="http://blog.sqlauthority.com/2011/01/04/sql-server-2008-unused-index-script-download/">SQL SERVER – 2008 – Unused Index Script – Download</a></strong></p>
<p style="text-align:justify;">Update: Additionally, please read the <a href="http://blog.sqlauthority.com/2011/07/13/sql-server-query-to-find-duplicate-indexes-script-to-find-redundant-indexes/#comment-147850" target="_blank">comment </a>left by <a href="http://sqlskills.com" target="_blank">Paul Randal</a>, why there is more modifications required to this query.</p>
<p style="text-align:justify;">This is version one query. Please provide all your suggestions and based on the same, I will have final query posted on blog.<br />
<strong></strong></p>
<p style="text-align:justify;">Reference:<strong> Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-index/'>SQL Index</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/tech/sql-scripts/'>SQL Scripts</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/13564/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/13564/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/13564/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/13564/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/13564/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/13564/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/13564/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/13564/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/13564/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/13564/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/13564/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/13564/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/13564/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/13564/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13564&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/07/13/sql-server-query-to-find-duplicate-indexes-script-to-find-redundant-indexes/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; Three Puzzling Questions &#8211; Need Your Answer</title>
		<link>http://blog.sqlauthority.com/2011/06/07/sql-server-three-puzzling-questions-need-your-answer/</link>
		<comments>http://blog.sqlauthority.com/2011/06/07/sql-server-three-puzzling-questions-need-your-answer/#comments</comments>
		<pubDate>Tue, 07 Jun 2011 01:30:22 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[Readers Contribution]]></category>
		<category><![CDATA[Readers Question]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Puzzle]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13155</guid>
		<description><![CDATA[Last week I had asked three questions on my blog. I got very good response to the questions. I am planning to write summary post for each of three questions next week. Before I write summary post and give credit to all the valid answers. I was wondering if I can bring to notice of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13155&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Last week I had asked three questions on my blog. I got very good response to the questions. I am planning to write summary post for each of three questions next week. Before I write summary post and give credit to all the valid answers. I was wondering if I can bring to notice of all of you this week.</p>
<p style="text-align:justify;"><strong><a href="http://blog.sqlauthority.com/2011/05/30/sql-server-puzzle-select-vs-select-count/" target="_blank">Why SELECT * throws an error but SELECT COUNT(*) does not</a></strong></p>
<p style="text-align:justify;">This is indeed very interesting question as not quite many realize that this kind of behavior SQL Server demonstrates out of the box. Once you run both the code and read the explanation it totally makes sense why SQL Server is behaving how it is behaving. Also there is connect item is associated with it. Also read the very first comment by <strong><a href="http://blog.sqlauthority.com/2011/05/30/sql-server-puzzle-select-vs-select-count/#comment-137449" target="_blank">Rob Farley</a></strong> it also shares very interesting detail.</p>
<p style="text-align:justify;"><strong><a title="Permanent Link to SQL SERVER – Puzzle – Statistics are not Updated but are Created Once" href="http://blog.sqlauthority.com/2011/06/02/sql-server-puzzle-statistics-are-not-updated-but-are-created-once/" rel="bookmark">Statistics are not Updated but are Created Once</a></strong></p>
<p style="text-align:justify;">This puzzle has multiple right answer. I am glad to see many of the correct answer as a comment to this blog post. Statistics are very important and it really helps SQL Server Engine to come up with optimal execution plan. DBA quite often ignore statistics thinking it does not need to be updated, as they are automatically maintained if proper database setting is configured (auto update and auto create). Well, in this question, we have scenario even though auto create and auto update statistics are ON, statistics is not updated. There are multiple solutions but what will be your solution in this case?<strong></strong></p>
<p style="text-align:justify;"><strong><a title="Permanent Link to SQL SERVER – Question to You – When to use Function and When to use Stored Procedure" href="http://blog.sqlauthority.com/2011/06/04/sql-server-question-to-you-when-to-use-function-and-when-to-use-stored-procedure/" rel="bookmark">When to use Function and When to use Stored Procedure</a></strong></p>
<p style="text-align:justify;">This question is rather open ended question &#8211; there is no right or wrong answer. Everybody developer has always used functions and stored procedures.<strong></strong> Here is the chance to justify when to use Stored Procedure and when to use Functions. I want to acknowledge that they can be used interchangeably but there are few reasons when one should not do that. There are few reasons when one is better than other. Let us discuss this here. Your opinion matters.</p>
<p style="text-align:justify;">Reference:<strong> Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/readers-contribution/'>Readers Contribution</a>, <a href='http://blog.sqlauthority.com/category/readers-question/'>Readers Question</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/sql-puzzle/'>SQL Puzzle</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/tech/sql-scripts/'>SQL Scripts</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-news/'>SQLAuthority News</a>, <a href='http://blog.sqlauthority.com/category/sqlserver/'>SQLServer</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/13155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/13155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/13155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/13155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/13155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/13155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/13155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/13155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/13155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/13155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/13155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/13155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/13155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/13155/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13155&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/06/07/sql-server-three-puzzling-questions-need-your-answer/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; BI Quiz &#8211; Troubleshooting Cube Performance</title>
		<link>http://blog.sqlauthority.com/2011/06/06/sql-server-bi-quiz-troubleshooting-cube-performance/</link>
		<comments>http://blog.sqlauthority.com/2011/06/06/sql-server-bi-quiz-troubleshooting-cube-performance/#comments</comments>
		<pubDate>Mon, 06 Jun 2011 01:30:22 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[Readers Question]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Puzzle]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13124</guid>
		<description><![CDATA[My friend Jacob Sebastian runs SQL BI Quiz competition. Where there are 30 different questions on each day of the month. Winners get opportunity to participate in this Quiz, learn something new and win great awards. Working with huge data is very common when it is about Data Warehousing. It is necessary to create Cubes [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13124&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">My friend <a href="http://beyondrelational.com/blogs/jacob/" target="_blank">Jacob Sebastian</a> runs SQL BI Quiz competition. Where there are 30 different questions on each day of the month. Winners get opportunity to participate in this Quiz, learn something new and win great awards.</p>
<div style="text-align:justify;">
<p>Working with huge data is very common when it is about Data Warehousing. It is necessary to create Cubes on the data to make it meaningful and consumable. There are cases when retrieving the data from cube takes lots of the time.</p>
<p>Let us assume that your cube is returning you data very quickly. Suddenly on one day it is returning the data very slowly. What are the three things will you in order to diagnose this. After diagnose what you will do to resolve performance issue.</p>
<p><strong><a href="http://beyondrelational.com/quiz/sqlserver/bi/2011/questions/130/troubleshooting-cube-performance.aspx" target="_blank">Participate in my question over here</a></strong></p>
</div>
<p style="text-align:justify;">Reference:<strong> Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/business-intelligence/'>Business Intelligence</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/readers-question/'>Readers Question</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/sql-puzzle/'>SQL Puzzle</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/13124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/13124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/13124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/13124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/13124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/13124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/13124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/13124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/13124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/13124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/13124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/13124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/13124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/13124/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13124&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/06/06/sql-server-bi-quiz-troubleshooting-cube-performance/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; Puzzle &#8211; Statistics are not Updated but are Created Once</title>
		<link>http://blog.sqlauthority.com/2011/06/02/sql-server-puzzle-statistics-are-not-updated-but-are-created-once/</link>
		<comments>http://blog.sqlauthority.com/2011/06/02/sql-server-puzzle-statistics-are-not-updated-but-are-created-once/#comments</comments>
		<pubDate>Thu, 02 Jun 2011 01:30:52 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Index]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[SQL Statistics]]></category>
		<category><![CDATA[Statistics]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=13068</guid>
		<description><![CDATA[After having excellent response to my quiz &#8211; Why SELECT * throws an error but SELECT COUNT(*) does not?I have decided to ask another puzzling question to all of you. I am running this test on SQL Server 2008 R2. Here is the quick scenario about my setup. Create Table Insert 1000 Records Check the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13068&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">After having excellent response to my quiz &#8211; <strong><a href="http://blog.sqlauthority.com/2011/05/30/sql-server-puzzle-select-vs-select-count/" target="_blank">Why SELECT * throws an error but SELECT COUNT(*) does not?</a></strong>I have decided to ask another puzzling question to all of you.</p>
<p style="text-align:justify;">I am running this test on SQL Server 2008 R2. Here is the quick scenario about my setup.</p>
<ul style="text-align:justify;">
<li>Create Table</li>
<li>Insert 1000 Records</li>
<li>Check the Statistics</li>
<li>Now insert 10 times more 10,000 indexes</li>
<li>Check the Statistics &#8211; it will be <strong>NOT</strong> updated</li>
</ul>
<p><strong>Note: Auto Update Statistics and Auto Create Statistics for database is TRUE</strong></p>
<p style="text-align:justify;">Expected Result &#8211; Statistics should be updated &#8211; <strong></strong><strong><a href="http://blog.sqlauthority.com/2010/04/21/sql-server-when-are-statistics-updated-what-triggers-statistics-to-update/">SQL SERVER – When are Statistics Updated – What triggers Statistics to Update</a></strong></p>
<p style="text-align:justify;">Now the question is why the statistics are not updated?</p>
<p style="text-align:justify;">The common answer is &#8211; we can update the statistics ourselves using</p>
<pre>UPDATE STATISTICS TableName WITH FULLSCAN, ALL</pre>
<p style="text-align:justify;">However, the solution I am looking is where statistics should be updated automatically based on algorithm mentioned <strong><a href="http://blog.sqlauthority.com/2010/04/21/sql-server-when-are-statistics-updated-what-triggers-statistics-to-update/" target="_blank">here</a></strong>.</p>
<p style="text-align:justify;">Now the solution is to ____________________.</p>
<p style="text-align:justify;"><a href="http://blogs.extremeexperts.com/" target="_blank">Vinod Kumar</a> is not allowed to take participate over here as he is the one who has helped me to build this puzzle.</p>
<p style="text-align:justify;">I will publish the solution on next week. Please leave a comment and if your comment consist valid answer, I will publish with due credit.</p>
<p style="text-align:justify;">Here is the script to reproduce the scenario which I mentioned.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:green;">-- Execution Plans Difference<br />
-- Create Sample Database<br />
</span><span style="color:blue;">CREATE DATABASE </span><span style="color:black;">SampleDB<br />
GO<br />
</span><span style="color:blue;">USE </span><span style="color:black;">SampleDB<br />
GO<br />
</span><span style="color:green;">-- Create Table<br />
</span><span style="color:blue;">CREATE TABLE </span><span style="color:black;">ExecTable </span><span style="color:gray;">(</span><span style="color:black;">ID </span><span style="color:blue;">INT</span><span style="color:gray;">,<br />
</span><span style="color:black;">FirstName </span><span style="color:blue;">VARCHAR</span><span style="color:gray;">(</span><span style="color:black;">100</span><span style="color:gray;">),<br />
</span><span style="color:black;">LastName </span><span style="color:blue;">VARCHAR</span><span style="color:gray;">(</span><span style="color:black;">100</span><span style="color:gray;">),<br />
</span><span style="color:black;">City </span><span style="color:blue;">VARCHAR</span><span style="color:gray;">(</span><span style="color:black;">100</span><span style="color:gray;">))<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">-- Insert One Thousand Records<br />
-- INSERT 1<br />
</span><span style="color:blue;">INSERT INTO </span><span style="color:black;">ExecTable </span><span style="color:gray;">(</span><span style="color:black;">ID</span><span style="color:gray;">,</span><span style="color:black;">FirstName</span><span style="color:gray;">,</span><span style="color:black;">LastName</span><span style="color:gray;">,</span><span style="color:black;">City</span><span style="color:gray;">)<br />
</span><span style="color:blue;">SELECT TOP </span><span style="color:black;">1000 ROW_NUMBER</span><span style="color:gray;">() </span><span style="color:blue;">OVER </span><span style="color:gray;">(</span><span style="color:blue;">ORDER BY </span><span style="color:black;">a.name</span><span style="color:gray;">) </span><span style="color:black;">RowID</span><span style="color:gray;">,<br />
</span><span style="color:red;">'Bob'</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">CASE </span><span style="color:blue;">WHEN  </span><span style="color:black;">ROW_NUMBER</span><span style="color:gray;">() </span><span style="color:blue;">OVER </span><span style="color:gray;">(</span><span style="color:blue;">ORDER BY </span><span style="color:black;">a.name</span><span style="color:gray;">)%</span><span style="color:black;">2 </span><span style="color:blue;">= </span><span style="color:black;">1 </span><span style="color:blue;">THEN </span><span style="color:red;">'Smith'<br />
</span><span style="color:blue;">ELSE </span><span style="color:red;">'Brown' </span><span style="color:blue;">END</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">CASE </span><span style="color:blue;">WHEN </span><span style="color:black;">ROW_NUMBER</span><span style="color:gray;">() </span><span style="color:blue;">OVER </span><span style="color:gray;">(</span><span style="color:blue;">ORDER BY </span><span style="color:black;">a.name</span><span style="color:gray;">)%</span><span style="color:black;">20 </span><span style="color:blue;">= </span><span style="color:black;">1 </span><span style="color:blue;">THEN </span><span style="color:red;">'New York'<br />
</span><span style="color:blue;">WHEN  </span><span style="color:black;">ROW_NUMBER</span><span style="color:gray;">() </span><span style="color:blue;">OVER </span><span style="color:gray;">(</span><span style="color:blue;">ORDER BY </span><span style="color:black;">a.name</span><span style="color:gray;">)%</span><span style="color:black;">20 </span><span style="color:blue;">= </span><span style="color:black;">5 </span><span style="color:blue;">THEN </span><span style="color:red;">'San Marino'<br />
</span><span style="color:blue;">WHEN  </span><span style="color:black;">ROW_NUMBER</span><span style="color:gray;">() </span><span style="color:blue;">OVER </span><span style="color:gray;">(</span><span style="color:blue;">ORDER BY </span><span style="color:black;">a.name</span><span style="color:gray;">)%</span><span style="color:black;">20 </span><span style="color:blue;">= </span><span style="color:black;">3 </span><span style="color:blue;">THEN </span><span style="color:red;">'Los Angeles'<br />
</span><span style="color:blue;">WHEN  </span><span style="color:black;">ROW_NUMBER</span><span style="color:gray;">() </span><span style="color:blue;">OVER </span><span style="color:gray;">(</span><span style="color:blue;">ORDER BY </span><span style="color:black;">a.name</span><span style="color:gray;">)%</span><span style="color:black;">20 </span><span style="color:blue;">= </span><span style="color:black;">7 </span><span style="color:blue;">THEN </span><span style="color:red;">'La Cinega'<br />
</span><span style="color:blue;">WHEN  </span><span style="color:black;">ROW_NUMBER</span><span style="color:gray;">() </span><span style="color:blue;">OVER </span><span style="color:gray;">(</span><span style="color:blue;">ORDER BY </span><span style="color:black;">a.name</span><span style="color:gray;">)%</span><span style="color:black;">20 </span><span style="color:blue;">= </span><span style="color:black;">13 </span><span style="color:blue;">THEN </span><span style="color:red;">'San Diego'<br />
</span><span style="color:blue;">WHEN  </span><span style="color:black;">ROW_NUMBER</span><span style="color:gray;">() </span><span style="color:blue;">OVER </span><span style="color:gray;">(</span><span style="color:blue;">ORDER BY </span><span style="color:black;">a.name</span><span style="color:gray;">)%</span><span style="color:black;">20 </span><span style="color:blue;">= </span><span style="color:black;">17 </span><span style="color:blue;">THEN </span><span style="color:red;">'Las Vegas'<br />
</span><span style="color:blue;">ELSE </span><span style="color:red;">'Houston' </span><span style="color:blue;">END<br />
FROM </span><span style="color:black;">sys.all_objects a<br />
</span><span style="color:gray;">CROSS </span><span style="color:blue;">JOIN </span><span style="color:black;">sys.all_objects b<br />
GO<br />
</span><span style="color:green;">-- Display statistics of the table - none listed<br />
</span><span style="color:darkred;">sp_helpstats </span><span style="color:red;">N'ExecTable'</span><span style="color:gray;">, </span><span style="color:red;">'ALL'<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">-- Select Statement<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">FirstName</span><span style="color:gray;">, </span><span style="color:black;">LastName</span><span style="color:gray;">, </span><span style="color:black;">City<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">ExecTable<br />
</span><span style="color:blue;">WHERE </span><span style="color:black;">City  </span><span style="color:blue;">= </span><span style="color:red;">'New York'<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">-- Display statistics of the table<br />
</span><span style="color:darkred;">sp_helpstats </span><span style="color:red;">N'ExecTable'</span><span style="color:gray;">, </span><span style="color:red;">'ALL'<br />
</span><span style="color:black;">GO<br />
<img class="alignnone" src="http://www.pinaldave.com/bimg/statsrows1.JPG" alt="" width="500" height="69" /><br />
</span><span style="color:green;">-- Replace your Statistics over here<br />
-- NOTE: Replace your _WA_Sys with stats from above query<br />
</span><span style="color:blue;">DBCC </span><span style="color:black;">SHOW_STATISTICS</span><span style="color:gray;">(</span><span style="color:red;">'ExecTable'</span><span style="color:gray;">, </span><span style="color:black;">_WA_Sys_00000004_7D78A4E7</span><span style="color:gray;">);<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">--------------------------------------------------------------<br />
-- Round 2<br />
-- Insert Ten Thousand Records<br />
-- INSERT 2<br />
</span><span style="color:blue;">INSERT INTO </span><span style="color:black;">ExecTable </span><span style="color:gray;">(</span><span style="color:black;">ID</span><span style="color:gray;">,</span><span style="color:black;">FirstName</span><span style="color:gray;">,</span><span style="color:black;">LastName</span><span style="color:gray;">,</span><span style="color:black;">City</span><span style="color:gray;">)<br />
</span><span style="color:blue;">SELECT TOP </span><span style="color:black;">10000 ROW_NUMBER</span><span style="color:gray;">() </span><span style="color:blue;">OVER </span><span style="color:gray;">(</span><span style="color:blue;">ORDER BY </span><span style="color:black;">a.name</span><span style="color:gray;">) </span><span style="color:black;">RowID</span><span style="color:gray;">,<br />
</span><span style="color:red;">'Bob'</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">CASE </span><span style="color:blue;">WHEN  </span><span style="color:black;">ROW_NUMBER</span><span style="color:gray;">() </span><span style="color:blue;">OVER </span><span style="color:gray;">(</span><span style="color:blue;">ORDER BY </span><span style="color:black;">a.name</span><span style="color:gray;">)%</span><span style="color:black;">2 </span><span style="color:blue;">= </span><span style="color:black;">1 </span><span style="color:blue;">THEN </span><span style="color:red;">'Smith'<br />
</span><span style="color:blue;">ELSE </span><span style="color:red;">'Brown' </span><span style="color:blue;">END</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">CASE </span><span style="color:blue;">WHEN </span><span style="color:black;">ROW_NUMBER</span><span style="color:gray;">() </span><span style="color:blue;">OVER </span><span style="color:gray;">(</span><span style="color:blue;">ORDER BY </span><span style="color:black;">a.name</span><span style="color:gray;">)%</span><span style="color:black;">20 </span><span style="color:blue;">= </span><span style="color:black;">1 </span><span style="color:blue;">THEN </span><span style="color:red;">'New York'<br />
</span><span style="color:blue;">WHEN  </span><span style="color:black;">ROW_NUMBER</span><span style="color:gray;">() </span><span style="color:blue;">OVER </span><span style="color:gray;">(</span><span style="color:blue;">ORDER BY </span><span style="color:black;">a.name</span><span style="color:gray;">)%</span><span style="color:black;">20 </span><span style="color:blue;">= </span><span style="color:black;">5 </span><span style="color:blue;">THEN </span><span style="color:red;">'San Marino'<br />
</span><span style="color:blue;">WHEN  </span><span style="color:black;">ROW_NUMBER</span><span style="color:gray;">() </span><span style="color:blue;">OVER </span><span style="color:gray;">(</span><span style="color:blue;">ORDER BY </span><span style="color:black;">a.name</span><span style="color:gray;">)%</span><span style="color:black;">20 </span><span style="color:blue;">= </span><span style="color:black;">3 </span><span style="color:blue;">THEN </span><span style="color:red;">'Los Angeles'<br />
</span><span style="color:blue;">WHEN  </span><span style="color:black;">ROW_NUMBER</span><span style="color:gray;">() </span><span style="color:blue;">OVER </span><span style="color:gray;">(</span><span style="color:blue;">ORDER BY </span><span style="color:black;">a.name</span><span style="color:gray;">)%</span><span style="color:black;">20 </span><span style="color:blue;">= </span><span style="color:black;">7 </span><span style="color:blue;">THEN </span><span style="color:red;">'La Cinega'<br />
</span><span style="color:blue;">WHEN  </span><span style="color:black;">ROW_NUMBER</span><span style="color:gray;">() </span><span style="color:blue;">OVER </span><span style="color:gray;">(</span><span style="color:blue;">ORDER BY </span><span style="color:black;">a.name</span><span style="color:gray;">)%</span><span style="color:black;">20 </span><span style="color:blue;">= </span><span style="color:black;">13 </span><span style="color:blue;">THEN </span><span style="color:red;">'San Diego'<br />
</span><span style="color:blue;">WHEN  </span><span style="color:black;">ROW_NUMBER</span><span style="color:gray;">() </span><span style="color:blue;">OVER </span><span style="color:gray;">(</span><span style="color:blue;">ORDER BY </span><span style="color:black;">a.name</span><span style="color:gray;">)%</span><span style="color:black;">20 </span><span style="color:blue;">= </span><span style="color:black;">17 </span><span style="color:blue;">THEN </span><span style="color:red;">'Las Vegas'<br />
</span><span style="color:blue;">ELSE </span><span style="color:red;">'Houston' </span><span style="color:blue;">END<br />
FROM </span><span style="color:black;">sys.all_objects a<br />
</span><span style="color:gray;">CROSS </span><span style="color:blue;">JOIN </span><span style="color:black;">sys.all_objects b<br />
GO<br />
</span><span style="color:green;">-- Select Statement<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">FirstName</span><span style="color:gray;">, </span><span style="color:black;">LastName</span><span style="color:gray;">, </span><span style="color:black;">City<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">ExecTable<br />
</span><span style="color:blue;">WHERE </span><span style="color:black;">City  </span><span style="color:blue;">= </span><span style="color:red;">'New York'<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">-- Display statistics of the table<br />
</span><span style="color:darkred;">sp_helpstats </span><span style="color:red;">N'ExecTable'</span><span style="color:gray;">, </span><span style="color:red;">'ALL'<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">-- Replace your Statistics over here<br />
-- NOTE: Replace your _WA_Sys with stats from above query<br />
</span><span style="color:blue;">DBCC </span><span style="color:black;">SHOW_STATISTICS</span><span style="color:gray;">(</span><span style="color:red;">'ExecTable'</span><span style="color:gray;">, </span><span style="color:black;">_WA_Sys_00000004_7D78A4E7</span><span style="color:gray;">);<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">-- You will notice that Statistics are still updated with 1000 rows<img class="alignnone" src="http://www.pinaldave.com/bimg/statsrows.JPG" alt="" width="496" height="46" /><br />
-- Clean up Database<br />
</span><span style="color:blue;">DROP TABLE </span><span style="color:black;">ExecTable<br />
GO<br />
</span><span style="color:blue;">USE MASTER<br />
</span><span style="color:black;">GO<br />
</span><span style="color:blue;">ALTER DATABASE </span><span style="color:black;">SampleDB<br />
</span><span style="color:blue;">SET </span><span style="color:black;">SINGLE_USER </span><span style="color:blue;">WITH ROLLBACK IMMEDIATE</span><span style="color:gray;">;<br />
</span><span style="color:black;">GO<br />
</span><span style="color:blue;">DROP DATABASE </span><span style="color:black;">SampleDB<br />
GO</span><span style="color:green;"><br style="color:black;" /></span></code></p>
<p style="text-align:justify;">Reference:<strong> Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-index/'>SQL Index</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a> Tagged: <a href='http://blog.sqlauthority.com/tag/sql-statistics/'>SQL Statistics</a>, <a href='http://blog.sqlauthority.com/tag/statistics/'>Statistics</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/13068/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/13068/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/13068/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/13068/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/13068/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/13068/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/13068/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/13068/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/13068/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/13068/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/13068/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/13068/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/13068/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/13068/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=13068&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/06/02/sql-server-puzzle-statistics-are-not-updated-but-are-created-once/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/statsrows1.JPG" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/statsrows.JPG" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Cartoon Challenge &#8211; 140 Character Winner is Here</title>
		<link>http://blog.sqlauthority.com/2011/05/04/sql-server-cartoon-challenge-140-character-winner-is-here/</link>
		<comments>http://blog.sqlauthority.com/2011/05/04/sql-server-cartoon-challenge-140-character-winner-is-here/#comments</comments>
		<pubDate>Wed, 04 May 2011 01:30:46 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[MVP]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Puzzle]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=12795</guid>
		<description><![CDATA[Earlier Idera has announced contest where participant can win Windows Mobile Phone by writing 140 character. Here is the details of the contest SQLAuthority News – Win Windows Phone from Idera in 140 Characters – A Cartoon Challenge of SQL. We received more than 200 comments on the blog post and more than 250 qualifying [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12795&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Earlier <strong><a href="http://www.idera.com/?s=BN_SQLAuth" target="_blank">Idera </a></strong>has announced contest where participant can win Windows Mobile Phone by writing 140 character. Here is the details of the contest <strong><a href="http://blog.sqlauthority.com/2011/04/05/sqlauthority-news-win-windows-phone-from-idera-in-140-characters-a-cartoon-challenge-of-sql/" target="_blank">SQLAuthority News – Win Windows Phone from Idera in 140 Characters – A Cartoon Challenge of SQL</a></strong>. We received more than 200 comments on the blog post and more than 250 qualifying entries. It was not possible to pick winner out of all those entries. I reached out to good folks at <strong><a href="http://www.idera.com/?s=BN_SQLAuth" target="_blank">Idera</a></strong> for helping me select the winner.</p>
<p style="text-align:justify;">After going back and forward and with lots of revision we come up with winning entry. Idera has also selected five more winner who will get surprise gift from Idera.</p>
<p style="text-align:justify;">Here is the winning entry who will win Windows Phone 7 (limit USD 500).</p>
<p style="text-align:justify;"><strong><a href="http://blog.sqlauthority.com/2011/04/05/sqlauthority-news-win-windows-phone-from-idera-in-140-characters-a-cartoon-challenge-of-sql/#comment-126731" target="_blank">MarlonFRC</a></strong><br />
<strong>WHAT? I told you, change your RDBMS to SQL Server 2008 and you can use Idera Tools for tunning.</strong></p>
<p style="text-align:justify;">Here are runners-up entries. Idera will send them surprise gift.<strong><br />
</strong></p>
<p style="text-align:justify;"><strong><a href="http://blog.sqlauthority.com/2011/04/05/sqlauthority-news-win-windows-phone-from-idera-in-140-characters-a-cartoon-challenge-of-sql/#comment-127055" target="_blank">Jose</a></strong><br />
SELECT TOP 1 Name<br />
FROM tools<br />
WHERE Vendor = ‘Idera’<br />
AND Type = ‘Performance’<br />
ORDER BY Rating DESC</p>
<p style="text-align:justify;"><strong><a href="http://blog.sqlauthority.com/2011/04/05/sqlauthority-news-win-windows-phone-from-idera-in-140-characters-a-cartoon-challenge-of-sql/#comment-128315" target="_blank">Wendell</a></strong><br />
Holy shish kabob Pinal, better purchase Idera and sign up for SQL Smarts Enewsletter!</p>
<p style="text-align:justify;"><strong><a href="http://blog.sqlauthority.com/2011/04/05/sqlauthority-news-win-windows-phone-from-idera-in-140-characters-a-cartoon-challenge-of-sql/#comment-128358" target="_blank">Srinivas</a></strong><br />
Why fear when SQL Doctor from Idera is here? With SQL Doctor, we point, click, and cure. Problem solved!</p>
<p style="text-align:justify;"><strong><a href="http://blog.sqlauthority.com/2011/04/05/sqlauthority-news-win-windows-phone-from-idera-in-140-characters-a-cartoon-challenge-of-sql/#comment-130193" target="_blank">Harlan</a></strong><br />
Even House isn’t doctor enough for this,… we need Idera’s SQL doctor. STAT!</p>
<p style="text-align:justify;"><strong><a href="http://blog.sqlauthority.com/2011/04/05/sqlauthority-news-win-windows-phone-from-idera-in-140-characters-a-cartoon-challenge-of-sql/#comment-128341" target="_blank">Rob Rohr</a></strong><br />
My social life is running slowly, but at least there are tools to solve your problem.</p>
<p style="text-align:justify;">Thank you all for participating in the cartoon challenge. We will have more such a quiz soon.</p>
<p style="text-align:justify;">Before I end I would like to specially mention the entry of <strong><a href="http://www.johnsansom.com/" target="_blank">John Sansom</a></strong>. He does not qualify for winning entry or even runners-up as his entry was of 160 character, however, his entry is my personal favorite.</p>
<p style="text-align:justify;"><em>“Got no idea? You need Idera! We’ve got just the right tools for all you SQL fools.Performance tuning, monitoring, backups or development.We’ve got you covered.”</em></p>
<p style="text-align:justify;">Reference:<strong> Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong><code><br />
</code></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/about-me/'>About Me</a>, <a href='http://blog.sqlauthority.com/category/database/'>Database</a>, <a href='http://blog.sqlauthority.com/category/mvp/'>MVP</a>, <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/sql-puzzle/'>SQL Puzzle</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/12795/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/12795/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/12795/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/12795/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/12795/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/12795/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/12795/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/12795/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/12795/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/12795/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/12795/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/12795/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/12795/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/12795/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12795&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/05/04/sql-server-cartoon-challenge-140-character-winner-is-here/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; TempDB in RAM for Performance</title>
		<link>http://blog.sqlauthority.com/2011/04/10/sql-server-tempdb-in-ram-for-performance/</link>
		<comments>http://blog.sqlauthority.com/2011/04/10/sql-server-tempdb-in-ram-for-performance/#comments</comments>
		<pubDate>Sun, 10 Apr 2011 01:30:54 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Optimization]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[TempDB]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=12538</guid>
		<description><![CDATA[Performance Tuning is always the most interesting subject when we talk about software application. While I was recently discussing performance tuning with my friend, we started to talk about the best practices for TempDb. I also pointed my friend to the excellent blog post written by Cindy Gross on the subject: Compilation of SQL Server [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12538&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Performance Tuning is always the most interesting subject when we talk about software application. While I was recently discussing performance tuning with my friend, we started to talk about the best practices for TempDb. I also pointed my friend to the excellent blog post written by <strong>Cindy Gross </strong>on the subject: <a href="http://blogs.msdn.com/b/cindygross/archive/2009/11/20/compilation-of-sql-server-tempdb-io-best-practices.aspx" target="_blank">Compilation of SQL Server TempDB IO Best Practices</a>. One of the discussion points was that we should put TempDB on the drive which is always giving better performance.</p>
<p style="text-align:justify;">But my friend suddenly asked, <em>“what if we can put TempDB on RAM, as RAM is the fasted drive?”</em></p>
<p style="text-align:justify;">Good question! This was supported in earlier versions of the SQL Server (I think in 6.5). In later version of the SQL Server, the whole algorithm was written more efficiently and it is not that much of an absolute requirement. However, I still prefer putting TempDB on the drive which has lesser IO pressure.</p>
<p style="text-align:justify;">Afterwards, he introduced to me a tool which can create drive from RAM. Well, that was an interesting thought. But then again, I will not go for this solution as it is not natively provided with SQL Server. For me, SQL Server Engine knows the right thing to do and how to maximize the usage of the RAM. Taking away RAM from OS and from other applications may not be a good idea. There are more optimization tricks that exist for TempDB than going for this option.</p>
<p style="text-align:justify;">I would like to ask my readers who among you use this method in the production environment. What is your experience?</p>
<p style="text-align:justify;">Reference:<strong> Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-optimization/'>SQL Optimization</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a> Tagged: <a href='http://blog.sqlauthority.com/tag/tempdb/'>TempDB</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/12538/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/12538/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/12538/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/12538/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/12538/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/12538/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/12538/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/12538/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/12538/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/12538/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/12538/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/12538/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/12538/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/12538/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12538&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/04/10/sql-server-tempdb-in-ram-for-performance/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQLAuthority News &#8211; Win Surprise Gift at TechED 2011 Sessions &#8211; Wait Types and Extended Events</title>
		<link>http://blog.sqlauthority.com/2011/03/25/sqlauthority-news-win-surprise-gift-at-teched-2011-sessions-wait-types-and-extended-events/</link>
		<comments>http://blog.sqlauthority.com/2011/03/25/sqlauthority-news-win-surprise-gift-at-teched-2011-sessions-wait-types-and-extended-events/#comments</comments>
		<pubDate>Fri, 25 Mar 2011 01:30:48 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Optimization]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Wait Stats]]></category>
		<category><![CDATA[SQL Wait Types]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=12312</guid>
		<description><![CDATA[A quick note for all &#8211; If you are attending my TechEd sessions today here are few notes for you. Session Time Sessions Date: March 25, 2011 Understanding SQL Server Behavioral Pattern – SQL Server Extended Events Date and Time: March 25, 2011 12:00 PM to 01:00 PM SQL Server Waits and Queues – Your [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12312&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">A quick note for all &#8211; If you are attending my TechEd sessions today here are few notes for you.</p>
<h2 style="text-align:justify;">Session Time</h2>
<p style="text-align:justify;"><strong>Sessions Date: March 25, 2011</strong></p>
<p style="text-align:justify;">Understanding SQL Server Behavioral Pattern – SQL Server Extended Events<br />
Date and Time: <strong>March 25, 2011 12:00 PM to 01:00 PM</strong></p>
<p style="text-align:justify;">SQL Server Waits and Queues – Your Gateway to Perf. Troubleshooting<br />
Date and Time: <strong>March 25, 2011 04:15 PM to 05:15 PM</strong></p>
<h2 style="text-align:justify;">Surprise Gifts</h2>
<p style="text-align:justify;">If you are attending the session &#8211; rest assure &#8211; few of you are going to get very interesting surprise gift. A good quality one! To win &#8211; you just have to walk in the sessions.</p>
<h2 style="text-align:justify;">Who Should Attend?</h2>
<p style="text-align:justify;">YOU! This session is for everybody who wants to learn something new in the area. It does not matter you work with SQL or not. If you are using application with database as back-end. This session is for you.</p>
<p style="text-align:justify;">Reference:<strong> Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-optimization/'>SQL Optimization</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-wait-stats/'>SQL Wait Stats</a>, <a href='http://blog.sqlauthority.com/category/sql-wait-types/'>SQL Wait Types</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-news/'>SQLAuthority News</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/12312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/12312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/12312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/12312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/12312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/12312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/12312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/12312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/12312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/12312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/12312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/12312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/12312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/12312/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12312&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/03/25/sqlauthority-news-win-surprise-gift-at-teched-2011-sessions-wait-types-and-extended-events/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; Tomorrow 2 Sessions on Performance Tuning at TechEd India 2011 &#8211; March 25, 2011</title>
		<link>http://blog.sqlauthority.com/2011/03/24/sql-server-tomorrow-2-sessions-on-performance-tuning-at-teched-india-2011-march-25-2011/</link>
		<comments>http://blog.sqlauthority.com/2011/03/24/sql-server-tomorrow-2-sessions-on-performance-tuning-at-teched-india-2011-march-25-2011/#comments</comments>
		<pubDate>Thu, 24 Mar 2011 01:30:39 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[PostADay]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Optimization]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Wait Stats]]></category>
		<category><![CDATA[SQL Wait Types]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[SQL Extended Events]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=12279</guid>
		<description><![CDATA[Tomorrow is the third day of the TechED India 2011 at Bangalore. I will be speaking on two very interesting sessions. If you are developer, database administrator or just want to learn something new and interesting, I suggest you attend my two sessions tomorrow. Here is the details of the session. Sessions Date: March 25, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12279&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Tomorrow is the third day of the TechED India 2011 at Bangalore. I will be speaking on two very interesting sessions. If you are developer, database administrator or just want to learn something new and interesting, I suggest you attend my two sessions tomorrow. Here is the details of the session.</p>
<p style="text-align:justify;"><strong>Sessions Date: March 25, 2011</strong></p>
<p style="text-align:justify;">Here is the abstract of the session:</p>
<p style="text-align:justify;"><strong>Understanding SQL Server Behavioral Pattern – SQL Server Extended Events</strong><br />
<strong> Date and Time: March 25, 2011 12:00 PM to 01:00 PM</strong></p>
<p style="text-align:justify;">History repeats itself! SQL Server 2008 has introduced a very powerful,   yet very minimal reoccurring feature called Extended Events. This   advanced session will teach experienced administrators’ capabilities   that were not possible before. From T-SQL error to CPU bottleneck, error   login to deadlocks –Extended Event can detect it for you.  Understanding  the pattern of events can prevent future mistakes.</p>
<p style="text-align:justify;"><strong>SQL Server Waits and Queues – Your Gateway to Perf. Troubleshooting</strong><br />
<strong> Date and Time: March 25, 2011 04:15 PM to 05:15 PM</strong></p>
<p style="text-align:justify;">Just  like a horoscope, SQL Server Waits and Queues can reveal your  past,  explain your present and predict your future. SQL Server  Performance  Tuning uses the Waits and Queues as a proven method to  identify the best  opportunities to improve performance. A glance at  Wait Types can tell  where there is a bottleneck. Learn how to identify  bottlenecks and  potential resolutions in this fast paced, advanced  performance tuning  session.</p>
<p style="text-align:justify;">Here is <strong><a href="http://blog.sqlauthority.com/2011/03/17/sql-server-tell-me-what-you-want-to-listen-my-2-teched-2011-sessions/" target="_blank">the video</a></strong> which my wife shot while I was preparing for the sessions.</p>
<p style="text-align:justify;">Reference:<strong> Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
<br />Filed under: <a href='http://blog.sqlauthority.com/category/tech/pinal-dave/'>Pinal Dave</a>, <a href='http://blog.sqlauthority.com/category/technology/postaday/'>PostADay</a>, <a href='http://blog.sqlauthority.com/category/technology/sql/'>SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-authority/'>SQL Authority</a>, <a href='http://blog.sqlauthority.com/category/sql-optimization/'>SQL Optimization</a>, <a href='http://blog.sqlauthority.com/category/sql-performance/'>SQL Performance</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-query/'>SQL Query</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-server/'>SQL Server</a>, <a href='http://blog.sqlauthority.com/category/technology/sql-tips-and-tricks/'>SQL Tips and Tricks</a>, <a href='http://blog.sqlauthority.com/category/sql-wait-stats/'>SQL Wait Stats</a>, <a href='http://blog.sqlauthority.com/category/sql-wait-types/'>SQL Wait Types</a>, <a href='http://blog.sqlauthority.com/category/sqlauthority/sqlauthority-news/'>SQLAuthority News</a>, <a href='http://blog.sqlauthority.com/category/sqlserver/'>SQLServer</a>, <a href='http://blog.sqlauthority.com/category/technology/t-sql/'>T SQL</a>, <a href='http://blog.sqlauthority.com/category/technology/'>Technology</a> Tagged: <a href='http://blog.sqlauthority.com/tag/sql-extended-events/'>SQL Extended Events</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/12279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/12279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/12279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/12279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sqlauthority.wordpress.com/12279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sqlauthority.wordpress.com/12279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sqlauthority.wordpress.com/12279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sqlauthority.wordpress.com/12279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/12279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/12279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/12279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/12279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/12279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/12279/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&amp;blog=668536&amp;post=12279&amp;subd=sqlauthority&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2011/03/24/sql-server-tomorrow-2-sessions-on-performance-tuning-at-teched-india-2011-march-25-2011/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
	</channel>
</rss>
