Useful Links
Technology
Computer science
Databases
Database Performance
Query Optimization
Execution Plan Analysis
Understanding Execution Plans
Identifying Bottlenecks
Cost-Based Optimization
Query Rewriting
Subquery Unnesting
Predicate Pushing
Join Reordering
Statistics Gathering
Importance of Accurate Statistics
Automated Statistics Collection
Manual Statistics Update
Indexing Strategies
Types of Indexes
B-Tree Indexes
Hash Indexes
Bitmap Indexes
Full-Text Indexes
Spatial Indexes
Index Design
Choosing Columns for Indexing
Covering Indexes and Include Columns
Database Index Maintenance
Impact on Write Performance
Balanced Indexing Strategies
Trade-offs Between Read and Write Performance
Caching Techniques
Database-Level Caching
Use of In-Memory Databases
Buffer Cache Management
Application-Level Caching
Query Result Caching
Object Caching
Distributed Caching
Use of Redis and Memcached
Cache Consistency and Invalidation Strategies
Load Balancing
Horizontal Scaling
Use of Database Clusters
Database Replication and Load Balancing
Vertical Scaling
Hardware Upgrades and Optimization
Load Balancer Configuration
Session Persistence
Health Checking and Failover
Database Sharding
Sharding Strategies
Range-Based Sharding
Hash-Based Sharding
Directory-Based Sharding
Shard Key Selection
Characteristics of a Good Shard Key
Avoiding Hot Spots
Managing Sharded Environments
Balancing Data and Traffic
Re-Sharding Strategies
Cross-Shard Query Handling
Performance Monitoring and Analysis
Key Performance Indicators (KPIs)
Latency and Throughput
Transaction Per Second (TPS)
Query Execution Time
Monitoring Tools
Built-in Monitoring Features
Third-Party Monitoring Solutions
Performance Tuning and Iteration
Identifying Slow Queries
Dynamic Performance Tuning
Ongoing Performance Assessment
Hardware and Infrastructure Considerations
Storage Solutions
SSD vs. HDD for Database Storage
Network Attached Storage (NAS) vs. Direct Attached Storage (DAS)
CPU & Memory Optimization
Sizing for Database Workloads
NUMA Considerations
Network Infrastructure
Network Latency and Throughput Optimization
Use of High-Speed Interconnects
Concurrency and Transactions
Locking and Concurrency Control
Pessimistic vs. Optimistic Locking
Read/Write Lock Mechanisms
Transaction Isolation Levels
Trade-offs of Different Isolation Levels
Implementation in Various DBMSs
Deadlock Detection and Resolution
Identification of Deadlocks
Techniques for Deadlock Resolution
6. Database Security
First Page
8. Data Warehousing