Deciphering deadlock trace information
I turned on trace flags 1222 and 1204. I got a lot of information about deadlocks but there seems to be missing information.When it says "Wait-for graph" is it producing a graph somewhere or is the...
View ArticleDoes DDL affect an explicit transaction?
I need to rebuild a table in SQL 2000 to reclaim a huge amount of unused space. DBCC CLEANTABLE didn't help at all. I'd like to rebuild the table and with "SELECT * INTO newtable...", duplicate the...
View Articledisabling Sql Browser: is it really nessesary?
Hello folks, decision was made in my company to disable sql browser because somebody found it in a 'Best Practices' recommended by Microsoft. Is it really big security whole and is it really...
View ArticleALTERING an already partitioned table ...
I am looking for the definitive step-by-step doc on how to go about "updating" <for lack of a better word> and out-of-date partition scheme.The table is serveral billion rows so I want to make...
View ArticleTempdb usage
Hi,Suddenly my tempdb has reached a saturation of 1 TB in sql 2008. How can I troubleshoot this and what causes the tempdb to get bloated so quickly. I know the restart will flush the tempdb files but...
View ArticleMSDB Errors
DBCC CHECKDB (msdb) WITH all_errormsgs, no_infomsgs returns the following errors:Msg 8925, Level 16, State 1, Line 1 Table error: Cross object linkage: Page (1:2037), slot 2, in object ID 46623209,...
View ArticleHow many hits on Database per day
For the DBA reperting i need information how many hits on SQL instance for particular day.Whats the query to find how many queries are hitted on database without regarding of users. The report needs...
View Articlei have a production server database full backup with database owner...
those permission providing with out creating the group and induvallas .Please give me Ans ASAP..Thanks, Purna
View ArticleLOG_REUSE_WAIT_DESC
I have a problem I can't shrink the transaction log fileis now 11GB and Datafile is 10GBI look into column from sys.database LOG_REUSE_WAIT_DESCit say "REPLICATION"But I can't delete the replication...
View ArticleBest way to migrate data in large tables.
I am running SQL Server 2008 R2 on Windows Server 2008 R2. I have a large server HP DL580 with 4 processors, each has 6 cores and 256gig of memory. We have a weekly ingestion process and that load...
View Articleerror message when trying to create any query
I am trying to run a query on my sql server and get the following error message: "An error occurred while executing batch. Error message is: The directory name is invalid." how do I fix?
View ArticleSQL 2005 Linked Server to Oracle 10g - Very Slow
Hi, Anyone have some recommendations for a slow linked server from SQL 2005 to Oracle 10g? Here is the situation. We have an application that runs on SQL 2005 - Win 2003, and in certain forms it makes...
View ArticleFull-Text Search Result Highlighting
I have been using MSFTE for SQL 2005 (soon switching to 2008) for the past year or so and have managed to integrate it into a online application used to search text documents with little hassle. The...
View ArticleSQL inconsistency failure (EventID 5243 and CHECKDB msg 8964)
Hello Community,Monday there was a failing SCSI Controller at my hosting company, my hosting company hosts my SQL and SharePoint Server. I saw this in my eventviewer (ID 5243) the Content database was...
View ArticleLinked servers
we are creating liked server on sqlserver 2008 to connect oracle database. to create liked servers do we need to create DSN? please any once explain me how to create liked servres to connet oracle 11g...
View ArticleTask versus Request -- referring to sys.dm_os_tasks v/s sys.dm_exec_requests
Hello...I am struggling to understand the definition of and difference between a task and a request. My understanding isTask is something that is active and may or may not be executedin SQL Server...
View ArticleSQL 2012 SP1 tempdb using RAM
Before SP1 on SQL 2012, I was able to create tempdb on RAM disk with imdisk utility.Increased performance significantly.We have 1 Terrabyte of RAM, 450 Gb is used for SQL server the rest is empty...No...
View ArticleSingle user mode session lost after backgound processes jump in
We have an application running on SQL server. This application restores DB very frequently using Single user mode. Following are the SQLs that are executed to restore the database in single user mode...
View ArticleRenaming SQL Server Agent operator
I want to rename SQL Server Agent operator, that is change it's name.Is this a "valid" thing to do? I noticed that trying to change name in SSMS via Operator/Properties dialog doesn't actually do...
View ArticleHow can you evenly distribute the load across 20 cores with SQL Server 2012...
After installing SQL Server Enterprise 2012 with the Server + Cal license model, on a computer with 2 processors each with 16 cores (and no hyperthreading involved) and putting the server under...
View Article