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

Trace flag 8295

Hi,Does anyone have where trace flag 8295 is used for. I found it active on a customer server, SQL Server 2008 R2 SP2 Enterprise Edition, but I can't figure out the purpose of it. When I search the...

View Article


HOW to change the collation settings on model database sqlserver 2005 server?

How to change the collation settings on model database sqlserver 2005 server?we are getting error 468 while we try to see the property of the database.

View Article


Unable to disable Server Audit on SQL Server 2008 R2 RTM

Hi thr,I have enabled Server Audit on My Production Server, now i would like to make few changes to this, for that i want to disable Server audit, but when ever i try to disable it through alter server...

View Article

SQL Server Log file growing too fast

Hi All,As part of SQLadministration I truncate the log files frequently. I usually do this through the object explorer by detaching the database, physically deleting the log file and re-attaching the...

View Article

Deadlocks occur on Node A, but not on Node C

Here's an interesting one, and hopefully I'm just missing something obvious...Background:3 node cluster.(A-A-P)Windows Server 2008 R2 SQL Server 2008 R2 Enterprise (SP2)Hardware is exactly the same on...

View Article


SQL Health Check Script.

Hi,I need a SQL health check script, or powershell script, in where we just provide a servername as input in stored proedure or powershell and it shoots a mail to me with complete health check...

View Article

Is doomed transaction inevitable if deadlock occurs in a trigger (SQL Server...

Hi all,Below are two scenarios, however, what I am trying to accomplish is to catch deadlock errors and re-try the DML that was chosen as the deadlock victim.  Does anyone know of way to accomplish...

View Article

SQL 2012 SP1 - SSIS Server Maintenance Job poor performance.

I'm using SSIS 2012 on SQL 2012 SP1 and the performance of the SSIS Server Maintenance Job is abysmal.  It's been running for 10 days and has still not completed.  Worse still it is blocking the other...

View Article


Cannot connect to SQL Server

Error trying to connect SQL Servertimeout expired. the timeout period elapsed prior to completion of the operation or the server is not respondingError while trying to Execute a procedure from Stored...

View Article


SQL server 2012 slow performance

Hello.I have an SQL server 2012 running on a 32-core IBM machine with a database having 100M rows in a few tables with a couple of columns in each table. The queries performed well with 100%...

View Article

'Attach' and 'Attach_rebuild_log' clause confusion in create database

I think I am having some confusion over 'Attach' and 'Attach_Rebuild_log' clauses : BOL says" In contrast, for a read-only database, the log cannot be rebuilt because the primary file cannot be...

View Article

Image may be NSFW.
Clik here to view.

CL Index columns in NONCL index

HiRecently I come across an index structure where, cl index column are used in non clustered index. Is there any benefit, is this a good index design practice. Please see the image bellowVVTPlease mark...

View Article

Fixed Server Role Auditing in SQL SERVER 2005

Hi Expterts, I have a requirement to keep track of fixed role grants and revoke to users on one of the instance in sql server 2005.  I already deployed a ddl trigger to do this on 2008 instance but the...

View Article


ignores covering index

I have a common search query on a simple table that has only a single covering (nonclustered, not unique) index.This will use the index:SELECT @bOK = 1 FROM verify_e1_account WHERE (e1_business_unit =...

View Article

faster insert to table

Using SQL Server 2008.I have a temp table with 500,000 records. I have to insert those to a physical table which has been truncated earlier. I dropped any indexes on the target table before starting...

View Article


Discrepancy between sys.dm_os_memory_clerks & sys.dm_exec_cached_plans

There seems to be a discrepancy between the amounts reported in sys.dm_os_memory_clerks & sys.dm_exec_cached_plans.The below 2 queries produce 2 very different amounts --Query 1 - Shows 1171MB...

View Article

MS sql server 2008R2(RTM) STD 64 bit, Temp db size is increasing continuously

Hi All MS sql server 2008R2(RTM) STD 64 bit, Temp db size is increasing continuously but not releasing the used up space , please suggest us what is the problem with temp db ? I have executed below...

View Article


Fragmentation?

Hi.,What is fragmentation and can u explain ?

View Article

azman + SQL Server 2008 : Access Denied

Hi,I am trying to create a new Authorization store with Azman with SQL Server 2008 R2 on Windows Server 2008 Server machine. However, when i try to do that, i get an error from Azman : "Can not create...

View Article

SQL Services fail to start after WSUS windows updates whether they have SQL...

SQL Services fail to start after WSUS windows updates whether they have SQL updates or not.#### Application Event log - Windows Server 2008 R2 Standard - SQL Server 2008 R2 EE #### 2013-02-19 - 3:33:13...

View Article
Browsing all 12554 articles
Browse latest View live


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