DBCC_OBJECT_METADATA & DBCC_CHECK_AGGREGATE latch
what does DBCC_OBJECT_METADATA & DBCC_CHECK_AGGREGATElatch wait mean?Manish
View ArticleDBCC How Repair_Allow_Data_Loss works actually.
As per the articlehttp://www.sqlskills.com/blogs/paul/corruption-last-resorts-that-people-try-first/Kindly let me know Repair_Allow_Data_Loss will not rectify the logical error $1000. it means data...
View ArticleAttachement to adventure database failed
Unable to open the physical file,operating system error 5:failed to retrieve text for this reason:15105(Microsoft SQL error 5120
View ArticleSQL transaction log question
I have database which is 800GB big, recovery is set to full and there is also 700GB transaction log file. I need to do something about this log size:). Database and log file is on RAID10 SAS drives. 1)...
View ArticleWhy decrease MAXDOP?
Hi All,I'm doing research on WHY decreasing MAXDOP for my SQL Server (2 sockets x 6 cores + HT = 24 logical cpus) would benefit my system? According to one of my previous posts here and based on MSFT...
View ArticleProblem with auto-increment of Identity column value after rollback
Hi,I'm currently debugging a database app, with the client running in VB on the 2008 framework, and the database running in MSSQL Server 2005At the moment, I'm writing the Save routine, for the final...
View Articlehelp to rewrite the query and make it run faster
I have a function but it runs very slow, I think the reason is because it has Order by case statement.Can anyone help to restructure this query , that may runs faster but the same result.The table...
View ArticleSQL Svr 2005 limit use of tempdb
I have a 2005 SP2 server that is getting hit by reports that regularly use over 150GB of tempdb. Even though I am using the free cache and sproc functions to recover space, it rarely works and I end up...
View ArticleSelect @@Servername shows incorrect entry
Hello,i migrated all databases from a SQL Server 2008r2 Cluster (Name: Cluster01) to a SQL Server 2012 Cluster (Name: Cluster08). After the migration I renamed the 2008r2 Cluster to ClusterOL and the...
View ArticleTable level, partial data restore.
Hello,I'm trying to solve the following problem. I have a central DB that holds data for many organizational units. Data for every organizational unit spans many tables. The problem is how to process a...
View ArticlePeriodic server crashes on DB server, no cause?
We've got 2 DB servers, connected to a SAN via fiberchannel connection.We've had periodic (1-2) crashes a week off an on, but have become more frequent.The only thing running on the servers is SQL...
View ArticleSQL Server Jobs are extremily slow
SQL Server 2012 with the latest SP on one of the sites. Have several SQL Jobs - each step takes forever to execute. The same steps executed in SQL Server Management Studio do not take time at all. Not...
View ArticleDoes MS SQL Server support ISO 10646 standard?
Hi All,Because I need to select a SQL Server to be my system database engine.For my research, MS SQL Server support Unicode since SQL Server 2000 Standard.But I cannot search the further information...
View Articletruncate_only' is not a recognized BACKUP option
Hello All,I am able to run the below command in sql 2005 but in 2008 getting error : truncate_only' is not a recognized BACKUP option.Back Up Log [DBName] with Truncate_Only dbcc...
View ArticlePage row compression in tlog backup
please let me know if page compression set on whole db tables will also be page compressed in t log backups.e.g. i have PAGA 1 table page compressed and another ROWB row compressed. if i take tlog...
View ArticleIssue in single quoted text in sql server 2008 R2
Hello,I am using SQL Server 2008 R2 and migrating my database from Oracle to SQL Server. It has a concatenation code which contains single quoted text which contains dot due to which it is throwing an...
View ArticleSAC utlity on named instance (Clustered)
Hi All, I need to run a command similar to below on a named instance on a Clustered server: sac out outputfile –S servername -I Instance2\Instance2But I get an error saying:Instance2\Instance2...
View ArticleTracing how and from where a backup is occuring.
I know this may seem strange or even newbish. But I can not for the life of me track down what is backing up our databases. It shows in teh SQL Server log they get backed up at 11:15pm, however the...
View ArticleUnable to start SQL Server Agent/Instance Service
Hi,Hi,HiI am not able to start the SQL Server Agent and SQL server services. I am on version SQL server 2008 R2 10.5 on Windows 2008 R2 machine.Below is the error message. SQL Server Agent service...
View Articlesql server 2008 r2 ram usage
hello guys im just wondering about ram usage of sqlserver is stock even theres no transaction open. sample without transaction ram usage in task manager is 1gb , now i open may localhost site and view...
View Article