<?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/"
	>

<channel>
	<title>Gojko Adzic &#187; sqlserver</title>
	<atom:link href="http://gojko.net/tag/sqlserver/feed/" rel="self" type="application/rss+xml" />
	<link>http://gojko.net</link>
	<description>Building software that matters</description>
	<lastBuildDate>Wed, 04 Aug 2010 11:38:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Compression and performance tricks for SQL Server 2008</title>
		<link>http://gojko.net/2009/03/28/compression-and-performance-tricks-for-sql-server-2008/</link>
		<comments>http://gojko.net/2009/03/28/compression-and-performance-tricks-for-sql-server-2008/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 13:45:45 +0000</pubDate>
		<dc:creator>gojko</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[sqlbits]]></category>
		<category><![CDATA[sqlserver]]></category>

		<guid isPermaLink="false">http://gojko.net/?p=826</guid>
		<description><![CDATA[At the SQLBits Goes Forth conference in Manchester today, Ramesh Meyyappan demonstrated impacts of some new SQL Server 2008 features on query performance. One topic he tackled in particular is compression, offering advice when to apply it and when not to apply it. Meyyappan used three tables with the same set of data, containing several [...]]]></description>
			<content:encoded><![CDATA[<p>At the <a href="http://sqlbits.com">SQLBits Goes Forth</a> conference in Manchester today, <a href="http://sqlbits.com/Agenda/event4/Performance_Optimization_with_SQL_Server_2008/default.aspx">Ramesh Meyyappan</a> demonstrated impacts of some new SQL Server 2008 features on query performance. One topic he tackled in particular is compression, offering advice when to apply it and when not to apply it. <span id="more-826"></span></p>
<p>Meyyappan used three tables with the same set of data, containing several hundreds of thousands of rows. One table was uncompressed, taking 450MB on the disk. The second was row-compressed, having about 350 MB on the disk. The third was page compressed, taking 250 MB on the disk. (Meyyappan pointed out that these ratios are not global and that the compression rate depends on the data itself). He executed the same query on each table, effectively demonstrating that when data is processed from the disk there is a significant performance increase moving from uncompressed to row compressed to page compressed tables (because of less IO). However, that should not be taken as a signal to just compress the whole database. Using the option to compress the whole database, in his opinion, is bad as that needs to be considered for each table individually. Running the queries again, with the data now in the page cache, the results were actually inverse: the uncompressed table performed significantly better than row compressed which in turn did better than page compressed (because compressed pages are kept compressed in memory, so reading from page cache still requires decompression). Meyyappan advised compressing tables that will mostly be processed using data on the disk and be IO-bound. Frequently used tables, with pages which will be in the cache, should not be compressed.</p>
<p>Another interesting example he demonstrated was running a query on a large table which has text fields. He used char(2000) and varchar(2000) as data types for two tests and compared the execution, leading to the conclusion that varchar types cause more IO so queries run slower. As an interesting trick how to reduce CPU load and still have good storage usage, he advised using row compression and the char type, effectively getting optimised storage and fast query processing.</p>
]]></content:encoded>
			<wfw:commentRss>http://gojko.net/2009/03/28/compression-and-performance-tricks-for-sql-server-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SqlServer Central article on DbFit</title>
		<link>http://gojko.net/2008/11/13/sqlserver-central-article-on-dbfit/</link>
		<comments>http://gojko.net/2008/11/13/sqlserver-central-article-on-dbfit/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 12:01:32 +0000</pubDate>
		<dc:creator>gojko</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[dbfit]]></category>
		<category><![CDATA[sqlserver]]></category>

		<guid isPermaLink="false">http://gojko.net/?p=482</guid>
		<description><![CDATA[Solomon Rutzky wrote a nice article on DbFit for SQLServer Central. The article focuses on the use of DbFit for database unit testing for SQL Server. Read the full article SQLServer Central.]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" href="http://www.sqlservercentral.com/Authors/Articles/Solomon_Rutzky/294002/">Solomon Rutzky</a> wrote a nice article on <a href="http://gojko.net/fitnesse/dbfit">DbFit</a> for SQLServer Central. The article focuses on the use of DbFit for database unit testing for SQL Server.</p>
<p>Read the full article <a target="_blank" href="http://www.sqlservercentral.com/articles/Testing/64636/">SQLServer Central</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://gojko.net/2008/11/13/sqlserver-central-article-on-dbfit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Initial support for SqlServer 2000 in DbFit</title>
		<link>http://gojko.net/2008/01/07/initial-support-for-sqlserver-2000-in-dbfit/</link>
		<comments>http://gojko.net/2008/01/07/initial-support-for-sqlserver-2000-in-dbfit/#comments</comments>
		<pubDate>Mon, 07 Jan 2008 22:18:43 +0000</pubDate>
		<dc:creator>gojko</dc:creator>
				<category><![CDATA[dbfit]]></category>
		<category><![CDATA[sqlserver]]></category>

		<guid isPermaLink="false">http://gojko.net/2008/01/07/initial-support-for-sqlserver-2000-in-dbfit/</guid>
		<description><![CDATA[Great news &#8211; SQLServer 2000 is now supported in DbFit. The only limitation, compared to Sql Server 2005, is that tables and procedures must be fully qualified (defined as schema.name), if there is an object of the same name in the current user&#8217;s schema and in dbo. The next official release will include sql server [...]]]></description>
			<content:encoded><![CDATA[<p>Great news &#8211; SQLServer 2000 is now supported in DbFit. The only limitation, compared to Sql Server 2005, is that tables and procedures must be fully qualified (defined as schema.name), if there is an object of the same name in the current user&#8217;s schema and in dbo. The next official release will include sql server support &#8212; until then, you can download the binaries from Sourceforge: <a href="http://dbfit.svn.sourceforge.net/svnroot/dbfit/dbfit/dist/dbfit-dotnet-20080107.zip">dbfit-dotnet-20080107.zip</a></p>
<p>the complete package, with acceptance tests, can also be downloaded from here: <a href="http://dbfit.svn.sourceforge.net/svnroot/dbfit/dbfit/dist/dbfit-complete-20080107.zip">dbfit-complete-20080107.zip</a></p>
<p>For sqlserver 2000, use dbfit.SqlServer2000Test instead of dbfit.SqlServerTest.</p>
<p>Many thanks to Oscar Centeno for his help on implementing and testing support for Sql Server</p>
]]></content:encoded>
			<wfw:commentRss>http://gojko.net/2008/01/07/initial-support-for-sqlserver-2000-in-dbfit/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
