Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What is your criteria for a record being "old"? Once you've established your criteria, just archive the database as it is now and then drop the rows that match your oldness criteria.


I imagine that I have also to query down to the dependent tables?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: