SQLServer-QA.net - Knowledge Sharing Network (SSQA.net)
Invisible community contributions, Visible success to users
Browse by Tags
All Tags
»
dmv
»
sql server
(
RSS
)
2000
2005
2008
64 bit
access
active
activity
allocated
analysis
audit
awe
backup
bad
benchmarking
best practice
best practices
blocking
blog
blogs
bottleneck
buffer
buffers
c2
cache
cluster
clustered index
clustering
compiled
compression
conference
configuration
connections
contention
cpu
cursor
dac
databases
dba
ddl
declare
dirty
disks
distribution
dmf
edinburgh
errorr
execution
execution plan
expensive query
hints
i/o
identity
impact
incorrect syntax
index plan
indexes
information schema
kba
long running
maintenance plan
management
measures
memory
memory_clerk
microsoft
missing
monitoring
paging out
perfmon
performance
performance monitoring
query
security
sp_who
sqlcat
sqldiag
sqlnexus
ssms
statement
statistics
stats
stored procedure
sys.dm
sys.dm_db_index_physical_stats
sysindexes
sysmon
sysprocesses
system catalog
system resources
system state
table
tablels
technet
temp tables
tempdb
top
tsql
usage
users
virtual server
SQL Server get current executing statements - SP_WHO or SP_WHO2 or sys.dm_exec_requests
Published 30 July 8 11:43 AM |
SSQA.net
As a SQL Server user or DBAs using SP_WHO or undocumented stored procedure SP_WHO2 is a common occurrence. For this there are times when you will need to run sp_who on your SQL Server to figure out who is on and what are they doing. The output is quite...
TSQL to get TOP 10 queries that are using I/O generation, SQL Server 2005
Published 14 July 8 5:26 AM |
SSQA.net
DMVs are most helpful to find instant information on SQL instance without causing further delays, in any performance degradation time you can execute following TSQL to get top 10 queries that are generating lots of I/O on the server: SELECT TOP 10 total_logical_reads...
SQL Server - Precision Performance techniques using RML Utilities
Published 9 June 8 7:50 AM |
SSQA.net
As a DBA, you probably often find yourself striving or struggling to improve the performance of SQL Server instance queries (might be smaller or complex ones). By default in order to get further analysis on the system's performance you need to perform...
SQL Server 2005 DMV - quick information to find resource allocation & DDL bottleneck
Published 9 June 8 3:29 AM |
SSQA.net
Initially I preferred to put this blog post within Performance tuning blog section here, but as it relates to the TSQL script thought this is best place to go. Anyways, if you have a performance problem the foremost option is to find whether the server...
SQL Server Performance issues with Fragmentation and heavy usage of TEMPDB?
Published 15 May 8 3:59 AM |
SSQA.net
Whenever a performance issue occurs on the SQL Server database best option for diagnosing and troubleshooting common problems by using publicly available tools such as Profiler, System Monitor (Perfmon), and Dynamic Management Views (DMVs) in SQL Server...
SQL Server 2005 detect DAC session with TSQL
Published 9 May 8 1:11 PM |
SSQA.net
SQL Server 2005 has introduce a secret-door for Admins to identify and resolve any connect lockout issues within your database instance, as on http://sqlserver-qa.net/blogs/tools/archive/2007/08/04/dedicated-administrator-console-dac-saved-an-important...
SQL Server: Quick way to find Active & idle connections on a SQL instance
Published 2 May 8 4:32 AM |
SSQA.net
Using SQL Server 2005 you can take help of DMV - sys.dm_exec_connections that will give server-level information about the connections. In the olden days usage of sysprocesses system table used to be heavy and same approach can be achieved by using system...
Error while executing DMV - Msg 102, Level 15, State 1, Line 3 Incorrect syntax near '('.
Published 17 March 8 4:39 AM |
SSQA.net
DMV - has got very special place for DBAs since the inception of SQL Server 2005. In this case one of the thme is very important to find out the index statistics within your database, such as sys.dm_db_index_physical_stats statement. Recently one of the...
SQL Server 2005 PERFMON counter spikes in Transactions/sec and Buffer Cache Hit ratio, what does it say?
Published 14 March 8 4:16 AM |
SSQA.net
Recently I was involved in one of the Performance Audit exercise at a client's place where they complain about Server CPU is always HIGH and what they have observed is even the physical disk where TEMPDB is located has been used extensively, as they...
Get SQL Server Clustering information with DMVs and SELECT statements
Published 11 March 8 12:16 PM |
SSQA.net
Few counters and gotchas for you to look for when you are installing SQL Server clusters, also using SELECT statements & DMVs to get SQL instance information. Such as: Do not install SQL Server on a compressed drive, by default the installation will...
TSQL to get clustered index information in SQL Server 2005
Published 10 March 8 3:0 AM |
SSQA.net
Recently within a supportal case with CSS we have been given the following TSQL to get information on indexes, where I have modified a bit to get 'Clustered' index information alone that was helpful to see which tables lack of clustered index...
SQL Server error: messages are appearing when the working set of SQL Server 2005 process reaches 50 percent of the memory that is committed to the process.
Published 7 March 8 4:54 AM |
SSQA.net
Have you seen the above message within the SQL Server error logs? If not then no need to worry and make sure to continue your performance monitoring tasks. So when to be concerned! It is evident that SQL Server 2005 component handles memory differently...
SQL Server Audit Trace - things you need to take care!
Published 6 March 8 3:17 AM |
SSQA.net
Audit trace is very helpful when you want to monitor a particular processes on your SQL Server, even for the successful logins and recent users activity on the databsaes. But the default trace would have many columns with the information and you need...
TSQL to get current executing statements - SQL Server 2005
Published 12 February 8 2:27 PM |
SSQA.net
Using SP_WHO or SP_WHO2 is a common way to get list of executing processes currently on the server, within SQL Server 2005 you could take advantage of DMV that lists currently-executing statements. select r.session_id ,status ,substring(qt.text,r.statement_start_offset...
SQL Server 2005 DMV - how it can help to consider whether index is useful or not?
Published 4 February 8 8:6 AM |
SSQA.net
When it comes to performance, for a DBA indexes are the first one to come to mind in order to fine tune the tasks on the database. In this series we have already covered this huge topic of indexing and how best you can make use of Dynamic Management Views...
SQL Server 2005 TSQL to obtain buffers by object (table, index) in the buffer cache?
Published 1 February 8 6:30 AM |
SSQA.net
As a programmer interacting with SQL Server's cache is not often needed, but when you do need to determine what is going on with the cache, or you simply need to flush the execution plans or data pages to tune a query, you now have the means to do...
SQL Server Query Performance - think about page split and fragmentation, measures to reduce the behaviour and best use of dm_db_index_physical_stats DMV
Published 14 January 8 2:22 AM |
SSQA.net
It is an universal truth in the database field that due to the fragmentation and page split the performance will be affected even for a simple [ SELECT <ColumnName> from.... ] type of query. So what you need to check or take action in terms of DBA...
TSQL to get a quick information on detailed distribution of memory allocated
Published 10 January 8 3:4 PM |
SSQA.net
By design the components that are aware of the SQL Server memory management mechanisms use the buffer pool for small memory allocations. If the allocation is bigger than 8 KB, these components use memory outside of the buffer pool through the multi-page...
How to monitor transaction activity between the databases?
Published 10 January 8 4:23 AM |
SSQA.net
Recently I have been through interesting forum post on SQL Server performance website that a user asking how to monitor transaction activity between the databases without using a third party tool. Until SQL 2000 version it is not that easy to get more...
Scottish Area SQL Server User Group next meeting 13th February 2008
Published 10 January 8 2:4 AM |
SSQA.net
Scottish Area SQL Server User Group on conjunction with Scottish Developers: Wednesday 13th February 18:30 - 21:00 : Edinburgh Speaker: Colin Angus Mackay Where’s my data? An introduction to Spatial Queries in SQL Server 2008 Colin Angus Mackay is a software...
More Posts
Next page »
Search
Go
This Blog
Home
Contact
About
Tags
2005
2008
best practice
best practices
blogs
conference
database
databases
dmv
download
error
indexes
kba
management
microsoft
performance
replication
reporting services
security
server
sql server
ssis
ssms
tsql
webcast
Community
Home
Blogs
Media
Groups
Archives
October 2008 (3)
September 2008 (26)
August 2008 (32)
July 2008 (27)
June 2008 (39)
May 2008 (60)
April 2008 (35)
March 2008 (48)
February 2008 (59)
January 2008 (63)
December 2007 (58)
November 2007 (43)
October 2007 (100)
September 2007 (110)
August 2007 (146)
July 2007 (106)
June 2007 (114)
May 2007 (78)
April 2007 (2)
News
Syndication
RSS for Posts
Atom
RSS for Comments
Email Notifications
Go