pg_stat_file_recursive
描述:列出路径下所有文件。
参数:location text
pg_shared_memory_detail
描述:返回所有已产生的共享内存上下文的使用信息,各列描述请参考GS_SHARED_MEMORY_DETAIL 表。
参数:nan
返回值类型:contextname text, level smallint, parent text, totalsize bigint, freesize bigint, usedsize bigint
表 GS_SHARED_MEMORY_DETAIL字段
get_gtm_lite_status
描述:返回GTM上的backupXid和csn号,用来支持问题定位,GTM-FREE模式下不支持使用本系统函数。
gs_stat_get_wlm_plan_operator_info
描述:从内部哈希表中获取算子计划信息。
参数:oid
返回值类型:datname text, queryid int8, plan_node_id int4, startup_time int8, total_time int8, actual_rows int8, max_peak_memory int4, query_dop int4, parent_node_id int4, left_child_id int4, right_child_id int4, operation text, orientation text, strategy text, options text, condition text, projection text
pg_stat_get_partition_tuples_hot_updated
描述:返回给定分区id的分区热更新元组数的统计。
参数:oid
返回值类型:bigint
gs_session_memory_detail_tp
描述:返回会话的内存使用情况,参考gs_session_memory_detail。
参数:nan
返回值类型:sessid text, sesstype text, contextname text, level smallint, parent text, totalsize bigint, freesize bigint, usedsize bigint
gs_thread_memory_detail
描述:返回各线程的内存信息。
参数:nan
返回值类型:threadid text, tid bigint, thrdtype text, contextname text, level smallint, parent text, totalsize bigint, freesize bigint, usedsize bigint
pg_stat_get_wlm_realtime_operator_info
描述:从内部哈希表中获取实时执行计划算子信息。
参数:nan
返回值类型:queryid bigint, pid bigint, plan_node_id integer, plan_node_name text, start_time timestamp with time zone, duration bigint, status text, query_dop integer, estimated_rows bigint, tuple_processed bigint, min_peak_memory integer, max_peak_memory integer, average_peak_memory integer, memory_skew_percent integer, min_spill_size integer, max_spill_size integer, average_spill_size integer, spill_skew_percent integer, min_cpu_time bigint, max_cpu_time bigint, total_cpu_time bigint, cpu_skew_percent integer, warning text
pg_stat_get_wlm_realtime_ec_operator_info
描述:从内部哈希表中获取EC执行计划算子信息。
参数:nan
返回值类型:queryid bigint, plan_node_id integer, plan_node_name text, start_time timestamp with time zone, ec_operator integer, ec_status text, ec_execute_datanode text, ec_dsn text, ec_username text, ec_query text, ec_libodbc_type text, ec_fetch_count bigint