Sign in
MSDN Blogs
Microsoft Blog Images
More ...
Blog - Title
MSDN Blogs
>
SQL Server Storage Engine
Server & Tools Blogs
>
Data Platform Blogs
>
SQLServer Storage Engine Blog
All About Data Platform
All About Data Platform
Data Development
ADO.NET (Managed Providers, DataSet & EF)
WCF Data Services
SQL Server Customer Advisory Team
SQL Server Protocols
Microsoft XML Team
JDBC
Microsoft Drivers for PHP for SQL Server
Sync
SQL Server Data Tools
StreamInsight
Data Quality Services
Data Quality Services
SQL Server Customer Advisory Team
Jessica Meats’ Blog
All MSDN DQS Postings
OLTP
SQL Server Team
ADO.NET (Managed Providers, DataSet & EF)
SQL Server Customer Advisory Team
SQL Release Services
SQL OS
Running SAP on SQL Server
Conor vs. SQL
SQL AlwaysOn Team
SQL Server Manageability
Integration Services
SSIS
Data Quality Services
SQL Server Customer Advisory Team
All MSDN SSIS Postings
Data Security & Storage
SQL Server Security
SQL Server Storage Engine
SQL OS
SQL Server Customer Advisory Team
Data in the Cloud
Windows Azure
Your Data in the Cloud
SQL Server Team
Silver Lining
SQL Server Storage Engine Blog
Live Now on Server & Tools Blogs
Subscribe
Comments
Contact
Menu
Blog Home
Atom
Translate this page
Powered by
Microsoft® Translator
Tags
Backup
Bulk Import/Export
Concurrency
Conferences 2007
Data Compression
DBCC
DBCC CHECKDB Series
Disaster Recovery
FILESTREAM
General
High Availability
Index Fragmentation Series
On-Disk Structures
Restore
Service Level Agreements
Shrink
SQL Express
SQL Server 2008
SQL Server IO
SQL Server Security
TechEd 2006
TechEd 2008
TempDB
VarDecimal Storage Format
VLDB Maintenance
More
▼
Less
▲
Archives
Archives
January 2012
(1)
December 2011
(10)
October 2011
(1)
May 2011
(2)
February 2011
(5)
June 2010
(2)
February 2010
(2)
January 2010
(1)
September 2009
(1)
August 2009
(4)
January 2009
(7)
December 2008
(7)
October 2008
(1)
August 2008
(1)
June 2008
(1)
March 2008
(8)
February 2008
(3)
January 2008
(3)
November 2007
(4)
October 2007
(2)
September 2007
(2)
August 2007
(1)
July 2007
(1)
June 2007
(6)
May 2007
(4)
April 2007
(12)
March 2007
(13)
February 2007
(9)
January 2007
(5)
December 2006
(2)
November 2006
(7)
October 2006
(3)
September 2006
(5)
August 2006
(3)
July 2006
(4)
June 2006
(37)
May 2006
(3)
More
▼
Less
▲
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
SQL Server Storage Engine
How to recreate the msdb database in SQL Server 2005?
Posted
over 7 years ago
by
Paul Randal - MSFT
30
Comments
I've just spent a bunch time researching an answer to this question on the new disaster recovery forum because I couldn't find any definitive info on how to do this in SQL Server 2005. I pieced together a method to do this on previous releases of SQL...
SQL Server Storage Engine
TempDB:: Table variable vs local temporary table
Posted
over 5 years ago
by
Sunil Agarwal
15
Comments
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...
SQL Server Storage Engine
How to use DBCC PAGE
Posted
over 7 years ago
by
Paul Randal - MSFT
9
Comments
Yes, finally I come clean and tell all. It's an open secret that there's an undocumented DBCC command called DBCC PAGE that you can use to look at the contents of database pages. I've recommended in forum postings that people use it and Product Support...
SQL Server Storage Engine
Lock Escalation in SQL2005
Posted
over 7 years ago
by
Sunil Agarwal
17
Comments
lock escalation...
SQL Server Storage Engine
Why are those IOs taking so long?
Posted
over 7 years ago
by
Jerome Halmans
6
Comments
Ever see something like this in your SQL Errorlog? SQL Server has encountered 1 occurrence(s) of I/O requests taking longer than 15 seconds to complete on file [T:\MSSQL\DATA\tempdb.mdf] in database [tempdb] (2). The OS file handle is 0x00000838. The...
SQL Server Storage Engine
Types of data compression in SQL Server 2008
Posted
over 6 years ago
by
Sunil Agarwal
13
Comments
SQL Server deploys two strategies to compress the data · First, it stores all fixed length data types in variable length format. If you recall, SQL Server 2005/SP2 provided a new variable length storage format decimal and numeric. Please refer to the...
SQL Server Storage Engine
Managing TempDB in SQL Server: TempDB Configuration
Posted
over 4 years ago
by
Sunil Agarwal
16
Comments
In my previous blogs, I described the types of objects in TempDB and how they are managed. I hope that it provided you with a good working knowledge of TempDB. Now the next question is how do I configure the TempDB for my production workload? In this...
SQL Server Storage Engine
Turn AUTO_SHRINK off!!
Posted
over 6 years ago
by
Paul Randal - MSFT
6
Comments
This week's topic is data file shrinking. I've seen lots of mis-information in the last few weeks and I've had a bunch of questions about it. First up is auto-shrink. In my opinion, this feature causes way more problems than it solves (in fact, I can...
SQL Server Storage Engine
What's the difference between database version and database compatibility level?
Posted
over 6 years ago
by
Paul Randal - MSFT
2
Comments
I had a question this week from someone who'd heard me say at SQL Connections (paraphrasing) "database compatibility level is mostly about query parsing" and was having trouble trying to forcibly attach a 2005 or 7.0 database to a 2000 server. His...
SQL Server Storage Engine
FILESTREAM Configuration and Setup Changes in SQL Server 2008 February CTP
Posted
over 5 years ago
by
OmelJ - MSFT
7
Comments
FILESTREAM is disabled by default in SQL2008. Before you can start to use FILESTREAM, you must enable FILESTREAM on the instance of the SQL Server Database Engine. Enabling/configuring FILESTREAM is a bit different from configuring other SQL features...
SQL Server Storage Engine
Ta da! Emergency mode repair
Posted
over 7 years ago
by
Paul Randal - MSFT
5
Comments
Emergency mode repair? In a couple of previous posts I explained how the two worst things you could do to your database are rebuilding your transaction log and running REPAIR_ALLOW_DATA_LOSS . Well, in SQL Server 2005, we combined them into a new documented...
SQL Server Storage Engine
More undocumented fun: DBCC IND, DBCC PAGE, and off-row columns
Posted
over 7 years ago
by
Paul Randal - MSFT
14
Comments
(Final blog post of the year for me. Its been a bit of a wild ride the last 6 months - 7 TechEds on 3 continents, 46 blog posts and some major life changes - but now things have calmed down and I should be back to more regular posting in 2007. Tomorrow...
SQL Server Storage Engine
SQLIOSim available for download
Posted
over 7 years ago
by
Jerome Halmans
11
Comments
There has already been a great deal of excitement over the release of SQLIOSim, and I know everyone is hungry for more details. First the final cut of SQLIOSim is available for download at the Microsoft Download center. http://download.microsoft...
SQL Server Storage Engine
When should you rebuild the transaction log?
Posted
over 7 years ago
by
Paul Randal - MSFT
6
Comments
10 points if you answered "don't be daft, never! " and minus several million is you answered anything else. Yes, if you have no backups and your hardware has corrupted your transaction log then you have no choice but to rebuild it, but this should never...
SQL Server Storage Engine
Checksum in SQL2005
Posted
over 7 years ago
by
Sunil Agarwal
2
Comments
Page checksum is new feature in SQL2005 that provides you a stronger mechanism than torn-page to detect any corruptions in IO path. Here are some details and scenarios PAGE CHECKSUM: Between the time a database page is written to the disk...
SQL Server Storage Engine
How can you tell if an index is being used?
Posted
over 6 years ago
by
Paul Randal - MSFT
7
Comments
Whenever I’m discussing index maintenance, and specifically fragmentation, I always make a point of saying ‘Make sure the index is being used before doing anything about fragmentation’ . If an index isn’t being used very much, but has very low page...
SQL Server Storage Engine
Under the covers: GAM, SGAM, and PFS pages
Posted
over 7 years ago
by
Paul Randal - MSFT
4
Comments
(Been a week or so since the last post but I haven't burnt out with blogging yet - I was on vacation over the July 4th weekend and totally offline in and around a small town called Pullman in south-eastern Washington.) In a previous post I described...
SQL Server Storage Engine
Troubleshooting deadlocks in SQL2005
Posted
over 7 years ago
by
Sunil Agarwal
11
Comments
This post describes the enhanced diagnostics for deadlocks in SQL2005 and how to minimize them...
SQL Server Storage Engine
Fixing damaged pages using page restore or manual inserts
Posted
over 6 years ago
by
Paul Randal - MSFT
10
Comments
Here's an interesting scenario that cropped up today. You have a database on a RAID array that failed and has zero'd out a page. How can you get the data back? There are two ways to do it, depending on the database recovery model and version of SQL...
SQL Server Storage Engine
Here's a good reason not to run SHRINKDATABASE...
Posted
over 7 years ago
by
Paul Randal - MSFT
5
Comments
.. this is an old one, but its poorly understood and it just surfaced again today so I thought I'd share it. Situation: customer keeps his indexes nicely defragemented during the day so that his range scan queries perform well. Every morning, he comes...
SQL Server Storage Engine
TempDB Monitoring and Troubleshooting: Out of Space
Posted
over 4 years ago
by
Sunil Agarwal
8
Comments
One of the key challenges in TempDB is that it is a common resource for all applications running on an instance and any misbehaving application or rouge user command can take up all the space in TempDB bringing down other applications with it. In my discussions...
SQL Server Storage Engine
Fragmentation (part 1): What are records?
Posted
over 7 years ago
by
Paul Randal - MSFT
19
Comments
This blogging thing sucks you in, doesn't it? Not content with having an ongoing series on disaster recovery and CHECKDB (with another 6 and 25 more posts planned respectively), I'm starting a new series on fragmentation. This will begin from first principles...
SQL Server Storage Engine
Bulk Importing data with OPENROWSET in SQL2005
Posted
over 7 years ago
by
Sunil Agarwal
11
Comments
How to use OPENROWSET to preprocess data before importing...
SQL Server Storage Engine
CHECKDB (Part 8): Can repair fix everything?
Posted
over 6 years ago
by
Paul Randal - MSFT
5
Comments
I was teaching at a Microsoft-internal class last week and there was a discussion on what corruptions can't be repaired using DBCC. At the same time, several threads popped up on forums and newsgroups with people hitting some of this unrepairable corruptions...
SQL Server Storage Engine
Example corrupt database to play with and some backup/restore things to try
Posted
over 6 years ago
by
Paul Randal - MSFT
10
Comments
I've been asked several times over the last few weeks for an example corrupt database to play with, and for testing logic built around DBCC CHECKDB. The attached WinZip file contains a backup of a simple 2005 database called 'broken' (I can do a 2000...
Page 1 of 8 (183 items)
1
2
3
4
5
»