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

In above case the LSN written in Bold is different from Full Backup...

I have database with backup strategy every hour log, sunday full and daily differential.I have run query:SELECT  name, backup_start_date, type, first_lsn, database_backup_lsn FROM msdb.dbo.backupset...

View Article


Slow SQL Query

Hi Guys, I do have a SQL query which complete within one second. However, I do receive some alerts in the application log (at Web server) that the preferred query runs more than one second sometimes....

View Article


Filtered Indexes on partitioned table

Hi, We have a table with 3 billion records. This table is partitioned by day. Currently we have clustered index on primary key and other non clustered indexes. Every query that hits this table taking...

View Article

Deadlock "philosophy"

Deadlocks occur in a sql database often intermittently. Assuming it is known how to fix a deadlock, and that it can be fixed by creating a new non-clustered index, when is it worth creating that index?...

View Article

Snapshot Isolation not Taking Affect

Although the stored procedure sets snapshot isolation to on with the following line:SET TRANSACTION ISOLATION LEVEL SNAPSHOT;The queries that are run in this stored procedure return data that was...

View Article


ASYNC_NETWORK_IO problem

Hi all.I see there are high wait on ASYNC_NETWORK_IO for my sql server.event I run select * from a table on the localhost of the server, it also generate high ASYNC_NETWORK_IO .I see some forum say...

View Article

Deadlock, 2 Updates against same table

We had another deadlock on our sql server. I found that two users, independently, were UPDATing the same table and one was chosen as the deadlock victim (One had a X lock on the table, the other had a...

View Article

Transaction log of Model database

HiModel database transaction log space used shows 97%. There is no activity in Model database. My question is, should we schedule weekly job to take transaction log backup of Model. Model database is...

View Article


Image may be NSFW.
Clik here to view.

NONculstered Index not fire when i use or clause

i have jobs tablejobid primary keyjobcode (nonclustered index)jobname (nonclustered index)sowhen i run my script as following:----case (1)-- in this case query use nonculstered indexdeclare @x int;set...

View Article


DISK IO Measure

 Hi, I m trying to measure our DISK IO performance. We have a single physical disk divided into logical units (LUN) O, R, L. in the counters, Which one Do I need to measure, Logical or Physical? Please...

View Article

Memory related

Hi all,i am confusion on this three memory option....1)which switchuation we can use    AWE ....?2)which switchuation we can use   /PAE...?3)which switchuation we can use   /3G...?I HAVE LOT OF...

View Article

System database

Hi all,suppose when we  loss the msdb database in ms sql server . we loss like JOB INFORMATION AND BACKUP INFORMATION ...LIKElike that when we loss model database .what we loss in ms sql server...

View Article

Sytemdabase

Hi all,1)MASTER  contain logins,linked server information.2)TEMPDB contain tempory table,internal object ........3)MSDB  contain job,backup informationlike   MODEL and RESOURCEDB what information...

View Article


Recently upgraded hardware and checking out sys.dm_os_wait_stats, wanted some...

Hello all,I wanted to thank Jonathan Kehayias for providing me with a script to check what wait stats are affecting my server the most.  Recently we replaced a server with a much more robust one and I...

View Article

Sp_who2 active result window does not show any user connected but activity...

If I check the current connections from Sp_who2 active and activity monitor for a database then in Sp_who2 active result window does not show any user connected but activity monitor shows it.Thanks

View Article


Query notifications stop working for specific queries

Hi all,I have an issue with query notifications whereby the notifications stop being sent for specific query templates.  For example, I may have:SELECT [dbo].[column1] FROM [dbo].[table1]which suddenly...

View Article

SQL Server 2008 R2 is terminating because of fatal exception c0000005

SQL Server is terminating because of fatal exception c0000005. This error may be caused by an unhandled Win32 or C++ exception, or by an access violation encountered during exception handling. Check...

View Article


Error about transaction log for a db in simple recovery model - SQL Server 2012

Hi,I've a SQL Server db in simple recovery model and I've executed a stored procedure. I've notice that the transaction log grows rapidly and when the disk is full the sp execution dumps with this...

View Article

Unable to take a Database Offline CPU at 100%

We have a SQL 2005 (9.00.4060.00) server (single instance) that recently had an application that uses it cause some problems where the CPU usage has been 90-100% consistently!  We were able to track it...

View Article

Resource governour, howto see/proof setup is working ?

Hi all, I have a SQL 2008 R2 server with 20 databases in one instance. Users in one of those db's are causing somtimes high cpu usage and I want to avoid that.So I set up resource governour with a new...

View Article
Browsing all 15930 articles
Browse latest View live


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