PostgreSQL Performance Tuning, End to End
Slow queries และ databases ที่ configure ไม่ดีเป็นสาเหตุหลักของ application bottlenecks ในการใช้งานจริง track นี้สอนให้คุณ diagnose, tune และ scale PostgreSQL — จากการอ่าน EXPLAIN output ครั้งแรกไปจนถึงการคิดวิเคราะห์เกี่ยวกับ MVCC internals, WAL behavior และ logical replication topologies ทุกเทคนิคมีพื้นฐานมาจากวิธีการทำงานของ PostgreSQL จริง ๆ ไม่ใช่คำแนะนำทั่วไป
สิ่งที่คุณจะได้เรียนรู้
คุณจะเชี่ยวชาญการเลือก index ในทุก B-tree, GIN, GiST, BRIN และ partial indexes จากนั้นนำทักษะเหล่านั้นไปใช้กับ JSONB columns, full-text search และ trigram matching คุณจะได้เรียนรู้วิธีอ่านและแปลความ query plans ที่สร้างโดย EXPLAIN ANALYZE, rewrite subqueries และ joins เพื่อให้มีประสิทธิภาพสูงขึ้น, control autovacuum และ bloat, configure pg_bouncer สำหรับ connection pooling, tune server memory และ checkpoint settings, partition large tables และใช้ extended statistics เพื่อช่วย planner ในการตัดสินใจที่ดีขึ้น ส่วน Advanced ครอบคลุม concurrency และ locking, parallel query execution, logical replication และ MVCC และ WAL internals ที่เป็นพื้นฐานของทุก optimization choice
Learning Path
ยี่สิบสองคอร์สก้าวหน้าจาก A2 ผ่าน B1, B2, C1 ขึ้นไปถึง C2 คอร์สเปิดแสดง core performance concepts และคำศัพท์ คอร์ส B1 ครอบคลุม practical fundamentals: essential indexing strategies, EXPLAIN-driven analysis, JSONB modeling, bulk loading throughput และ transaction management ผ่าน vacuuming คอร์ส B2 ก้าวเข้าไปยัง advanced index types, join และ subquery optimization, server configuration, monitoring, table partitioning, storage efficiency, full-text search performance และ PgBouncer tuning คอร์ส C1 เปลี่ยนไปสู่ data modeling สำหรับ performance, advanced query rewriting, concurrency และ locking, extended statistics และ parallel query workloads สองคอร์ส C2 จบ track ด้วย scaling และ high availability architecture, logical replication patterns และการมองลึกเข้าไป MVCC และ WAL internals
How It Works
แต่ละคอร์สแบ่งเป็น short, focused lessons ที่คุณทำให้เสร็จใน built-in SQL editor ที่มี real-time feedback AI tutor พร้อมใช้งานเมื่อใดก็ตามที่ concept ต้องการคำอธิบายหรือ query ไม่ทำงานตามที่คาดไว้