Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
icheishvili
on April 19, 2022
|
parent
|
context
|
favorite
| on:
How we upgraded our 4TB Postgres database
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:
[1] https://github.com/icheishvili/audit-trigger [2] https://github.com/eulerto/wal2json