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

Querying extended Events XML WaitTypes and Duration

I'm querying Xevents XML that I have collected, and there is something that I dont quite understand, my definition is for statements taking more than 100 milliseconds and also get the wait type as...

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


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

Idle connections: problem or not?

SQL Server Version: SQL Server 2008 R2 SP2 Enterprise 64 bit on Windows 2008 Enterprise Avg Number of Active Connections: 5Avg Idle Connections:350Avg Batch Size/sec: 550I want to know that whether or...

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


Change Tracking for table which is daily refreshed

We have a table which is refreshed everyday by the following processDownload text file from Remote serverTruncate existing tableInsert data from text file to the tableHere is the sample structure for...

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

SQL Server Agent Jobs not running 'SQL Server Agent is not currently running...

Hello All,We have sql 2008 R2 SP1 A/P cluster running on VM.SQL Server Agent jobs are not running. If I manually try to run the job it gives below error'SQL Server Agent is not currently running so it...

View Article


Powershell to import csv file

Hello all,Running sql 2008 sp1New to PowerShell. Can someone please check the syntax and tell me if something doesn't look right.Trying to load a csv file into a tableThe csv file is comma delimited...

View Article


Can't start SQL Server Browser anymore

Hello,<o:p></o:p>I tried to install SQL Server 2008 Express. An Error message came up that an says that the SQL Server Browser was unreachable<o:p></o:p>I tried to start the SQL...

View Article

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

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

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


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

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


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 2008 performance degradation

HiI'm monitoring a DB and it seems that after 4/5 days, everything starts running very very slow, i.e. an SP which normally takes 10mins will not execute in an hour. Restarting the service solves the...

View Article


Distributed Queries: Unable to map to nvarchar(max)

I am trying to map to column to nvarchar(max) instead of ntext.  I have set the "LONG" flag and have tried setting the column size parameter to 0, ~0, -1.In all cases the column gets mapped to a...

View Article

Windows 7 & SQL Server 2012: Import and Export Data (64 bit) -...

Hi all,I just have Windows 7 and Microsoft SQL Server 2012 (and Microsoft SQL 2012 Express as well) installed in our Microsoft NT 4 LAN System. I tried to get Microsoft Server 2012 started in my...

View Article

How to transfer data from 2008 to SQL Server 2012

I am setting up a new SQL Server 2012 trying to move data via backups from a SQL Server 2008.  The 2012 server says the backup data is not compatible.  What is the recommended method to do this?Many...

View Article
Browsing all 12554 articles
Browse latest View live


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