Audit Log Timestamps Audit Logs

12-28 Oracle Fusion Middleware Application Security Guide 5. Partitions can now be created. In this example partitions are created by calendar quarter: ALTER TABLE IAU_BASE SPLIT PARTITION IAU_BASE_DEFAULT AT TO_DATE01042008, DDMMYYYY INTO PARTITION IAU_BASE_Q1_2008, PARTITION IAU_BASE_DEFAULT UPDATE INDEXES; ALTER TABLE IAU_BASE SPLIT PARTITION IAU_BASE_DEFAULT AT TO_DATE01072008, DDMMYYYY INTO PARTITION IAU_BASE_Q2_2008, PARTITION IAU_BASE_DEFAULT UPDATE INDEXES; ALTER TABLE IAU_BASE SPLIT PARTITION IAU_BASE_DEFAULT AT TO_DATE01102008, DDMMYYYY INTO PARTITION IAU_BASE_Q3_2008, PARTITION IAU_BASE_DEFAULT UPDATE INDEXES; ALTER TABLE IAU_BASE SPLIT PARTITION IAU_BASE_DEFAULT AT TO_DATE01012009, DDMMYYYY INTO PARTITION IAU_BASE_Q4_2008, PARTITION IAU_BASE_DEFAULT UPDATE INDEXES;

12.5.6.2 Backup and Recovery of Partitioned Tables

Backup and recovery were discussed in Section 12.5.4, Backup and Recovery . Note that read-only tablespaces can be excluded from whole database backup, so long as a backup copy was created. Thus, you can avoid unnecessarily repeating backups for the partitions of archived data residing on those tablespaces, improving performance.

12.5.6.3 Import, Export, and Data Purge

Import and export were discussed in Section 12.5.5, Importing and Exporting Data . Keep in mind that with a range-partitioned table it is much more efficient to drop a partition when you want to remove old data, rather than deleting the rows individually. ALTER TABLE IAU_BASE DROP PARTITION IAU_BASE_Q4_2008; It is also easy to load a partition of new data without having to modify the entire table. However, you have to remove the default partition of values less than MAXVALUE first, and add it back once finished, using a command like the following: ALTER TABLE IAU_BASE ADD PARTITION IAU_BASE_Q4_2008 VALUES LESS THAN 01-JAN-2009; Once partitions are created, you can purgebackup a particular partition. Refer to your database documentation for details. In the database mode, the audit loader automatically manages bus-stop files.

12.5.6.4 Tiered Archival

Partitioning enables individual partitions or groups of partitions to be stored on different storage tiers. You can create tablespaces in high-performance or low-cost disks, and create partitions in different tablespaces based on the value of the data or Note: New partitions should be created periodically for new quarters.