⚡️ POSTGRESQL Database Tip
Apr 19, 2023
Deleting hundreds of thousands of rows is slow, impacts your performance and doesn’t free the allocated disk space. But you can delete old data very efficiently if you partition your table by time ranges and drop one of them.