PostgreSQL
PostgreSQL را از ابتدا تا انتها یاد بگیرید. مبانی SQL، جوینها، ایندکسها، تراکنشها، JSONB، EXPLAIN و طراحی اسکیما.
14 درس، به ترتیب
- 120 دقیقه
PostgreSQL چیست
Relational databaseACIDMVCCPostgres vs MySQL vs SQLiteWhere Postgres shines - 225 دقیقه
psql و اولین دستورات
Psql command line clientConnecting as postgres userMeta commands like \l \c \dt \d \qSemicolons end statementsMultiline queriesSELECT version() - 330 دقیقه
ایجاد پایگاههای داده و جداول
CREATE DATABASECREATE TABLEPRIMARY KEYNOT NULLDEFAULTDROP TABLE+1 - 425 دقیقه
انواع داده
Integer and bigintNumeric vs floatText and varcharBooleanTimestamptz vs timestampDate+3 - 530 دقیقه
SELECT و WHERE
SELECT specific columnsWHERE with AND ORBETWEENINLIKE and ILIKEIS NULL+2 - 635 دقیقه
جوینها (joins)
INNER JOINLEFT JOINRIGHT JOINFULL OUTER JOINSelf joinUSING vs ON - 730 دقیقه
تجمیعها و گروهبندی
COUNTSUMAVGMINMAXGROUP BY+3 - 835 دقیقه
ایندکسها (indexes)
B-tree defaultCREATE INDEXMulti-column indexPartial index WHERE activeUnique indexWrite cost+1 - 935 دقیقه
تراکنشها (transactions) و ایزولاسیون (isolation)
BEGIN COMMIT ROLLBACKSavepointsREAD COMMITTED defaultREPEATABLE READSERIALIZABLEDirty read non-repeatable read phantom read serialization anomaly - 1035 دقیقه
توابع (functions) و تریگرها (triggers)
CREATE FUNCTIONLANGUAGE plpgsqlRETURNSCREATE TRIGGERBEFORE UPDATENEW and OLD+1 - 1135 دقیقه
JSONB و آرایهها
JSONB column-> operator->> operator@> contains operatorGIN index on jsonbText[] and integer[] arrays+2 - 1235 دقیقه
EXPLAIN و تنظیم کوئری
EXPLAINEXPLAIN ANALYZESeq scan vs index scan vs index-only scanFixing a missing indexPg_stat_statements overview - 1325 دقیقه
پشتیبانگیری و بازیابی
Pg_dump custom formatPg_restorePlain SQL dumpsPoint-in-time recovery overview - 1460 دقیقه
پروژه نهایی: طراحی یک اسکیما
Schema designPrimary and foreign keysIndexes on hot columnsUpdated_at triggerJSONB metadataJoins with aggregates+1
PostgreSQL را به زبان خودت یاد بگیر
هر درس، آزمون و پاسخ مربی به زبان شما نمایش داده میشود. مربی هوشمند به همان زبانی پاسخ میدهد که شما سوال میکنید.
Roles that use PostgreSQL
See how hiring teams interview engineers on PostgreSQL, in production-like environments.
Database Administrator (DBA)
Hire DBAs in real workspaces with PostgreSQL or MySQL, real replication lag, real slow queries and real backups to restore. Live or take-home.
See the interviewBackend Engineer (Go, Rust, Java)
Hire backend engineers in real services with real databases, real concurrency and real latency budgets. Live or take-home, fully recorded.
See the interviewData Engineer
Hire data engineers in workspaces with real Spark, dbt and Airflow pipelines. Schema drift, bad data and reruns included.
See the interview