PostgreSQL: Index Tuning and Performance Optimization
Data is critical to any application, and database performance goes hand-in-hand with it. In this course, you'll get to see some ways to maximize database performance with PostgreSQL, covering indexes, best practices, and more.
What you'll learn
PostgreSQL is often called the world's most advanced open source database. In this course, PostgreSQL: Index Tuning and Performance Optimization, you will get a look at index tuning and some performance optimization methods. You'll start with an introduction to tuning and optimization in PostgreSQL and how the EXPLAIN keyword works. Next, you'll see how indexes improve performance and move into some advanced concepts for indexes. Then, you'll get to learn about some best practices for populating large databases and be shown some important resources for PostgreSQL. By the end of this course, you'll be better prepared to tackle PostgreSQL databases challenges with performance in mind.
Table of contents
- Introduction 1m
- What is EXPLAIN? 3m
- Various Options of EXPLAIN 3m
- Syntax of EXPLAIN 1m
- Demo: Environment Setup 3m
- Demo: Use Case Scenarios 5m
- Demo: Query Plan and Cost 5m
- Demo: Query Plan and Conditions 5m
- Demo: Query Plan and Advanced Conditions 5m
- Syntax of EXPLAIN ANALYZE 2m
- Demo: EXPLAIN ANALYZE 7m
- Summary 2m
- Introduction 1m
- What is Index? 1m
- Types of Indexes 3m
- B-Tree Index 1m
- B-Tree Index - Internal 1m
- B-Tree Index - Advantages 1m
- B-Tree Index - Disadvantages 1m
- Index Syntax 1m
- Real World Scenario Setup 1m
- Scenario: Index and Query Performance 1m
- Demo: Index and Query Performance 5m
- Multicolumn Index and Cover Index 3m
- Scenario: Multicolumn Index and Cover Index 2m
- Demo: Setup Poor Performing Query 2m
- Demo: Index and Improved Performance 3m
- Demo: Multicolumn Index 3m
- Demo: Order of Column in Index 4m
- Demo: Cover Index and Performance 5m
- Index Maintenance with REINDEX 2m
- Scenario: Index Maintenance 1m
- Demo: Index Maintenance with REINDEX 2m
- Summary 1m
- Introduction 2m
- What is Unique Index? 1m
- Real World Scenario 3m
- Difference Between Key, Index, and Constraint 3m
- Unique Index Syntax 1m
- Demo: Unique Index 5m
- Demo: Primary Key Constraint and Catalog Tables 5m
- Demo: Unique Constraint and Catalog Tables 5m
- Scenario: Case Insensitive Search 1m
- Demo: Case Insensitive Search 3m
- Demo: Case Insensitive Search and Performance 6m
- Scenario: Partial Index 2m
- Demo: Partial Index 5m
- Summary 2m