<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.digineer.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Lara's Blog</title><subtitle type="html">Microsoft SQL Server</subtitle><id>http://blogs.digineer.com/blogs/larar/atom.aspx</id><link rel="alternate" type="text/html" href="http://blogs.digineer.com/blogs/larar/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.digineer.com/blogs/larar/atom.aspx" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2006-06-14T20:28:00Z</updated><entry><title>Moving Day... </title><link rel="alternate" type="text/html" href="http://blogs.digineer.com/blogs/larar/archive/2007/08/15/moving-day.aspx" /><id>http://blogs.digineer.com/blogs/larar/archive/2007/08/15/moving-day.aspx</id><published>2007-08-16T02:34:00Z</published><updated>2007-08-16T02:34:00Z</updated><content type="html">&lt;P&gt;Thanks all for reading my intermittent missives on SQL Server.&amp;nbsp; I am in the process of wrapping up wtih Digineer, which means wrapping up this blog.&amp;nbsp; I will continue to blog with &lt;A href="http://www.sqlblog.com/"&gt;www.sqlblog.com&lt;/A&gt;, where I have been cross-posting for the past month.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.digineer.com/aggbug.aspx?PostID=908" width="1" height="1"&gt;</content><author><name>lrubbelke</name><uri>http://blogs.digineer.com/members/lrubbelke.aspx</uri></author></entry><entry><title>Smart Index Defragmentation for an ONLINE World</title><link rel="alternate" type="text/html" href="http://blogs.digineer.com/blogs/larar/archive/2007/07/30/smart-index-defragmentation-for-an-online-world.aspx" /><link rel="enclosure" type="application/x-zip-compressed" length="4684" href="http://blogs.digineer.com/blogs/larar/attachment/900.ashx" /><id>http://blogs.digineer.com/blogs/larar/archive/2007/07/30/smart-index-defragmentation-for-an-online-world.aspx</id><published>2007-07-30T13:48:00Z</published><updated>2007-07-30T13:48:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;One of the many reasons I why I love consulting is the constant evolution and challenge.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;You may have something that works “just fine” until a new customer simple states “This is great.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Can you make it do XYZ too?”&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;I love those “could you just” statements, because they challenge the status quo and help you create some really meaningful solutions.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;Recently I have been engaged with a customer who was migrating from SQL Server 7.0 to SQL Server 2005 Enterprise Edition for a high profile web application requiring high availability.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;They have large tables, and will be embracing partitioning in the near future.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;At this time, they cannot sustain the downtime necessary to address index fragmentation, and wanted to defragment their indexes ONLINE (Enterprise Edition feature which significantly reduces downtime when rebuilding indexes).&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;In the past, I had developed a centralized &lt;A class="" href="http://blogs.digineer.com/blogs/larar/archive/2006/08/16/smart-index-defrag-reindex-for-a-consolidated-sql-server-2005-environment.aspx" target=_blank&gt;“smart reindex” procedure&lt;/A&gt; but this did not account for ONLINE index processing.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Available for download on this blog is an update to this procedure which will accommodate addressing index fragmentation online and/or offline.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;This is a single procedure which should be stored centrally.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;It can be executed against any user database in an instance.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;I will also include the SQL Server 2005 Standard Edition procedure which will not offer an option to execute using ONLINE.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;I will not go into a full discussion of how SQL Server rebuilds an index ONLINE, as this is discussed in Books Online.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;I will discuss some of the nuances and caveats of building indexes ONLINE that directly relate to the attached procedure.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;First, an index cannot be built ONLINE if it contains LOB data (image, text, ntext, varchar(max), nvarchar(max), varbinary(max), and xml).&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;For a clustered index, you cannot rebuild the clustered index ONLINE if any columns exist in the table with these data types.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;For a non-clustered index, you cannot rebuild the index ONLINE if the index contains any columns with these data types.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;Second, a single partition of an index with multiple partitions cannot be rebuilt ONLINE.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;You can REORGANIZE a single index partition (which is by nature ONLINE), but you cannot REBUILD a single index partition ONLINE.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;You can rebuild an entire index (all partitions) ONLINE.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;These important rules are handled in the attached procedure with the following logic:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;The user specifies @online= ‘ON’ and @fullprocess = ‘ON’&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt 0.5in;"&gt;&lt;FONT face=Calibri size=3&gt;An index partition from an index with multiple partitions will be processed with REORGANIZE&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt 0.5in;"&gt;&lt;FONT face=Calibri size=3&gt;An index partition from an index with a single partition will be processed with REBUILD WITH(ONLINE=ON) if the index does not contain columns which of a data type not supported by ONLINE index processing.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt 0.5in;"&gt;&lt;FONT face=Calibri size=3&gt;An index partition from an index with a single partition which contains a column with a data type not supported by ONLINE index processing will be processed with REORGANIZE or REBUILD (OFFLINE) depending on the level of fragmentation.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;The user specifies @online= ‘ON’ and @fullprocess = ‘OFF’&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt 0.5in;"&gt;&lt;FONT face=Calibri size=3&gt;An index partition from an index with multiple partitions will be processed with REORGANIZE.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt 0.5in;"&gt;&lt;FONT face=Calibri size=3&gt;An index partition from an index with a single partition will be processed with REBUILD WITH(ONLINE=ON) if the index does not contain columns which of a data type not supported by ONLINE index processing.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt 0.5in;"&gt;&lt;FONT face=Calibri size=3&gt;An index partition from an index which contains a column with a data type not supported by ONLINE index processing will not be processed.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;The user specifies @online= ‘OFF’ and @fullprocess = ‘ON’&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt 0.5in;"&gt;&lt;FONT face=Calibri size=3&gt;All indexes are processed with REORGANIZE or REBUILD (OFFLINE) depending on the level of fragmentation.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;The user specifies @online= ‘OFF’ and @fullprocess = ‘OFF’&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt 0.5in;"&gt;&lt;FONT face=Calibri size=3&gt;No indexes are processed.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;This procedure will not support the capability to process an index with multiple partitions ONLINE.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Remember, if an index has multiple partitions you can REORGANIZE each partition or you can REBUILD ONLINE the entire index (all partitions).&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;This process assumes that REORGANIZE is acceptable for index partitions meeting these criteria.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Since this is inherently ONLINE, it may be acceptable.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;The logic can be altered to ignore these indexes, if this is not acceptable.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Since REORGANIZE may not be as complete as REBUILD, or may require more time to eliminate fragmentation, the user should know that they can specify @online= ‘OFF’ and @fullprocess = ‘ON’ during an acceptable maintenance window to address the fragmentation.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.digineer.com/aggbug.aspx?PostID=900" width="1" height="1"&gt;</content><author><name>lrubbelke</name><uri>http://blogs.digineer.com/members/lrubbelke.aspx</uri></author><category term="Maintenance" scheme="http://blogs.digineer.com/blogs/larar/archive/tags/Maintenance/default.aspx" /></entry><entry><title>Memory Pressure on 64 Bit SQL Server 2005 </title><link rel="alternate" type="text/html" href="http://blogs.digineer.com/blogs/larar/archive/2007/07/15/memory-pressure-on-sql-server-2005-64-bit.aspx" /><id>http://blogs.digineer.com/blogs/larar/archive/2007/07/15/memory-pressure-on-sql-server-2005-64-bit.aspx</id><published>2007-07-16T03:07:00Z</published><updated>2007-07-16T03:07:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Do you remember the days when you first started learning about 64 bit capabilities and dreaming of the day when you were no longer confined by the barriers of the 32 bit virtual address space?&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Those ideas produced dreams of a truly capable scale up solution.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Yes, 64 bit has been a blessing for many of our SQL Server databases.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;But as is often the case, there are some drawbacks.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Such is the case for some 64 bit SQL Server 2005 database applications.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;In the 32 bit OS, you have a total of 4 GB of virtual address space, with 2-3 GB of virtual address space available for the applications (depending on how you configured your boot.ini file).&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;The 32 bit version of SQL Server is very busy managing the procedure cache, user cache, log cache, extended stored procedures, binaries and buffer (data) cache within the limited confines of the 2-3 GB virtual address space.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;When you enable AWE on 32 bit SQL Server, you are extending the buffer (data) cache, and not able to address the available memory for any of these other items – including the procedure cache.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;SQL Server must still &lt;I style="mso-bidi-font-style:normal;"&gt;manage&lt;/I&gt; the procedure cache within the constraints of the 2-3 GB of available virtual address space.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Now let’s consider 64 bit.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;These confines are history – and we can now enjoy the capabilities of a very large user cache, very large log cache, and as many are discovering a very large procedure cache.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;As was the case with one customer this week, the procedure cache was using over half the available RAM for the instance.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;B style="mso-bidi-font-weight:normal;"&gt;Note:&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;This happens in specific scenarios.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;I am not saying that 64 bit is bad, only that in some scenarios it is important to understand where you need to adjust your management of a database.&lt;/B&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Consider an application which executes a large number of ad hoc statements and dynamic SQL.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;When a statement is executed, SQL Server searches the procedure cache to see if a plan exists for the statement.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;If one does not exist, SQL Server will save an execution plan in the procedure cache.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;This can quickly lead to a large procedure cache.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;These statements may never be used again, but SQL Server cannot differentiate between a recently executed ad hoc statement that may be reused and one that will not ever be reused.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;If the plan is considered expensive – or one which requires a lot of work to generate – SQL Server will not age this plan out very quickly.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Since the 64 bit world has the luxury of larger volumes of RAM in which to manage the procedure cache, SQL Server may prefer to keep these large expensive plans in cache.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;Why is this a problem?&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;For starters, when SQL Server is under memory pressure it may instead flush pages from our valuable buffer (data) cache instead of flushing what it determines to be expensive plans in the procedure cache.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;A larger procedure cache may also impact the time for SQL Server to search the procedure cache to determine if a plan exists.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;When the procedure cache is full of meaningful and reusable plans, perhaps this is time well spent.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;When your procedure cache is full of plans which will never be reused, it is a waste of resources and a waste of time.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;Currently, there are a few options to manage the problem if you are not able to fix the code.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Of course, fixing the code is the best option.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Reduce or eliminate dynamically built statements in application code.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Reduce or eliminate ad hoc statements.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;When this is not an option:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;B style="mso-bidi-font-weight:normal;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;On regular intervals execute DBCC FREEPROCCACHE.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;This will flush the procedure cache.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;This is the best option when you have exhausted all other options.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Flushing the procedure cache may cause your database application to slow down as SQL Server compiles and stores execution plans for procedures and statements.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;B style="mso-bidi-font-weight:normal;"&gt;Use Forced Parameterization on the databases which are causing this issue.&lt;/B&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;Forced parameterization will replace any constants in an eligible statement with a variable when the query is compiled.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;This is particularly suited when your application builds the same statement with differing constants.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Consider the following statements:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;SELECT * FROM Production.Product WHERE MakeFlag = 1 AND ListPrice &amp;gt; 0&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;SELECT * FROM Production.Product WHERE MakeFlag = 0 AND ListPrice &amp;gt; 1&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;A single parameterized statement is stored in the procedure cache:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;(@0 int,@1 int)select * from Production . Product where MakeFlag = @0 and ListPrice &amp;gt; @1&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;In one customer situation, the procedure cache contained tens of thousands of large duplicate statements with differing constants in the where clause.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Forced parameterization significantly reduced the number of statements stored in the procedure cache.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;This option is best suited when there are a large number of statements that are regularly executed with varying constants in the WHERE clause.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;There are tradeoffs with this method, and I would strongly recommend reviewing the requirements and risks in BOL.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;B style="mso-bidi-font-weight:normal;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Use a Plan Guide to Force Parameterization at the Statement Level&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;This is the ideal option when you know that there are only a few statements which are causing the procedure cache to grow.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;This will be the least intrusive way to force parameterization.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;This option will allow you to still maintain a procedure cache and enjoy execution plan reuse.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;This may not be a reasonable solution when you have hundreds of statements, as you will need to build a plan guide for each statement.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.digineer.com/aggbug.aspx?PostID=889" width="1" height="1"&gt;</content><author><name>lrubbelke</name><uri>http://blogs.digineer.com/members/lrubbelke.aspx</uri></author><category term="SQL Server Memory " scheme="http://blogs.digineer.com/blogs/larar/archive/tags/SQL+Server+Memory+/default.aspx" /></entry><entry><title>New MVP!</title><link rel="alternate" type="text/html" href="http://blogs.digineer.com/blogs/larar/archive/2007/07/02/new-mvp.aspx" /><id>http://blogs.digineer.com/blogs/larar/archive/2007/07/02/new-mvp.aspx</id><published>2007-07-02T13:26:00Z</published><updated>2007-07-02T13:26:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;SPAN style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:'Arial','sans-serif';"&gt;Wow!&amp;nbsp; I received a great email from Microsoft yesterday with a subject "Congratulations!&amp;nbsp; You have received the Microsoft MVP Award".&amp;nbsp;Exciting, humbling, inspiring, and motivating. Wow – did I say that already?&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;img src="http://blogs.digineer.com/emoticons/emotion-1.gif" alt="Smile" /&gt;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;SPAN style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:'Arial','sans-serif';"&gt;The SQL Server MVPs are part of an extraordinary community which has promoted SQL Server education for all of us.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;The next year looks to be another great year for SQL Server, and I look forward to being part of this incredible community and continuting to improve all of our SQL Server knowledge.&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;SPAN style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:'Arial','sans-serif';"&gt;Wow!&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.digineer.com/aggbug.aspx?PostID=875" width="1" height="1"&gt;</content><author><name>lrubbelke</name><uri>http://blogs.digineer.com/members/lrubbelke.aspx</uri></author></entry><entry><title>After Tech Ed... Whew!  What a week!</title><link rel="alternate" type="text/html" href="http://blogs.digineer.com/blogs/larar/archive/2007/06/10/after-tech-ed-whew-what-a-week.aspx" /><id>http://blogs.digineer.com/blogs/larar/archive/2007/06/10/after-tech-ed-whew-what-a-week.aspx</id><published>2007-06-10T13:50:00Z</published><updated>2007-06-10T13:50:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Back from Orlando, exhausted and excited!&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;I arrived last night, and slept for 11 hours straight!&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;It was an incredible week with a lot of product news (more on that below), insightful discussions, and a lot of catching up with friends from afar (and friends from home&lt;/FONT&gt;&lt;SPAN style="FONT-FAMILY:Wingdings;mso-ascii-font-family:Calibri;mso-ascii-theme-font:minor-latin;mso-hansi-font-family:Calibri;mso-hansi-theme-font:minor-latin;mso-char-type:symbol;mso-symbol-font-family:Wingdings;"&gt;&lt;SPAN style="mso-char-type:symbol;mso-symbol-font-family:Wingdings;"&gt;J&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri&gt;).&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Of course, there was also an occasional roller coaster&lt;/FONT&gt;&lt;SPAN style="FONT-FAMILY:Wingdings;mso-ascii-font-family:Calibri;mso-ascii-theme-font:minor-latin;mso-hansi-font-family:Calibri;mso-hansi-theme-font:minor-latin;mso-char-type:symbol;mso-symbol-font-family:Wingdings;"&gt;&lt;SPAN style="mso-char-type:symbol;mso-symbol-font-family:Wingdings;"&gt;J&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;In fact, the Dueling Dragons ride at Universal Studios actually made me scream!&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;As you probably heard, the next release of SQL Server has officially been named SQL Server 2008 and the first CTP is available for download.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;In fact, you can read about the next release on &lt;A class="" href="https://connect.microsoft.com/SQLServer/content/content.aspx?ContentID=5395" target=_blank&gt;Microsoft’s website&lt;/A&gt;&lt;/FONT&gt;&lt;FONT face=Calibri size=3&gt;.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;You can download webcasts, information briefs, and the latest CTP from this site.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Do note:&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;To download the CTP you must &lt;A class="" href="https://connect.microsoft.com/programdetails.aspx?ProgramDetailsID=1384" target=_blank&gt;register&lt;/A&gt;&lt;/FONT&gt;&lt;FONT face=Calibri size=3&gt;. &lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;It is easy to do, and only takes a minute.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;If you don’t register you will receive an error when you try to download the CTP.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;This next release promises some great enhancements for the developer, the DBA and it is a boon for business intelligence.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;I will be detailing some of these new features and changes in the next few weeks.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;A &lt;A class="" href="http://www.microsoft.com/sql/techinfo/whitepapers/sql2008Overview.mspx" target=_blank&gt;Product Overview&lt;/A&gt; document is available which provides a nice level of information.&lt;/FONT&gt;&lt;FONT face=Calibri size=3&gt; &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;As for me... Now that Tech Ed is over, I am off to install the latest CTP to look over some of the new capabilities.&amp;nbsp; More to come soon!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.digineer.com/aggbug.aspx?PostID=863" width="1" height="1"&gt;</content><author><name>lrubbelke</name><uri>http://blogs.digineer.com/members/lrubbelke.aspx</uri></author><category term="SQL Server 2008" scheme="http://blogs.digineer.com/blogs/larar/archive/tags/SQL+Server+2008/default.aspx" /></entry><entry><title>In Anticipation of Tech-Ed 2007</title><link rel="alternate" type="text/html" href="http://blogs.digineer.com/blogs/larar/archive/2007/06/01/in-anticipation-of-tech-ed-2007.aspx" /><id>http://blogs.digineer.com/blogs/larar/archive/2007/06/01/in-anticipation-of-tech-ed-2007.aspx</id><published>2007-06-01T19:02:00Z</published><updated>2007-06-01T19:02:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Well, I am making my final adjustments to demos and slides as I prepare to leave for Orlando.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Tech-Ed begins Monday, and it promises to be another big year!&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;If you will be at Tech-Ed this year, be sure to stop over to say hi.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;I will be at the Ask The Experts area on Wednesday and Thursday (and probably spend time there throughout the rest of the week as well).&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;My presentations are scheduled as follows:&lt;/FONT&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;STRONG&gt;DAT311 - High Performance Data Encryption with Microsoft SQL Server 2005&lt;/STRONG&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;Thursday - 6/7/2007 &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;4:30PM-5:45PM&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;N310 E&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;&lt;STRONG&gt;DAT205&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;- Choosing the Right Edition of Microsoft SQL Server 2005&lt;/STRONG&gt; &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT face=Calibri size=3&gt;Friday - &lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/SPAN&gt;6/8/2007 &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;9:00AM-10:15AM&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;S310 E&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;I am personally looking forward to a number of sessions, particularly those detailing Katmai, partitioning (with Kalen Delaney), advanced index strategies (with Kim Tripp), &lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/SPAN&gt;and varying BI presentations.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; I am also hoping to reconnect with friends and colleagues - and looking forward to the party at Universal Studios on Thursday where I will be on every roller coaster possible.&amp;nbsp; I'll try to blog a bit over the week to talk about all of the great stuff happening in Orlando.&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 10pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="mso-spacerun:yes;"&gt;It looks like it will be scorching hot, so be sure to bring your swimsuit if you are attending this year!&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.digineer.com/aggbug.aspx?PostID=858" width="1" height="1"&gt;</content><author><name>lrubbelke</name><uri>http://blogs.digineer.com/members/lrubbelke.aspx</uri></author></entry><entry><title>A couple of new resources</title><link rel="alternate" type="text/html" href="http://blogs.digineer.com/blogs/larar/archive/2007/03/04/a-couple-of-new-resources.aspx" /><id>http://blogs.digineer.com/blogs/larar/archive/2007/03/04/a-couple-of-new-resources.aspx</id><published>2007-03-04T23:12:00Z</published><updated>2007-03-04T23:12:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face="Times New Roman" size=3&gt;Wow, it has been a long time since I posted to my blog!&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Well, it isn’t because I have been lazy.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;I have actually been quite busy writing the past couple of months, although my blog has not been benefiting from this flurry of writing activity.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;My team at Digineer and I completed a whitepaper for Microsoft, which was posted a couple of weeks ago.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="" title="Empowering Enterprise Solutions with SQL Server 2005 Enterprise Edition " href="http://www.microsoft.com/sql/techinfo/whitepapers/empowerenterprise.mspx" target=_blank&gt;Empowering Enterprise Solutions with SQL Server 2005 Enterprise Edition&lt;/A&gt; details each feature available in SQL Server 2005 Enterprise Edition.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;If you ever questioned the value of SQL Server 2005 Enterprise Edition, this paper will help you better understand the features that may help you improve the performance, scalability, and capabilities of your database applications.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face="Times New Roman" size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face="Times New Roman" size=3&gt;The second item I will selflessly promote is the upcoming &lt;/FONT&gt;&lt;A href="http://www.amazon.com/Expert-SQL-Server-2005-Development/dp/159059729X/ref=pd_bbs_sr_1/103-2814051-2415053?ie=UTF8&amp;amp;s=books&amp;amp;qid=1173031916&amp;amp;sr=8-1" target=_blank&gt;&lt;FONT face="Times New Roman" size=3&gt;Expert SQL Server 2005 Development&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face="Times New Roman" size=3&gt; book written by &lt;A class="" title="Adam Mechanic" href="http://www.sqljunkies.com/WebLog/amachanic/default.aspx" target=_blank&gt;Adam Mechanic&lt;/A&gt;&lt;/FONT&gt;&lt;FONT face="Times New Roman" size=3&gt;. &lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/SPAN&gt;I contributed a chapter on encryption, which the first time I have written a chapter for a book.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;If you have never written a technical book, I can tell you that it is a lot of work.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;I truly realize the effort that Adam put into the book – and others who choose to write technical books.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;It looks to be a great SQL Server 2005 reference, and is scheduled for release in May.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;Following these two accomplishments, I retreated to Disney to bask in the sun with my family.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;I am back, and am hoping to be more diligent on posting.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;I have encountered numerous topics in the past couple of months, so watch for some interesting tidbits in the next few weeks.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.digineer.com/aggbug.aspx?PostID=788" width="1" height="1"&gt;</content><author><name>lrubbelke</name><uri>http://blogs.digineer.com/members/lrubbelke.aspx</uri></author></entry><entry><title>PASS Summit 2006 Session:  Securing Your Data with SQL Server 2005 Encryption</title><link rel="alternate" type="text/html" href="http://blogs.digineer.com/blogs/larar/archive/2006/11/15/pass-summit-2006-session-securing-your-data-with-sql-server-2005-encryption.aspx" /><link rel="enclosure" type="application/x-zip-compressed" length="1049501" href="http://blogs.digineer.com/blogs/larar/attachment/705.ashx" /><id>http://blogs.digineer.com/blogs/larar/archive/2006/11/15/pass-summit-2006-session-securing-your-data-with-sql-server-2005-encryption.aspx</id><published>2006-11-16T00:16:00Z</published><updated>2006-11-16T00:16:00Z</updated><content type="html">&lt;P&gt;Thank to all who attended our session on securing data using SQL Server 2005.&amp;nbsp; As promised, attached are the demo scripts and the presentation.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;I included the script used to represent the EncryptByPassPhrase function where the text is exposed in Profiler in some circumstances.&amp;nbsp; I also included my script which helps estimate the increase in table size when encrypting data.&amp;nbsp; Note:&amp;nbsp; This assumes one column is encrypted.&amp;nbsp; You may need to play with this a bit more to add multiple encrypted columns in the table.&lt;/P&gt;
&lt;P&gt;Have fun encrypting!&lt;/P&gt;&lt;img src="http://blogs.digineer.com/aggbug.aspx?PostID=705" width="1" height="1"&gt;</content><author><name>lrubbelke</name><uri>http://blogs.digineer.com/members/lrubbelke.aspx</uri></author><category term="Presentation Materials" scheme="http://blogs.digineer.com/blogs/larar/archive/tags/Presentation+Materials/default.aspx" /></entry><entry><title>Maximum Degree of Parallelism and Hyperthreading </title><link rel="alternate" type="text/html" href="http://blogs.digineer.com/blogs/larar/archive/2006/11/13/maximum-degree-of-parallelism-and-hyperthreading.aspx" /><id>http://blogs.digineer.com/blogs/larar/archive/2006/11/13/maximum-degree-of-parallelism-and-hyperthreading.aspx</id><published>2006-11-13T16:13:00Z</published><updated>2006-11-13T16:13:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;For those who are challenged with deciphering how to configure the max degree of parallelism on a server where hyperthreading is enabled, the max degree of parallelism configuration is based on physical processors and not logical processors.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;I recently made a recommendation to a customer to reduce or disable parallelism in the SQL Server OLTP environment.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;If you know me at all, you know that I am not a big fan of parallelism and regularly ask people to disable the feature in their OLTP environments.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Many customers are afraid to disable altogether, so I ask that they at least reduce the setting to ½ the available physical processors.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;This customer had a server with 4 physical CPUs, with hyperthreading enabled.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;The max degree of parallelism was set to 4, which they interpreted to meaning a maximum of half of the available processors are used for any given query that requires (see the squishy language in the following link &lt;A title=http://support.microsoft.com/default.aspx/kb/322385 href="http://support.microsoft.com/default.aspx/kb/322385"&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;http://support.microsoft.com/default.aspx/kb/322385&lt;/SPAN&gt;&lt;/A&gt;).&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;I verified with a source at Microsoft, and this setting is based on physical processors.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;If you have 4 physical CPUs and have set the max degree of parallelism to 4, you are suggesting that all available processors may be used (if necessary) to complete a statement.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;If you are hoping to limit parallelism to using ½ the available processors, this particular server would require the configuration set to 2.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;I would be remiss if I didn’t add another warning:&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Hyperthreading should not be enabled on a SQL Server server unless it has been proven to improve performance.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Hyperthreading can cause performance issues in some cases (rather than rewrite an already well-written summary of the issue, please follow this link:&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;A title=http://blogs.msdn.com/slavao/archive/2005/11/12/492119.aspx href="http://blogs.msdn.com/slavao/archive/2005/11/12/492119.aspx"&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;http://blogs.msdn.com/slavao/archive/2005/11/12/492119.aspx&lt;/SPAN&gt;&lt;/A&gt;).&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;I often work in environments where hyperthreading is enabled by default.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;This feature should be disabled by default and only enabled after tests prove the feature benefits SQL Server under a full production load.&lt;SPAN style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.digineer.com/aggbug.aspx?PostID=692" width="1" height="1"&gt;</content><author><name>lrubbelke</name><uri>http://blogs.digineer.com/members/lrubbelke.aspx</uri></author><category term="SQL Server 2005 Optimizer Enhancements" scheme="http://blogs.digineer.com/blogs/larar/archive/tags/SQL+Server+2005+Optimizer+Enhancements/default.aspx" /></entry><entry><title>PASSMN Meeting on October 17</title><link rel="alternate" type="text/html" href="http://blogs.digineer.com/blogs/larar/archive/2006/10/08/544.aspx" /><id>http://blogs.digineer.com/blogs/larar/archive/2006/10/08/544.aspx</id><published>2006-10-08T20:02:00Z</published><updated>2006-10-08T20:02:00Z</updated><content type="html">&lt;P&gt;What fun!&amp;nbsp; A pure database topic and a pure BI topic.&amp;nbsp; Should be a fun evening for those who are challenged to settle in one camp or another.&lt;/P&gt;
&lt;P&gt;
&lt;TABLE class=MsoNormalTable cellPadding=0&gt;

