Clustered Index
Hi, I went through many articles and most of the articles are saying that when we create Clustered index on any column, it stores whole row data at leaf node. for example if I have a table with columns...
View ArticleSQL Server 2012 Performance Problem
We have migrated our company database from SQL Server 2000 to SQL Server 2012 (big jump!). We haven't gone live yet on 2012. Something is wrong in our setup of 2012 because queries that run in 5...
View ArticleRemove Dead Lock
Hi, I want to enable a setting or write a script to kill/clear a dead lock if it exists more than 5 sec. Is it possible?
View ArticleGhost session stuck in Killed/Rollback status
A step in an SSIS package failed - it was a file load and the load process was verified complete. We killed the process and it has been in Killed/Rollback for 13 days. The spid is not using any...
View ArticleInserting into replicated table
I have a peculiar problem here. I have a table MasterDB.Employee and its being replicated in ReplicationDB.Employee. I have a .Net screen which has boxes to key in information about an employee and...
View Articlenot able to retrieve dead lock infor from sql server 2008 using extended events
I recently encountered a deadlock: Transaction (Process ID 57) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction I tried to get...
View ArticleBlock transactions into sql server database for some time
Hello All, I want to block transactions into sql server database for particular interval of time. Means if any user entering something from user interface using the .aspx page , so for particular...
View ArticleBest index structure for table that holds a large amount of log data
Folks I have a ASP.NET solution that needs to log every time a method is invoked.(that part I have done) I am logging this activity into a table I had constructed a table that has a identity filed that...
View ArticleDBCC SHRINKFILE Does Not Work
All,I have a database that has 30% unallocated space for the data file. This file is taking up almost my entire disk space so I simply need to shrink it down; however when I attempt to run DBCC...
View ArticleHow to back up database on expired SQL enterprise 2008 R2 evaluation ? HELP !
Hi Guys, can you guys show me how to back-up the databases manually on the expired SQL evaluation without using the SQL server management studio as i got error on it. your reply is much appreciated. i...
View ArticleWhy SQL Generate this execution Plan
Basically we have a stored procedure runs daily with less than a minute, but occasionally this will take 15 minutes to run. Ran a trace and it turned out one of its insertion command causes this...
View ArticleDatabase Mail Issue
Hi, Database mail is configured on sql sever 2005 (9.0.5000). Profile and accounts are created and configured. When I try to send test message, message never delivered. Don't know where it stuck up. In...
View ArticleJoin order
After reading volumes on join performance, join smaller tables first, yada yada... I heard a while back that it is good practice to always have left outer joins after all inner joins because having the...
View ArticleSQL Server 2008 Architecture Deffinition
Hi All, I need small Information regarding how to tell the answer the below question in simple way. Tell me about SQL Server 2008 Architecture? Thanks,Prasad.
View ArticleAtlas XL on SQL Server Performance
Hi, Does anybody know anything about the impact of Atlas XL on SQL Server Performance? I don't have any specific issue. I'm just wondering if there are any performance related issues I should look out...
View ArticleHow to set permissions to directory with database files.
Hello, I have recently restored drive with system, and user databases files after crash. And I have to set permissions to this files, because they have been lost. Could you tell what should be the...
View ArticleSQL Server Memory Leakage
Hi All, I have a Memory Leakage issue on our SQL Server 2008 Windows R2 , When The Re-Indexing of the Database occurs which is at 01.00 am on a daily basis, it eats up the memory and does not relaease...
View ArticleDifference between Function and View
Hi, Can you please tell me differences between Function and View. Thanks and Regards Kranthi
View Articlestatistics
Hi All, I need some clarifications on update stats. 1. I have seen in cx's scenario's where they have a maintenace plan like checkdb --> re-organize index -> rebuild index - > update stats...
View Article