Search

Lessons (4)

  • Views, Triggers & Stored Procedures

    Interview answers for views, materialized views, triggers and stored procedures. Covers PDF questions 20, 24 and 27-30 …

  • Database Internals, Replication and Scaling

    … A proxy (like PgBouncer for Postgres) can share connections across many app servers. - Materialized views / denormalized tables: precomputed …

  • Indexes, EXPLAIN & Query Plans

    … queries. - Pre-aggregate heavy dashboard queries into a materialized view or summary table. - Cache results that are read …

  • Caching & Redis

    … by instances; network hop and eviction risk Database materialized view Expensive joins, reports and aggregations Durable and queryable …