&lt;TR&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;Topic&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;Advance SQL Backup solution at nth degree &lt;/SPAN&gt;&lt;/B&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;Details&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;Do you really have your backup solutions tuned to its nth degree? Do you really guarantee that full, filegroup, SAN and your transaction backup is the most tuned and best backup solution you could provide to your client or company? No matter whatever your backup solution is, have you tried some simple tricks to possibly reduce your backup maintenance window as much as 50%? Well if your need is to reduce your maintenance window by 99.999% what should be your final solution? CDP, Snapshot or same old SAN BCV split, let us find it together. &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;Speaker&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;Kahar Muhammad &lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;o:p&gt;&lt;/o:p&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;Topic&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;Analysis Services, ProClarity, Business Scorecard Manager and Beyond &lt;/SPAN&gt;&lt;/B&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;Details&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;In a 2006 survey conducted by Computerworld, business intelligence was identified as one of the top three areas for IT growth in the year 2010. This puts one of Microsoft’s hottest products at the forefront of this trend, SQL Server 2005. The presentation will first show how Business Scorecard Manager can highlight business drivers and be easily customized for various audiences. Next, it will highlight ProClarity’s capabilities in advanced data visualization. Finally, the presentation will dive into SQL Server Analysis Services. As you may know, in recognition of the growing market for business intelligence, SQL Server Analysis Services received a major overhaul in SQL Server 2005. Using this analysis engine with ProClarity and Business Scorecard Manager can bring tremendous value to an organization. Microsoft’s business intelligence roadmap has these three products officially merging next year with the planned release of Office PerformancePoint Server 2007. &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;Speaker&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;Jason Haley &lt;/SPAN&gt;&lt;/B&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;Date&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;10/17/2006 4:30:00 PM &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;Agenda&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;SPAN id=CurrentAbstractCtrl1_lblAgendaDetails&gt;4:30 pm - 5:00 pm Meet, greet and eat&lt;BR&gt;5:00 pm - 5:15 pm PASSMN Annoucements &lt;BR&gt;5:15 pm - 7:15 pm Presentations&lt;/SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD colSpan=2&gt;
&lt;P class=MsoNormal&gt;&lt;A href="http://s128632595.onlinehome.us/passmn/Abstract/PassMn.Register.aspx"&gt;&lt;B&gt;&lt;SPAN&gt;Register for this Event at www.passmn.org&amp;nbsp;&lt;/SPAN&gt;&lt;/B&gt;&lt;/A&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;Location&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;Microsoft Office, &lt;st1:address&gt;8300 Normandale Center Drive&lt;/st1:address&gt;, 9th Floor &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;&lt;img src="http://blogs.digineer.com/aggbug.aspx?PostID=544" width="1" height="1"&gt;</content><author><name>lrubbelke</name><uri>http://blogs.digineer.com/members/lrubbelke.aspx</uri></author><category term="PASSMN" scheme="http://blogs.digineer.com/blogs/larar/archive/tags/PASSMN/default.aspx" /></entry><entry><title>Launch of Visual Studio Team Edition for Database Professionals </title><link rel="alternate" type="text/html" href="http://blogs.digineer.com/blogs/larar/archive/2006/10/05/launch-of-visual-studio-team-edition-for-database-professionals.aspx" /><id>http://blogs.digineer.com/blogs/larar/archive/2006/10/05/launch-of-visual-studio-team-edition-for-database-professionals.aspx</id><published>2006-10-05T15:26:00Z</published><updated>2006-10-05T15:26:00Z</updated><content type="html">&lt;P&gt;Sign up now for the Microsoft Launch of Visual Studio Team Systems for Database Professionals.&amp;nbsp; &lt;A href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032310684&amp;amp;Culture=en-US"&gt;http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032310684&amp;amp;Culture=en-US&lt;/A&gt;&lt;A href="http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032310732&amp;amp;Culture=en-US"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It looks like a rousing lineup of presentations.&lt;/P&gt;&lt;SPAN style="FONT-SIZE:11pt;FONT-FAMILY:Calibri;mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;FONT face=Verdana color=blue size=2&gt;&lt;STRONG&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:11pt;FONT-FAMILY:Calibri;mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;FONT face=Verdana color=blue size=2&gt;&lt;STRONG&gt;Joining Forces: Assimilating Data Experts into the Development Team and Process&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:11pt;FONT-FAMILY:Calibri;mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;FONT face=Verdana color=#000000 size=2&gt;Database Professionals have always been an integral part of the software development team. Now, not only is Microsoft providing a tailor-made Visual Studio Team Edition role-based experience, but also access to the full benefits of Visual Studio Team Foundation Server.&amp;nbsp; Come learn how Visual Studio Team Edition for Database Professionals improves collaboration across the full development team and increases application quality with better control over database changes and automated database testing.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:11pt;FONT-FAMILY:Calibri;mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;FONT face=Verdana color=blue size=3&gt;&lt;STRONG&gt;Sessions:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="FONT-SIZE:11pt;FONT-FAMILY:Calibri;mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;FONT face=Verdana color=#000000 size=2&gt;
&lt;P&gt;&lt;BR&gt;&lt;STRONG&gt;&lt;FONT color=blue&gt;Take Control of Database Change&lt;/FONT&gt;&lt;BR&gt;&lt;/STRONG&gt;-Take control of your database schema by creating a baseline version of the database with an off-line source controlled project. &lt;BR&gt;-Streamline changes to your database with tools that allow you automatically cascade changes throughout the database schema in a controlled and consistent manner. &lt;BR&gt;-Reduce the risk involved with changing database schema by comparing the source controlled version against test and production systems and automating the creation of change scripts&lt;STRONG&gt;. &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color=blue&gt;Automate Database Testing to Improve Quality&lt;/FONT&gt;&lt;BR&gt;&lt;/STRONG&gt;-Create full unit tests for your database schema that can be run independently or in combination with Visual Studio 2005 Team Suite to provide a comprehensive set of tests for the application and database tiers. &lt;BR&gt;-Author tests in either T-SQL or managed code with extensible unit test functionality and a new test editor. &lt;/P&gt;
&lt;P&gt;&lt;FONT color=blue&gt;&lt;STRONG&gt;Panel Discussion:&lt;BR&gt;&lt;/STRONG&gt;&lt;/FONT&gt;Open discussion to panel of MS + Partner representatives&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color=blue&gt;AGENDA&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;8:30am - 9:30 am Joining Forces: Assimilating Data Experts into the Development Team and Process&lt;/P&gt;
&lt;P&gt;9:30am - 10:30am Taking Control of Database Change&lt;/P&gt;
&lt;P&gt;10:45am - 11:00am Break&lt;/P&gt;
&lt;P&gt;11:00am - 12:00pm Automate Database Testing to Improve Quality&lt;/P&gt;
&lt;P&gt;12:15pm - 1:00pm Lunch Panel Discussion&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;I don't have any information on who is presenting or who is on the lunch panel.&amp;nbsp; When this information is available I will post to my blog.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;If you haven't looked at the tool yet, have a peak:&amp;nbsp; &lt;A href="http://msdn.microsoft.com/vstudio/teamsystem/products/dbpro/default.aspx"&gt;http://msdn.microsoft.com/vstudio/teamsystem/products/dbpro/default.aspx&lt;/A&gt;&amp;nbsp; &lt;/P&gt;&lt;img src="http://blogs.digineer.com/aggbug.aspx?PostID=533" width="1" height="1"&gt;</content><author><name>lrubbelke</name><uri>http://blogs.digineer.com/members/lrubbelke.aspx</uri></author><category term="Programming" scheme="http://blogs.digineer.com/blogs/larar/archive/tags/Programming/default.aspx" /></entry><entry><title>August PASSMN Meeting</title><link rel="alternate" type="text/html" href="http://blogs.digineer.com/blogs/larar/archive/2006/08/21/386.aspx" /><id>http://blogs.digineer.com/blogs/larar/archive/2006/08/21/386.aspx</id><published>2006-08-22T01:34:00Z</published><updated>2006-08-22T01:34:00Z</updated><content type="html">&lt;P&gt;Upcoming PASSMN meeting information below.&amp;nbsp; My esteemed colleague Stan Sajous will be co-presenting with me on Encryption in SQL Server 2005.&amp;nbsp; The topic focuses specifically on resolving performance issues in a scalable encryption scenario.&amp;nbsp; Hope to see you there!&lt;/P&gt;
&lt;P&gt;
&lt;TABLE class=MsoNormalTable cellPadding=0&gt;

