The LIST STATUS command with the proc-id option specified as mmmm provides additional detailed information about the recovery process of a specific AMP.
Syntax
LIST STATUS [ proc-id ] ;
Syntax Elements
- STATUS
- Transaction recovery information and AMP recovery information for unavailable AMPs.
- The displayed row count of a large sized table will be rounded to the nearest thousand.
- The recovery build records specify rebuild operations separately for each index of a table. This causes a rebuild of both the primary data and fallback data for that index, so the displayed sector count will differ from the total size for the table as derived using other methods.
- The sector count that is displayed is the sum of the estimated number of sectors for both primary and fallback rows to be copied over from the other AMPs in the cluster or recreated Non Unique Secondary Index (NUSI) indexes for all index subtables of the table which have an OJ build record. This includes the OJ build records of both the current pass and the next pass.
- proc-id
- Additional detailed information about the recovery process of a specific AMP including the list of tables needing to be rebuilt.
Usage Notes
- Status
- Pass number
- Current pass count
- Next pass count
- A list of tables that need to be rebuilt, which also includes the following information:
- Total rows
- Total bytes
- Rebuild speed in bytes per second
- Estimated rebuild time All tables that need to be rebuilt will display in the list.
- The tables for which an OJ build record exists
- An estimated sector count of that table
The LIST STATUS proc-id command is only allowed for processors that are in down AMP recovery (offline catchup), or the AMPs listed in the LIST STATUS display. No additional detail information is provided for AMPs that are in online catchup since no build records exist for these AMPs.
The following table shows the information contained in the columns under the TABLES TO BE REBUILT report.
Data | Description |
---|---|
Row Count | The number of rows in the table to be rebuilt. |
Status | Displays up to six possible states where the recovery process may be when LIST STATUS proc-id is executed.
|
Name | The name of the table to be rebuilt. |
Example: Down AMP recovery status report for specified AMP
This example shows a typical down AMP recovery status report, which displays the total rows, total bytes, and the rebuild speed in bytes per second.
DOWN AMP RECOVERY STATUS AT 12:27:25 99/10/13 AMP to be Current Pass Next Pass caught up Pass OJ CJ OJ CJ --------- ---- ----------- ----------- ----------- ----------- 00001 0 0 0 107 16,531 - AMP Status: Not in recovery - Down TABLES TO BE REBUILT Row Count Status Name ------------ ------------------------------- ------------------- 897,598 "RESCRIBE"."Rescribe11" 897,598 "RESCRIBE"."Rescribe12" 897,598 "RESCRIBE"."Rescribe13" 897,598 "RESCRIBE"."Rescribe14" -------------------------------------------------------------------- 3,590,392 total rows. 2,582,240KB total bytes. 7,680KB is the rebuild speed in bytes per second. The estimated rebuild time is 5.60 minutes.