db_update_statistics -d env_name [dbo_pwd]
db_update_statistics -t env_name lp_table_name [dbo_pwd]
db_update_statistics -o [dbo_pwd]
-d
update statistics on entire LLDB.
-t
update statistics on individual LeasePak table.
-o
Oracle only: update statistics on Oracle data dictionary.
-d
or -t
, LeasePak environment containing the LLDB the script will operate on. env_name must contain a valid LLDB.
-t
, the individual LLDB table the script will operate on. lp_table_name must be in the LLDB.
-d
and -t
, env_name must be a valid environment and contain a valid, populated LLDB.
-t
, lp_table_name must exist in the LLDB.
-d
and -t
, env_name cannot be a visitor environment.
-o
, DBMS must be Oracle 11gR2.
db_update_statistics -d env_name [dbo_pwd]
update statistics on entire LLDB. Sample output (db_update_statistics run as part of db_restore):
2025-08-21 15:28:40 db_update_statistics: Update statistics for all tables in database (prod)lpr_prod 2025-08-21 15:28:40 db_update_statistics: Running commands as database owner: lpr_prod 2025-08-21 15:29:03 db_update_statistics: End
db_update_statistics -t env_name lp_table_name [dbo_pwd]
update statistics on individual LLDB table.
db_update_statistics -o [dbo_pwd]
Oracle only: update statistics on Oracle data dictionary.
$ubin/db_update_statistics
$ulib/msi_csh_to_sh
$ulib/libcore.sh
$ulib/libcore2.sh
$ulib/libdba2.sh
$ulib/libxsql.sh
-d
and -t
$CFGDIR/$MSI_RT_CFG
-o
$top/env/adm_ora/etc/.lpprofile
-d
and -t
$mdilog/$ENVNAME.log
-o
$msilog/dbms.log