Open ootneim opened 1 month ago
We have now decided to remove the use of timescaledb from the auditlog database. A background service part of auditlog application will create necessary partitions automatically. It will use the native postgres partition and it will be a new table. The existing data on the table that uses timescale partitioning should be migrated to a new table without timescale. This will be done by the infra team.
@acn-dgopa What are the names of the new tables?
The old data must be migrated as follows authentication.eventlog --->authentication.eventlogv0 authz.eventlog -----> authz.eventlogv0
Copy data from Timescale to a new Table for Auditlog
Procedure is located here: https://github.com/Altinn/altinn-platform/issues/906
Performed in
SQL Commands: