Hi at all,
inside mpaudit configuration there is the possibility to configure the recording size . This amount of memory define the number of events that we want to reserve for our mpaudit core.
Image a situation where i know the maxim number of events in one day (and also i know the event type used in 1 day),do you know how to calculate a maximum amount of this size if i only know these informations? thanks
Hi,
I don’t think there’s a possibility to calculate a needed size upfront which is reliable, because an entry in the audit storage does not have a fixed length, the length of each entry depends on various factors that can change (even if the event itself is the same).
I digged a bit deeper into and saw for example, that the variable names can be part of an audit entry (if using variable monitoring without identifier), text IDs from the AR text system (maybe even including variable snippets), and so on.
So all in all, each entry length can be very different even at runtime, depending on the used information in the entry and on the project and process itself.
Therefore I could only recommend a more experimental oriented approach in simulation, for example by:
- configure in the audit trail configuration a “Audit → Recording size A” and a “Audit → Archive → Maximum size B”, where the value B is much smaller then the value A
- creating an amount X of common audit entries by some test-code
- checking at what number of entries the automatic archive export is triggered
- do some interations of this test, and/or draw conclusions out of this test results
Another approach, also in simulation, could be:
- generating the maximum number of the events and event types for one day by test code in ArSim with a newly created audit module (after a initial installation, the module then was empty before)
- and examine the content of the binary module “audit$0” with an external editor… I’m pretty sure, if the module was big enough to store all audit entries for 1 day, you could draw some conclusions about the “fill grade” of the module even if it’s not known how the data inside the module is interpreted.
Even if I can’t deliver a clear solution, maybe this informations help a bit?
Best regards!
ok thanks for the hints .