Catégorie : Oracle12C,19C

Créer une base de dev

1-export des schémas : expdp system/********* directory=DUMPDIR dumpfile=content.dat logfile=content.log schemas=sche1,sche2,sch3 … content=METADATA_ONLY exclude=statistics 2- import du ddl dans le fichier sql.dat (lisible au format txt) impdp directory=DUMPDIR sqlfile=sql.dat logfile=sql.log dumpfile=content.dat. read more…

Purger les enregistrements d’audit (AUDIT_TRAIL records)

source : https://tips4oracle.wordpress.com/2014/06/03/how-to-check-the-size-of-archive-and-purge-the-audit-trail-table-aud-in-oracle-databse/ https://docs.oracle.com/database/121/DBSEG/audit_admin.htm#DBSEG474 http://orababy.blogspot.fr/2013/09/move-aud-and-fga-tables-from-system.html http://krishnaappsdba.blogspot.fr/2014/03/how-to-move-aud-table-from-system.html http://www.dbarj.com.br/en/2013/05/changing-audit-tablespace-create-purge-job-11g/ Purger une fois manuellement : BEGIN DBMS_AUDIT_MGMT.CLEAN_AUDIT_TRAIL( AUDIT_TRAIL_TYPE => DBMS_AUDIT_MGMT.AUDIT_TRAIL_UNIFIED, USE_LAST_ARCH_TIMESTAMP => TRUE, CONTAINER => DBMS_AUDIT_MGMT.CONTAINER_CURRENT ); END; /Planifier une purge automatique à. read more…

Désactiver l’audit

noaudit policy ORA_SECURECONFIG;noaudit policy ORA_LOGON_FAILURES;   Source : https://mikedietrichde.com/2014/09/02/unified-auditing-is-it-on-or-off-in-oracle-12c/ http://www.orafaq.com/aggregator/sources/418CachedYou?page=5

Translate »