SQL Server 2008 R2 Memory Pressure
I have a SQL Server 2008 R2 Standard (x64 bit). It has 64GB of memory, but memoryclerk_sqloptimizer consumes about 36 GB. How should I clear it and identify what cause the growth of...
View ArticleWeird Semaphore timeout error
Running SQL Server 2008 v10.0.2766 on a Windows 2003 R2 X64. The SQL Server instances (2 per side)are part of an active-active cluster. We are seeing the following series of errors generated from our...
View ArticleFacing Deadlock during Parallel Updates even when "with(rowlock)" is specified
Hi,Brief Description about the process We have some update statements running in parallel on a log table. Structure of the Log Table is as below CREATE TABLE [dbo].[PackageTaskLog](...
View ArticleSQL 2008 Page Life Expectancy very high
When I run the following query to determine the Page Life Expectancy: SELECT cntr_valueAS'Page Life Expectancy'FROMsys.dm_os_performance_countersWHEREobject_name='SQLServer:Buffer Manager'AND...
View ArticleMS DTC: Transaction is aborted from Transaction Statistics
The Application, SQL server 1 and SQL server 2 are locating in the same computer. Almost of the transactions are aborted.Server: Windows Server 2008 R2 Enterprise SQL Server: Microsoft SQL Server 2008...
View ArticleExcel Connection
Hi,When I create an SQL connection from my workstation within an Excel file, other users are unable to refresh the data.Error Message: “[Microsoft][ODBC Driver Manager] Data source name not...
View Articlehow to write vb.net code into sqlserver
Hi All,I have a table named orders with 10 colums ,in that i have one coulmn contact_id which contains 15 digit number,now i want to make it as 18 digit number by using below vb.net code in...
View ArticleSQL Server 2008r2, Windows Azure PowerShell
Can I use Windows Azure PowerShell in SQL Server 2008r2 Jobs?
View ArticleJob failed
Hi Team,Job is getting failedError:Executed as user: TESCOKIPA\svc_sql_prod. Move file error check backup client: legato [SQLSTATE 42000] (Error 50000). The step failed.Please help me to...
View ArticleHow to determine which objects/queries are main cause for unusual increase in...
Hi,From past 2 days, tempdb is growing unexpectedly and completely filling up the Drive. Currently we are restarting the service.Yesterday, when we ran the below query when tempDB was full, we got 2...
View ArticleWhat is the identity range SQL Server providing, is it unlimited?
What is the identity range SQL Server 2008 R2 providing, is it unlimited? I got one escalation from application saying the data loading from excel is fialing with some error. The Table which should get...
View Articlesubselect with newid()
when I run an update sql like this oneupdate table1set column1 = (select top 1 column1 from table2 order by newid())the sql server run subselect once or many times (once for each row in table1) depend...
View ArticleSQL Server Authentication issue
I have an issue with a SQL 2012 SP1 database that I need help with. I am not a SQL expert, so I could be overlooking something very basic.I have a Windows Server 2012 R2 cluster that hosts multiple...
View ArticleQuestions on Max Worker Threads setting.
We've been getting alerts lately like this "The percentage of Worker Threads used (100.00%) is greater than the defined threshold 95.00% ". Low CPU, no blocking, no long open transactions, not using...
View ArticleFinding non active long running query in TEMPDB which caused it to grow
Hi,i have searched online and there is a lot of good info on finding the "active tx" which caused the tempdb to grow, but i am unable to find t-sql which gives "NON ACTIVE (dbcc opentran gives - no...
View ArticleBackupmediaset identical values
SQL Server 2005 SP4 StandardWindows 2003 R2 SP2 EnterpriseI am not able to understand the presence of a second physical device name that is similar to the first device but has _1 at the end. Any...
View ArticleMERGE failed because the following SET options have incorrect settings:...
I turned off ANSI_WARNINGS to insert 'Large' size data into a 'smaller' column. Now I couldn't get the MERGE statement working anymore, fails with the following error.MERGE failed because the following...
View Articleissue while inserting values into tables
I have a table (abc_table) and i need to insert 2 millions RecordsWhile i was inserting data into table (First these data will insert into Temp tables then insert into actual tables ) 4000 records are...
View ArticleSQL Server Agent job between 2 instances fails with Error 18456 - Login...
Hi,SQL Server version: 2012 EEOS: Windows 2008 R2 EnterpriseIn my server, i have 2 instances, and I am trying to configure a SQL Server Agent job to query one table in Instance A, and insert some...
View ArticleTable Size Increased after Column Store Index Rebuild (even though partition...
Hi,I have a large table (about 60GB) with a Clustered Column Store Index (156 columns). The table is alsopartitioned (using SQL Server 2014 Developer Edition).After the table was being populated with...
View Article