Help understanding DeadLock
We have legacy warehouse application running on SQL 2005 SP4 and off late are having dead lock issues. I know SQL 2005 is out of support and we are going to decommission this application soon,so, we...
View Articlewhich index choose/create?
Hi experts,I am creating the below table that will have more than a million records, so I want to be cautions about performance...CountryIdDateInsertedbr22-Julbr32-Julus23-Juleu43-Juleu23-JulThe...
View ArticleQuick investigation performance.
Hi experts,I have the below issue with an SSRS, it used to take 10 seconds to run last month… now it takes 10 minutes!Yes, this month there were a lot changes in indexes, and some more load on another...
View ArticleSQL Server instance unreachable
SQL Server instance was unreachable(down) at 2.00Pm and a dump was created at 2.01pm.I have observed "Warning: Failure to calculate super-latch promotion threshold".We haven't observed any blockings...
View ArticlePerformance tuning on prod server
Hi All, Sorry to ask this question in this forum. Its more kind of general and not a technical question. Can anyone tell me what are the drawbacks of using Production Server as a Testing Server....
View ArticleHow to Fix error Msg 458, Level 16, State 0, Line 4
I am getting SQL Server Error 458 The Error Message says : Msg 458, Level 16, State 0, Line 4 Cannot create the SELECT INTO target table "AdventureWork2014.HumanResources.JobCandidate" because the...
View Articletemplog.ldf grew unexpectedly,
Hi experts,Over the weekend templog.ldf grew unexpectedly... Went from 40GB to 71.1GB...Not sure what I should do to make it back to it's size... What should be the most correct approach?Thanks in...
View ArticleWhat does database_transaction_log_bytes_reserved of...
Is database_transaction_log_bytes_reserved simply the difference between a log file size and database_transaction_log_bytes_used for a transaction in a database in SQL SERVER 2012? I'm checking that...
View Articledecimal data type as Clustered index and PK
Hi experts, I am sort of auditing work being done by other team, and I came across the table Orders. The creator picked OrderId as both PK and its clustered index. The data type for OrderId is...
View ArticleBackup Encryption
Hello All,Is it possible to implement a backup encryption on an existing SQL Server instance?Thanks.
View ArticleSQL plan cache erase often 10 to 15 min - how to identify cause
Hi,I am troubleshooting performance issues on BO server, as some of the reports are taking very long time to execute. Understand BO performance is done at different levels but I am just making sure all...
View ArticleHow to get rid of implicit conversions WARNINGS from actual execution plans?
Hi Experts, How to get rid of implicit conversions from execution plans. CREATE TABLE dbo.T1 ( BigIntColumn BIGINT NOT NULL, IntColumn INT NOT NULL ---/// int datatype ); CREATE TABLE dbo.T2 (...
View ArticleAuto Create Statistics not working on server
I'm working on a fairly standard 2012 11.0.5058 set up with a production server with multiple databases, and correlating UAT and DEV servers on which databases are restored backups from Prod. Prod is...
View ArticleHow to move internal tables back to PRIMARY filegroup
Hi All,Awhile ago, someone changed the default filegroup of a user database from PRIMARY to a new one, called DATA. Over time I believe the db was either upgraded from SQL 2012 to SQL 2014, or else a...
View Articlesqlcmd not working when a port is defined in the -S argument
Hi Guys,This is a strange one. When running:sqlcmd -S <server name> -U <username>the command prompts for password and after inputting password I get "1>" which means it worked. However...
View ArticleSQL SERVER 2014 QUERY
Whats function which will return week day in sql server for the date 03/08/2016 it should return week day as 1 and 05/09/2016 should return week day as 1 baskarlakshmi
View ArticleError 7836 generated with High severity 20
Hello All,I have a SQL Server installed, everything is working fine on database as well as on instance level, but since a week i am getting subjected event in event viewer. what does the error means ?...
View Articlepage life cycle Expectancy is coming less than 300 in my SQL server do we...
HI All,i am new in SQL Server, i have sen some blog people said if page life cycle Expectancy less than 300 then we need to increase RAM.or i need to check some other parameter that give hint to...
View ArticleDB Connection Timeout
Greetings All the SQL DBA Experts,Currently my production db in clustered environment keep on hitting this DB Connection Timeout error.Connection Timeout Expired. The timeout period elapsed while...
View Articleis_read_committed_snapshot_isolation on and (nolock)
I have a database with RCSI turned on. I'm interested in understanding how SQL Server responds to a query with the (nolock) hint turned on.--Burt King
View Article