/show/wal

URL: https://<aws.fqdn>/<aws.cluster.name>/gpudb-0/show/wal

Requests table wal properties. Returns information about the requested table wal entries.

Input Parameter Description

NameTypeDescription
table_namesarray of stringsList of tables to query. An asterisk returns all tables.
optionsmap of string to strings

Optional parameters. The default value is an empty map ( {} ).

Supported Parameters (keys)Parameter Description
show_settings

If true include a map of the wal settings for the requested tables. The default value is true. The supported values are:

  • true
  • false

Output Parameter Description

The GPUdb server embeds the endpoint response inside a standard response structure which contains status information and the actual response to the query. Here is a description of the various fields of the wrapper:

NameTypeDescription
statusString'OK' or 'ERROR'
messageStringEmpty if success or an error message
data_typeString'show_wal_response' or 'none' in case of an error
dataStringEmpty string
data_strJSON or String

This embedded JSON represents the result of the /show/wal endpoint:

NameTypeDescription
table_namesarray of stringsList of returned tables.
sizesarray of arrays of longsList of current wal usage.
capacitiesarray of longsList of wal capacities.
uncommittedarray of arrays of longsList of number of uncommitted entries.
settingsarray of maps of string to stringsList of table wal settings.
infomap of string to stringsAdditional information.

Empty string in case of an error.