{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ibm-db2/json-schema/ibm-db2-inflight-execution-details-schema.json",
  "title": "inflightExecutionDetails",
  "description": "inflight statement Execution details",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ibm-db2-openapi.yml#/components/schemas/inflightExecutionDetails",
  "type": "object",
  "required": [
    "application_handle",
    "uow_id",
    "activity_id",
    "coord_member",
    "entry_time",
    "local_start_time",
    "total_time_ms",
    "queue_time_ms",
    "idle_time_ms",
    "exec_time_ms",
    "thresh_violations",
    "wlm_queue_assignments_total",
    "executable_id",
    "effective_isolation",
    "effective_query_degree",
    "query_actual_degree",
    "adm_bypassed",
    "adm_resource_actuals",
    "query_cost_estimate_timerons",
    "estimated_runtime_ms",
    "stmt_text",
    "activity_state",
    "activity_type",
    "application_id",
    "client_ipaddr",
    "application_name",
    "system_auth_id",
    "session_auth_id",
    "client_applname",
    "client_wrkstnname",
    "client_acctng",
    "client_userid",
    "client_hostname",
    "client_pid",
    "client_platform",
    "client_prdid",
    "client_port_number",
    "workload_name",
    "appl_id",
    "service_superclass_name",
    "service_subclass_name",
    "total_cpu_time_ms",
    "total_routine_invocations",
    "fcm_recvs_total",
    "fcm_sends_total",
    "complex_operations",
    "all_overflows",
    "agents_top",
    "num_agents",
    "total_sorts",
    "sort_overflows",
    "sort_shrheap_allocated_pages",
    "max_shrheap_allocated_per_part_percent",
    "estimated_sort_shrheap_top_pages",
    "max_estimated_shrheap_per_part_percent",
    "sort_shrheap_top_pages",
    "max_shrheap_peak_per_part_percent",
    "hash_join_overflows",
    "olap_func_overflows",
    "hash_grpby_overflows",
    "post_threshold_sorts",
    "post_threshold_hash_joins",
    "post_threshold_olap_funcs",
    "post_threshold_hash_grpbys",
    "col_vector_consumer_overflows",
    "post_threshold_col_vector_consumers",
    "rows_read",
    "rows_modified",
    "rows_returned",
    "lock_waits",
    "lock_waits_global",
    "lock_escals",
    "lock_escals_global",
    "deadlocks",
    "lock_timeouts",
    "lock_timeouts_global",
    "cf_waits",
    "log_disk_waits_total",
    "num_log_buffer_full",
    "uow_log_space_used_kb",
    "direct_reads",
    "direct_writes",
    "fcm_volume_kb",
    "bp_hit_ratio",
    "data_hit_ratio",
    "index_hit_ratio",
    "xda_hit_ratio",
    "col_hit_ratio",
    "temp_hit_ratio",
    "pool_temp_l_reads",
    "pool_temp_p_reads",
    "pool_l_reads",
    "pool_p_reads",
    "pool_writes",
    "fed_rows_deleted",
    "fed_rows_inserted",
    "fed_rows_updated",
    "fed_rows_read",
    "fed_waits_total",
    "ext_table_read_volume_kb",
    "ext_table_write_volume_kb",
    "ext_table_send_volume_kb",
    "ext_table_recv_volume_kb",
    "wlm_queue_time_total_percent",
    "stmt_exec_time_percent",
    "total_section_proc_time_percent",
    "total_section_sort_proc_time_percent",
    "total_col_proc_time_percent",
    "other_section_proc_time_percent",
    "total_routine_user_code_proc_time_percent",
    "total_act_wait_time_percent",
    "lock_wait_time_global_percent",
    "lock_wait_time_local_percent",
    "log_buffer_wait_time_percent",
    "log_disk_wait_time_percent",
    "fcm_wait_time_percent",
    "cf_wait_time_percent",
    "fed_wait_time_percent",
    "ext_table_wait_time_percent",
    "total_extended_latch_wait_time_percent",
    "pool_read_time_percent",
    "pool_read_time_ms",
    "pool_write_time_percent",
    "pool_write_time_ms",
    "direct_read_time_percent",
    "direct_write_time_percent",
    "prefetch_wait_time_percent",
    "prefetch_wait_time_ms",
    "other_wait_time_percent",
    "other_proc_time_percent"
  ],
  "properties": {
    "application_handle": {
      "type": "integer",
      "format": "int64",
      "description": "Application handle"
    },
    "uow_id": {
      "type": "integer",
      "format": "int64",
      "description": "Unit of work ID"
    },
    "activity_id": {
      "type": "integer",
      "format": "int64",
      "description": "Activity ID"
    },
    "coord_member": {
      "type": "integer",
      "format": "int64",
      "description": "Coordinator member"
    },
    "entry_time": {
      "type": "integer",
      "format": "int64",
      "description": "Entry time"
    },
    "local_start_time": {
      "type": "integer",
      "format": "int64",
      "description": "Local start time"
    },
    "total_time_ms": {
      "type": "integer",
      "format": "int64",
      "description": "Total time"
    },
    "queue_time_ms": {
      "type": "integer",
      "format": "int64",
      "description": "Queue time"
    },
    "idle_time_ms": {
      "type": "integer",
      "format": "int64",
      "description": "Idle time"
    },
    "exec_time_ms": {
      "type": "integer",
      "format": "int64",
      "description": "Exec time"
    },
    "thresh_violations": {
      "type": "integer",
      "format": "int64",
      "description": "Number of threshold violations"
    },
    "wlm_queue_assignments_total": {
      "type": "integer",
      "format": "int64",
      "description": "Workload manager total queue assignments"
    },
    "executable_id": {
      "type": "string",
      "description": "Executable ID"
    },
    "effective_isolation": {
      "type": "string",
      "description": "Effective isolation"
    },
    "effective_query_degree": {
      "type": "integer",
      "format": "int64",
      "description": "Effective query degree"
    },
    "query_actual_degree": {
      "type": "integer",
      "format": "int64",
      "description": "Actual runtime degree of intrapartition parallelism"
    },
    "adm_bypassed": {
      "type": "integer",
      "format": "int64",
      "description": "Reserved for future use"
    },
    "adm_resource_actuals": {
      "type": "integer",
      "format": "int64",
      "description": "Reserved for future use"
    },
    "query_cost_estimate_timerons": {
      "type": "integer",
      "format": "int64",
      "description": "Query cost estimate"
    },
    "estimated_runtime_ms": {
      "type": "integer",
      "format": "int64",
      "description": "Reserved for future use"
    },
    "stmt_text": {
      "type": "string",
      "description": "SQL statement text"
    },
    "activity_state": {
      "type": "string",
      "description": "Activity state"
    },
    "activity_type": {
      "type": "string",
      "description": "Activity type"
    },
    "application_id": {
      "type": "string",
      "description": "Application ID"
    },
    "client_ipaddr": {
      "type": "string",
      "description": "Client IP address"
    },
    "application_name": {
      "type": "string",
      "description": "Application name"
    },
    "system_auth_id": {
      "type": "string",
      "description": "System authorization identifier"
    },
    "session_auth_id": {
      "type": "string",
      "description": "Session authorization ID"
    },
    "client_applname": {
      "type": "string",
      "description": "Client application name"
    },
    "client_wrkstnname": {
      "type": "string",
      "description": "Client workstation name"
    },
    "client_acctng": {
      "type": "string",
      "description": "Client accounting string"
    },
    "client_userid": {
      "type": "string",
      "description": "Client user ID"
    },
    "client_hostname": {
      "type": "string",
      "description": "Client hostname"
    },
    "client_pid": {
      "type": "integer",
      "format": "int64",
      "description": "Client process ID"
    },
    "client_platform": {
      "type": "string",
      "description": "Client platform"
    },
    "client_prdid": {
      "type": "string",
      "description": "Client product and version ID"
    },
    "client_port_number": {
      "type": "integer",
      "format": "int64",
      "description": "Client port number"
    },
    "workload_name": {
      "type": "string",
      "description": "Workload name"
    },
    "appl_id": {
      "type": "string",
      "description": "Application ID"
    },
    "service_superclass_name": {
      "type": "string",
      "description": "Service superclass name"
    },
    "service_subclass_name": {
      "type": "string",
      "description": "Service subclass name"
    },
    "total_cpu_time_ms": {
      "type": "integer",
      "format": "int64",
      "description": "Total CPU time"
    },
    "total_routine_invocations": {
      "type": "integer",
      "format": "int64",
      "description": "Total routine invocations"
    },
    "fcm_recvs_total": {
      "type": "integer",
      "format": "int64",
      "description": "FCM receives total"
    },
    "fcm_sends_total": {
      "type": "integer",
      "format": "int64",
      "description": "FCM sends total"
    },
    "complex_operations": {
      "type": "integer",
      "format": "int64",
      "description": "Complex operations"
    },
    "all_overflows": {
      "type": "integer",
      "format": "int64",
      "description": "All overflows"
    },
    "agents_top": {
      "type": "integer",
      "format": "int64",
      "description": "Maximum number of agents that were used"
    },
    "num_agents": {
      "type": "integer",
      "format": "int64",
      "description": "Number of concurrent agents"
    },
    "total_sorts": {
      "type": "integer",
      "format": "int64",
      "description": "Total Sorts"
    },
    "sort_overflows": {
      "type": "integer",
      "format": "int64",
      "description": "Sort overflows"
    },
    "sort_shrheap_allocated_pages": {
      "type": "integer",
      "format": "int64",
      "description": "Sort Share Heap Currently Allocated"
    },
    "max_shrheap_allocated_per_part_percent": {
      "type": "number",
      "format": "double",
      "description": "Max Share Heap Allocated Per Part Percent"
    },
    "estimated_sort_shrheap_top_pages": {
      "type": "integer",
      "format": "int64",
      "description": "Reserved for future use"
    },
    "max_estimated_shrheap_per_part_percent": {
      "type": "number",
      "format": "double",
      "description": "Max estimated Share Heap Per Part Percent"
    },
    "sort_shrheap_top_pages": {
      "type": "integer",
      "format": "int64",
      "description": "Sort share heap high watermark"
    },
    "max_shrheap_peak_per_part_percent": {
      "type": "number",
      "format": "double",
      "description": "Max Share Heap Peak Per Part Percent"
    },
    "hash_join_overflows": {
      "type": "integer",
      "format": "int64",
      "description": "Hash Join Overflows"
    },
    "olap_func_overflows": {
      "type": "integer",
      "format": "int64",
      "description": "OLAP Function Overflows"
    },
    "hash_grpby_overflows": {
      "type": "integer",
      "format": "int64",
      "description": "Hash group by overflows"
    },
    "post_threshold_sorts": {
      "type": "integer",
      "format": "int64",
      "description": "Post threshold sorts"
    },
    "post_threshold_hash_joins": {
      "type": "integer",
      "format": "int64",
      "description": "Hash Join Threshold"
    },
    "post_threshold_olap_funcs": {
      "type": "integer",
      "format": "int64",
      "description": "OLAP function threshold"
    },
    "post_threshold_hash_grpbys": {
      "type": "integer",
      "format": "int64",
      "description": "Hash group by threshold"
    },
    "col_vector_consumer_overflows": {
      "type": "integer",
      "format": "int64",
      "description": "Columnar vector consumer overflows"
    },
    "post_threshold_col_vector_consumers": {
      "type": "integer",
      "format": "int64",
      "description": "Post threshold columnar_vector consumers"
    },
    "rows_read": {
      "type": "integer",
      "format": "int64",
      "description": "Rows read"
    },
    "rows_modified": {
      "type": "integer",
      "format": "int64",
      "description": "Rows modified"
    },
    "rows_returned": {
      "type": "integer",
      "format": "int64",
      "description": "Rows returned"
    },
    "lock_waits": {
      "type": "integer",
      "format": "int64",
      "description": "Lock waits"
    },
    "lock_waits_global": {
      "type": "integer",
      "format": "int64",
      "description": "Lock waits global"
    },
    "lock_escals": {
      "type": "integer",
      "format": "int64",
      "description": "Number of lock escalations"
    },
    "lock_escals_global": {
      "type": "integer",
      "format": "int64",
      "description": "Number of global lock escalations"
    },
    "deadlocks": {
      "type": "integer",
      "format": "int64",
      "description": "Deadlocks detected"
    },
    "lock_timeouts": {
      "type": "integer",
      "format": "int64",
      "description": "Number of lock timeouts"
    },
    "lock_timeouts_global": {
      "type": "integer",
      "format": "int64",
      "description": "Lock timeouts global"
    },
    "cf_waits": {
      "type": "integer",
      "format": "int64",
      "description": "Number of cluster caching facility waits"
    },
    "log_disk_waits_total": {
      "type": "integer",
      "format": "int64",
      "description": "Total log disk waits monitor element"
    },
    "num_log_buffer_full": {
      "type": "integer",
      "format": "int64",
      "description": "Number of times full log buffer caused agents to wait"
    },
    "uow_log_space_used_kb": {
      "type": "number",
      "format": "double",
      "description": "Unit of Work Log Space Used"
    },
    "direct_reads": {
      "type": "integer",
      "format": "int64",
      "description": "Direct reads from database"
    },
    "direct_writes": {
      "type": "integer",
      "format": "int64",
      "description": "Direct writes to database"
    },
    "fcm_volume_kb": {
      "type": "number",
      "format": "double",
      "description": "FCM volume"
    },
    "bp_hit_ratio": {
      "type": "number",
      "format": "double",
      "description": "Buffer pool hit ratio"
    },
    "data_hit_ratio": {
      "type": "number",
      "format": "double",
      "description": "Buffer pool data hit ratio"
    },
    "index_hit_ratio": {
      "type": "number",
      "format": "double",
      "description": "Buffer pool index hit ratio"
    },
    "xda_hit_ratio": {
      "type": "number",
      "format": "double",
      "description": "Buffer pool XDA hit ratio"
    },
    "col_hit_ratio": {
      "type": "number",
      "format": "double",
      "description": "Buffer pool column hit ratio"
    },
    "temp_hit_ratio": {
      "type": "number",
      "format": "double",
      "description": "Buffer pool temp hit ratio"
    },
    "pool_temp_l_reads": {
      "type": "number",
      "format": "double",
      "description": "Buffer pool temp logical reads"
    },
    "pool_temp_p_reads": {
      "type": "number",
      "format": "double",
      "description": "Buffer pool temp physical reads"
    },
    "pool_l_reads": {
      "type": "integer",
      "format": "int64",
      "description": "Buffer pool logical reads"
    },
    "pool_p_reads": {
      "type": "integer",
      "format": "int64",
      "description": "Buffer pool physical reads"
    },
    "pool_writes": {
      "type": "integer",
      "format": "int64",
      "description": "Buffer pool writes"
    },
    "fed_rows_deleted": {
      "type": "integer",
      "format": "int64",
      "description": "Rows deleted by a federation system"
    },
    "fed_rows_inserted": {
      "type": "integer",
      "format": "int64",
      "description": "Rows inserted by a federation system"
    },
    "fed_rows_updated": {
      "type": "integer",
      "format": "int64",
      "description": "Rows updated by a federation system"
    },
    "fed_rows_read": {
      "type": "integer",
      "format": "int64",
      "description": "Rows read by a federation system"
    },
    "fed_waits_total": {
      "type": "integer",
      "format": "int64",
      "description": "Total number of execution times for a federation server"
    },
    "ext_table_read_volume_kb": {
      "type": "number",
      "format": "double",
      "description": "Total data read by external table readers"
    },
    "ext_table_write_volume_kb": {
      "type": "number",
      "format": "double",
      "description": "Total data written by external table writers"
    },
    "ext_table_send_volume_kb": {
      "type": "number",
      "format": "double",
      "description": "Total data sent to external table writers"
    },
    "ext_table_recv_volume_kb": {
      "type": "number",
      "format": "double",
      "description": "Total data received from external table readers"
    },
    "wlm_queue_time_total_percent": {
      "type": "number",
      "format": "double",
      "description": "Workload manager total queue time"
    },
    "stmt_exec_time_percent": {
      "type": "integer",
      "format": "int64",
      "description": "Statement execution time"
    },
    "total_section_proc_time_percent": {
      "type": "number",
      "format": "double",
      "description": "Total section processing time"
    },
    "total_section_sort_proc_time_percent": {
      "type": "number",
      "format": "double",
      "description": "Total section sort processing time"
    },
    "total_col_proc_time_percent": {
      "type": "number",
      "format": "double",
      "description": "Total column-organized processing time"
    },
    "other_section_proc_time_percent": {
      "type": "number",
      "format": "double",
      "description": "Other section processing time"
    },
    "total_routine_user_code_proc_time_percent": {
      "type": "number",
      "format": "double",
      "description": "Total routine user code processing time"
    },
    "total_act_wait_time_percent": {
      "type": "number",
      "format": "double",
      "description": "Total activity wait time"
    },
    "lock_wait_time_global_percent": {
      "type": "number",
      "format": "double",
      "description": "Lock wait time global"
    },
    "lock_wait_time_local_percent": {
      "type": "number",
      "format": "double",
      "description": "Lock wait time local"
    },
    "log_buffer_wait_time_percent": {
      "type": "number",
      "format": "double",
      "description": "Log buffer wait time"
    },
    "log_disk_wait_time_percent": {
      "type": "number",
      "format": "double",
      "description": "Log disk wait time"
    },
    "fcm_wait_time_percent": {
      "type": "number",
      "format": "double",
      "description": "FCM wait time"
    },
    "cf_wait_time_percent": {
      "type": "number",
      "format": "double",
      "description": "cluster caching facility wait time"
    },
    "fed_wait_time_percent": {
      "type": "number",
      "format": "double",
      "description": "Time spent by a federation server"
    },
    "ext_table_wait_time_percent": {
      "type": "number",
      "format": "double",
      "description": "Total agent wait time for external table"
    },
    "total_extended_latch_wait_time_percent": {
      "type": "number",
      "format": "double",
      "description": "Total extended latch wait time"
    },
    "pool_read_time_percent": {
      "type": "number",
      "format": "double",
      "description": "Total buffer pool physical read time"
    },
    "pool_read_time_ms": {
      "type": "integer",
      "format": "int64",
      "description": "Total buffer pool physical read time"
    },
    "pool_write_time_percent": {
      "type": "number",
      "format": "double",
      "description": "Total buffer pool physical write time"
    },
    "pool_write_time_ms": {
      "type": "integer",
      "format": "int64",
      "description": "Total buffer pool physical write time"
    },
    "direct_read_time_percent": {
      "type": "number",
      "format": "double",
      "description": "Direct Read Time"
    },
    "direct_write_time_percent": {
      "type": "number",
      "format": "double",
      "description": "Direct write time"
    },
    "prefetch_wait_time_percent": {
      "type": "number",
      "format": "double",
      "description": "Time waited for prefetch"
    },
    "prefetch_wait_time_ms": {
      "type": "integer",
      "format": "int64",
      "description": "Time waited for prefetch"
    },
    "other_wait_time_percent": {
      "type": "number",
      "format": "double",
      "description": "Other wait time"
    },
    "other_proc_time_percent": {
      "type": "number",
      "format": "double",
      "description": "Other processing time"
    }
  }
}