PostgreSQL
强大的开源数据库,深入讲解。
PostgreSQL is the open-source database behind countless apps: posts, likes, points and game records all live in its tables. This track starts where the SQL course ends and teaches what makes Postgres special: psql, rich types such as jsonb and timestamptz, indexes and query plans, transactions and locking, window functions and full-text search, and running Postgres in production.
Everything is up to date for PostgreSQL 18, and every lesson is short, practical and checked with quizzes. The examples follow Nova, a made-up social app with users, posts, likes and game scores.
- 课时
- 21
- 时长
- 3 小时
- 级别
- 中级
本课程的内容目前为英文。
- 铜牌 可挑战
- 银牌 可挑战
- 金牌 未解锁
准备好证明自己了吗?
三场考试正等着你:铜牌、银牌和金牌。
学完后你将能够
- Explore any Postgres server with psql and understand its databases, schemas and roles
- Choose the right types: timestamptz, numeric, uuid, jsonb, arrays and enums
- Read EXPLAIN ANALYZE and design indexes that make slow queries fast
- Keep data correct under load with transactions, row locks and UPSERT
- Build leaderboards, trees and search with window functions, recursive CTEs and full-text search
- Run Postgres in production: least privilege, pooling, VACUUM, backups and monitoring
学习旅程
1 第 1 单元Postgres essentials
Why Postgres, and how to find your way around a server with psql.
0 / 32 第 2 单元Rich data types
Store text, money, time, documents and lists the Postgres way.
0 / 43 第 3 单元Indexes and performance
Read query plans and build the indexes that make them fast.
0 / 34 第 4 单元Transactions and concurrency
Stay correct when thousands of users write at the same moment.
0 / 35 第 5 单元Advanced SQL in Postgres
Leaderboards, trees, top-N per group and real search, in plain SQL.
0 / 46 第 6 单元Running Postgres
Security, pooling, VACUUM, backups and monitoring in production.
0 / 4