SQL server is lazy, how do I motivate it ?
I have a very large DB with fact tables with billons of entries. My problem is that I can't get SQL server to make use the HW I have. Before anyone states the obvious, ofcourse I have looked for...
View ArticleWhat is the best way to benchmark TempDB?_
What is the best way to benchmark TempDB?Mr Shaw
View ArticleHow to create new Session of SP?
Hi,I am trying to call the SP using ADO.Net C#. When multiple instance calling same SP, it is using single session ID for execution. How can i make the SP running in different session. Is there any...
View ArticleFile copy performance issue
When copying a large backup file from production server the performance is seriously degraded. Does anyone know why and if so do you know of any articles I can reference?Alan
View ArticleAre multi-field indexes dangerous?
Regarding the issue of deadlocks I've been posting about for some weeks, and just why I seem to be having more of them on these two projects than on any previous ones, we do have a large number of...
View ArticleConvert deadlock list to xdl
Hi AllI have turn on trace flag global 1222. And dead lock is captured in error log.Are there any method to convert in to graph which is more easy to read ?
View ArticleDeadlock on table with one row and one primary key clustered index
I have one table with one row in it.CREATE TABLE [dbo].[SYS_TRAN_ID]( [NEXT_ID] [dbo].[id] NOT NULL, [PROCESS_ID] [dbo].[processid] NOT NULL, CONSTRAINT [XPKSTRANID] PRIMARY KEY CLUSTERED ( [NEXT_ID]...
View ArticleLog file Growth query
Hi All,Is there any query to increase the logfile growth to unlimited in SQL 2000 . Am unable to do that through GUI mode and getting some transaction error. Please suggest me any query.Thanks &...
View ArticleInserting data into table
Hi ALl,Am getting error while am inserting data into table column. Column datatype is varchar[50].While inserting data like--> Matthew D'Andrea. Kindly help me how to insert Regards,Venkat.
View ArticleError chain starting with write failure (error 655) during a DBCC CHECKDB...
Hello,We experienced the following error chain (extracted from the SQL Server logs) that ultimately caused our instance to restart and fail over one of our primary AGs, causing us unexpected (albeit...
View ArticleThere is insufficient system memory to run this query Error: 701, Severity:...
SQL 2005 SP3 64bit, 48GB of memory, I have min memory=0 max memory=40GB, mem per query 1024KB, AWE is off. I am only getting this error when I run a query that creates a few namespaces. Any ideas on...
View ArticleRestored master not restored msdb now have error
Some time ago I have server failure and have restored master databases and all user databases. I have not restored msdb database. The msdb database is default after clean install of a server. Now I...
View ArticleSQL Agent - alerts section of job properties, why there?
I use the notifications area of a jobs properties for sending email upon a job failure, but what is the "Alerts" section for? It seems like this is more for server-level events, instead of those...
View ArticleSQL Agent - what are some best practices with regards to job history, logging...
What are some common good ways to handle capturing error information. The error will likely get written in the job history, but if a server is running several busy jobs, your job history might get...
View ArticleError -2147217871 Timeout Expired on Update Command
Hi All,I have an update command within vba that occurs on worksheet_change of a workbook. It works by once something is typed into Excel a connection to the database is opened and I grab variables from...
View Articlewhen option(recompile) hurts
OK now, I have a moderately large and ugly dynamic query from the entity framework coming in, and I thought I'd try playing with it. I added a few indexes and took it from 150++ seconds to about 10...
View ArticleSQL 2012 (on Windows 2012) - High Compiles (not DB specific), Very low Plan...
SQL Server 2012 SP1 (Enterprise Edition) - 11.0.3000Windows Server 2012 (SP0) OS - 160 GB RAM SQL - 100 - 140 GB Allocated MemoryTempDB on Fusion I/O.MAX DOP = 8, OptimizeAdhocWorkload=True,...
View Article