Would changing the isolation level to Snapshot for only 1 sproc help?
Greetings. 2008R2 So I'm trying to get up the Snapshot Isolation Level learning curve for two different systems. I'm having some deadlocks in one system, and blocking in the other. Of course code mods...
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 ArticleSQL Server 2005 on VM: VM Memory\Memory Ballooning Counter not starting
Hi all, Could anyone please guide me why i am getting this error, when trying to measure VM Memory\Memory Ballooned in MB counter on my SQL server Virtual machine? For more info: We are using VMware...
View ArticleCan't access table named SysMessages in SQL Server 2012
I have a table in my database named SysMessages that I use for storing custom error messages. I have been using this for years in SQL Server 2005/2008 with no problem, but in 2012 whenever I refer to...
View ArticleSQL Server 2005 Error Log : LazyWriter: warning no free buffers found.
Problems and Steps that I have tried: 1. Client Computer unable to connect to DB Server. 2. Error log shows many rows of errors started with "LazyWriter: warning<c/> no free buffers found." 3....
View ArticleTempDB issue after applying Indexes
I added several indexes to a SQL Server 2012 database to help with performance a couple of days ago. Today our partition with TempDB on it ran out of space. TempDB went from less than 10 GB to 38 GB....
View ArticleRestore failed
Hi, I received backup file from vendor. When I run restore script, restore database xxxx from disk='path\backupfilename' with move 'datafile' to 'newpath\filenaem', move 'logfile' to...
View ArticleMsg 3456, Level 16, State 1 Could not redo log record
I am getting below error: restore log Manish from disk = 'W:\translogs\Manish_20121012021501.trn' with replace, norecovery Error – Processed 0 pages for database 'Manish', file 'ManishDATA1' on...
View ArticleDiskpart Sql Server
I excuted DiskPart for sql server. below the screenshot. is Offset ok Please explain. Manish
View ArticleMinimally logged and point in time recovery .
In Minimally logged operation, If i change recovery model to bulk logged, and start bulk operation, after bulk operation if i insert 1 record to the same page on which bulk logged operation occurred,...
View ArticleLinked server performance dropped after migration
We just finished a server migration for our server. Actually, it is a hardware migration with new powerful server. From Win 2000 Adv Server + SQL 2000 to Win 2003 Ent + SQL 2000 After that, we found...
View ArticleHow to detect corrupted index?
Hi, We have a production Windows desktop app which runs against a SQL Server 2008 R2 database. (It was originally developed using SQL Server 2005, but was switched to 2008 at least a year ago. After...
View ArticleCorrupted Database Error 3456
After a simple reboot of the file server one of the data bases in the Sql Server 2k of the SBS 2000 appears in enterprise manager as supect. I decided to detach and again to attach the db. I have never...
View ArticleCDC and sys.dm_db_task_space_usage.internal_object_alloc_page_count
Gurus - I have CDC setup (2008 R2) and the job is set to run continuous. The job calls the cdc scan procedure with default parameters maxtran = 500 maxscans = 10 continuous = 5 pollinginterval = 5...
View Articleblocking from xp_sysmail_format_query waittype of preemptive_os_getprocaddress
Hi! We have a hung process with wait type of preemptive_os_getprocaddress. The process's last statement was xp_sysmail_format_query. I tried killing the proc, but now it just in killed/rollback status....
View ArticleHow to resolve the deadlock for stored procedure ?
Hi, I am facing deadlock issues in one procedure ... as code is likewise.... DECLARE @T table (Ticketid bigint, RefTaskId bigint) INSERT INTO @T select distinct...
View ArticleSQL Memory Issue (Hope Script Can Fix)
I have a SQL Server that tends to hang around 98% memory usage. When I restart the service the memory usage goes down to 20 - 30% and in two weeks its back to 98% and stays there. I have backups that...
View ArticleMeaning of Msg 3456, Level 16 Sql Server message
What's the meaning of the below error: Could not redo log record (13711624:118626:157), for transaction ID (2:-271513189), on page (3:57660275), database 'Manish' (database ID 5). Page: LSN =...
View ArticleSQL Server ODBC Data Source Test Failed.
Hi, User is member of AD grop and that group have permission on database. When this user tried to connect database through ODBC connection he gets following error and cannot connect: "Microsfot SQL...
View ArticleSplit one mdf file into several files
Hi, I have a huge (over 1 TB) SQL 2008 R2 database that has one .mdf file. I need to migrate the database to a another server but the new server only has several smaller drives, so I need to split...
View Article