PROJECTION_REFRESHES
Records information about successful and unsuccessful refresh operations. PROJECTION_REFRESHES retains projection refresh data until one of the following events occurs:
-
Another refresh operation starts on a given projection.
-
CLEAR_PROJECTION_REFRESHES is called and clears data on all projections.
-
The table's storage quota is exceeded.
Column Name | Data Type | Description |
---|---|---|
NODE_NAME | VARCHAR | Node where the refresh was initiated. |
PROJECTION_SCHEMA | VARCHAR | Name of the projection schema. |
PROJECTION_ID | INTEGER | Catalog-assigned numeric value that uniquely identifies the projection. |
PROJECTION_NAME | VARCHAR | Name of the refreshed projection. |
ANCHOR_TABLE_NAME | VARCHAR | Name of the projection's anchor table. |
REFRESH_STATUS | VARCHAR |
Status of refresh operations for this projection, one of the following:
|
PERCENT_COMPLETE | VARCHAR | Shows the current percentage of completion for the refresh operation. When the refresh is complete, the column is set to NULL. |
REFRESH_PHASE | VARCHAR |
Indicates how far the refresh has progressed:
The LOCKS system table is useful for determining if a refresh is blocked on a table lock. To determine if a refresh has been blocked, locate the term "refresh" in the transaction description. A refresh has been blocked when the scope for the refresh is REQUESTED and other transactions acquired a lock on the table. This field is NULL until the projection starts to refresh and is NULL after the refresh completes. |
REFRESH_METHOD | VARCHAR |
Method used to refresh the projection:
|
REFRESH_FAILURE_COUNT | INTEGER | Number of times a refresh failed for the projection. REFRESH_FAILURE_COUNT does not indicate whether the projection was eventually refreshed. See REFRESH_STATUS to determine whether the refresh operation is progressing. |
SESSION_ID | VARCHAR | Unique numeric ID assigned by the Vertica catalog, which identifies the refresh session. |
REFRESH_START | TIMESTAMPTZ | Time the projection refresh started. |
REFRESH_DURATION_SEC | INTERVAL SECOND (0) | How many seconds the projection refresh ran. |
IS_EXECUTING | BOOLEAN | Differentiates active and completed refresh operations. |
RUNTIME_PRIORITY | VARCHAR |
Determines how many run-time resources (CPU, I/O bandwidth) the Resource Manager should dedicate to running queries in the resource pool, one of the following:
|
TRANSACTION_ID | INTEGER |
Identifier for the transaction within the session, if any; otherwise NULL. NoteThe transaction_id is correlated with the execution plan only when refreshing from scratch. When refreshing from a buddy, multiple sub-transactions are created |
Privileges
Non-superuser: No explicit privileges required. You only see records for tables that you have privileges to view.