30.06.2013 Views

Performance Tuning with SQL Server Dynamic Management Views

Performance Tuning with SQL Server Dynamic Management Views

Performance Tuning with SQL Server Dynamic Management Views

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

P<br />

<strong>Performance</strong> counters 277–291<br />

average number of operations completed<br />

289–291<br />

deprecated feature use 282–283<br />

directly usable counter types 280–283<br />

monitor auto-grow/auto-shrink events<br />

281–282<br />

PERF_AVERAGE_BULK 289<br />

PERF_COUNTER_BULK_COUNT 286<br />

PERF_COUNTER_LARGE_RAWCOUNT 280<br />

PERF_LARGE_RAW_FRACTION 283<br />

per second averages 286–289<br />

providing ratios 283–286<br />

<strong>Performance</strong> Monitor (PerfMon) 29<br />

<strong>Performance</strong> tuning <strong>with</strong> DMOs. See <strong>Dynamic</strong><br />

<strong>Management</strong> Object (DMO)<br />

Physical I/O. See Disk<br />

Plan handles 54<br />

return plan using sys.dm_exec_text_query_plan<br />

86–87<br />

Plan reuse 91–98<br />

plan reuse distribution curve 92–95<br />

Point-in-time data 25–27<br />

Profiler 28<br />

Q<br />

Queries<br />

ad hoc query<br />

returning <strong>SQL</strong> text of 58–61<br />

aggregate query optimization Statistics 111–114<br />

query execution statistics 101–108<br />

323<br />

Query plan attributes 98–101<br />

Query plan metadata 73–114<br />

R<br />

overview of DMOs for, 76–78<br />

READ_COMMITTED_SNAPSHOT mode 150<br />

Read/write ratio 251–259<br />

data read versus written 253–255<br />

Index<br />

number of read and write operations 255–256<br />

number of reads and writes at the table level<br />

256–259<br />

Requests 52–70<br />

Rows<br />

S<br />

investigating work done by 64–66<br />

number of rows in a table 228<br />

number of rows per partition 228–231<br />

scheduler. See CPU usage<br />

server scoped objects 20<br />

Sessions<br />

identify inactive sessions 48–50<br />

idle sessions <strong>with</strong> orphaned transactions 51–52<br />

session-level settings 45–46<br />

<strong>with</strong> context switching 48<br />

Single-use plans<br />

examining 97–114<br />

Snapshot isolation. See Transactions<br />

SNAPSHOT mode 150<br />

sp_who, sp_who2 30, 67–70, 120<br />

<strong>SQL</strong> and plan handles 54<br />

plan handle 84<br />

<strong>SQL</strong> handle 84

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!