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

You can partition your audit/event table by time period and archive old events [1] or you can avoid the records hitting the database in the first place by generating the events elsewhere to begin with [2].

[1] https://github.com/icheishvili/audit-trigger [2] https://github.com/eulerto/wal2json



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

Search: