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 ArticleWhat 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 ArticleIs there ever a reason to have a nonclustered index on the primary key...
Greetings,I'm not certain the value. I'm coming into a situation where there appears to be a bit of a mess with the indexes and before I criticize out of ignorance I thought I should take a stab at...
View ArticleGenerate 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 ArticleEvent 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 ArticleCPU 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 ArticleChange 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 Articledatabase file size - confused
I have some confusion about the following concepts in a database property: In SSMS, when right click a database, for example Model.1. General tab: Size: 3.75 MB Space availabl: 1.14 MB2. FileS...
View ArticleIs 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 Articledatabase 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 ArticleSYSFGFRAG
I wanted to know if anyone knew what this system table is for (SYSFGFRAG). It showed up in one of my traces but when I try to query it I get a message that no such object exists. I assume it is some...
View ArticleConnection to SQL server gets lost
I have two application servers which connect to the db server with various dbs by using SQL Server Native Client 10.0 (Version 2007.100.4000.0). After a fews the connection to db server gets lost. The...
View ArticleSQL 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 ArticleUnable to connect to SQL named instance using alias name
Hi I have installed Two named instances of SQL Server 2008 Standar Edition X64 SP1 on Windows server 2008 Standard edition X64 with SP2I created two Aliases using Configuration Manager pointing to both...
View ArticleSQL 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 ArticlePowershell 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 Articlehow 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 ArticleDistributed 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 ArticleImport data from Sql tables to Ms access
I need to transfer few tables from sql to ms access using query.Can some one please help in writing it
View ArticleWindows 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