Skip to main contentIBM dmctop Wiki

Other / Reorg

Purpose

REORG view shows the information of table reorganization. If no tables have been reorganized, the list will be empty. This view could be used to check the progress and status of table reoriganization.

Screenshot

image

Metric shown


Member

In a partitioned database environment, this is the numeric identifier for the database member. For Db2 Enterprise Server Edition and in a Db2 pureScale environment, this value is 0.


Start

The start time of a table reorganization including a reorganization to reclaim extents from a multidimensional clustering (MDC) or insert time clustering (ITC) table.


Phase start

The start time of a phase of table reorganization or reclaim reorganization.


End

The end time of a table reorganization including a reorganization to reclaim extents from a multidimensional clustering (MDC) or insert time clustering (ITC) table.


Table schema

The schema of the table.


Table name

The name of the table.


Datapartid

The identifier of the data partition for which information is returned.


Index schema

The schema name of the index.


Index name

Unqualified name of the index.


Type

Table reorganize attribute settings.


Phase

Indicates the reorganization phase of the table.

This interface returns a text identifier based on defines in sqlmon.h and is one of:

  • BUILD
  • DICT_SAMPLE
  • INDEX_RECREATE
  • REPLACE
  • SORT
  • SCAN
  • DRAIN
  • RELEASE
  • SORT+DICT_SAMPLE.

Pct complete

Indicate the percentage of reorganization that has been completed.

If REORG_STATUS equals ‘COMPLETED, the value is 100; Otherwise, the value is REORG_CURRENT_COUNTER / REORG_MAX_COUNTER.

Source


Rows compressed

The number of rows compressed in the table during reorganization.


Rows rejected

The number of rows that were not compressed during reorganization due to the record length being less than or equal to the minimum record length.


Status

The status of an in-place (online) table or a data partition level reorganization.


Completion

Indicate table reorganization success.

If REORG_END is NULL, then the value is NULL; Otherwise, the value is REORG_COMPLETION.

Source