Saturday, March 12, 2011

What is Database Mirroring ?

Mirroring is creating an additional instance of a SQL Server, thereby increasing availability. The source instance is called Principal Server and the target instance is called the Mirrored server.


1.www.codecollege.NET 2.http://www.interviewsguru.com 3.The Encylopedia of Web Sites 4.Blogging and Earning

What is the work of the DTC ?

The DTC manages the committing of transactions when there are several different data sources involved.


1.www.codecollege.NET 2.http://www.interviewsguru.com 3.The Encylopedia of Web Sites 4.Blogging and Earning

Daily Tips- Tip #72 - SQL Performance Tuning

use the SQL Server's Profiler Create Trace Wizard to run the "Profile the Performance of a Stored Procedure" trace to provide you with the data you need to identify poorly performing stored procedures..


1.www.codecollege.NET 2.http://www.interviewsguru.com 3.The Encylopedia of Web Sites 4.Blogging and Earning

What is a Linked Server ?

It is an alias on the local SQL Server which points to an external data source.


1.www.codecollege.NET 2.http://www.interviewsguru.com 3.The Encylopedia of Web Sites 4.Blogging and Earning

Daily Tips- Tip #71 - SQL Performance Tuning

Use covering index whereever needed, it reduces logical and physical IO and increases performance.


1.www.codecollege.NET 2.http://www.interviewsguru.com 3.The Encylopedia of Web Sites 4.Blogging and Earning

What are Covering Indexes?

A covering index, is a form of a composite index, includes all of the columns referenced in the SELECT, JOIN, and WHERE clauses of a query. It reduces logical and physical IO and increases performance.


1.www.codecollege.NET 2.http://www.interviewsguru.com 3.The Encylopedia of Web Sites 4.Blogging and Earning

What is the advantage of UNION ALL over UNION with respect to performance?

The advantage of the UNION ALL is that is does not perform the SELECT DISTINCT function where the UNION does.


1.www.codecollege.NET 2.http://www.interviewsguru.com 3.The Encylopedia of Web Sites 4.Blogging and Earning

Daily Tips- Tip #69 - SQL Performance Tuning

To help identify long running queries, use the SQL Server Profiler Create Trace Wizard to run the "TSQL By Duration" trace.


1.www.codecollege.NET 2.http://www.interviewsguru.com 3.The Encylopedia of Web Sites 4.Blogging and Earning

Daily Tips- Tip #67 - SQL Performance Tuning

Use set nocount on at the top of each stored procedure and set nocount off at the bottom.


1.www.codecollege.NET 2.http://www.interviewsguru.com 3.The Encylopedia of Web Sites 4.Blogging and Earning

Daily Tips- Tip #65 - SQL Performance Tuning

Create a primary key on each table you create and unless you are really knowledgeable enough to figure out a better plan, make it the clustered index.


1.www.codecollege.NET 2.http://www.interviewsguru.com 3.The Encylopedia of Web Sites 4.Blogging and Earning

What is a tuple?

A tuple usually represents an object and information about that object.


1.www.codecollege.NET 2.http://www.interviewsguru.com 3.The Encylopedia of Web Sites 4.Blogging and Earning