SQL Agent Jobs Fails
Hi All,The job failed. Unable to determine if the owner (BI\Dev) of job FirstDataCreditCardCBC has server access (reason: Could not obtain information about Windows NT group/user 'BI\Dev', error code...
View Articlesys.dm_os_wait_stats
Sometimes i had problem with slow working of sql server.After reading some article i find about running sys.dm_os_wait_stats. In my sql server i ran query select * fromsys.dm_os_wait_stats order by...
View ArticleSQL-Server 2008 memory
Hello,i need to limit the memory of the sql-server. I configured the needed limit in the management studio but after one day the sql-server uses the complete memory again. We have to run an other...
View ArticleClustered index on a varbinary column
Hi,I just wanted to ask if there are any consequences to using a varbinary(120) column on a table and having a clustered index on it. How does this affect inserts etc.This column is used in a checksum...
View ArticleSQL Server Maintenance Plan on a Network Drive
Hi,I am using SQL Server 2008 R2 and trying to do Maintenance Plan for database backup on a network drive.The network drive is based on CIFS that required us to login with username and password. I am...
View ArticleSQL Server 2012 Diagnostic Information Queries by Glenn Berry (updated...
http://dl.dropbox.com/u/13748067/SQL%20Server%202012%20%20Diagnostic%20Information%20Queries%20%28January%202013%29.sqlThank you Glenn Berry!Frank Garcia
View ArticleHow to get the command text in a trigger that cause the update?
Hi AllI create a update trigger for a table, if the specific column is updated, my trigger will save the old value, new value and the sql statement to another table, now old value and new value is in...
View ArticleWhy SQL Database files ware called Virtual File
Hi,Why SQL Database files ware called "Virtual File". Like sys.dm_io_virtual_file_stats - defination of this DMV is "Returns I/O statistics for data and log files. This dynamic management view replaces...
View ArticleMaintenance Plan authentication issue after AD Migration
We have a Windows 2003 server running SQL Server 2005 that was provided to us pre-configured by our point of sale system provider. We had to move this server manually from an NT4 domain to an Active...
View ArticleSQL server 2005 DeadLock
Hi,What this deadlock graph indicates and how to resolve this issue?
View ArticleI O usage
Recently after a data center outage upgrade, our network people are troubleshooting some SAN I/O issues.One thing they want to find out what causes the big I/Os, and ask me also as a dba to provide a...
View ArticleSELECT statement leaving open transaction causes blocking
Hi all,I'll be interested to see if I get any responses on this at all, but here goes.I have a user that runs a very simple statement from SSMS:select ContactID, AddressID, * from dbo.Contact where...
View ArticleBaselining using sys.dm_os_performance_counters output
Hi All. Hope this makes sense...When you query sys.dm_os_performance_counters, you get perf counter data normalized something like:COUNTER_1, VALUECOUNTER_2, VALUEIf you get the same counter data out...
View Articlehow to get OS available memory & total memory in sql server 2005 & 2000
how to get OS available memory & total memory in sql server 2005 & 2000.sys.dm_os_sys_memory is only working for sql server 2008.
View ArticleWhere can I find column description for internal views such as...
It seems that MSDN only said system_internals_partition_columns, system_internals_partitions, etc. are internal views. But do not provide any more information about its column information. Where can I...
View ArticleRe:Blockinges..
HI Friends, i am facing BLOCKING issues in no.of timeshow to resolve the BLOCKING's with out " Killing " please tem solution step by step.. Regards,Purna...Thanks, Purna
View ArticleSQL Server 2012 and audit data
Hi,I am trying to implement audit on SQL Server 2012. Everything went fine as per the documentation, except that the events I monitor:( a select statement on som tables, ) are not recorded.What am I...
View Articletable taking 50% more space than it should
Hi All,I have a table with 1.4 billion rowsin - it is a many to many - and I have been carrying out some work before christmas towards partitioning it.the length of the row is only 33 bytes, however...
View ArticlePerformance Investigation and Potential Fix/Solution
OS: Windows 2008 R2SQL Server: 2008 R2 SP2OS Memory: 16 GBSQL Server Max Memory: 12 GBDatabase is in SIMPLE recovery mode.1. I saw some blocking on executing sp_who2 and ran Paul Randal's Where it...
View ArticleO/S Memory Consumption Issue
Hello,I am using SQL Server 2008 R2 SE installed on WIndows Server 2008 R2 SE. I recently installed a third party tool to monitor the SQLServer and I am seeing O/S Memory Utilization in a critical...
View Article