Skip to content
AtomicReps

Navigation

10/15Data

PostgreSQL Advanced.

pgvector, partitioning, logical replication, query planner, lock contention.

  • PostgreSQL Advanced · 1 of 3

    EXPLAIN ANALYZE, cost model, work_mem

    Which EXPLAIN option causes the statement to actually be executed rather than just planned?

  • PostgreSQL Advanced · 2 of 3

    EXPLAIN ANALYZE, cost model, work_mem

    Comparing prepared-statement custom plans vs generic plans, which configuration knob controls the threshold and strategy for switching to a generic plan after several executions?

  • PostgreSQL Advanced · 3 of 3

    Range / list / hash partitioning

    What does the EXPLAIN node header print for the SELECT below?

    sql
    CREATE TABLE m (id int, d date) PARTITION BY RANGE (d);CREATE TABLE m_2025 PARTITION OF m  FOR VALUES FROM ('2025-01-01') TO ('2026-01-01');EXPLAIN SELECT * FROM m WHERE d = DATE '1970-01-01';

Three of the 255 PostgreSQL Advanced questions in the bank.

Keep going with PostgreSQL Advanced, free
Next topic · 11/15Python.