Database Performance Metrics
Prof.manoj kumar padhi
Database Performance Metrics
Common Performance Metrics
Why Throughput is Important
Throughput helps us understand:
Higher throughput = better performance.
Why CPU Usage is Important
5. Memory Usage
Why Memory Usage is Important
6. Disk I/O (Input/Output Operations)
�
Why Disk I/O is Important
7. Cache Hit Ratio
�
8. Locking & Concurrency Metrics
Key Terms
1. Lock
A lock is placed on a row/table to prevent conflicting operations.�Example: When one transaction updates a row, other users may have to wait.
2. Lock Wait Time
The amount of time a query waits because another query is holding a lock.
3. Deadlock
A situation where two or more transactions wait for each other forever, and neither can continue.
9. Network Latency
Why Network Latency Matters�
When the database server and application are far apart or when the network is slow:
Network latency especially affects:
10. Index Usage Metrics
Why Index Usage is Important
Good index usage:
Poor index usage:
11. Error Rate
Why Error Rate is Important
Monitoring error rate helps to:
A system with high error rate: