• Data Warehouse Service

dws
  1. Help Center
  2. Data Warehouse Service
  3. Developer Guide
  4. Systems Tables and Views
  5. GS_SESSION_MEMORY_STATISTICS

GS_SESSION_MEMORY_STATISTICS

GS_SESSION_MEMORY_STATISTICS shows load management information about memory usage of ongoing complex jobs executed by the current user.

Table 1 GS_SESSION_MEMORY_STATISTICS columns

Name

Type

Description

datid

oid

OID of the database this backend is connected to

usename

name

Name of the user logged in to the backend

pid

bigint

Process ID of the backend

start_time

timestamp with time zone

Time when the statement starts to be executed

min_peak_memory

integer

Minimum memory peak of a statement across all DNs

max_peak_memory

integer

Maximum memory peak of a statement across all DNs

spill_info

text

Information about statement flushing into disks on DNs

None indicates that the statement has not been flushed to disks on any DNs.

All indicates that the statement has been flushed to disks on every DN.

[a:b] indicates that the statement has been flushed to disks on a of b DNs.

query

text

Statement that is being executed