When the data storage becomes too large in the database, data retention helps to delete the old data from the database, which will free some space. Earlier, scripts had to be executed manually to clear the log space but now, Log Retention is used for this purpose. There is an option to preserve the logs related to sessions, jobs, transactions, audits, and events for a certain number of days. Note: On hovering the mouse over the question mark near those retentions, the user can view which tables in the database will be affected. The number of days for which the data needs to be retained can be provided in the text boxes corresponding to each retention. Example: If the number of days is provided as 15, then all the data except for the last 15 days will be deleted from the corresponding tables in the database.
Session Retention: specify the total number of days to retain the Session logs. The following database tables will be affected post that period: robot.Robot_Sessions, robot.MachineSessions.
Job Log Retention: specify the total number of days to retain the Job logs. The following database tables will be affected post that period: robot.Job, robot.JobLog, robot.Exception.
Transaction Retention: specify the total number of days to retain the Transaction logs. The following database tables will be affected post that period: robot.RobotTransactions.
Audit Retention: specify the total number of days to retain the Audit logs. The following database tables will be affected post that period: robot.RobotAudit, robot.MachineAudit.
Events Retention: specify the total number of days to retain the Events logs. The following database tables will be affected post that period: robot.RobotEvents, robot.MachineEvents.