Well, it does if you run it every day and clean up afterwards, with a cron job for instance.
If possible, it seems you could solve a big part of your problem using partitioning of your table, probably by day; see:
http://www.postgresql.org/docs/9.3/static/ddl-partitioning.html
In reply to Re^5: Help on selecting and deleting many records in a DB.
by vincent_veyron
in thread Help on selecting and deleting many records in a DB.
by neilwatson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |