Optimizing tempdb performance in SQL Server 2012
SQL Server 2008 R2 BOL contains a topic on optimizing tempdb: SQL Server 2008 R2 Books Online > Database Engine > Development > Designing and Implementing Structured Storage > Databases...
View ArticleSQL Server Job that were written in SSIS packages failed
could not load package files system because of error 0x80070002. Description: could not find file 'C:\program files\microsoft SQL Server\100\DTS\Binn\. The package could not be loaded. The step failed....
View ArticleUnexpectedly error - ex_handle_except encountered exception C0000005 - Server...
Hi Guys,I've faced an unexpected error in my test and production environment. The SQL Server was shutdown and it was created a dump file with the follow information:* BEGIN STACK DUMP:...
View Articlesysindexes states that sys.sysrscols contains 50 million rows. How to free up...
HiWe have a problem with a database that has some hidden data somewhere. We cannot shrink the files or database any more, but when we query table sizes, index sizes we do not come near the database...
View ArticleRestore DB from backup with move - need to set to single user mode first and...
Im going to restore a recent backup from a production server DB to a test server DB and I want to do it through tsql. The DB already exists on the test server, I just want to overwrite it with a fresh...
View ArticleBackup maintenance plan not working on remote drive -SQLServer 2008 r2
We are using SQL Server 2008. We have a maintenance plan for data backup which places backups on local and remote drives.We are getting error while specifying remote drive.Regards,Salman
View ArticlePermanently Drop database triggers from tempdb
We installed an security application that created database triggers in all the databases to include tempdb. We have found that the database triggers in tempdb are causing out main transactional...
View ArticleError during backup process
Hi,Our system on a daily basis creates a backup of Sql Server 2008 database. It is using "backup database {0} to disk='{1}'" command. It works for years now, but recently a problem occurred.On our...
View ArticleAutogrowth, shrink and database performance
I have already asked some questions about Autogrowth and shrink. But I have some doubts related to it. 1)I have a database which grows about 300 MB every month. So is it best to set Autogrowth of 300...
View ArticleSEQUENCE issuing numbers more than once?
This is all on Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64) Oct 19 2012 13:38:57 Copyright (c) Microsoft CorporationEnterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service...
View ArticleViewing an encrypted data in MSSQLSERVER
Hi Everyone,I have a table in my database that contains an encrypted column. I dont want to decrypt the column but I want to be able to view the encrypted data.Please i need help!!me
View ArticleAfter a restore Im getting login failures for a particular login - user...
I recently restored a backup from a production server to a test server. Everything went fine, but one login seems to be giving some of my applications trouble. After digging around a bit, it seems...
View ArticleApplication Role
Hi All,In SQL Server, we can create application role by using the Create Application Role command and set the application role executing the sp_setapprole stored proc. But how and when does the binding...
View ArticleMoving Database Servers
AllI have recently moved some production db's.Recovery Mode = Simple.XXXXX.mdf - 1.8gbXXXXX.ldf - 800mbWhen we run a full back up the log file does not reduce in size, is that normal?I have some quite...
View Articlecpu scheduling
Which cou scheduling algorithms are used in different versions of windows including 95,98,NT,xp,vista ,7and 8?Was thread scheduling with multi queue implemented in the earlier versions too or it was...
View ArticlePhysical to virtual cluster
Hi,We have windows server 2008 two node cluster active/passive. We have few named instances of sql server 2008 and r2. Our management is planning to virtualize almost everything to save money. Their...
View Article2012: disable/enable(rebuild) index. Why are compression settings lost?
I noticed this a few versions ago and just verified that it's still the case on 2012; disabling an index and issuing a rebuild (alter index <index> on <table> rebuild) causes some set...
View Articlesys.dm_tran_database_transactions vs. dbcc opentran.
Greetings. I've been using sys.dm_tran_database_transactions to detect which queries are making my TLogs grow, but wouldn't it also stand to reason that dbcc openTran would be an equally effective (if...
View ArticleDedicated Administrator Connection
Hi:I am trying to connect to my local instance of SQL Server 2005 using Dedicated Administrator Connection by usingAdmin:Servername\Instancenameand I end up with the following error.Dedicated...
View Article