Deleting Harmful Statistics with BR*Tools


You can use BR*Tools for Oracle to delete harmful database statistics.


·        Make sure you have set the necessary BRCONNECT parameters in the initialization profile init<DBSID>.sap, because BRTOOLS uses these when it calls BRCONNECT.

·        The database must be open.



       1.      Start BRGUI or BRTOOLS.

       2.      Choose Database statistics ® Delete harmful statistics.

       3.      Set the required options:

Menu Entry

Equivalent BRCONNECT

Command Option

BRCONNECT profile (profile)


Database user/password (user)


Database owner for delete (owner)

-f stats -o|-owner

Exclude from delete (exclude)

-f stats –e|-exclude

Tables for delete (table)

-f stats –t|-table

Confirmation mode (confirm)


Query mode (query)


Force options (force)

-f stats -f|-force

Extended output (output)


Message language (language)


BRCONNECT command line (command)

This shows you the BRCONNECT -f stats –t harmful -d command that is to be executed using the current settings.

       4.      To start processing with the selected options, choose Continue.

       5.      Check the results in the BRCONNECT logs.

Ў        The summary log conn<DBSID>.logdisplays the return code.

Ў        The detail log  c<encoded timestamp>.dst displays the progress.

For more information on how to view the logs with BR*Tools, see Showing Logs with BR*Tools.