Home Discussions Questions & Answers Optimizing EBS Audit Reporting Performance with Indexing

Optimizing EBS Audit Reporting Performance with Indexing

Avatar photoCustomer September 16, 2023 at 10:11 pm

We have enabled EBS Audit Trail on large tables, such as `AP_SUPPLIERS`. The resulting shadow tables (`AP_SUPPLIERS_A`) are massive, and running audit reports against them is extremely slow. What indexing strategy is recommended to improve reporting performance on these audit tables?

Viewing 6 reply threads
  • Author
    Replies
    • Support September 17, 2023 at 12:53 pm  

      Performance optimization for large audit tables is crucial . It is strongly recommended to create indexes on the primary key columns and the `row_key` column of the shadow tables . For example, on `AP_SUPPLIERS_A`, an index on `(vendor_id, row_key)` is beneficial because audit queries often link sequential changes for a single record using the `row_key` .

    • Avatar photoCustomer September 18, 2023 at 2:32 pm  

      Since most of our audit reports filter based on the date the change occurred, should I also index the timestamp column?

    • Support September 19, 2023 at 5:05 am  

      Yes, indexing the `audit_timestamp` column is also highly recommended , . This is because most audit reports restrict data selection based on the transaction time . Creating an index on this column (e.g., `on ap.ap_suppliers_a (audit_timestamp)`) will significantly speed up queries filtered by time range .

    • Avatar photoCustomer September 21, 2023 at 3:12 am  

      Before deploying these indexes to production, what caution should my DBA team exercise?

    • Support September 22, 2023 at 11:15 pm  

      It is mandatory to test the index creation in a test instance first . DBAs must verify two things: 1) Measure the performance and execution plan of an audit report before and after indexing . 2) Test if the EBS transaction performance for the base tables did not decrease significantly . Indexes on shadow tables require resources for maintenance (insertion/update during transactions) and may slow down production transaction performance .

    • Avatar photoCustomer September 23, 2023 at 4:39 am  

      If we want to completely remove the audit reporting load from the production EBS instance, is there an alternative approach?

    • Support September 23, 2023 at 1:37 pm  

      Yes, a viable alternative is to shift the resource-intensive audit reporting load entirely off the production instance . This can be achieved by running your Blitz Reports on an Active Data Guard standby server . Alternatively, you can move the audit data to a dedicated operational data store for reporting purposes .

Viewing 6 reply threads
  • You must be logged in to reply to this post.

Login with: