-
Notifications
You must be signed in to change notification settings - Fork 0
A comprehensive collection of PostgreSQL learning materials based on Learn PostgreSQL – Second Edition, covering SQL fundamentals, database design, indexing, performance tuning, and real-world examples.
License
CodeSpecter701/Learn-PostgreSQL-Second-Edition
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Learn PostgreSQL – Second Edition This repository contains scripts, notes, examples, and exercises from Learn PostgreSQL – Second Edition. It is designed to help learners understand PostgreSQL from beginner to advanced levels through hands-on practice. 🚀 Overview PostgreSQL is one of the most powerful and widely used open-source relational databases. This repository explores: SQL fundamentals Data modeling and schema design Indexing strategies Query performance optimization Stored procedures, triggers, and functions Transactions and concurrency Database administration Each chapter folder includes code samples, practice queries, exercises, and real-world database examples. 📁 Repository Structure (Modify as needed based on your folder layout) /Chapter-01-SQL-Basics # SELECT, WHERE, ORDER BY, JOINS /Chapter-02-Database-Design # Normalization, ERD, schema creation /Chapter-03-Indexes-And-Optimization # Index types, query plans, tuning /Chapter-04-Functions-And-Procedures # PL/pgSQL, functions, stored procedures /Chapter-05-Triggers-And-Events # Event-based workflows /Chapter-06-Transactions-And-Locking # ACID, isolation levels, concurrency /Chapter-07-Admin-And-Maintenance # Backups, monitoring, tuning /Chapter-08-Advanced-SQL # Window functions, CTEs, subqueries /datasets # Sample datasets /scripts # SQL files used in examples /docs # Notes, diagrams, and references 🔍 Key Features ✔️ SQL Fundamentals Basic queries and filtering JOINs, GROUP BY, HAVING Subqueries and CTEs ✔️ Advanced SQL Window functions Recursive CTEs Complex aggregations ✔️ Database Design Schema creation Normalization Constraints and relationships ✔️ Performance Optimization Indexing strategies Query execution plans (EXPLAIN/ANALYZE) Database tuning techniques ✔️ PL/pgSQL Programming Functions and stored procedures Triggers Error handling and control structures ✔️ Administration & Maintenance Backups and restores Role and permission management Monitoring and diagnostics 🛠️ Tech Stack PostgreSQL PL/pgSQL psql CLI tools Optional: pgAdmin, DBeaver, Docker 📘 Use Cases Learning PostgreSQL from scratch Strengthening SQL for data engineering & backend development Preparing for database interviews Practicing real-world database scenarios Understanding database performance optimization 🤝 Contributions Pull requests, improvements, and additional PostgreSQL scripts are welcome! 📄 License This project is licensed under the MIT License.
About
A comprehensive collection of PostgreSQL learning materials based on Learn PostgreSQL – Second Edition, covering SQL fundamentals, database design, indexing, performance tuning, and real-world examples.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published