`question about key-range lock
create table foo (c1 int) go insert into foo values (1) insert into foo values (5) insert into foo values (9) create clustered index foo_ci on foo(c1) set tran isolation level serializable begin tran...
View Articlecomplex query resulting in very slow compilation, how to improve it?
Hi,we have an application which use dynamically generated queries, and 1 of these query is very complex and very slow to compile (up to 60sec!!!!)currently we cant change the application (apparently...
View Articlesql server 2000
my sql server 2000 automatically stops windows authentication mode how can i restart it or how can i check my windows authentication is stop or what?????? if it is so how can i restrat it back.....i'm...
View Articlefail over cluster
We have an Active-Passive SQL Server 2008 Failover Cluster installed. Front end is sharepoint. They have two instances on each cluster, one instance is named prod_mssqlserver, the other is for...
View ArticleHaving backup problems, and unable to change service accounts...
Three problems, possibly related, all giving me heartburn as I'm going away for 2 weeks and don't want to leave a server in this state... Problem 1: When I try to run a backup to anywhere *EXCEPT* the...
View ArticleReclaim the unused disk space
Hi, Database_name = OperationsManagerAC, database_size= 177251.44 MB, unallocated space = 76186.63 MBFrom the above its been understand that there is unused space and how do I re-calim the space now,...
View Articlehow to reduce unused/available space in database file
our database is partitioned on monthly basis and i am seeing large amount (nearly 50-70%) of space available in the data files. These files are not expected to grow(in large amount) in future. So i...
View ArticleEvent 9001 - log is not available during backups
I've got a 2008 server that has a recurring issue with backups related the the SQL Server VSS writer.The errors seem to start with Event 9001The log for database 'xm8_27' is not available. Check the...
View ArticleDeadlock: mssqlsystemresource and drop table
Hi allI found a deadlock, a drop table statement and a procedure in mssqlsystemresource.sys.sp_columns.How they are related in a deadlock? Seems no user is using the resource database
View ArticleHow to raise database deadlock to windows EVENT log?
Dear Experts,It seems SCOM cannot read MSSQL error log (after enable 1222 traceflag for deadlock) to capture the deadlocks when there is deadlock, can any one advice the whether it is feasible to...
View Articlejob running so longtime..
hi ,i have one ABC job this job executing so longtime,this same job previews executing just 3 hrs, but in this time 50 hrs above still its running..sql server all parameters are fine like cpu ,...
View ArticleIntegrity check and Tape backups stopped showing in SQL Server Log
As part of my dba checks I go into SQL Server log vis SSMS and check that the CHECKDB DBCC overnight job has run and that the tape backups have hit the server by filtering on the word VIRTUALI also...
View ArticleWindows Authentication slow -SQL Server
I am facing slowness on Windows authentication.When I am connecting through SSMS using windows authentication it is taking more time.But if I am using sql authentication it is connecting withn...
View Articleexperiences with DATE_CORRELATION_OPTIMIZATION
I don't see a lot of chatter about DATE_CORRELATION_OPTIMIZATION (DCO).Yet, it seems like a really good idea.Anybody have anything interesting to say about it?I do have a specific question and a more...
View ArticleReturn type for the stored procedure could not be detected.
When I try to put my SP into DBML then it gives the following error.the return types for the following stored procedures could not be detected.Set the return type for each stored procedure in the...
View ArticleNeeded store procedure to refrech the database in sql server 2000 !! or i...
Needed store procedure to refrech the database in sql server 2000 !! or i need store procedure extract the users and permistion to .sql file with job (with SP) to once location. and steps to run that...
View ArticleProcedure execution tracking
I'm looking to setup an audit trail for the execution of stored procedures. I know about the sys.dm_exec_procedure_stats view, but it only goes back to when the reset was which isn't really what I...
View ArticleUpdate strategy on Partitioned Table?
Hi All,Working on Partitioning on SQL Server 2012. I would like to know the beast way to Implement update strategy on Partitioned Table.Below are the Steps we have for that Table.Source Table:...
View ArticleOptimizer memory, memoryclerk_sqloptimizer memory very high and climbing
I have a SQL Server 2012 instance running higher and higher amounts of memory for the memoryclerk_sqloptimizer. We have logging for optimizer memory and it is at 13 GB and climbing, but we have seen it...
View ArticleEvent Error ID 560
Hi allI find so many event ID 560 recently:Object Open: Object Server: SC Manager Object Type: SC_MANAGER OBJECT Object Name: ServicesActive Handle ID: - Operation ID: {0,2507426418} Process ID:...
View Article