Oracle Database 11.2.0.3 - Audit Trail Management
There seems to have been a glut of posts around managing an 11gR2 audit trail recently. I've had this one in the works for a little while, so thought I'd push on regardless even if it's just for my sake. Auditing. You've gone and set up logging to your database, so now you know exactly which app is behaving badly, exactly which users forget their passwords every time they log in, and who is trying to select from system tables that they really shouldn't be. The trouble is, if you end up with a badly behaving DBConsole agent like I did , then you find yourself with several million entries in the audit table that you really don't want there, and the SYS tablespace grows much bigger than you'd like. There's 2 approaches to take here. One is the timed approach - archive/delete anything older than X days - and this is the one that I will be focusing on here. The other is the "damn it all, delete the whole lot", the easiest way to achieve t...