hard20 pts · first answer countspartitioningpostgresql
Deleting old data every month
A logs table gets 300 million rows a month and must keep 12 months. Monthly DELETE jobs cause huge WAL, bloat and replica lag. What is the best design?
A logs table gets 300 million rows a month and must keep 12 months. Monthly DELETE jobs cause huge WAL, bloat and replica lag. What is the best design?