Does cleanup task affect log chain
Hi there,I have two Maintenance Plans:1) FullBackupdaily at 0:00, oncecontaining a Cleanup Task, that deletes files older than 3 days (.bak)2) TransactionlogBackup daily at 02:00, every 5...
View ArticleReport to collect DB information from multiple servers
Hi All,I got a task to collect multiple SQL server instances DB details which located in different locations. Below are informations i want from all the DB instances: Database details:Recovery model,...
View ArticleStrange JOIN performance issue
Hi,I've found a strange performance issue when executing simple JOIN both on SQL 2008 R2 and SQL 2012.Let's create the following tables:CREATE TABLE TestJoinParent ( ID int IDENTITY(1,1) NOT NULL...
View ArticleSQL Server 2012 - frequent "System Health Monitor Thread: Operating system...
We have recently installed a brand new Windows 2008 R2 server and installed SQL Server 2012 (and SP1) on it. We have moved a couple of databases from SQL 2005 to it. Frequently the following is written...
View ArticleMemory / virtual memory problem on Win2K8 server
Greetings everyone ! This kind of trouble and question. I have Windows 2008 R2 Standard server installed on VM host on 1 vCPU (4 cores), 5120MB vRAM and 600GB vHDD virtual machine. Server acts as SQL...
View ArticleFind High CPU Query
My production SQL Server 2008R2 nearly always 100% CPU usage. How can I find which query makes this? Any SQL scripts or 3rd party tools can be used to troubleshoot this problem?
View ArticleIs There Any Common Issue shows from Application Side after SQL Service Pack...
Hi All, I am planning to patch SP4 on a SQL server 2005 standard edition (production server) since the SQL version is 9.0.4053.00 which no longer supported. So far all the SQL instances in our...
View ArticleDBCC SHRINKFILE not recaliming the free disk space in a datafile but throwing...
Hi, Despite this is an huge narration, in order to get a solution, I should mention the background of this database file on which DBCC SHRINKFILE is getting failed.We have a SQL Server database file...
View ArticleInsert Exec Performance issue
Hi,I have a procedure which has a code something like set @SQL = 'exec [LINKED SERVER].[db_name].dbo.[SP_NAME] @param_1 @param_2'insert into #temp(...)exec (@SQL)When I execute SP without insert...
View ArticleUnable to Explore File Table Directory
Hi,We have defined File Table in our 2012 instance.We are using a SQL Server Log in with SysAdmin privilege. But, if we try to explore the File Table directory using the "Explore File Table Directory"...
View ArticleComputer Name\SYSTEM. The command line parameters are invalid. The step failed.
Hello guys, I am working with Microsoft SQL Server 2005 - 9.00.1399.06, I am trying to execute a maintainance plan, a simple one by the way, but everytime i run it, i get this error message 'computer...
View ArticleRING_BUFFER_SCHEDULER_MONITOR reporting over 100% ProcessUtilization
I am using RING_BUFFER_SCHEDULER_MONITOR to get cpu history for the server. For some reason on our new intel box (system info below) we are experiencing above 100% (in the xml below it shows 129)...
View ArticleIndexs still marked as not being used but already deleted...?
Hi allI am currently going through the indexes which are not currently used on the live system. What I have noticed is when I get my numbers (or lack thereof) from sys.dm_db_index_usage_stats, it...
View ArticleResource Database is Located on Bin Folder
Hi All,Why Resource Database is Located Bin Folder in 2008 version but 2005 it's located at different ? please explain the discrepancy of resource database 2005, 2008 versions and why resorce database...
View ArticleCHECKTABLE found 0 allocation errors and 4 consistency errors in table...
Hello,I've detected this database consistency problem in integrity check. This error was appeared since may of 2012 therefore the backup was overwritten. Can you help me about the solution about this...
View Articlesys.dm_db_index_physical_stats: big differences in execution time
We run sys.dm_db_index_physical_stats(DB_ID(<DB-name>), NULL, NULL, NULL, NULL) on a daily basis to collect DB object size statistics.The first time we scheduled this SQL Job, it ran for 20min....
View ArticleEstimating the time taken for rebuilding the indexes in SQL 2012
Hello everyone,Is there any DMV that i can use to estimate the time taken for rebuilding the indexes in SQL 2012 ?Regards,ddanda
View ArticleSP slow from app fast from SSMS. Also plan guides for entire SP?
OK, I see this is a perennial, but now it's hitting me!It's a winapp, in C#, using connection pooling.sys.dm_exec_sessions does not show any different settings, and what settings would matter...
View ArticleA month's worth of powershell tutorial including SQL Server related tasks......
I hope it is ok to post this here. If not, my apologies to this forum.A very special thanks to Wayne Sheffield for providing this excellent...
View ArticleQUOTED_IDENTIFIER is a parse time setting but what if there are two in the...
BOL for this setting (2005-2012) hasn't changed. It says it is a parse time setting which happens before any lines are executed.SET QUOTED_IDENTIFIER OFF; DBCC useroptions EXEC(" IF EXISTS (SELECT *...
View Article