Closed angoca closed 2 years ago
Also, when inserting, it should validate the not range error, and create the partition.
The installer includes an option to create the LOGS
table with a partition option. It was created at:
However, adding a new partition, it cannot be done within log4db2, because it generates a deadlock when logging in autonomous transactions.
The table where the logs are written, could be partitioned. In this way, remove old logs is only by detaching a partition.
This could help to keep the size of the logs table, reduce the logging by not using delete.
Also, this could create another process, like export a file and then compress it.