Hacker News new | ask | show | jobs
by teej 2075 days ago
The table needed to never be visible as empty, so truncate wasn't a short term option.
1 comments

I solved this by using partitions (at the time it was done through inheritance, where you could make one table made out of several smaller ones), and just dropping a table with unneeded data.