General Support DB2 versions 8.2 - 9.5 We do *not* use Health MonitorTuner Hints Profiler uses SNAPSHOT_STATEMENT SNAPSHOT_APPL_INFO SNAP_GET_STMT SNAP_GET_APPL_INFO Error
Solution #1: Users must enable the following DB2 Monitor Flags to start Profiling in DB2: dft_mon_uow dft_mon_stmt dft_mon_timestamp dft_mon_lock dft_mon_bufpool dft_mon_table Launch DBArtisan to set
Flags: DBArtisan DB2 Manager Configuration Before DB2 Monitor Flags
are set to ON NOTE: In DBArtisan, to set DB2 Monitor Flags to ‘ON’, users must specify that the ‘New Value:’ for each variable is actually set to ‘Yes’ as shown below. Now
reboot the DB2 datasource to enable the changes, launch DBOptimizer, and start
your profiling session. Solution #2 – command
line option set flags with "Update Monitor Switches". This can be done with the command line interface: In order to set the monitor switches on: 1)this must be done from the DB2 CLP, from the DB2 server. If you attempt to set the switches to ON from a client, you will receive this error:
4)Check that the switches are turned on:Connect to the server: the syntax is: Db2 connect to database user username password password (apparently when executing from the server you omit the initial “DB2”)db2 => connect to gim user db2admin db2 => get monitor switches Tuner In order to extract the
explain plan we create a table on DB2 named EMBARCADERO_EXPLAIN_PLAN. Errata non DB Optimizer DB2 information that maybe related Profiler related LIST APPLICATIONS Command UOW Waiting = This Unit of Work is Waiting, i.e. it's idle. SNAPAPPL_INFO Performance Tuning using the Configuration Advisor Administrative views verses Table Functions Tuner related Explain Plan db2exfmt - explain table format command |