Entering content frameThis graphic is explained in the accompanying text -force with Update Statistics  Locate the document in its SAP Library structure

This section gives examples of how you can use the -force options to override the internal rules for update statistics. For more information about the -force options, see -f stats.

This graphic is explained in the accompanying text

Only use these options in exceptional circumstances.

brconnect -u / -c -f stats -t psapbtabd -f allsel

brconnect -u / -c -f stats -t dbstatc_mon -f collect

brconnect -u / -c -f stats -t atab -m EI -s P10 -f allsel,method,sample

BRCONNECT stores the space usage data in tables DBSTATTORA (for tables) and DBSTATIORA (for indexes). Finally, the statistics are immediately deleted.

If you want to keep the statistics – for example, for test purposes – you must include the keep option in the command, as follows:

brconnect -u / -c -f stats -t rfblg -m EI -s P10 -f allsel,method,sample,keep

    1. First phase: Check statistics
    2. brconnect -u / -c -f stats -t all -f nocoll

    3. Second phase: Update statistics on tables identified in the first phase

brconnect -u / -c -f stats -t all -f nocheck

 

 

 

Leaving content frame