LDF & MDF Files
Hi Gurus, is there any DMV query for finding size of all mdf's and ldf's for all user defined databases.I wanted to represent the data through graph Please give suggestion and please specify what are...
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 ArticleSql Query to Decrypt Password
Hi All, We use Sql Server 2008 and I need a query to know the password of users form aspnetdb databaseThanks, Quality Communication Provides Quality Work....
View ArticleSQL Server 2008 CDC?
Hello:I have CDC (Change Data Capture) enabled for 3 tables. due to heavy workload\INSERT, my CDC Capture Job is set to continous.when i run my DMVs i see that column waittype & last waittype is...
View ArticleLOg cache question
Hi all,As we know log file will not contain the pages, It contains the series of log records.I have couple of doubts here 1) in SQL server memory pool LOG CACHE is for Transaction LOG FILE??2) If so...
View Articlesql2005 database restore from another sql2005 backup file error.
hii try to restore a bak file from another sql2005 server to my sql2005 server, but it show the error message as below : TITLE: Microsoft SQL Server Management Studio...
View ArticleSQL server agent restart itself
Recently we have two SQL servers 2008R2 (SP1) experiencing a random restart of SQL agent. We are sure no one restarted but it restarted by its own and runs fine ever since. By looking at the error log...
View ArticleCould be bug with maintenance plan
I encountered an issues with my backup maintenance plan failing in SQL 2008 R2.The issue started when my user created a DB with these 2 symbols in the DB name -> $( <-- ex: $(test1)the $...
View ArticleDatabase Mail. Unsent messages.
Hi, I've gone over a dozen Database Mail install instructions. They are all very well written and the same.I've searched for answers to the error messages, found some talented solutions but haven't...
View ArticleSQL server memory usage best practices
I run SQL 2005 64bit on a Win2008 R2 Cluster with an active and a passive node. The rdbms hosts one DB at 40 GB and a few more db's at another 20 GB. Total size for all databases sums to 60GB. The...
View ArticleMSSQL 2008R2 Audit Logs
I have a question regarding MSSQL2008R2, I'm responsible for conducting security scanning and assessments, I am not a DBA, so please bear with me. When using Tenable Nessus to scan the database, a...
View ArticleWhy does SQL server resets TCP connections?
Hi experts, Please see screenshot here(http://www.4shared.com/file/jTRUk_Gf/All_SAP_connections_are_droppe.html).Application Reset:This situation also generates a lot of calls and, unfortunately,...
View ArticleExecution Plan vs. TIME/IO Statistics vs. Extended Event data
I've ran into an odd issue. I'm looking at the 'actual' execution plans of two different approaches to the same query. It tells me that the first approach is 97% of the cost, and the second is 3% cost...
View ArticleMerge query going into suspended mode
I have 2 MERGE statements involving 4 tables each with 30 million + rows. I am running these 2 statements in parallel using SSIS's execute SQL task and they were running successfully in 2 hrs. till...
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 ArticleSQL Server DB slow to backup under Backup Exec
We have randomly gotten a slow down in our backup speeds within our SAN connection. Two servers both running Windows Server 2008 Enterprise with SQL Server 2008 R2. Both are HP DL380 G7 servers...
View Articleasync_network_io
Hi All,I am facing a Major Issue. I have a table which is having just 21000 records and its size is around 4 GB.When i run a just simple plain select * from tablename statement its taking around 10...
View ArticleTDE-related DMV
Hello!I encrypted one of my test databases with TDE encryption using this code:USE master; GO CREATE MASTER KEY ENCRYPTION BY PASSWORD = '<UseStrongPasswordHere>'; go CREATE CERTIFICATE...
View Article