cancel
Showing results for 
Search instead for 
Did you mean: 

Archiving BO Audit DB

Former Member
0 Kudos

Hi Expert,

We have been implementing Audit DB archiving strategy - as of BO 4.0 , SAP has provided option by which we can determine how many days we want to keep audit log. here , we would like to keep more than 5 years of audit log in schema , now 5 yrs is too long we know , so we've decided to build archiving approach where we would copy audit data(using SQL Script) into archive audit DB base on date/time. ( Our DB is SQL )

I referred main audit DB as "Active audit DB" and archived DB as "Archived Audit DB". (Active Audit DB is connected to BO CMS and Archived Audit DB is just like backup DB of Active Audit DB storing more rows).

As we further dig into system , we found there are 19 tables involves in Audit DB table , out of which only tables ADS_EVENT and ADS_EVENT_DETAIL having huge size and rest of 17 tables are of a smaller size.

My question - while applying deletion logic on archiving audit DB using SQL script , how we ensure that all data has been deleted from all tables. How those 19 tables are connected with each other so we can apply robust logic of deletion ( on Arching DB) to delete data ( for example , more than 3 years old).

Have any one every implemented Archiving for Audit DB.

Thanks,

Prashant Shah.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Prashant,

Ideally, you should be using the functionality provided by BO for retaining audit log for certain number of days.

I'm not so sure about the deletion logic part of your query but you can find out how these Audit tables are connected and related to each other by referring to Chapter 33: Auditing Data Store Schema Appendix in the Admin guide which you can download from link below.

http://help.sap.com/businessobject/product_guides/sbo41/en/sbo41sp4_bip_admin_en.pdf

Hope this helps!

Regards,

Mihir Tailor