Quantcast
Channel: SQL Server Database Engine forum
Browsing all 5123 articles
Browse latest View live

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 Article


which 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 Article


Image may be NSFW.
Clik here to view.

Quick 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 Article

SQL 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 Article

Performance 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 Article


How 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 Article

templog.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 Article

What 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 Article


decimal 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 Article


Backup Encryption

Hello All,Is it possible to implement a backup encryption on an existing SQL Server instance?Thanks.

View Article

SQL 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 Article

How 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 Article

Auto 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 Article


How 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 Article

sqlcmd 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 Article


SQL 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 Article

Error 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 Article


page 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 Article

DB 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 Article

is_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
Browsing all 5123 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>