Deadlock issue
Hi All,I am going through a strange issue. We have a very simple file processing system with users submitting reports everytime. There is one part of process which deletes the data from intermediate...
View ArticleSet Maxdop = 8 and cost threshold for paralelism = 15
Hi all,I recently changed CTFP=15 on my producion server. Why I use that number and not the 50 rule of thumb from microsoft´s advice? Because on my query plans, I have none subtree plan cost bigger...
View ArticleMAXDOP on HP ProLiant Gen9 and NUMA support.
Hi all,By default in sql 2008 r2, we have MAXDOP = 0. This means that a certain query will going to paralell if their cost is bigger than CTFP (by default 5), and it will use all the cpu cores...
View ArticleCTFP vs Processor time vs Lazy writes.
Hi,Recently I have changed the value of Cost Trheshold for Paralelism from 5 (defalut) to 15, due to I have checked that value is greater than the maximum subtree cost for all the queries that going on...
View ArticleWeird performance issue.
Hi all,I don´t know if the subject it is correctly named, because all performance issue it is weird by definition. I choosed it on purpose to attract you attention on a issue that experienced on my...
View ArticleIs auto update statistics good For OLTP
Hi,I wanted to know if setting Auto Update Statitics to TRUE will be good for OLTP environment. Millions of records are inserted in the transactional tables with 1000s of records within a second. What...
View ArticleNon Clustered Index on Phone column
Dear All,I have a Lead table with below fields.LeadId int (Not a primary key)Telephone......Table have 4 millions recordsClient always search the data with the Telephone number.I have created only Non...
View ArticleHelp improving performance of a query
The following query takes somewhere between 30 to 35 seconds to complete. Can something be done to speed it up? Actual Execution plan is attached. Any help/suggestions would be greatly appreciated.[
View ArticleGeography Find All Zips in Radius Performance
Hello All,Let me preface this by saying, I'm fairly new to GEOGRAPHY types. Let me paint the scenario.We have an application in which the user puts in an origin zipcode and a destination zipcode. When...
View ArticleQuery taking more time
Dear All,I have a table and it just have 34K rows in it. I have a non clustered index on a date column and i queried for date > <some date>. It tooks 1.5 minutes to return the results. I took...
View ArticleColumn alias in order by working in sql server 2008R2 but intermittently
Dear FolksMy below query was working fine before 2 days at my prod environment (SQL Server 2008 R2 enterprise edition). but Now its throwing error "Invalid column name component" because I used column...
View ArticleExecution plan missing.
Hi all.Recently I have found with the help of one of the Bent Ozar, scritps. One called spBlitzCache.And found some disturbing when the script tried to get the plan for a specific query.The meseage...
View ArticleTrying to reduce RID lookups
Appologies perhaps I should have posted in the forumhttps://www.sqlservercentral.com/Forums/1931278/Trying-to-reduce-RID-Lookups
View ArticleReplica of Store Procedure taking more time
Hi All,I have optimized one store procedure. Original is taking 35 seconds to take data and new SP is taking more than 1 min.So, I tried to make the replica of same SP with the same code, even that is...
View ArticleExtremely slow SQL server
HI allI am not much of a DBA but find myself in a situation where I need to learn really fast.We have a SQL Server running SQL Express (I know, problem number 1)This server is also running a Domain...
View ArticleTransaction Log backu job sometimes fails with erooror: There is insufficient...
Hi We run SQL Server 20008R on Windows Server 2008R on HyperVWindows Machine is dedicated to run SQL Server production DBWe have 32 GB RAM. We've started to get failure on Transaction Log backup job (...
View ArticleVery erratic performance in last few days.
I apologize for such a general question, and there is not enough info for a detailed answer, but ANY general suggestions would be welcome.We're running an SQL2008R2 instance on a VM with 12 cores and...
View Articlecan't install SQL SERVER 2008 SP3/SP4 on WINDOWS server 2016
Good day Everyone,Does anyone here know the reason & how to install SQL SERVER SP3 on windows server 2016?I was successfully installed SQL SERVER 2008 Developer edition. and the next thing to do is...
View ArticleSlow running procedure - free text search
Hello experts,Thanks in advance. Seeking your help. I am writing a stored procedure which have a feature of free text search. The performance is very.I have attached stored procedure and execution...
View Article