&lt;TR&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;Topic&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;Database Documentation on a Budget &lt;/SPAN&gt;&lt;/B&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;&amp;nbsp;Details&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;Need to create database documentation? Is your budget too small to purchase data modeling tools? See how you can create database documentation using tools you already own. &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;&amp;nbsp;Speaker&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;Mike Matthews &lt;/SPAN&gt;&lt;/B&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;&amp;nbsp;About the Speaker&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;Mike Matthews has been working exclusively with Microsoft SQL Server since version 6.0 was released. Currently, he is a Senior SQL Server DBA at NCS Pearson. While well versed in the design, development and administration of SQL Server databases, he has a passion for query tuning. &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;&amp;nbsp;Topic&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;Securing Your Data with SQL Server 2005 Encryption &lt;/SPAN&gt;&lt;/B&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;&amp;nbsp;Details&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;Following a year of scandals involving lost and stolen data, more companies are requiring encryption of sensitive data. SQL Server 2005 introduces database level encryption to protect your company's most valuable asset. In this session we will explore best practices for implementing encryption, while maintaining performance levels necessary for large scale SQL Server environments. &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;&amp;nbsp;Speaker&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;Lara Rubbelke&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/B&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;&amp;nbsp;About the Speaker&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;Lara Rubbelke&lt;/SPAN&gt;&lt;SPAN&gt; is an Enterprise Consultant with Digineer, where she focuses on architecting, implementing and improving SQL Server solutions. Her expertise involves both OLTP and OLAP systems, ETL, and the Business Intelligence lifecycle. She is an active board member of the local PASS chapter and brings her passion for SQL Server to the community through technical presentations at local, regional and national conferences and user groups. &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;&amp;nbsp;Date&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;9/19/2006 4:30:00 PM &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;&amp;nbsp;Time&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;SPAN id=CurrentAbstractCtrl1_lblTime&gt;5:00 pm - 7:15 pm&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;&amp;nbsp;Capacity&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;120 &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;&amp;nbsp;Agenda&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;SPAN id=CurrentAbstractCtrl1_lblAgendaDetails&gt;4:30 pm - 5:00 pm Meet, greet and eat&lt;BR&gt;5:00 pm - 5:15 pm PASSMN Annoucements &lt;BR&gt;5:15 pm - 7:15 pm Presentations&lt;/SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD colSpan=2&gt;
&lt;P&gt;&amp;nbsp;&lt;B&gt;&lt;SPAN&gt;Register for this Event at &lt;A href="http://www.passmn.org/"&gt;www.passmn.org&lt;/A&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;&amp;nbsp;Location&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;Microsoft Office, &lt;st1:address&gt;8300 Normandale Center Drive&lt;/st1:address&gt;, 9th Floor &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;&lt;/P&gt;&lt;img src="http://blogs.digineer.com/aggbug.aspx?PostID=386" width="1" height="1"&gt;</content><author><name>lrubbelke</name><uri>http://blogs.digineer.com/members/lrubbelke.aspx</uri></author><category term="PASSMN" scheme="http://blogs.digineer.com/blogs/larar/archive/tags/PASSMN/default.aspx" /></entry><entry><title>Great Post on SSIS Destinations + More Information</title><link rel="alternate" type="text/html" href="http://blogs.digineer.com/blogs/larar/archive/2006/08/20/385.aspx" /><id>http://blogs.digineer.com/blogs/larar/archive/2006/08/20/385.aspx</id><published>2006-08-21T03:15:00Z</published><updated>2006-08-21T03:15:00Z</updated><content type="html">&lt;P&gt;One of my favorite blogs on SQL Server Integration Services (SSIS) is by Jamie Thompson.&amp;nbsp; He does a tremendous job sharing tips, tricks, and lessons learned from working with SSIS.&amp;nbsp; Recently he posted a blog on three of the destination adapters and the performance implications of using each (&lt;A href="http://blogs.conchango.com/jamiethomson/archive/2006/08/14/4344.aspx"&gt;http://blogs.conchango.com/jamiethomson/archive/2006/08/14/4344.aspx&lt;/A&gt;).&amp;nbsp; The blog was pretty timely, as I had been having this &lt;I&gt;exact&lt;/I&gt; conversation with a client the previous week.&amp;nbsp; I wanted to add a couple of additional thoughts on the material.&lt;/P&gt;
&lt;P&gt;First, after reading the blog, one would ask oneself "Self, why would I ever use the OLE-DB Destination &lt;I&gt;without&lt;/I&gt; FastLoad?"&amp;nbsp; Well, that is a good question.&amp;nbsp; Undoubtedly, this method is extremely slow.&amp;nbsp; Reiterate, extremely slow.&amp;nbsp; OK, slow compared to the counterparts "with FastLoad" or SQL Server Destination.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;If you run Profiler while loading into each type of destination, you will quickly see that the OLE-DB Destination without FastLoad inserts each row individually.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;Obviously, this is very slow.&lt;/P&gt;
&lt;P&gt;OLE-DB Destinations with FastLoad cannot be set to redirect error rows.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;Consider a situation where you would want to trap error records in the destination - such as if a record violates a primary key constraint, or a domain constraint.&amp;nbsp; If you want to redirect these rows and allow the load to succeed while trapping those bad records for assessment and possible reload at a&amp;nbsp;later time, you &lt;I&gt;CANNOT&lt;/I&gt; use FastLoad.&amp;nbsp; This only leaves OLE-DB without FastLoad, since the SQL Server Destination does not support this behavior either.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt;So you may then ask yourself “Self, why would I choose to use the OLE-DB Destination with FastLoad over the SQL Server Destination?”&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;Another good question.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;Well, to use the SQL Server Destination, the destination database &lt;I&gt;must be&lt;/I&gt; on the same server on which you are executing the SQL Server Integration Services package.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;From my experience, you will not see a significant performance difference between the two solutions.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;I generally prefer the OLE-DB Destination simply because it gives you better flexibility on where you execute the package.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;img src="http://blogs.digineer.com/aggbug.aspx?PostID=385" width="1" height="1"&gt;</content><author><name>lrubbelke</name><uri>http://blogs.digineer.com/members/lrubbelke.aspx</uri></author><category term="SQL Server Integration Services" scheme="http://blogs.digineer.com/blogs/larar/archive/tags/SQL+Server+Integration+Services/default.aspx" /></entry><entry><title>Smart Index Defrag/Reindex for a Consolidated SQL Server 2005 Environment</title><link rel="alternate" type="text/html" href="http://blogs.digineer.com/blogs/larar/archive/2006/08/16/smart-index-defrag-reindex-for-a-consolidated-sql-server-2005-environment.aspx" /><link rel="enclosure" type="application/x-zip-compressed" length="3857" href="http://blogs.digineer.com/blogs/larar/attachment/378.ashx" /><id>http://blogs.digineer.com/blogs/larar/archive/2006/08/16/smart-index-defrag-reindex-for-a-consolidated-sql-server-2005-environment.aspx</id><published>2006-08-17T03:15:00Z</published><updated>2006-08-17T03:15:00Z</updated><content type="html">&lt;P&gt;(Update:&amp;nbsp;&amp;nbsp;An &lt;A class="" href="http://blogs.digineer.com/blogs/larar/archive/2007/07/30/smart-index-defragmentation-for-an-online-world.aspx"&gt;ONLINE&lt;/A&gt; version of this procedure is now available)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am sure we all have our own version of a "smart" reindex script for SQL Server 2000.&amp;nbsp; This is a script that assesses the current level of fragmentation, and only executes a reindex or indexdefrag if the fragmentation falls below a certain threshold.&amp;nbsp; In the 2000 world I have always preferred using "smart" index maintenance scripts for several reasons, including:&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI class=MsoNormal style="MARGIN:0in 0in 0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;Index defragmentation is a logged activity.&amp;nbsp; By running a dbcc dbreindex on all indexes in your larger tables you can artificially inflate your transaction log.&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;
&lt;LI class=MsoNormal style="MARGIN:0in 0in 0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;Address your index fragmentation can lock pages&amp;nbsp;or tables (depending on how you decide&amp;nbsp;to&amp;nbsp;defrag your indexes).&amp;nbsp; If your index is not heavily fragmented, you are needlessly locking resources and decreasing concurrency.&lt;o:p&gt;&lt;/o:p&gt; 
&lt;LI class=MsoNormal style="MARGIN:0in 0in 0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1;tab-stops:list .5in;"&gt;Performing index maintenance on all indexes in a database can take much longer than necessary.&amp;nbsp; With shrinking maintenance windows, this typically is not acceptable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;Well, SQL Server 2005 offers options to rebuild indexes without locking resources, or rebuild only a partition (although we are talking Enterprise features here).&amp;nbsp; These are certainly improvements in index maintenance.&amp;nbsp; Even so, we all need to continue to use "smart" index maintenance scripts.&amp;nbsp; We should only address index fragmentation where it is necessary and not arbitrarily take the "easy" way out by running some sp_msforeachtable statement with a dbcc dbreindex parameter.&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P&gt;Attached is one that I have developed which is quite handy in a consolidated environment.&amp;nbsp; In such an environment, one would prefer to have a single copy of a script and simply pass in a database name as a parameter to rebuild or reorganize indexes that are deemed "fragmented".&amp;nbsp; I envision this type of environment would have a database that is designed for DBA scripts; I sometimes see people name these DBAStuff, DBAScripts, DBA, or the like.&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P&gt;The script accepts three parameters.&amp;nbsp; The first parameter, @maxfrag, specifies the level of minimum level of fragmentation before the index must be rebuilt/reorganized.&amp;nbsp; The parameter @maxdensity specifies the minimum average page fullness before the index must be rebuilt/reorganized.&amp;nbsp; The final parameter @databasename allows you to specify which database you want to assess.&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P&gt;The beauty of this script is in the use of the new dynamic management view sys.dm_db_index_physical_stats (one of a few reasons that this script will not work in SQL Server 2000 or on a SQL Server 2005 database which has the compatibility mode set to 80).&amp;nbsp; This dmv allows you to pass in a database id as a parameter and returns a slew of useful index information in a table format.&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P&gt;I hope that the attached gives you something from which to base your own scripts.&amp;nbsp; Let me know your opinions, and if you find this practice useful and necessary.&amp;nbsp; &lt;/P&gt;&lt;img src="http://blogs.digineer.com/aggbug.aspx?PostID=378" width="1" height="1"&gt;</content><author><name>lrubbelke</name><uri>http://blogs.digineer.com/members/lrubbelke.aspx</uri></author><category term="Programming" scheme="http://blogs.digineer.com/blogs/larar/archive/tags/Programming/default.aspx" /><category term="Maintenance" scheme="http://blogs.digineer.com/blogs/larar/archive/tags/Maintenance/default.aspx" /></entry><entry><title>Monitoring SQL Server Using SQL Server Business Intelligence</title><link rel="alternate" type="text/html" href="http://blogs.digineer.com/blogs/larar/archive/2006/06/14/monitoring-sql-server-using-sql-server-business-intelligence.aspx" /><link rel="enclosure" type="application/x-zip-compressed" length="265932" href="http://blogs.digineer.com/blogs/larar/attachment/113.ashx" /><id>http://blogs.digineer.com/blogs/larar/archive/2006/06/14/monitoring-sql-server-using-sql-server-business-intelligence.aspx</id><published>2006-06-15T01:28:00Z</published><updated>2006-06-15T01:28:00Z</updated><content type="html">&lt;P&gt;Thanks to all who attended the presentation at TechEd and at PASSMN.&amp;nbsp; For all&amp;nbsp;who are interested, attached are the projects to support the Analysis Services cubes and Reporting Services reports demonstrated during the presentation.&lt;/P&gt;
&lt;P&gt;Have fun!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.digineer.com/aggbug.aspx?PostID=113" width="1" height="1"&gt;</content><author><name>lrubbelke</name><uri>http://blogs.digineer.com/members/lrubbelke.aspx</uri></author><category term="Presentation Materials" scheme="http://blogs.digineer.com/blogs/larar/archive/tags/Presentation+Materials/default.aspx" /></entry></feed>