Strategies and lessons from partitioning a 17TB table in PostgreSQL | Hacker News Reader