Execution Plan vs. TIME/IO Statistics vs. Extended Event data
I've ran into an odd issue. I'm looking at the 'actual' execution plans of two different approaches to the same query. It tells me that the first approach is 97% of the cost, and the second is 3% cost...
View ArticleMerge query going into suspended mode
I have 2 MERGE statements involving 4 tables each with 30 million + rows. I am running these 2 statements in parallel using SSIS's execute SQL task and they were running successfully in 2 hrs. till...
View ArticleFiltering SQL Server Profiler trace by RPC starting
Hello Experts,Our application use a middle tier that performs connection pooling to database for several logged in users. We use Multiple Active Results Set so there is no one to one mapping between...
View ArticleSQL Server DB slow to backup under Backup Exec
We have randomly gotten a slow down in our backup speeds within our SAN connection. Two servers both running Windows Server 2008 Enterprise with SQL Server 2008 R2. Both are HP DL380 G7 servers...
View Articleasync_network_io
Hi All,I am facing a Major Issue. I have a table which is having just 21000 records and its size is around 4 GB.When i run a just simple plain select * from tablename statement its taking around 10...
View ArticleTDE-related DMV
Hello!I encrypted one of my test databases with TDE encryption using this code:USE master; GO CREATE MASTER KEY ENCRYPTION BY PASSWORD = '<UseStrongPasswordHere>'; go CREATE CERTIFICATE...
View Articleavg_page_space_used_in_percent very Low
Hello All,I am facing a Issue. For most of my index avg_page_space_used_in_percent is very low.My indexes are rebuilt every week. Please suggest how can i increase the...
View ArticleSQL server license for vm ware for windows 2008 r2
We are planning to host sql server 2008 r2 in a virtual machine with 8 VCPU. How many licenses needed for this config?How many licenses required for 4 CPU X 4 Core physical processor ?Please help me...
View ArticleSQL 2008 R2 tempdb keeps growing when I run a certain query
We have a certain query that now seems to result in tempdb growing until the disk runs out of space. This has started happening recently, and seems to be very similar to an issue we had about a year...
View Articlewhere does SQL record the linked server login credentials when creating a...
I'm trying to understand where does SQL record the linked server login credentials when creating a linked server EXEC master.dbo.sp_addlinkedserver @server = N'xxxx, @srvproduct=N'SQL Server'EXEC...
View ArticleThe bulk insert can start any time and I am not confirm when it will be...
Hi,I have a index and a clustered index. below.In this table in one day 20-30 millions rows comes froma a excel sheet on random basis,due to which the index is fragmented upto 99 % and report fetching...
View ArticleWhen to split a database table instead of adding more columns - Performance -...
Okay the question is add more columns or split database table.Assume that i have a table which keepsUserId -PrimaryKey Col1 Col2 Col3Now i will keep another data as Col4 Col5 But these data won't be...
View ArticlePhysical memory
Hi gurus, Is there any dmv query that captures physical memory usage and free physical memory in instance.This query shoulnt be affecting database performance. please give your inputs.thanks in...
View ArticleMemory Utilization
Hi gurus,Is there any dmv query that captures memory utilization in instance.This query shoulnt be affecting database performance.please give your inputs.thanks in advance.Regards,Venkat.
View ArticleFrequent Running SQL Query
Hi gurus, Is there any dmv query that captures most frequently running queries in instance.This query shoulnt be affecting database performance. please give your inputs.thanks in advance. Regards,...
View ArticleExtended event monitoring and 'Using 'dbghelp.dll' version '4.0.5''
I've been using extended events increasingly to monitor some of my servers, databases, and processes. I have a few different sessions set up, some of them that I have left running with a histogram view...
View ArticleQuery in a stuck state, stats updated and with recompile in use
Hi All,I have a call to a stored procedure, its currently stuck at the moment, no query plan to look at as its using the WITH RECOMPILE clause, stats on the key tables have been updated and...
View Articleslow running queries
Hi gurus, Is there any dmv query that captures slow running queries in instance.This query shoulnt be affecting database performance. please give your inputs.thanks in advance. Regards, Venkat.
View Articleconnection statistics
Hi gurus, Is there any dmv query that captures connection statistics in instance.This query shoulnt be affecting database performance. please give your inputs.thanks in advance. Regards, Venkat.
View Articlemost blocked queries
Hi gurus, Is there any dmv query that captures most blocked queries in instance.This query shoulnt be affecting database performance. please give your inputs.thanks in advance. Regards, Venkat.
View Article