You are viewing limited content. For full access, please sign in.

Question

Question

Audit Trail Reporter is really slow, seems not to handle large data sets well

asked on February 12, 2014

We are having issues with a large system set up as follows:

 

Days in the DB: 45

Events from 45 Days: 10M (200K/Day)

In SQL Server 2008R2, 20 GB Ram available to SQL Server

 

For a report selecting a handful of events (Mainly Entry, Write Field Value), for a single entry ID, for a two week period of time, it mostly times out after about 8-10 minutes.

 

1/4 of the time, we get a report in about five minutes with a grand total of seven records.  This is just not providing the utility we need. Is there a guide or any information on using regular reporting tools like Business Objects to generate our own reports?

 

TIA

 

0 0

Answer

APPROVED ANSWER
replied on February 12, 2014 Show version history

What version of Audit Trail are you using?  We added some indexes to the tables starting in 9.0 that should make queries more efficient.  Even if you are using the most recent version, you might benefit from adding indexes specific to the queries you commonly run.  The auditing database is pretty simple so there's a good chance you can locate the table columns based on the Audit Trail UI, and then add indexes to the ones you are filtering on.  Alternatively, if you have access to SQL Tuning Advisor it can suggest indexes to add based on your exact queries (which you can grab with SQL Profiler).  If there is a DBA available to help out this is probably something they've done before.

 

If you are using AT 8.x and aren't in a position to upgrade the whole system to 9.x, you might consider upgrading just the Audit Trail portion (which will give you all of the indexes we've added).  Normally you can't upgrade clients to a higher version than the server, but Audit Trail is (currently) an exception since it just requests audit logs.  The only confusing thing is that new events types (like Business Processes) show up in the reporting/filtering UI.

 

As far as a guide to integrating with BO, you'll need this information to decode the event type and there are predefined views created for the different event classes.

2 0
replied on February 11, 2021

Where in the Audit Trail UI can additional indices be built?  I've seen no such option.  We're on 10.4.0.97 and it takes 10 minutes for a search to load, or to go to the next page, or to sort.

0 0
replied on February 11, 2021

This isn't something that you can do in the UI, I'm talking about modifying the SQL database directly. It takes some familiarity with SQL, as does knowing how to determine what indexes you would benefit from.

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.