Auto headers in any new sql script
ctrl + New, new blank window will open to write sql script same time I expect below comment as header appear automatically in sql 2005/08 R2 is it...
View ArticleFiletable vs windows NTFS access
Can I store my file in FileTable and control the security via sql server? In other words, is there a way to prevent users from windows users from accessing the file? Also is there a way to apply...
View ArticleDTA suggesting inadvisable ammendments
Hi allI have actioned the recommendations on a trace file put through the DTA. It has however made our system even worse performance-wise!It suggested to remove certain indexes which we rely on...
View ArticleTransaction log full with simple recovery mode
Hi, we have a little db with recovery mode=simple. So, with this mode, transaction log suppose to be truncate after each checkpoint. I have a msg in the error log saying this: "The transaction log for...
View ArticleIntermitten Failures in Transaction Log Backups
We are having intermitten failures in backing up the transaction logs. We are running SQL Server 2005 Enterprise with SP 4, working on testing migration to SQL Server 2008 R2.10pm we perform a full...
View ArticleAre physical reads seriously affecting logical reads?
We have a heavily used SP which I'm trying to optimize because it sometimes runs slow.Yesterday on production it took 80 seconds and did 33m logical reads, according to profiler.(btw, this is a long...
View ArticleChange Data Capture (CDC) Is not populating the underlying tables
The database in question is in simple logging sql 2008 enterprise SP2 64 bit on windows 2008 enterprise sp2. This is a test database and there is very little activity. There are total 58 tables setup...
View ArticleDeadlock on single object
I don't understand how this deadlock even gets started, it seems to say that process C8 has a U lock at the same time process 48 has an S lock on the same object. Shouldn't that be prevented right...
View ArticleUpgraded 2008 R2 SP1 -> SP2, now BACKUP/CHECKPOINT on one DB fails
I upgraded 3 of our SQL servers from 2008R2 SP1 to 2008R2 SP2 Monday night. One database (out of 9 DBs on the 3 servers) can no longer run a backup or checkpoint.The error is:Msg 2601, Level 14, State...
View ArticleDifference between Alter index and DBcc DBreindex
HI All,I would like to know the difference between Alter index and DBCC DBreindex and from the below URL i came to know that DBCC DBREINDEX feature will be removed in future versions of SQL Server and...
View ArticleAnalysis Service database backup on daily basis and need to move backups to...
Hi All,I got a task to take Production server Analysis Service database backup on daily basis. And also a copy of these backup need to be moved another location/region(DR server) from production...
View ArticleOrphaned Statistics
Hi allHaving run a DTA recommendation through on our server, it has created indexes which I have deemed not useful. I have removed the offending indexes but not the associated statistics objects. Is...
View ArticleTransactional Replication Issue
Hi , We are setting up a new Sql Server for our testing environment and migrated the data from Old Server to the New one by Attaching the .Mdf Files.The Old server was already having replication...
View ArticleSQL consistency based I/O error, help needed
Hello everyone.I'm new to database errors so I'm not really sure what I should do next. I'm using an accounting program running on SQL Server Express 2005 (9.0 SP3) on a Windows Server 2008R2. While...
View ArticleFailed to flush the commit table to disk in dbid 5 due to error 2601
I have a database with Change tracking enabled and when i tried to backup i got this error:Failed to flush the commit table to disk in dbid 5 due to error 2601. Check the errorlog for more...
View ArticleSQL Server 2008 detected a logical consistency-based I/O error
Hi, guys!I am using the SQL Server 2008 under Windows 2008 + SP2 and got the following error in the event viewer recently:SQL Server detected a logical consistency-based I/O error: incorrect checksum...
View ArticleRetention, Skip, Init combination question
Hi all,I'm very inexperienced so be gentle :-). I have to guarantee that backups I do satisfy a certain requirement. A DBA from a partner company has told me how to do what I need. His understanding...
View ArticleMemory ISSUES In DR Server
Hi Team,We are getting memory usages 86 %.I have checked in windows task manager --> Process -- sqlserver.exe xxxuser 27,778,989 it was showing like thisCould any body please suggest me its DR...
View ArticleSQL 2008 R2 Failover Cluster
Hi all, I am trying to install SQL Server 2008 R2 failover cluster on Windows server 2012 OS. But I am getting the following error:-Downloaded the KB937444 and tried to install it but getting...
View ArticleAuditing SQL Server 2005 Standard Database on Insert Update and Delete...
Hi I have doubt about data Auditing in SQL Server 2005 EE. Is SQL Server 2005 has any default data Auditing for DML Operations? Kindly Suggest me. --Ragu ThangavelRagu Thangavel
View Article