Sign in
MSDN Blogs
Microsoft Blog Images
More ...
Common Tasks
Blog Home
Email Blog Author
About
RSS for comments
RSS for posts
Atom
Search
Archives
Archives
April 2013
(1)
January 2012
(1)
September 2011
(1)
June 2011
(1)
February 2011
(1)
July 2010
(1)
April 2010
(2)
December 2009
(1)
November 2009
(1)
September 2009
(1)
August 2009
(2)
Der deutsche Education Blog
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Data, Design, and SQL Server
SQL Server 2012 CDC for Oracle – a Review of One Implementation
Posted
1 month ago
by
Dimitri Furman
0
Comments
SQL Server 2012 shipped with a new feature named SQL Server 2012 Change Data Capture for Oracle By Attunity (shortened to SQL 2012 Oracle CDC in this blog). This feature allows using Change Data Capture in a SQL Server database, with an Oracle database...
Data, Design, and SQL Server
Getting out of single user mode
Posted
over 1 year ago
by
Dimitri Furman
4
Comments
Sometimes, brute force is the best way to get something done. Imagine a busy production server with about thirty databases. Somehow, during an administrative task, one of the databases ended up in single user mode. The application using the database...
Data, Design, and SQL Server
Yet another cause of Kerberos authentication failure connecting to SQL Server
Posted
over 2 years ago
by
Dimitri Furman
3
Comments
Yesterday I was troubleshooting a rather common problem. A query running on an instance of SQL Server (INST1) was using the OPENROWSET function to retrieve a rowset from another instance (INST2). This is known as "double-hop authentication", and Kerberos...
Data, Design, and SQL Server
Statistics on system tables and query performance
Posted
over 2 years ago
by
Dimitri Furman
2
Comments
Recently I was helping a customer design a database with a very large number of database objects - hundreds of schemas, a few thousands of stored procedures, hundreds of partitioned tables, with most tables containing between two hundred and a thousand...
Data, Design, and SQL Server
Estimating data compression savings for entire database
Posted
over 2 years ago
by
Dimitri Furman
1
Comments
The sp_estimate_data_compression_savings system stored procedure in SQL Server 2008 estimates how much space can be saved by compressing a single partition of an index on a table. Performing this estimation for many tables, indexes, and partitions manually...
Data, Design, and SQL Server
Point-in-time restore and knowing where to stop
Posted
over 3 years ago
by
Dimitri Furman
0
Comments
In some disaster recovery scenarios, a database needs to be restored to a point in time before a particular operation has occurred, e.g. before a user mistakenly dropped a table, ran a DELETE or UPDATE with no WHERE clause, etc. If the database is in...
Data, Design, and SQL Server
Adding the IDENTITY property to a column of an existing table
Posted
over 3 years ago
by
Dimitri Furman
1
Comments
Until SQL Server 2005, it was not possible to alter a column in an existing table to add the IDENTITY property. To achieve that, it was necessary to create a new table with an IDENTITY column, and move the data into that table. For large tables, this...
Data, Design, and SQL Server
Tempdb configuration check script
Posted
over 3 years ago
by
Dimitri Furman
0
Comments
There is a number of well known best practices for configuring the tempdb database on SQL Server. Specifically: Multiple data files are used (some sources recommend 1 data file per CPU core, while others recommend anywhere from 1/4 to 1 file per...
Data, Design, and SQL Server
Query performance, scalar UDFs, and predicate pushdown
Posted
over 4 years ago
by
Dimitri Furman
11
Comments
Recently I had to troubleshoot a query that performed much slower than expected. The solution to that seemed sufficiently interesting to warrant a write-up, and the root cause of the problem reinforced a well-known best practice of avoiding scalar user...
Data, Design, and SQL Server
Reading database transaction log with fn_dump_dblog()
Posted
over 4 years ago
by
Dimitri Furman
0
Comments
While the format of SQL Server transaction log is not publicly documented, there is a number of ways to view the contents of the log. This is sometimes necessary for troubleshooting and forensic purposes. One way is the DBCC LOG command. Another is fn_dblog...
Data, Design, and SQL Server
Transaction count during DML statements
Posted
over 4 years ago
by
Dimitri Furman
3
Comments
Recently I was troubleshooting a blocking problem where a number of sessions were blocked, waiting to acquire a page latch. While blocking was occurring, there were several rows in the output from sysprocesses that looked like this (only relevant columns...
Data, Design, and SQL Server
Disjoint subtyping in SQL
Posted
over 4 years ago
by
Dimitri Furman
0
Comments
Disjoint subtyping is a scenario that is often encountered in data modeling. In one frequently used modeling approach, an entity of a certain type is represented by a database table, and each subtype of this entity is represented by another table. Subtyping...
Data, Design, and SQL Server
Surrogate keys in distributed databases
Posted
over 4 years ago
by
Dimitri Furman
3
Comments
In this post, the term "distributed database" refers to a set of SQL Server databases, each managed by a SQL server running on a separate computer. All databases have identical schemas, and data that originates in one database is replicated to all other...
Page 1 of 1 (13 items)
MSDN Blogs
>
Data, Design, and SQL Server