SQL Server Storage Engine

Update on minimal logging for SQL Server 2008
11 Aug 2008 5:58pm GMT As part of SQL2008 release, you can get minimal logging when bulk importing into a HEAP using the following command insert into <heap> with (TABLOCK) select * from <source> This was detailed in the blog  entry http://blogs.msdn.com/sqlserverstorageengine/archive/2008/03/06/minimal-logging-changes-in-sql-server-2008-part-1.aspx. We had similar functionality available when inserting data into btree in SQL Server 2008 but it was removed couple of months back but...

Does data compression lead to more fragmentation?
6 Aug 2008 4:40am GMT Lately I have been asked how data compression impacts fragmentation (i.e. does it cause more or less fragmentation?).  I believe this question is best answered by looking at how does fragmentation occur in the first place and then analyze each of these cases for compressed and uncompressed data. Let us start off with create clustered index on a table so  there is no fragmentation to begin with. Now the following operations will cause...

Enabling FILESTREAM post SQL2008 Setup - a Known Issue in SQL Config Manager
9 Jun 2008 8:24pm GMT In SQL Server 2008 Feb CTP, there is a bug in the WMI provider for FILESTREAM, inside SQL Configuration Manager (select instance, r-click properties and go to FILESTREAM tab). This bug causes the FILESTREAM configuration UI, to fail. This happens only if:     1) you want to enable FILESTREAM after SQL setup     2) another instance of SQL 2005 or SQL 2000 (Pre-SQL2008) is installed on the same machine, for example when you install SQL...

TempDB:: Table variable vs local temporary table
30 Mar 2008 8:56pm GMT As you know the tempdb is used by user applications and SQL Server alike to store transient results needed to process the workload. The objects created by users and user applications are called ‘user objects’ while the objects created by SQL Server engine as part of executing/processing the workload are called ‘internal objects’. In this blog, I will focus on user objects and on table variable in particular. There are three types of user objects; ##table, #table and...

Overhead of Row Versioning
29 Mar 2008 11:41pm GMT Last week I was teaching a class on snapshot isolation and we discussed the overheads of snapshot isolation. There are three main overheads that you need to be aware of when you enable snapshot isolation read-committed-snapshot on a database. First, each UPDATE/DELETE operation generates a row version. Note, that the row version is not generated when you INSERT a new row. There is an exceptions to this, but I will skip that discussion...

1 2 3 > 

© dotMobi 2007-2008. All rights reserved