Using block process report from profiler as a work load for Database Tuning...
Hi,In SQL Server 2008, could we have the profiler trace that collected only the blocked process reports as a workload for Database Engine Tuning Advisor. I am only facing blocking issues on my server...
View ArticleCan I remove Index level 1 and 2 fragmentation?
SELECT avg_page_space_used_in_percent ,avg_fragmentation_in_percent ,index_level ,record_count ,page_count ,fragment_count ,avg_record_size_in_bytes FROM...
View Articletop queries by cpu
Hi gurus, Is there any dmv query that captures top queries by CPU in instance.This query shoulnt be affecting database performance. please give your inputs.thanks in advance. Regards, Venkat.
View ArticleWhat is AWE??
Hi Experts,Can you please explain me for my below of questions.*Are VAS and MEMTOLEAVE are same?*What is AWE and how it works?*Is it a windows mechanism or SQL SERVER mechanism?*How enabling AWE stops...
View ArticleFiltering SQL Server Profiler trace by RPC starting
Hello Experts,Our application use a middle tier that performs connection pooling to database for several logged in users. We use Multiple Active Results Set so there is no one to one mapping between...
View ArticleBackup job failing
I am experiencing a weird issue with BizTalk 2010 and SQL Server 2008. The SQL job named "Backup BizTalk Server (BizTalkMgmtDb)" throws the following error on step 3 (MarkAndBackupLog):"Processed 17...
View ArticleDoes anyone know by any chance what %% does in TSQL
Hi,Does anyone know by any chance what %% does in TSQL? In statements such as EXEC %%LocalLogin ( Name = @locallogin ) . Lock ( Exclusive = 0 )Regards,Shaunt
View Articlecorrupt data in sys.tabels. How to fix this?
Hi,I have the following problem:In the tables sys.key_constraints and sys.default_constraints i have a few corrupted records. The records have a parent_object_id that doesn't exists anymore. So I can't...
View ArticleMicrosoft SQL server error:233
I am getting this error when connecting to sql. I cant get into my databases now- its pretty ugly. "A connection was succesfulyl established with the server, but then an error occured during the login...
View ArticleDBCC CHECKDB checks CHECKSUM even if Page Verify = NONE?
Page verify is an option you can define on a database.SQL 2000: NONE or TORN_PAGE_DETECTIONSQL2005+: NONE, TORN_PAGE_DETECTION or CHECKSUMI have read a lot about it and understand that CHECKSUM is...
View Articletable-valued UDF in sql server 2008 getting hang
Table Values UDF are getting hang when i am writing below query select * from FN_Retun (123) it dose not return any output and stays in the running mode and when check with sql profiler nothing was...
View ArticleHow the option with Recovery during master database restore helped .
Dear all,Kindly check the following blog .http://sqllive.wordpress.com/2012/12/13/restore-master-database-with-replace-recovery/And help me to find the answer for the following question .what is the...
View ArticleRe:Index
1) what is the Index Scan ?2) What is the Index Shrinking ?Thanks,PurnaThanks, Purna
View ArticleSQL Server 2008 Change Data Capture stores NULL for ntext fields on update
I couldn't find anything related to this so far. I am implementing the Change Data Capture features on a SQL 2008 R2 server, and I've noticed some odd behavior for fields with a ntext datatype. I've...
View ArticleHow to get incorrect documentation (CDC and ntext) corrected?
There is incorrect documentation on this page: http://msdn.microsoft.com/en-us/library/bb500305.aspx. Is there a process for getting it corrected?That page states the following: "For the LOB data types...
View Articlelocks
hi gurus,I there any dmv query that gives details of locks like lock requests/min,lock waits/min,average wait time in instance.This shouldnt degrade the performance while hitting database.thanks in...
View Articlesys.dm_exec_sql_text(qs.sql_handle) db_id is null, what db is refer to
when db_id is null in sys.dm_exec_sql_text(qs.sql_handle)what does the query runs against? which database counts as consuming the cpu?
View Articlelatch details
hi gurus,I there any dmv query that gives details of latch in instance.This shouldnt degrade the performance while hitting database.thanks in advance,regards,venkat.
View Articlememory usage details
hi gurus,I there any dmv query that gives details of memory usage details like total memory,sql cache memory,lock memory,workspace memory,connection memory,optimizer memory in instance.This shouldnt...
View ArticleFileTable with new Resilient File System in Windows Server 2012
We are looking for best storage solution for our multi-tenant application. We are not looking for backup or NAS kind of solution. We have tried using FileTable in SQL Server 2012. But it does not...
View Article