The $hist_query_epilog_n table contains the final data that is collected at the end of the query.
Name | Type | Description |
---|---|---|
npsid | integer | NPS ID. This ID and the instance ID (npsinstanceid) and operation ID (opid) form the foreign key into the operation table. |
npsinstanceid | integer | Instance ID of the source IBM® Netezza® system. |
opid | bigint | Operation ID. This ID is used as a foreign key from query epilog, overflow and plan, table, column access tables to query prolog. |
logentryid | bigint | This ID and the NPS ID (npsid) and instance ID (npsinstanceid)
form:
|
sessionid | bigint | Netezza session ID. This ID and the NPS ID (npsid) and instance ID (npsinstanceid) form the foreign key from query, plan, table, and column access tables into session tables. |
finishtime | timestamp | The GMT time when the query finished. |
resultrows | bigint | The number of rows that are affected by the SQL query. Applicable for select, insert, update, delete, and CTAS queries. The result rows in the plan epilog are internal to Netezza and specifies the number that the plan returns to the query. |
status | integer | Completion status of the query:
|
tzoffset | integer | The timezone offset in minutes. This field is available only in database version 2 or later. |