2 ms·
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 gener
by icheishvili 4y ago
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 https://github.com/icheishvili/audit-trigger
[2] https://github.com/eulerto/wal2json https://github.com/eulerto/wal2json