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

Performance issue, compared plans and different plan operator costings

Hi All,I'm looking at a performance problem, a proc which gets called with some set of date parameters to delete data from a table, on a particular day one takes quite some time whilst the next day it...

View Article


Image may be NSFW.
Clik here to view.

Event Id 326 & 327

I have those event triggered on my log every every few seconds, sometimes as many as 6 per seconds.I know that some here reported that this is related to the SSRS. But anyway, What does that changes ?...

View Article


Recovering 1TB of unallocated space?

Please read the post well. I posted somewhere and most of the posters assumed that the 1TB table is there. It's not. Also, the size of the MDF is 1.75TB, the HDD has 1.83TB used and 65.8GB is free.So...

View Article

MSDTC and Quorum on Standby Node

Is it ok that the SQL Resource group is running on one node and  the Cluster and the MSDTC Resources running on the other?It may not be normal but what are the consequences of it?OS: Microsoft Windows...

View Article

Find PID of cmd which is called from SQL

I have a set of SQL jobs which call same exe with different parameters using xp_cmdshell. I have a situation where I need to kill on of the jobs and in order to kill it I need to kill the process...

View Article


CPU utilization of SQL server 2008r2 is high.

Hi All, I'm facing a critical issue in one of production servers.sqlserv.exc is utilizing more CPU(90% to 100%) Windows version:windows server 2007 standard with SP1 processor:Intel(R) Xeon(R) CPU...

View Article

Generate a sequnce Number with String in SQL Server 2008r2

Hi All,I need to generate a sequence number like below.EmpId                      EnameCT001                      JohnCT002                      MikeAB003                      Shaun'...

View Article

database encryption

Hi allI have a database which has encryption on SQL 2005, after backup the database at 2005 and restore to 2008, I see the master key and symmetric key still inside the database however i am not able...

View Article


SQL server Agent Scheduler

Hi all, I have some SQL server jobs placed in one sever , till last two days everything is fine , Today no job in my server ran and checked the agent and all everything looks file , I found the issue...

View Article


Drop partition

In sqlserver 2005, If i have partitioned my table based on date for each month, how do I drop partitions having data older than 3 months. This is to do the archiving the old data as we don't want old...

View Article

Inserting into a single heap table from multiple sessions

Is it possible to insert into (let's say 20) from multiple sessions into the same table (heap or not but certainly there is only a single non partitioned target table) and get inserts run in parallel...

View Article

Is log file needed for backup?

Hi all, I'm wondering if a backup done without the log file, could this cause an issue when restoring the database? Background, we use Backup Exec to do our back ups. The person that was handling this...

View Article

Table does not update in SQL server

hello all, I have created a VBA code in access 2010 which upload an excel file to a table .i can see that form some tables , the data is updated, meaning eraseing the data from the SQL table and...

View Article


Replication and partitioning in sqlserver 2005

Hi,I am not able to find a document about any partitioning operation limitations for replication. Can any one help to answer the following questions.1. Can we harmlessly replicate partioned...

View Article

What is the benefits of Multiple mdf files and ldf files ?

Hi,Does any benefits for using multiple data files and log files ?Which way it is useful ?.--Thanks-- Bhavesh Thakkar Sr.Database AdministratorMy BlogLinked In Profile

View Article


how to track down primary key violation problem

We have a specific file from our application that cause PK violation on our SQL 2008 server. I would like to track down what those fields are and I know which DB and table those field resides.  The...

View Article

Is it safe to kill a task with wai type Backupthread?

Hi everyone,I am performing backups of all my user databases via maintenance plan and SQL Agent job, but I can see in the Activity Monitor that one of the database backups has 4 tasks in it - 2 are in...

View Article


Create a ColumnStore Index on a Partitioned Table

I'm having difficulty creating a ColumnStore index on a partitioned table.  If I try to align the index with a partitions, I get this error:Msg 2726, Level 16, State 1, Line 1 Partition function...

View Article

Parameters at the first call of a stored proc might produce wrong execution...

Hi everyone,Sometimes, the parameters used the first time a stored procedure is run may produce an specific execution plan that is cached and reused for the next times the procedure is run, with other...

View Article

PAGEIOLATCH_EX Wait type on insert

Hello All,I am noticing a lot of PAGEIOLATCH_EX wait types whenever there is an insert into a table.  I have the clustered index primary key on a GUID. I wanted to know if this was a disk issue and ran...

View Article
Browsing all 15930 articles
Browse latest View live


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