Performance issue, compared plans and different plan operator costings
Hi All,I'm looking at a performance problem, a proc which gets called with some set of date parameters to delete data from a table, on a particular day one takes quite some time whilst the next day it...
View ArticleEvent Id 326 & 327
I have those event triggered on my log every every few seconds, sometimes as many as 6 per seconds.I know that some here reported that this is related to the SSRS. But anyway, What does that changes ?...
View ArticleRecovering 1TB of unallocated space?
Please read the post well. I posted somewhere and most of the posters assumed that the 1TB table is there. It's not. Also, the size of the MDF is 1.75TB, the HDD has 1.83TB used and 65.8GB is free.So...
View ArticleMSDTC and Quorum on Standby Node
Is it ok that the SQL Resource group is running on one node and the Cluster and the MSDTC Resources running on the other?It may not be normal but what are the consequences of it?OS: Microsoft Windows...
View ArticleFind PID of cmd which is called from SQL
I have a set of SQL jobs which call same exe with different parameters using xp_cmdshell. I have a situation where I need to kill on of the jobs and in order to kill it I need to kill the process...
View ArticleCPU utilization of SQL server 2008r2 is high.
Hi All, I'm facing a critical issue in one of production servers.sqlserv.exc is utilizing more CPU(90% to 100%) Windows version:windows server 2007 standard with SP1 processor:Intel(R) Xeon(R) CPU...
View ArticleGenerate a sequnce Number with String in SQL Server 2008r2
Hi All,I need to generate a sequence number like below.EmpId EnameCT001 JohnCT002 MikeAB003 Shaun'...
View Articledatabase encryption
Hi allI have a database which has encryption on SQL 2005, after backup the database at 2005 and restore to 2008, I see the master key and symmetric key still inside the database however i am not able...
View ArticleSQL server Agent Scheduler
Hi all, I have some SQL server jobs placed in one sever , till last two days everything is fine , Today no job in my server ran and checked the agent and all everything looks file , I found the issue...
View ArticleDrop partition
In sqlserver 2005, If i have partitioned my table based on date for each month, how do I drop partitions having data older than 3 months. This is to do the archiving the old data as we don't want old...
View ArticleInserting into a single heap table from multiple sessions
Is it possible to insert into (let's say 20) from multiple sessions into the same table (heap or not but certainly there is only a single non partitioned target table) and get inserts run in parallel...
View ArticleIs log file needed for backup?
Hi all, I'm wondering if a backup done without the log file, could this cause an issue when restoring the database? Background, we use Backup Exec to do our back ups. The person that was handling this...
View ArticleTable does not update in SQL server
hello all, I have created a VBA code in access 2010 which upload an excel file to a table .i can see that form some tables , the data is updated, meaning eraseing the data from the SQL table and...
View ArticleReplication and partitioning in sqlserver 2005
Hi,I am not able to find a document about any partitioning operation limitations for replication. Can any one help to answer the following questions.1. Can we harmlessly replicate partioned...
View ArticleWhat is the benefits of Multiple mdf files and ldf files ?
Hi,Does any benefits for using multiple data files and log files ?Which way it is useful ?.--Thanks-- Bhavesh Thakkar Sr.Database AdministratorMy BlogLinked In Profile
View Articlehow to track down primary key violation problem
We have a specific file from our application that cause PK violation on our SQL 2008 server. I would like to track down what those fields are and I know which DB and table those field resides. The...
View ArticleIs it safe to kill a task with wai type Backupthread?
Hi everyone,I am performing backups of all my user databases via maintenance plan and SQL Agent job, but I can see in the Activity Monitor that one of the database backups has 4 tasks in it - 2 are in...
View ArticleCreate a ColumnStore Index on a Partitioned Table
I'm having difficulty creating a ColumnStore index on a partitioned table. If I try to align the index with a partitions, I get this error:Msg 2726, Level 16, State 1, Line 1 Partition function...
View ArticleParameters at the first call of a stored proc might produce wrong execution...
Hi everyone,Sometimes, the parameters used the first time a stored procedure is run may produce an specific execution plan that is cached and reused for the next times the procedure is run, with other...
View ArticlePAGEIOLATCH_EX Wait type on insert
Hello All,I am noticing a lot of PAGEIOLATCH_EX wait types whenever there is an insert into a table. I have the clustered index primary key on a GUID. I wanted to know if this was a disk issue and ran...
View Article