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.

Index<br />

F<br />

Fragmentation. See Disk<br />

Frequently used plans. See Plan reuse<br />

H<br />

examining 95–97<br />

Heap structure 224<br />

I<br />

Identification columns. See sys.dm_exec_requests<br />

Idle sessions 51<br />

Inactive sessions 48<br />

Indexing strategy and maintenance 173–217<br />

find missing indexes 200–208<br />

limitations of missing index DMOs 205–206<br />

missing index columns 203<br />

missing index details 203<br />

missing index groups 204<br />

missing index group statistics 204–205<br />

most beneficial missing index 206–208<br />

indexing system catalog views 174–178<br />

index maintenance 208–215<br />

detect & fix fragmentation 213–215<br />

fragmentation statistics 211–213<br />

index fragmentation 209–210<br />

index strategy 179–208<br />

arrow indexes 182–183<br />

clustered indexes and PKs 181<br />

covering indexes 181<br />

high selectivity 182<br />

number of indexes 182<br />

investigating index usage 183–190<br />

322<br />

indexes maintained but not used 187–189<br />

indexes never accessed 186–187<br />

inefficient indexes 190<br />

usage patterns of current indexes 191–200<br />

indexes & lock contention 199–200<br />

indexes not used for user reads 193–194<br />

latch waits 197–198<br />

lock escalations 198–199<br />

locking & blocking at row level 195–196<br />

using the indexing DMOs 179<br />

Insufficient threads. See CPU usage<br />

L<br />

Latches 318–321<br />

Locking and blocking. See Transactions<br />

Logins<br />

M<br />

<strong>with</strong> more than one session 47<br />

Memory usage 304–318<br />

in the buffer pool 309–311<br />

memory clerks and memory grants 311–313<br />

process memory use 308–309<br />

system-wide memory usage 306–308<br />

using cache counters 313–318<br />

Metadata 73–114. See also Query plan metadata<br />

Monitoring machine characteristics 291–295<br />

N<br />

NUMA (Non-Uniform Memory Access) 302<br />

O<br />

OS and hardware interaction 265–323

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

Saved successfully!

Ooh no, something went wrong!