Show table monitors and their properties. Table monitors are created using GPUdb.create_table_monitor(). Returns detailed information about existing table monitors.
Parameters
List of monitors to be shown. An empty list or a single entry with an empty string returns all table monitors. The user can provide a single element (which will be automatically promoted to a list internally) or a list.
Optional parameters. The default value is an empty dict ( ).
Returns
A dict with the following entries–
List of monitor IDs.
List of source tables being monitored for the respective output parameter monitor_ids.
List of notification events for the respective output parameter monitor_ids.
List of columns used on the respective tables in output parameter table_names that will increase for new records.
List of filter expressions used on the respective tables in output parameter table_names to limit records for notifications.
List of join table names.
List of join column names.
List of join expressions.
List of refresh methods used on the respective tables in output parameter table_names.
List of refresh periods used on the respective tables in output parameter table_names.
List of refresh start times used on the respective tables in output parameter table_names.
List of datasink names for the respective output parameter monitor_ids if one is defined.
Maximum number of consecutive failures for the respective output parameter monitor_ids before stream is automatically suspended.
List of table names that will hold failed notification events when the respective output parameter monitor_ids is suspended.
Status of stream for the respective output parameter monitor_ids.
Additional information about the respective monitors in output parameter monitor_ids. Allowed keys are:
monitor_type – Notification type for the respective output parameter monitor_ids and output parameter table_names. The default value is ‘’.
type_schema – Notification type schemas for the respective output parameter monitor_ids and output parameter table_names. The default value is ‘’.
materialized_view_for_change_detector – Materialized view that implements the change detector.
materialized_view_for_filter – Materialized views created for the output parameter filter_expressions. The default value is ‘’.
references – Reference count on the respective output parameter monitor_ids. The default value is ‘’.
datasink_json – Datasink info in JSON format for the respective output parameter monitor_ids if one is defined. The default value is ‘’.
Additional information.