CMS Audit database records purge

I was recently notified by our DBA that the size of our Audit database has surpassed the size of all other tables on the production (Oracle) schemas of the CMS.
Since audit is only a historical record of user and past report activities, most of it is no longer needed.
Is there any way to purge or limit the size or this database within Business Objects Enterprise?

There is no way to limit the size of the Audit DB from within BOE itself.
It is however possible to purge audit data the db itself. This is in SAP NOTE 1480761 - How to purge or cleanup old data from the BusinessObjects Enterprise XI 3.1 Audit Database.
NOTE that SAP does not support this.
Best,
Srinivas

Similar Messages

  • CMS/Audit  Database Sizing

    Hello,
    We are planing to deploy BOE 3.1 for about 3,00,000 users the OS is windows and CMS database would be SQL server 2008.
    Any help would be appreciated to help me  arrive at an estimation of the size for CMS and Audit database for these many users?
    Thanks
    Ranjit Krishnan

    Hi Ranjit, it really depends on how many metrics you are auditing (in another word, the items on CMC that are checked for auditing). We have 20,000+ users in our system and I am auditing about 90% of the metrics. Our audit schema grows to 8-10 GB in about 3, 4 months.
    Frankly, in this day and age, disk drives are cheap. So storage is not your main concern. Your concern should be the performance. When the audit schema gets too large, naturally, the query performance will decrease. Therefore, I have our DBA archived off the audit schema every 6 months to reduce the size. And you need to back up the log files as well. In another word, we only keep a 6-months history. If someone needs older information, we can bring them back from the archive for a one-off query.
    This is something you must sit down with your DBA and come up with a strategy that makes sense for your organization. Every company has different need. So there is no cookie-cutter formula to handle this.
    Hope this helps.
    If you are using the BusinessObjects tool, you should join [ASUG|www.asug.com]

  • Connections to CMS/AUDIT system Databases lost

    we are often losing connection to CMS/AUDIT system Databases therefore
    users can not log into Infoview.
    The work around is to restart the Server Intelligence Agent (sia.exe)
    Server Details: we have BusObjects Edge standard XI 3.0
    Application Server: MS Windows Server 2003 Standard Edition SP2
    Database Server: MS Windows Server 2003 Standard Edition SP2
    There are multiple errors in our event viewer showing these errors.
    They have been happening for the last week.
    Not sure why this is happening or how to reproduce anyone know how to fix?
    Event viewer > application details:
    Event Type:      Error
    Event Source:   BusinessObjects_CMS
    Event Category:            Database
    Description:
    BusinessObjects Enterprise CMS: All connections to CMS system database ""BO_CMS"" have been lost. The CMS is entering the ""Waiting For Resources"" state. Reason [Microsoft][ODBC SQL Server Driver]Communication link failure
    Description:
    BusinessObjects Enterprise CMS: All connections to CMS audit database ""BO_AUDIT"" have been lost. The CMS can no longer serve as Auditor. Reason: [Microsoft][ODBC SQL Server Driver]Communication link failure
    Edited by: Dennis Alishah on Dec 15, 2010 11:37 PM

    no network problems
    thanks
    Found this is the SAP SMP I also asked them waiting for their reply to see if the below fix is suitable:
    SAP Knowledge Base Article
    Symptom
      CMS restarts and throws Database access error. Reason [Microsoft][ODBC SQL Server Driver]Communication link failure in the event viewer.
      BusinessObjects_CMS,Warning,Database ,33300,N/A,GADEVBO1,Database access error. Reason [Microsoft][ODBC SQL Server Driver]Communication link failure.
      BusinessObjects_CMS,Warning,Database ,33301,N/A,GADEVBO1,Retryable error returned from CMS database. Will retry the request 3 time(s).
      BusinessObjects_CMS,Warning,Database ,33300,N/A,GADEVBO1,Database access error. Reason [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionWrite
    Cause
      The error occurs because Microsoft Windows Server 2003 Service Pack 1 (SP1) and Windows Server 2003 Service Pack 2 (SP2) implement a security feature that the queue for concurrent TCP/IP connections to the server. This feature helps prevent denial of service attacks.
      Under heavy load conditions, the TCP/IP protocol in Windows Server 2003 SP1 and in Windows Server 2003 SP2 may incorrectly identify valid TCP/IP connections service attack.
    Resolution
    WARNING *** The following resolution involves editing the registry. Using the Registry Editor incorrectly can cause serious Use the Registry Editor at your own risk. Refer to Note 1323322 for more information.
    To resolve this issue, turn off this new functionality in Windows Server 2003 SP1 or in Windows Server 2003 SP2 by adding the SynAttackProtect entry to the following registry computer that is running Microsoft SQL Server that houses your BizTalk Server databases.
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
    Set the SynAttackProtect entry to a DWORD value of 00000000.
    To do this, follow these steps:
    1. Click Start, click Run, type regedit, and then click OK.
    2. Locate and then click the following registry key:
      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
    3. On the Edit menu, point to New, and then click DWORD Value.
    4. Type SynAttackProtect, and then press ENTER.
    5. On the Edit menu, click Modify.
    6. In the Value data box, type 00000000. Click OK.
    7. Quit Registry Editor.
    Note To complete this registry change, you must restart the computer that is running SQL Server.
    See Also
    For detailed information, go to the following Microsoft website:
    http://support.microsoft.com/default.aspx?scid=kb;en-us;899599
    Header Data
    References
    Product
    1375277 - CMS lost the SQLServer 2000/2005 communication and restarts intermittently
    Version 1 Validity: 12.08.2009 - active Language English
    Released on 07.10.2009 15:35:25
    Release status Released to Customer
    Component BI-BIP-ADM User & server configuration, InfoView refresh, user rights
    Priority Normal
    Category Problem
    Database MSSQLSRV 2005
    Operating System WIN 2003
    Type ID Title
    Business Objects Notes 1323322 Editing the Windows Registry - Warning
    Product Product Version
    SAP BusinessObjects Business Intelligence platform (formerly SB BOBJ ENTERPRISE XI R2
    1375277 - CMS lost the SQLServer 2000/2005 communication and restarts intermitte... Page 1 of 1
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui/main.do?para... 16/12/2010
    Edited by: Dennis Alishah on Dec 16, 2010 12:23 AM

  • DB2 UDB9.1 support as CE10 CMS and Audit database

    Does any body know if DB2 UDB 9.1 is supported as CMS and Audit database for Crystal Enterprise (CE) version 10?
    I know CE 10 is not supported by BO any more, we are in the process of migrating to BOXI but mean while we have a need to upgrade DB2 UDB from 8.1 to 9.1 version.
    Also did any one encounter any issues using CE10 against DB2 UDB 9.1.
    Please advise.
    Thanks

    Hello Romain,
    Thank you very much for your clarifications.
    I guess there was a second question hidden behind my first question.
    Here is the whole story, we had a workshop yesterday with some Consultants specialized on BI.4 technologies. We were discussing the architecture, and more particularly which would be the most suitable Web Application Server :
    * It seems that most SAP Customers choose the bundled WAS : Tomcat 7
    * But as SAP Basis Administrators,we had pretty much no previous exposure to Tomcat/Apache Technologies
    * The Consultants told us that an increasing number of SAP Customers are choosing SAP NW AS for deployment of BOE.war and other BI webapps
    * But so are now considering installing dedicated Netweaver AS on Windows, that will be acting as BI 4.1 Application Servers. We do not plan to deploy BI 4.1 applications on any of our existing  NW AS ,as they have been installed on HP-UX ( not supported by BI.4 )
    The only problem with that is that you can not install a Netweaver AS, without its corresponding Database, so I was wondering if that New Oracle Database installed only when deploying"NW AS/BI 4 Web application Tier", could be used as the CMS/Audit Database.
    Your latest answer seems to suggest that it is definitely not a good idea.
    The thing is , that we do not want to end up with two databases per Landscape tier (DEV,QAS,PRD)
    I hope it is a bit more clear.
    Thank you

  • CMS Databae/Audit Database

    Hi ,
    I am using BO Edge Series XI3.1 Sp3
    My CMS , AUdit data base both are in SQL Server 2008 R2.
    below are the my queries.
    1. My CMS Database Log file growing rapidly , how i can stop it.
    2. how does keep only last 1 month data in Audit database.
    please help me out.
    thanks in advance.
    reddeppa k

    Hello,
    1480761 - How to purge or cleanup old data from the BusinessObjects Enterprise XI 3.1 Audit Database
    1581890 - Does BusinessObjects Enterprise support to clean up audit database?
    I think, that you find much informations about you problem.
    best regards
    Krys

  • Backingup and Restoring CMS and Auditing Database

    We have a senario where out database server is completely down , we are unable to start services on SQL Server and it is not possible to restore them. Now we have our CMS and Auditing databases on that database. We have access to the file system from which we can take mdf and ldf files and restore the same to a new database. But CMS database cannot be restored in that way. How can i  restore the CMS to original state. We also have a backup for those databases i.e., .bak file. Please help

    Anil,
           You should be able to copy the *.MDF & *.LDF set from one SQL Server to another and mount them on another working SQL server.  Once you have validated the SQL Server database is mounted properly simple update the ODBC on the BOBJ box to point to the new server.  Make sure the ODBC name stays the same.
    You problem is more related to back and restore/recover of SQL Server.
    Regards,
    Ajay

  • Audit database. config auditing data source (DB2)

    Hello expert,
    I want to enable audit database for Business Object and I has followed the admin guide but not work.
    I install Business Object enterprise XI 3.1 on AIX 5.3 .
    When I installed BO ,I choose 'Use an existing database'  and choose DB2. (The same database of SAP BW database)
    And when the installation require the information of CMS and Audit database, I fill the same db alias as SAP BW database.
    So now I has SAPBW , CMS and Audit  data in the same database.
    After installation I saw the CMS table in "DB2<aliasName>"  schema.
    But can not find the Audit table.
    Does the audit table will create after installation?
    Then I try to enable the audit database using cmsdbsetup.sh and I choose 'selectaudit' and fill in the information that it require.
    Then it finish with no error.
    "Select auditing data source was successful. Auditing Data Source setup finished."
    But I still can not find any audit table in the database.
    I run serverconfig.sh and I can't see the Enable Audit option when I choose 'modify a server'.
    Any idea?
    Thanks in advance.
    Chai

    Hello,
    Thanks for your reply.
    It is not a BO cluster.
    And a log detail when select audit data source is show as below
    Wed Nov 17 2010 10:17:02 GMT+0700 (THAIST) /bodev/bobje/setup/jscripts//ccmunix.js started at Wed Nov 17 2010 10:17:02 GMT+0700 (THAIST)
    Wed Nov 17 2010 10:17:02 GMT+0700 (THAIST) About to process commandline parameters...
    Wed Nov 17 2010 10:17:02 GMT+0700 (THAIST) Finished processing commandline parameters.
    Wed Nov 17 2010 10:17:02 GMT+0700 (THAIST) Warning: No password supplied, setting password to default.
    Wed Nov 17 2010 10:17:02 GMT+0700 (THAIST) Warning: No username supplied, setting username and password to default.
    Wed Nov 17 2010 10:17:02 GMT+0700 (THAIST) Warning: No authentication type supplied, setting authentication type to default.
    Wed Nov 17 2010 10:17:02 GMT+0700 (THAIST) Warning: No CMS name supplied, setting CMS name to machine name.
    Wed Nov 17 2010 10:17:02 GMT+0700 (THAIST) Select auditing data source was successful.
    Wed Nov 17 2010 10:25:22 GMT+0700 (THAIST) /bodev/bobje/setup/jscripts//ccmunix.js started at Wed Nov 17 2010 10:25:22 GMT+0700 (THAIST)
    Wed Nov 17 2010 10:25:22 GMT+0700 (THAIST) About to process commandline parameters...
    Wed Nov 17 2010 10:25:22 GMT+0700 (THAIST) Finished processing commandline parameters.
    Wed Nov 17 2010 10:25:22 GMT+0700 (THAIST) Warning: No password supplied, setting password to default.
    Wed Nov 17 2010 10:25:22 GMT+0700 (THAIST) Warning: No username supplied, setting username and password to default.
    Wed Nov 17 2010 10:25:22 GMT+0700 (THAIST) Warning: No authentication type supplied, setting authentication type to default.
    Wed Nov 17 2010 10:25:22 GMT+0700 (THAIST) Warning: No CMS name supplied, setting CMS name to machine name.
    Wed Nov 17 2010 10:25:22 GMT+0700 (THAIST) Select auditing data source was successful.
    And the CMS log file did not show any error.
    Additional detail:
    - My BW and BO are in the same server.
    - I already grant all the rights to the user who relate to audit database.
    - My BW and  BO are in the same database.
    - There is no audit table appear in the database.
    - No Fix pack installed.
    I wonder why BO audit connection did not see my database.
    (In case of DB2, I think the db2 alias name is the same name of the database name (as default).
    So if my database name is BWD then the database alias name should be BWD, am I right?)
    Any idea?
    Thanks in advance.
    Chai

  • Configure Audit Database in BOBJ LCM

    Hello,
    Can anyone please provide me steps to configure Audit Database in BOBJ LCM?
    When I goto SIA properties under configuration, I have configured Audit Database and i got message saying Audit Database completed. I have enabled AUDIT in Adaptive processing server too however when I goto properties of Audit Events I am getting message as "Auditing information is not being written to the auditing database. Please verify that the auditing data source is configured properly on the CMS".
    Please guide me in solving this issue...
    Thanks,
    Sravanthi

    Hello Stratos,
    Yes, this is different oracle instance. I am tried with sysdba and i still dont see Audit tables in database. I appreciate, if you have any hints on checking the Audit tables.
    How do I make sure Audit database has been created? and Could you please provide me the steps to configure Audit Database.
    Thanks,
    Sravanthi

  • ORA-20212: Active audit detail record does not exist

    Hi All,
    While Executing the process flow using Scheduler,we got this error
    "ORA-20212: Active audit detail record does not exist, cannot update audit counts.
    ORA-06512: at "XXOWB.WB_RT_MAPAUDIT", line 2173
    ORA-06512: at "XXOWB.WB_RT_MAPAUDIT", line 3108
    ORA-06512: at "APPS.Test_MAP", line 3304
    ORA-06512: at "APPS.Test__MAP", line 9341
    ORA-06512: at line 1
    I Will test the Mapping my running directly from Control center and then in database.
    Cheers
    Nawneet

    Donot know the exact reason but when check the alert log found the error
    ORA-1653: unable to extend table
    and after allocating space the error was gone..
    Cheers
    Nawneet

  • Business Objects Auditing Database

    Hi,
    Is there any way to filter events in the auditing database for a particular user, so that these events are not written to the audit database?
    Also, in terms of the management of the auditing database, i.e. purging old data, truncating, setting constraints etc, are there any do's and dont's around this or is at the discretion of the dba?
    Thanks

    Benjamin:
    Also, in terms of the management of the auditing database, i.e. purging old data, truncating, setting constraints etc, are there any do's and dont's around this or is at the discretion of the dba?
    Purging or truncating data:  this requires understanding the data model.  There are two tables that are transactional in nature (audit_detail & audit_event).  If you delete data from one, then you should also delete data from other at or about the same time.  Here is an SQL statement for deleting (note, change the date values accordingly, this snip-it deletes all 2007 data...
    delete from audit_detail
      where audit_detail.event_id+server_cuid in (
         select event_id+server_cuid from audit_event
             where convert(char(11),start_timestamp,112)
           between '20070101' and '20071230')
    delete from audit_event where convert(char(11),start_timestamp,112)
           between '20070101' and '20071230'
    Setting constraints:  I would not recommend doing this as BOE populates the two transactional data using its own methodolgies.  You shouldn't have trouble making the relationships work properly in any free-hand SQL you apply.  Even though integrity constraint is not enforced via PK/FK connections, BOE is tight with what it is doing...
    Thanks,
    John

  • Upgrade R2 to R3 (Same box) , with Audit database

    Hi Experts,
    We do not have a new Production Server for new R3 installation.
    We are going to upgrade the current R2 to R3 in the same box. (With AD as authentication).
    We have turned on the Audit service as well. So we have2 databases -  CMS and Audit databases.
    May I know what are the steps to perform this upgrade?
    Can I use the same audit database? Or should I create a new audit database?
    Do I need to turn off the audit feature before upgrading to R3?

    The current environment is R2 with SP2...
    We use Java Tomcat as web server,  Windows AD as authentication, SQL 2005 DB for CMS and Audit Databases.
    Install R3 from scratch? So we will have both R2 and R3 in same machine?
    In that case, I should get the DBA (we do not have rights to create DB) to create 2 empty databases (CMS and Audit) for R3...
    Below are the steps I can think of,  to have 2 BO in one machine:
    1. Get the DBA to create 2 new databases
    2. Install R3
    3. Point CMS connection and Audit connection to the new databases
    4. Use the import wizard to import reports/users/universes.
    Below are the steps for upgrading R3 (only one BO in one machine):
    1. Install R3
    2. Choose the option "Upgrade"
    Did I miss out anything? Appreciate your advice. Thanks!
    Edited by: BK Ong on May 11, 2010 11:46 AM

  • BOBJ Audit Database disabled

    Dear All,
    We installed BOBJ without audit database. The system detail as below:
    Product Version: BOE XI 3.1.
    Product Patches installed: SP3
    OS: AIX 5.3
    CMS DB: QO1 (DB2/AIX64 9.1.8)
    Audit DB: QA1 (DB2/AIX64 9.1.8)
    Authentication Type: SAP
    Now we need to activate the audit database for our BOBJ systems.
    We have successfully applied SAP note 1440647 for the same. But the audit database is still disabled in CMC.
    We have tried some alternative and created new DB. But no success as yet.
    Do you have any idea how this could be solved?
    Appreciate your input / advice to resolve the issue.
    If you need any clarification, kindly get back to me.
    With Regards,
    Uttam.

    Uttam,
    You may want to try the [SAP BusinessObjects Enterprise/Edge, and SAP Crystal Reports Server Administration|BI Platform; forum for this one.
    Thanks,
    Brandon

  • CMS Repository Database Temp Tablespace Sizing

    1.  While running some large reports Business Objects (XI 3.1 FP2.7) received an ORA-01652 (Unable to extend temp segment in tablespace TEMP) error for the CMS repository.  The CMS database is running in an independent Oracle instance with the auditing database, so only the Business Objects engine would be using the temp tablespace.  All the report information is extracted from other database instances.  This tablespace was sized at 4GB when this error occurred.
    2.  What is Business Objects using the CMS repository temp tablespace for?  What are some sizing guidelines, should this tablespace be sized based on estimated report sizes, report rows, concurrent users, etc?

    I'd say this has nothing to do with Webi processing and has everything to do with your Auditing DB.
    Auding DB always growing and that's where that message comes.
    Audit guide has more info on managing Audit DB.

  • Oracle Audit SMF records (z/OS) / where are the mapping macros for SMAAUD?

    hi all,
    i'm searching unsuccessfully for the mapping macros describing the SMAAUD field content of the Oracle Audit SMF Records.
    does anybody have experience with analyzing the Oracle Audit SMF records?
    best regards
    stephen

    Art,
    The external tables are tricky because if you make one trivial mistake when describing the records (such as a wrong field length or type), the end result will be that the query against the FT will return no errors, but there will be zero or some weard number of records returned. I suggest to check again the record description and to try to select from the external table (after it is deployed) from SQL plus.
    Also, when configuring the flat file in OWB you can define the log file that will trace FT creation errors during deployment and a Bad file name that will direct the database to write records not fitting into the FT definition to the location specified in 'Bad file name'.
    These configuration parameters can be of help when struggling with the issues mentioned above.
    Regards:
    Igor

  • Audit Database is not updating

    Hi
    our Audit data base is not updating the data in the tables. I found the Audit files created every hour greater than 0kb in the following folder.
    Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\Auditing
    But this data is not updating to our tables. We are on BOXI 3.1 SP1 and SQL 2008
    Please suggest

    Hi,
    Try checking your CMS log under <Your installationPath>\BusinessObjects Enterprise 12.0\Logging
    While working with a SQL 2008 Audit database, I found the following :
    "(.\AuditDatabaseSubsystem_impl.cpp:92). (false : DBConnectionHolder - (AuditDB) - Retryable error treated as lost connection error. Code 0, Msg: [Microsoft][SQL Server Native Client 10.0]String data, length mismatch)."
    I created a new ODBC datasource using sqlncli (version 9.0, i.e. 2005) instead of version 10.0 and  modified the datasource on the configuration tab of the SIA in the CCM
    Worked for me, hope this helps.
    N.

Maybe you are looking for

  • How do i delete my icloud account from an ipod i dont have access to anymore?

    So i sold someone my old itouch yesterday and realized i had forgotten to delete my icloud account from it. Now when I try to use the Find My Iphone app the old ipod shows up. I want to delete this ipod off the app but it says it is active and wont l

  • Static watermark in pdf.

    We have a PDF document, which should be signed by end user. Next time when someone view pdf from application or download it, system should show signature as watermark. I have enabled signature and pdf watermarking. I am able to sign a document. When

  • Lenovo Thinkpad Twist touchscreen issue

    Does anybody have any expirience with setting up the touchscreen on the thinkpad twist? I assume that I am having  a kernel moduel issue because it does not show up in xinput (it did however show up in ubuntu as atmel maxtouch digitizer, and works wi

  • Fetching data from 'Z' clusters

    Hi Gurus,    We an existing 'Z' cluster in the HR system.I want to know that how we can read data from such 'Z' clusters. I tried finding reagrding macros and other methods but it seems that macros can be used to read standard cluster tables. Please

  • Web Order Status

    Hi Guys I have an order on the Web Tools end that shows order status 'Pending' does anyone know what causes this status and how to resolve it. I have checked the synchmanager and the order does not appear in there. The account is not on hold The user