locks
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 Articlelock details
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 ArticleDDL trigger to stop permissions from being granted?
Greetings. After years of granting everyone db_dataReader to our replicated databases, we now have a requirement to restrict access to just Views for one group.Easy enough. The problem will be...
View Articlesys.dm_exec_query_stats is the Cache cleared when sql restart?
sys.dm_exec_query_stats (Transact-SQL)SQL Server 2012 Returns aggregate performance statistics for cached query plansin SQL Server 2012. When server restarted, will the cached plan write to somewhere...
View Articlecpu utilization
Hi Gurus,please give me dmv query that captures cpu utilization for last 24 hours.please help me.thanks in advance.regards,venkat
View ArticleMAXDOP 2 at instance level query uses 48+ threads for parallel query?
I understand that processor affinity controls how many cpus SQL can use, and I know that maxdop tells it how many it can use in a parallel query execution. So if I set maxdop = 2 (affinity uses all)...
View Articletotal_physical_reads in sys.dm_exec_query_stats, how many bytes each read?
is each read 512bytes?
View Articlesql statistics
hi gurus,I there any dmv query that gives sql statistics.This shouldnt degrade the performance while hitting database.thanks in advance,regards,venkat.
View ArticleTaking Performance Benchmark of T-log before and after move to new SAN disk
Hi All,We are planning to move the Transaction log to new SAN Drive, currently all the System and user databases are on same drive. Now we are moving only 1 user database T-log to new SAN Drive.We need...
View ArticleFull Text Indexing Architecture + Database Design
I'm currently conducting research for the design of an application that requires to search a large number (at least 100s of millions) of documents (of various types, PDF, Word, HTML etc.) and I'm...
View ArticleMonitoring Store Procedure
Hi allare there any method to track down the store procedure statistics like:1. when executed? and executed in a specific time ?2. the user who executed the store procedure.......
View ArticleSQL2008 R2 - low disk space - how to perform a bkp to a network drive?
Hi,we have a standalone server (not a domain member) with no enough space to create a backup (.bak) for some DB, there is a way to backup a network drive??I found the command below from...
View Articlewmi query in case of sql named instance
HiI have a piece of c++ code that connects to sccm server. What i do is that i run WMI query ( SMS_SCI_SiteDefinition) to get the host and database name and then use SQLDriverConnect function to...
View ArticleClustering: How to Connect to SQL Server on the internal IP address?
Hi,I have an SQL Server cluster working.the users and applications use the cluster IP to access SQL, good.I have also a management network card for the admins, mainly used for RDP connections on the...
View Articlecurrently running queries
Hi gurus,need a dmv query that displays all the current running sql queries.this query shouldnt degrade performance when hitting the database.thanks in advance.regards,venkat.
View ArticleWAITS
Hi Gurus,is there any DMV query for finding waits for user defined database.I wanted to represent the data through graph Please give suggestion and please specify what are the columns in the query is...
View Article