Oracle Service Bus (OSB): Compacting Diagnostic File Store

OSB diagnostic store file is where service statistic is kept and it can grow in time. This can be performance effect, especially during service health requests through the Service Bus Console.

Compacting the diagnostic store file is a best practice.

To do this, the steps to follow:

Environment info for this doc:

OS: AIX 6.1

Weblogic server: 10.3.4

OSB version: 11.1.1.4

  1. Create a folder where diagnostic store file’s backup is copied. (let’s say: $BACKUP_DIR)
  2. Run setDomainEnv.sh
    . $DOMAIN_DIR/bin/setDomainEnv.sh (don’t forget the “.” followed by a space before the script file)
  3. switch to the related diagnostic store file folder ($DOMAIN_DIR/servers/$SERVER_NAME/data/store/diagnostics)
  4. Run:
    java weblogic.store.Admin
    You’ll have:
    Type “help” for available commands

    storeadmin->

  5. In weblogic.store.Admin command line, run:

    storeadmin-> compact -dir . -tempdir $BACKUP_DIR

    THAT’S ALL!

    If you want to see the result, you can compare the size of the new diagnostic file with the older.

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s