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

How to apply query governor cost limit to a single login.

I have an active directory group login (external users) that I need to limit the cost of their query.I know we can prevent a query from running if its cost exceeds a threshold with the sp_configure...

View Article


Performance monitoring - capture query time with STATISTICS?

I realize I could use perfmon to monitor all kinds of stuff, but was thinking one simple way would be to start capturing how long a query took.  Is there a way to select the client statistics or the...

View Article


system spid regularly allocating in tempdb but not deallocating

Early this week we had a system spid that was constantly allocating in tempdb but not deallocating:SELECT s.session_id, dbu.database_id , SUM(dbu.internal_objects_alloc_page_count)...

View Article

CREATE CLUSTERED INDEX generates Msg 0, Level 11, State 0, Line 0 in SQL...

We have a server that was upgraded last year from SQL Server 2005 32 bit to SQL Server 2012 64 bit (both Standard Edition). A new array has been added to the server to allow the creation of a new...

View Article

Cant browse below root of mount point in cluster when trying to restore database

HowdyRunning SQL 2008 R2 SP1 cluster on Windows 2008 R2 server.I have 8 instances of SQL running.Trying to browse below a mount point to select a file to restore a database, but I cant browse the...

View Article


Openrowset Error

Hello All, When I execute the following query I get the error:SELECT * FROM OPENROWSET (                      'Microsoft.ACE.OLEDB.12.0',            'Data Source='C:\Test.xls;Extended Properties="EXCEL...

View Article

SEQUENCE issuing numbers more than once?

This is all on Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64) Oct 19 2012 13:38:57 Copyright (c) Microsoft CorporationEnterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service...

View Article

What is the best option to use 6 databases with one instance and 6 databases...

Hello,I need your help, to answer my question as below:In one server we need to create 6 databases, I have 2 options to fulfill this requirement.Option1: Install SQL Server 2008 with one instance then...

View Article


SQL Full-text filter daemon launcher service

Hi, What is the user SQL Full-text filter daemon launcher service if in case we can stop the service what will happen.Can you please give me the clear picture of this SQL Full-text filter daemon...

View Article


SS2008 Log Shipping Performance Issues on Secondary Server Restore Job

Hi folks,I'm having an issue with log shipping. What has taken 2-5 minutes in the past is now taking 20-40 minutes which is no good really. File sizes have not increased.I've run the log shipping with...

View Article

SQL Server 2005 - High CPU and blockings using Outlook with BCM 3.0

Hello,we are using Outlook with BCM 3.0 for a long period of time (about 1-2 years) now. In the background works a SQL Server 2005 64bit with 16GB of RAM on it and 4 CPUs. From day 1 on we experienced...

View Article

SQL Server not using enough memory

Hi,I have a machine running SQL Server 2008 R2 on Windows Server 2008 Enterprise R2 (64 bit).  The server has 30GB RAM, with SQL Server max memory set at 24GB and min memory at 0.  Whatever demands are...

View Article

Server going to Single User mode

Hi guys,I am having a database which we refresh every night with same back up where it is used for testing purposes. we will refresh the database thorough job. every time it refreshes it goes to single...

View Article


Image may be NSFW.
Clik here to view.

Why activity monitor showing different wait statistics then DMV directly?

Hello,Why activity monitor showing completly different wait statistics compared to statistics coming from DMV directly? I cleared statistics first with DBCC command then run for a minute or so and now...

View Article

Errorlog filling with changed language setting and changed database context...

On one of my servers, the ERRORLOG is filling with messages for "Changed language setting to..." and "Changed database context..." for every single connection.  They are generated for any kind of...

View Article


The transaction log for database is full due to 'ACTIVE_TRANSACTION'

Hello team,One of the my database was in Recovery Pending state and we are trying to restore that database again with latest full backup  but I am unable to do so I am getting below error.The...

View Article

rebuild/reorganize index failed and i post log. Any idea? thanks

One job is to rebuild/reorganize index weekly. This job runs fine before and it fails this morning.Here is error log:Msg 8115, Sev 16, State 2, Line 213 : Arithmetic overflow error converting...

View Article


What have to be be run after upgrade from SQL 2008 to SQL 2012

I'm upgrading with an in-place strategy from SQL 2008 to SQL 2012, Data size is over 6 TB.I'm planning to run after the upgrade DBCC CHECKDB with physical_only and update statistics with sample 4...

View Article

Image may be NSFW.
Clik here to view.

Created a contained database but unable to connect

Using scripts provided here:http://blogs.msdn.com/b/sqlsecurity/archive/2010/12/08/contained-database-authentication-in-depth.aspxCreated a contained database in SQL Server Management Studio and a user...

View Article

Request for comment on this Deadlock.....

I have a question regarding this deadlock (names changed to protect the innocent) that I hope you can comment on. The facts as I see them:Victim = process ending in  6d8Victor = process ending in...

View Article
Browsing all 12963 articles
Browse latest View live


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