server-tools/auditlog/models
Alexandre Fayolle 272729b9e4 [FIX] auditlog: autovacuum performance
Add database indices on the foreign key fields of the auditlog models.
Without these indices, the performance of the autovacuum cron are terrible
because the "ON DELETE SET NULL" trigger has to make a full table scan
on the auditlog_log and auditlog_log_line tables when
auditlog_http_session and auditlog_http_request rows are deleted.
2022-11-18 13:12:58 +01:00
..
__init__.py [add] https 2022-11-18 13:12:57 +01:00
autovacuum.py [IMP] auditlog: black, isort, prettier 2022-11-18 13:12:57 +01:00
http_request.py [FIX] auditlog: autovacuum performance 2022-11-18 13:12:58 +01:00
http_session.py [IMP] auditlog: black, isort, prettier 2022-11-18 13:12:57 +01:00
log.py [FIX] auditlog: autovacuum performance 2022-11-18 13:12:58 +01:00
rule.py Add option to Eliminate user and fields in audit logs 2022-11-18 13:12:58 +01:00