Oracle clean audit trails
NickName:sriman narayana Ask DateTime:2021-10-19T17:17:31

Oracle clean audit trails

I am trying to clean the unified audit trails using the plsql below

DBMS_AUDIT_MGMT.clean_audit_trail(
audit_trail_type => DBMS_AUDIT_MGMT.AUDIT_TRAIL_UNIFIED,
use_last_arch_timestamp => TRUE);     
END;
/

ORA-01578: ORACLE data block corrupted (file # 19, block # 299907) ORA-01110: data file 19: /home/oracle/oradata_tbs/kamobile/sysaux01.dbf

The file id 19 is under table CLI_SWP$80370d01$2$1 under AUDSYS schema, i tried to repair using the dbms_repair package and file is marked as mark_corrupt=TRUE, Finally i made the skip corrupt block.

I am trying to clean up the audit trail, but i always get the above error

And also the audit trails is not storing under the sys.unified_audit_trail table from then onwards.

Copyright Notice:Content Author:「sriman narayana」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/69628161/oracle-clean-audit-trails

More about “Oracle clean audit trails” related questions

Oracle clean audit trails

I am trying to clean the unified audit trails using the plsql below DBMS_AUDIT_MGMT.clean_audit_trail( audit_trail_type => DBMS_AUDIT_MGMT.AUDIT_TRAIL_UNIFIED, use_last_arch_timestamp => TRUE...

Show Detail

Oracle clean audit trails

I am trying to clean the unified audit trails using the plsql below DBMS_AUDIT_MGMT.clean_audit_trail( audit_trail_type => DBMS_AUDIT_MGMT.AUDIT_TRAIL_UNIFIED, use_last_arch_timestamp => TRUE...

Show Detail

Using Oracle Streams to implement audit trails

I'm going to implement asynchronous audit trails functionality for highly loaded system with using of Oracle Streams (for log mining on redo and archive logs). Audit trails in my case mustn't slow ...

Show Detail

Oracle - Audit Trail Generator?

I am looking for a generic procedure that will generate audit trails for Oracle databases. We are currently using a similar procedure on SQL Server and wondering if an Oracle equivalent exists. We ...

Show Detail

PyDAL audit trails outside of web app?

I am wondering if pydal supports audit trails when you are not using the webapp. My investigations [1][2] show that an auth module is needed for audit trails, but that appears to be something relat...

Show Detail

Addition of Audit Trails to a SaaS Platform

I am trying to add compliance mechanisms to a SaaS platform. I wanted to add audit trails in it. Well, the first thing I have decided is to log all the successful/un-successful attempts in authoriz...

Show Detail

Is there any way to implement Audit Trails for user actions in .Net MVC

I'm new to .Net MVC. I've designed a web application using Ado.Net CRUD operation without entity framework. I've searched on the internet on how to implement audit trails on .Net MVC application, b...

Show Detail

Turning off audit trails of AWS CloudTrail

AWS CloudTrail Events has a feature which turns on audit trails automatically in AWS account and keeps the data for couple of days. Due to some compliance, want this feature to be turned off. Is t...

Show Detail

Oracle 11g audit trail for specific tables

I would like to submit a question about creating an audit trail for specific tables on Oracle 11g database. We would like to track user's changes, on some specific tables, that records has been cha...

Show Detail

How to change time zone from GMT to PST in DocuSign for Audit Trails?

I've been trying to change the time zone from GMT to PST in DocuSign while retrieving the Audit Trails. How can I achieve this? Thanks

Show Detail