Restore database
Hi All,while am restoring the database, am getting following error like database backup set already exists.my backup version is sql 2000 and am restoring in sql 2008.I checked overwrite option...
View ArticleDeadlock problems
Hi,We are having deadlock issues using SQL server 2008. This is the victim process id<deadlock-list> <deadlock victim="processd1273708"> <process-list> <process...
View ArticleRebuild index task failed with error: Could not proceed with index DDL...
Hi Friends,I have one rebuild index job in my environment which is created using maintenance plan & having an option "keep index online ".job is continuously failed at this schedule time, when i...
View ArticleSuggested Criteria for Database Table Compression
Hi,We are about to move some large databases (150Gb to 270Gb) from SQL2005 to SQL2012. One feature that is now available is Database Compression. I do not really see any advantage to compressing a...
View ArticleIndex usage
I’ve been doing some analysis of our indexes with the thought of dropping unused indexes - and conserving space in our 1 TB database. I’m running the query below and have identified some indexes that...
View ArticleSQL performance worse since moving to sql 2008 R2 from SQL 2000 sp4a
We had a SQL 2000 server on a HP GL370 G5 running Windows 2000 Advanced (awe enabled 8gb ram)We now have a HP DL580 running hyper-v core 4 Processors 16 cores per processorThe Guest that sql sits on is...
View ArticleSQL Server pagefile.sys best practices.
Hi,Our SQl Server has 128 Gig of RAM.I am looking for best practices how to configure pagefiles on the SQL server and how to measure proper use of pagefile by using performance monitors.Is there any...
View ArticleConstraint to ensure at least one record is flagged
Hi,Is there a way to write a unique constraint/index on a table such that you can restrict a column to have a flag in at least one record in a table.An example table would be:ID Category...
View ArticleSharePoint database server memory issue
We have a SharePoint database server. The total memory is 24G. SQL server is currently using 98%. It started last Wednesday. It only used 4G memory before last Wednesday. We also started performance...
View ArticleExtended event timestamp bug still not fixed
I have SQL Server 2008R2 10.50 with SP1.When running a black box query I am still getting incorrect event timestamps. Any idea how to get the correct timestamp in this query?Thanks.SELECT...
View Articlerenaming a system object
hi all,i have a user table that has been promoted to a system table a while back. In the property, I see that the table System Object = True.I tried looking for a way to revert this table back to a...
View ArticleBest RAID for SQL Server 2008 R2 SE on SSD's
What is the best raid option for SQL Server 2008 r2 se on SSD's?I meant for ldf, mdf, tempdb. I am thinking of Raid 10 for the drives on which ldf and mdf resides and Raid 5 for the drive on which...
View ArticleSQL Express 2008 r2 sp2 out of memory bug!
I have one query with 21072 individual update statements in SSMS. I am using sql express r2 sp2. I am updating only one varchar(255) text field with short strings < 100 chars. I only get partway...
View ArticleUnable to login into sql server database engine
Hi Friends, This is the error we are getting while logging into SQL Server 2008 R2 in INMUk05. It is not letting us to login into SQL Server. \ =================================== Error connecting to...
View ArticlePerformace
If any one knows what is the steps to check and analyse the performace issues with memory please provide the information? How to confirm tha the issue was not a memory issue ?
View ArticleWho change policy
Hi,Our security team received alert regarding policy change on SQL Server computer. They don't know whether policy changed on windows server or Database server. Just computer name is given there. I...
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 ArticleSQL server 2000 performance issue
While executing the restore command in sqlserver 2000 (windows 2003 server) itself it was taking around 3 hours to complete the restoration.if we connect the same instance in other server, 2008...
View Articlespid -4 blocking the transactions
Hi All,We encountered a situation today where the spid -4 was blocking the transactions. We're not able to kill it as it was not treated as a valid spid by SQL server. We tried to get the UOW using...
View ArticlePartition table with non-clustered index
Hi,I am in sqlserver 2005 developer edition. I have a table awrard_transaction which has refno column as primary key and has a primary key (unique clustered index on it), index name is...
View Article