6.4. Views #

6.4.1. Shardman-specific Views #

6.4.1.1. shardman.pg_stat_csn #

The shardman.pg_stat_csn view has one row showing statistics on delays that take place during import of CSN snapshots. These delays occur because system clocks on Shardman cluster nodes may be out of sync. The delays negatively impact the performance by increasing the query latency. The shardman.pg_stat_csn view allows tracking these delays. The view data is based on The Statistics Collector. The columns of the view are shown in Table 6.2.

Table 6.2. shardman.pg_stat_csn Columns

NameTypeDescription
csn_snapshots_importedbigintTotal number of imported CSN snapshots
csn_total_import_delayintervalTotal duration of all delays in importing CSN snapshots, in microseconds
csn_max_shiftbigintMaximum registered snapshot CSN shift that caused a delay
local_oldest_csnbigintCSN of the oldest transaction on the current node
local_oldest_xidxidXID of the oldest transaction on the current node
indoubt_threshold_incidentsbigintTotal number of transactions that exceeded the 10 seconds limit in the inDoubt state.
CSNXidMap_head_csnbigintMost recent CSN in the CSNSnapshotXidMap
CSNXidMap_head_xidxidXID corresponding to the most recent CSN in the CSNSnapshotXidMap
CSNXidMap_tail_csnbigintOldest CSN in the CSNSnapshotXidMap
CSNXidMap_tail_xidxidXID corresponding to the oldest CSN in the CSNSnapshotXidMap
stats_resettimestamp with time zoneTime at which these statistics were last reset
CSNXidMap_last_trimtimestamp with time zoneShows the last time when the shardman.trim_csnxid_map() function was called.

To reset CSN-related statistics, call the pg_stat_reset_shared function with the only text argument equal to csn.

Note

Shardman functionality related to CSN snapshots is work in progress. So anticipate changes to the corresponding views in future releases.

6.4.1.2. shardman.pg_indoubt_xacts #

The view shardman.pg_indoubt_xacts displays information about transactions that are currently in the InDoubt state. An entry is removed when the transaction state changes.

Table 6.3. shardman.pg_indoubt_xacts Columns

NameTypeDescription
xidxidTransaction ID of a transaction in the InDoubt state
duration_msecbigintTime the transaction was in the InDoubt state, in milliseconds

When the shardman.pg_indoubt_xacts view is accessed, the internal transaction manager data structures are momentarily locked, and a copy is made for the view to display. This ensures that the view produces a consistent set of results, while not blocking normal operations longer than necessary. Nonetheless there could be some impact on database performance if this view is frequently accessed.

6.4.1.3. shardman.pg_stat_xact_time #

The shardman.pg_stat_xact_time view shows statistics for the time spent on a transaction. The columns of the view are shown in Table 6.4.

Table 6.4. shardman.pg_stat_xact_time Columns

NameTypeDescription
overall_committed_xact_timebigintOverall time spent for the committed transactions
overall_aborted_xact_timebigintOverall time spent for the aborted transactions
overall_commit_timebigintOverall time spent for the committing transactions
local_commit_timebigintOverall time spent for writing to WAL for all the committed transactions
global_commit_timebigintOverall time spent for the distributed queries sending messages about transaction statuses for all the committed transactions
overall_abort_timebigintOverall time spent for aborting transactions
local_abort_timebigintOverall time spent for writing to WAL for all the aborted transactions
global_abort_timebigintOverall time spent for the distributed queries sending messages about transaction statuses for all the aborted transactions
stats_resettimestamp with time zoneTime at which these statistics were last reset

6.4.1.4. shardman.oldest_csn #

The shardman.oldest_csn view has one row showing tuple csn, xid, and rgid containing CSN and XID of the oldest transaction in the cluster along with transaction's replication group number.

6.4.1.5. shardman.pg_stat_monitor #

The shardman.pg_stat_monitor view has one row showing metrics of the Shardman monitor. The view data is based on the Statistics Collector. The columns of the view are shown in Table 6.5.

Table 6.5. shardman.pg_stat_monitor Columns

NameTypeDescription
resolved_deadlocksbigintNumber of resolved distributed deadlocks
aborted_xactsbigintNumber of aborted outdated prepared transactions
committed_xactsbigintNumber of committed outdated prepared transactions
errorsbigintNumber of Shardman monitor errors
stats_resettimestamp with time zoneTime at which these statistics were last reset

6.4.1.6. shardman.pg_stat_netusage #

The shardman.pg_stat_netusage view has one row showing the cumulative network traffic between Shardman cluster nodes. The view data is based on the Statistics Collector. The columns of the view are shown in Table 6.6.

Table 6.6. shardman.pg_stat_netusage Columns

NameTypeDescription
netusage_recv_bytesnumericTotal number of bytes received from other nodes through the network by each Shardman cluster node
netusage_sent_bytesnumericTotal number of bytes sent to other nodes through the network by each Shardman cluster node
stats_resettimestamp with time zoneTime at which these statistics were last reset

6.4.1.7. shardman.pg_stat_foreign_stat_bytes #

The shardman.pg_stat_foreign_stat_bytes view shows the amount of statistics for foreign relations transferred over the network between Shardman cluster nodes. The view data is based on The Statistics Collector. The columns of the view are shown in Table 6.7.

Table 6.7. shardman.pg_stat_foreign_stat_bytes Columns

NameTypeDescription
foreign_stat_recv_bytesbigint Total number of bytes of the statistics for the foreign relations received from other nodes through the network by this node
stats_resettimestamp with time zone Time at which these statistics were last reset

6.4.1.8. Shardman-specific Global Views #

6.4.1.8.1. shardman.gv_sharded_tables #

This view displays information on all the sharded tables in the cluster.

6.4.1.8.2. shardman.gv_global_tables #

This view displays information on all the global tables in the cluster.

6.4.2. Multiplexor Diagnostics Views #

Views in this section provide various information related to Silk multiplexing. See Section 7.4 for details of silkroad multiplexing process.

6.4.2.1. shardman.silk_routes #

The shardman.silk_routes view displays the current snapshot of the multiplexer routing table. The columns of the view are shown in Table 6.8.

Table 6.8. shardman.silk_routes Columns

NameTypeDescription
hashvalueintegerInternal unique route identifier. Can be used to join with other Silk diagnostics views.
origin_ipinetIP address of the source node, which generated this route
origin_portint2External TCP connection port of the source node, which generated this route
channel_idintegerRoute sequential number within the node that generated this route. channel_id is unique for the pair origin_ip + origin_port. This pair is a unique node identifier within the Shardman cluster and hence the origin_ip + origin_port + channel_id tuple is a unique route identifier within the Shardman cluster.
from_cnintegerConnect index in the shardman.silk_connects view for incoming routes, that is, not generated by this node, and -1 for routes generated by this node.
backend_idintegerID of the local process that is currently using this route: either the ID of the backend that generated this route or the ID of the silkworm worker assigned to this route. Equals -1 for queued incoming routes that have not been assigned a worker yet.
pending_queue_bytesbigintSize of the queue of delayed messages (awaiting a free worker) for this route, in bytes. This value is only meaningful for incoming routes of each node that are not assigned to a worker yet.
pending_queue_messagesbigintNumber of messages in the queue of delayed messages (awaiting a free worker) for this route. This value is only meaningful for incoming routes of each node that are not assigned to a worker yet.
connectsinteger[]List of indexes of connects that are currently using this route.

6.4.2.2. shardman.silk_connects #

The shardman.silk_connects view displays the current list of multiplexer connects. The columns of the view are shown in Table 6.9.

Table 6.9. shardman.silk_connects Columns

NameTypeDescription
cn_indexintegerUnique connect index
reg_ipinetRegistration IP address of the node with which the connection is established. See Notes for details.
reg_portint2Registration TCP port of the node with which the connection is established. See Notes for details.
read_ev_activebooleantrue if the multiplexer is ready to receive data to the incoming queue. See Notes for details.
write_ev_activebooleantrue if the multiplexer filled the queue of non-sent messages and is waiting for it to get free. See Notes for details.
is_outgoingbooleantrue if the connection is outgoing, that is, created by connect, and false for incoming connects, that is, created by accept. Only used during the handshaking.
statetextCurrent state of the connect: connected — if the connection is established, in progress — if the client has already connected, but handshaking has not happened yet, free — if the client has already disconnected, but the connect structure for the disconnected client has not been destroyed yet.
pending_queue_bytesbigintSize of the queue of non-sent messages for this connect, in bytes
pending_queue_messagesbigintNumber of messages in the queue of non-sent messages for this connect
blocked_by_backendintegerID of the backend that blocked this connect
blocks_backendsinteger[]List of IDs of backends that are blocked by this connect
routesinteger[]List of unique IDs of routes that use this connect
elapsed_time_writebigintTime from the last writing event of a connect
elapsed_time_readbigintTime from the last reading event of a connect

6.4.2.3. shardman.silk_backends #

The shardman.silk_backends view displays the current list of processes of two kinds: backends that serve client connections and silkworm multiplexer workers, which interact with the multiplexer. The columns of the view are shown in Table 6.10.

Table 6.10. shardman.silk_backends Columns

NameTypeDescription
backend_idintegerUnique backend/worker identifier
pidintegerOS process ID
attachedbooleanValue is true if backend is attached to multiplexer, false otherwis
read_ev_activebooleantrue if the backend/worker is ready to receive data to the incoming queue. See Notes for details.
write_ev_activebooleantrue if the backend/worker filled the queue of non-sent messages and is waiting for it to get free. See Notes for details.
is_workerbooleantrue if this process is a silkworm multiplexer worker and false otherwise
pending_queue_bytesbigintSize of the queue of messages being sent to this backend/worker, in bytes
pending_queue_messagesbigintNumber of messages in the queue of messages being sent to this backend/worker
blocked_by_connectintegerIndex of the connect that blocks this backend/worker
blocks_connectsinteger[]List of indexes of connects that are blocked by this backend/worker
routesinteger[]List of unique IDs of routes that are used by this backend/worker
in_queue_usedbigintNumber of queued data bytes in the incoming queue in the shared memory between the backend and multiplexer
out_queue_usedbigintNumber of queued data bytes in the outgoing queue in the shared memory between the backend and multiplexer
elapsed_time_writebigintTime from the last writing event of a backend
elapsed_time_readbigintTime from the last reading event of backend

6.4.2.4. shardman.silk_routing #

The shardman.silk_routing view displays the results of the shardman.silk_routing function. Table 6.11.

Table 6.11. shardman.silk_routing Columns

NameTypeDescription
hashvalueintegerInternal unique route identifier
origin_ipinetIP address of the node that generated this route
origin_portint2External TCP connection port of the source node that generated this route
channel_idintegerRoute sequential number within the node that generated this route
is_replyboolIndex of the connect from which a message was received that caused generation of this route
pending_queue_bytesbigint Pending queue size, in bytes
pending_queue_messagesbigint Number of pending queue messages
backend_idintegerID of the local process that is currently using this route: either the ID of the backend that generated this route or the ID of the silkworm worker assigned to this route. Equals -1 for queued incoming routes that have not been assigned a worker yet.
backend_pidinteger Returns the process ID of the server process attached to the current session
attachedbooleanValue is true if backend is attached to multiplexer, false otherwis
backend_rd_active booleantrue if the backend/worker is ready to receive data to the incoming queue. See Notes for details.
backend_wr_active booleantrue if the backend/worker filled the queue of non-sent messages and is waiting for it to get free. See Notes for details.
is_workerbooleantrue if this process is a silkworm multiplexer worker and false otherwise
backend_blocked_by_cn integerIndex of the connect that blocks this backend/worker
blocks_connectsinteger[]List of indexes of connects that are blocked by this backend/worker
in_queue_usedbigintNumber of queued data bytes in the incoming queue in the shared memory between the backend and multiplexer
out_queue_usedbigintNumber of queued data bytes in the outgoing queue in the shared memory between the backend and multiplexer
connect_idintegerUnique connect index
reg_ipinetRegistration IP address of the node with which the connection is established
reg_portint2Registration TCP port of the node with which the connection is established
connect_rd_activebooleantrue if the multiplexer is ready to receive data to the incoming queue
connect_wr_activebooleantrue if the multiplexer filled the queue of non-sent messages and is waiting for it to get free
connect_is_outgoingbooleantrue if the connection is outgoing, that is, created by connect, and false for incoming connects, that is, created by accept. Only used during the handshaking.
connect_statetextCurrent state of the connect: connected — if the connection is established, in progress — if the client has already connected, but handshaking has not happened yet, free — if the client has already disconnected, but the connect structure for the disconnected client has not been destroyed yet
connect_outgoing_queue_bytesbigintSize of the queue of non-sent messages for this connect, in bytes
connect_outgoing_queue_messagesbigintNumber of messages in the queue of non-sent messages for this connect
connect_blocked_by_bkintegerID of the backend that blocked this connect
blocks_backendsinteger[]List of IDs of backends that are blocked by this connect
connect_elapsed_time_writebigintTime from the last writing event of a connect
connect_elapsed_time_readbigintTime from the last reading event of a connect
backend_elapsed_time_writebigintTime from the last writing event of a backend
backend_elapsed_time_readbigintTime from the last reading event of a backend

6.4.2.5. shardman.silk_pending_jobs #

The shardman.silk_pending_jobs view displays the current list of routes in the queue of delayed multiplexer jobs, that is, jobs that are not assigned to workers yet. The columns of the view are shown in Table 6.12.

Table 6.12. shardman.silk_pending_jobs Columns

NameTypeDescription
hashvalueintegerInternal unique route identifier
origin_ipinetIP address of the node that generated this route
origin_portint2TCP connection port of the node that generated this route
channel_idintegerRoute sequential number within the node that generated this route
querytext The first queued message
pending_queue_bytesbigint Pending queue size, in bytes
pending_queue_messagesbigint Number of pending queue messages

6.4.2.6. shardman.silk_statinfo #

The shardman.silk_statinfo view displays the current multiplexer state information. The columns of the view are shown in Table 6.13.

Table 6.13. shardman.silk_statinfo Columns

NameTypeDescription
pidintegersilkroad process ID
started_attimestamp with time zoneTime when the silkroad backend was started.
transferred_bytesjson JSON object of key value pairs, where the key is the name of the message type, and the value is total number of bytes sent for the message types with at least one message sent
transferred_pktsjsonJSON object of key value pairs, where the key is the name of the message type, and the value is the total number of sent messages for the message types with at least one message sent
transferred_maxjsonJSON object of key value pairs, where the key is the name of the message type, and the value is the maximum size of a message for the message types with at least one message sent
memcxt_dpg_allocatedbigintThe mem_allocated value of the process in DPGMemoryContext
memcxt_top_allocatedbigint The mem_allocated value of the process in TopMemoryContext
read_efd_maxbigintMaximum reading time of the eventfd since reset
write_efd_maxbigintMaximum writing time of the eventfd since reset
read_efd_totalbigintTotal reading time of the eventfd since reset
write_efd_totalbigintTotal writing time of the eventfd since reset
read_efd_countbigintTotal number of reading events of the eventfd since reset
write_efd_countbigintTotal number of writing events of the eventfd since reset
sort_time_maxbigintMaximum time of sorting operations with the silk_flow_control enabled (any value other than none)
sort_time_totalbigintTotal time of sorting operations with the silk_flow_control enabled (any value other than none)
sort_time_countbigintTotal number of the sorting operations with the silk_flow_control enabled (any value other than none)

Note that read_efd_max, write_efd_max, read_efd_total, write_efd_total, read_efd_count, write_efd_count, sort_time_max, sort_time_total, and sort_time_count are only calculated if the shardman.silk_track_time configuration parameter is enabled.

6.4.2.7. shardman.silk_state #

The shardman.silk_state view displays the current silkroad process state. The columns of the view are shown in Table 6.14.

Table 6.14. shardman.silk_state Columns

NameTypeDescription
statetextState of the silkroad process

6.4.2.8. Notes #

reg_ip and reg_port values are not actual network addresses, but the addresses by which the multiplexer accesses the node. They are determined during a handshake between multiplexer nodes and are equal to the corresponding parameters of an appropriate server in the pg_foreign_server table.

All the read_ev_active values are true and all the write_ev_active values are false when the multiplexer is in the idle state.

6.4.3. Global Views #

Shardman has a list of global views based on the PostgeSQL local views. The definition of global view columns is the same as in its corresponding local view. Fetching from a global view returns a union of rows from the corresponding local views. The rows are fetched from each of their cluster nodes. Another difference is that the global views have an added column rgid. The rgid value shows the replication group ID of the cluster node from which a row is fetched.

6.4.3.1. Global Views for Statistics #

Below is the list of the statistics-related global views with links to their corresponding local views:

Table 6.15. Statistics-related global and local views

Global viewLocal viewDescription
shardman.gv_statspg_stats One row per planner statistics.
shardman.gv_stats_extpg_stats_ext Provides access to information about each extended statistics object in the database.
shardman.gv_stats_ext_exprspg_stats_ext_exprs Provides access to information about all expressions included in extended statistics objects.
shardman.gv_stat_activitypg_stat_activityOne row per server process, showing information related to he current activity of that process.
shardman.gv_stat_replicationpg_stat_replicationOne row per WAL sender process, showing statistics about replication to that sender's connected standby server.
shardman.gv_stat_replication_slotspg_stat_replication_slotsOne row per replication slot, showing statistics about the replication slot's usage.
shardman.gv_stat_subscriptionpg_stat_subscription One row per subscription for main worker (with null PID if the worker is not running), and additional rows for workers handling the initial data copy of the subscribed tables.
shardman.gv_stat_sslpg_stat_sslOne row per backend or WAL sender process, showing statistics about SSL usage on this connection.
shardman.gv_stat_gssapipg_stat_gssapiOne row per backend, showing information about GSSAPI usage on this connection.
shardman.gv_stat_archiverpg_stat_archiverOne row only, showing statistics about the WAL archiver process's activity.
shardman.gv_stat_bgwriterpg_stat_bgwriterOne row only, showing statistics about the background writer process's activity.
shardman.gv_stat_progress_analyzepg_stat_progress_analyzeOne row for each backend (including autovacuum worker processes) running ANALYZE, showing current progress.
shardman.gv_stat_progress_basebackuppg_stat_progress_basebackupOne row for each WAL sender process streaming a base backup, showing current progress.
shardman.gv_stat_progress_clusterpg_stat_progress_clusterOne row for each backend running CLUSTER or VACUUM FULL, showing current progress.
shardman.gv_stat_checkpointerpg_stat_checkpointerOne row only, containing data about the checkpointer process of the cluster.
shardman.gv_statistic_extpg_statistic_ext Extended planner statistics (definition)
shardman.gv_stat_progress_create_indexpg_stat_progress_create_index One row for each backend running CREATE INDEX or REINDEX, showing current progress.
shardman.gv_stat_progress_vacuumpg_stat_progress_vacuum One row for each backend (including autovacuum worker processes) that is currently vacuuming
shardman.gv_stat_progress_copypg_stat_progress_copyOne row for each backend running COPY, showing current progress.
shardman.gv_stat_walpg_stat_walOne row only, showing statistics about WAL activity.
shardman.gv_stat_databasepg_stat_databaseOne row per database, showing database-wide statistics about query cancels due to conflict with recovery on standby servers.
shardman.gv_stat_database_conflictspg_stat_database_conflictsOne row per database, showing database-wide statistics about query cancels occurring due to conflicts with recovery on standby servers. This view will only contain information on standby servers, since conflicts do not occur on primary servers.
shardman.gv_stat_all_tablespg_stat_all_tablesOne row for each table in the current database, showing statistics about accesses to that specific table.
shardman.gv_stat_sys_tablespg_stat_sys_tables Same as pg_stat_all_tables, except that only system tables are shown.
shardman.gv_stat_user_tablespg_stat_user_tables Same as pg_stat_all_tables, except that only user tables are shown.
shardman.gv_stat_all_indexespg_stat_all_indexesOne row for each index in the current database, showing statistics about accesses to that specific index.
shardman.gv_stat_user_indexespg_stat_user_indexes Same as pg_stat_all_indexes, except that only indexes on user tables are shown.
shardman.gv_stat_sys_indexespg_stat_sys_indexes Same as pg_stat_all_indexes, except that only indexes on system tables are shown.
shardman.gv_stat_user_indexespg_stat_user_indexes Same as pg_stat_all_indexes, except that only indexes on user tables are shown.
shardman.gv_statio_user_indexespg_statio_user_indexes Same as pg_statio_all_indexes, except that only indexes on user tables are shown.
shardman.gv_statio_all_tablespg_statio_all_tablesOne row for each table in the current database, showing statistics about I/O on that specific table.
shardman.gv_statio_all_indexespg_statio_all_indexesOne row for each index in the current database, showing statistics about I/O on that specific index.
shardman.gv_statio_sys_indexespg_statio_sys_indexes Same as pg_statio_all_indexes, except that only indexes on system tables are shown.
shardman.gv_statio_all_sequencespg_statio_all_sequencesOne row for each sequence in the current database, showing statistics about I/O on that specific sequence.
shardman.gv_statio_user_sequencespg_statio_user_sequences Same as pg_statio_all_sequences, except that only user sequences are shown.
shardman.gv_statio_sys_sequencespg_statio_sys_sequences Same as pg_statio_all_sequences, except that only system sequences are shown.
shardman.gv_statio_sys_tablespg_statio_sys_tables Same as pg_statio_all_tables, except that only system tables are shown.
shardman.gv_statio_user_tablespg_statio_user_tables Same as pg_statio_all_tables, except that only user tables are shown.
shardman.gv_stat_user_functionspg_stat_user_functionsOne row for each tracked function, showing statistics about executions of that function.
shardman.gv_stat_slrupg_stat_slruOne row per SLRU, showing statistics of operations.
shardman.gv_stat_csnshardman.pg_stat_csnOne row showing statistics on delays that take place during import of CSN snapshots.
shardman.gv_stat_monitorshardman.pg_stat_monitorOne row showing metrics of the Shardman monitor.
shardman.gv_stat_netusageshardman.pg_stat_net_usageOne row showing the cumulative network traffic between Shardman cluster nodes.
shardman.gv_stat_xact_timeshardman.pg_stat_xact_timeOne row showing statistics for the time spent on a transaction.
shardman.gv_silk_routesshardman.silk_routesOne row showing the current snapshot of the multiplexer routing table.
shardman.gv_silk_connectsshardman.silk_connectsOne row showing the current list of multiplexer connects.
shardman.gv_silk_backendsshardman.silk_backendsOne row showing the current list of processes of two kinds: backends that serve client connections and silkworm multiplexer workers, which interact with the multiplexer.
shardman.gv_silk_pending_jobsshardman.silk_pending_jobsOne row showing the current list of routes in the queue of multiplexer jobs that are not assigned to workers yet.
shardman.gv_silk_routingshardman.silk_routingOne row showing the results of the shardman.silk_routing function.
shardman.gv_stats_sdm_statementspgpro_stats_sdm_statements This view allows accessing the aggregated statistics for the distributed queries. This view can only be created if Shardman is installed for the database that has pgpro_stats. The pgpro_stats must be created on all the cluster nodes for the global view to work.
shardman.gv_lock_graphshardman.lock_graph One row showing a graph of locks between processes on Shardman cluster nodes including external locks. This view is based on the pg_locks and pg_prepared_xacts system views and on the pg_stat_activity view of the Statistics Collector.
shardman.gv_stat_foreign_bytesshardman.pg_stat_foreign_stat_bytesOne row showing the amount of statistics for foreign relations transferred over the network between Shardman cluster nodes.
shardman.gv_stat_wal_receiverpg_stat_wal_receiver One row, showing statistics about the WAL receiver from that receiver's connected server.
shardman.gv_stat_xact_all_tablespg_stat_xact_all_tables Similar to pg_stat_all_tables, but counts actions taken so far within the current transaction (which are not yet included in pg_stat_all_tables and related views). The columns for numbers of live and dead rows and vacuum and analyze actions are not present in this view.
shardman.gv_stat_xact_sys_tablespg_stat_xact_sys_tables Same as pg_stat_xact_all_tables, except that only system tables are shown.
shardman.gv_stat_xact_user_functionspg_stat_xact_user_functions Similar to pg_stat_user_functions, but counts only calls during the current transaction (which are not yet included in pg_stat_user_functions).
shardman.gv_stat_xact_user_tablespg_stat_xact_user_tables Same as pg_stat_xact_all_tables, except that only user tables are shown.

6.4.3.2. Global Views for System Calalog #

Below is the list of the global views that relate to the system catalog, and links to their corresponding local views:

Table 6.16. Global and local views for system catalog

Global viewLocal viewDescription
shardman.gv_aggregatepg_aggregate Stores information about aggregate functions
shardman.gv_ampg_am Relation access methods
shardman.gv_amoppg_amop Access method operators
shardman.gv_amprocpg_amproc Access method support functions
shardman.gv_attrdefpg_attrdef Column default values
shardman.gv_attributepg_attribute Table columns (attributes)
shardman.gv_auth_memberspg_auth_members Authorization identifier membership relationships
shardman.gv_available_extension_versionspg_available_extension_versions Specific extension versions that are available for installation
shardman.gv_available_extensionspg_available_extensions Extensions that are available for installation
shardman.gv_castpg_cast Casts (data type conversions)
shardman.gv_classpg_class Tables, indexes, sequences, views (relations)
shardman.gv_collationpg_collation Collations (locale information)
shardman.gv_configpg_config Compile-time configuration parameters of the currently installed version of Postgres Pro
shardman.gv_constraintpg_constraint Check constraints, unique constraints, primary key constraints, foreign key constraints
shardman.gv_conversionpg_conversion Encoding conversion information
shardman.gv_databasepg_database Databases within this database cluster
shardman.gv_db_role_settingpg_db_role_setting Per-role and per-database settings
shardman.gv_efault_aclpg_default_acl Default privileges for object types
shardman.gv_dependpg_depend Dependencies between database objects
shardman.gv_descriptionpg_descriptionDescriptions or comments on database objects
shardman.gv_enumpg_enum Enum label and value definitions
shardman.gv_event_triggerpg_event_trigger Event triggers
shardman.gv_extensionpg_extension Installed extensions
shardman.gv_file_settingpg_file_settings Installed extensions
shardman.gv_foreign_data_wrapperpg_foreign_data_wrapper Foreign-data wrapper definitions
shardman.gv_foreign_serverpg_foreign_server Foreign server definitions
shardman.gv_foreign_tablepg_foreign_table Additional foreign table information
shardman.gv_grouppg_group Exists for backwards compatibility: it emulates a catalog that existed in Postgres Pro before version 8.1
shardman.gv_hba_file_rulespg_hba_file_rules Summary of the contents of the client authentication configuration file
shardman.gv_indexpg_index Additional index information
shardman.gv_indexespg_indexes Provides access to useful information about each index in the database
shardman.gv_inheritspg_inherits Table inheritance hierarchy
shardman.gv_init_privspg_init_privs Object initial privileges
shardman.gv_languagepg_language Languages for writing functions
shardman.gv_largeobjectpg_largeobject Data pages for large objects
shardman.gv_largeobject_metadatapg_largeobject_metadata Metadata associated with large objects
shardman.gv_matviewspg_matviews Provides access to useful information about each materialized view in the database
shardman.gv_namespacepg_namespace Schemas
shardman.gv_opclasspg_opclass Access method operator classes
shardman.gv_operatorpg_operator Operators
shardman.gv_opfamilypg_opfamily Access method operator families
shardman.gv_partitioned_tablepg_partitioned_table Information about partition key of tables
shardman.gv_procpg_proc Functions and procedures
shardman.gv_profilepg_profile Profiles, a set of authentication restrictions
shardman.gv_publicationpg_publication Publications for logical replication
shardman.gv_publication_relpg_publication_rel Relation to publication mapping
shardman.gv_publication_tablespg_publication_tables Information about the mapping between publications and information of tables they contain
shardman.gv_rangepg_range Information about range types
shardman.gv_replication_originpg_replication_origin Registered replication origins
shardman.gv_replication_origin_statuspg_replication_origin_status Information about how far replay for a certain origin has progressed
shardman.gv_replication_slotspg_replication_slots Provides a listing of all replication slots that currently exist on the database cluster, along with their current state
shardman.gv_rewritepg_rewrite Query rewrite rules
shardman.gv_rulespg_rules Provides access to useful information about query rewrite rules
shardman.gv_seclabelpg_seclabel Security labels on database objects
shardman.gv_seclabelspg_seclabels Provides information about security labels
shardman.gv_sequencepg_sequence Information about sequences
shardman.gv_sequencespg_sequences Provides access to useful information about each sequence in the database
shardman.gv_settingspg_settings Provides access to run-time parameters of the server
shardman.gv_shdependpg_shdepend Dependencies on shared objects
shardman.gv_shdescriptionpg_shdescription Comments on shared objects
shardman.gv_shseclabelpg_shseclabel Security labels on shared database objects
shardman.gv_subscriptionpg_subscription Logical replication subscriptions
shardman.gv_subscription_relpg_subscription_rel Relation state for subscriptions
shardman.gv_tablespacepg_tablespace Tablespaces within this database cluster
shardman.gv_tablespg_tables Provides access to useful information about each table in the database
shardman.gv_prepared_xactspg_prepared_xacts Provides information about transactions that are currently prepared for two-phase commit
shardman.gv_timezone_namespg_timezone_names List of time zone names that are recognized by SET TIMEZONE, along with their associated abbreviations, UTC offsets, and daylight-savings status
shardman.gv_timezone_abbrevspg_timezone_abbrevs List of time zone abbreviations that are currently recognized by the datetime input routines
shardman.gv_transformpg_transform Transforms (data type to procedural language conversions)
shardman.gv_triggerpg_trigger Triggers
shardman.gv_ts_configpg_ts_config Text search configurations
shardman.gv_ts_config_mappg_ts_config_map Text search configurations' token mappings
shardman.gv_ts_dictpg_ts_dict Text search dictionaries
shardman.gv_ts_parserpg_ts_parser Text search parsers
shardman.gv_ts_templatepg_ts_template Text search templates
shardman.gv_typepg_type Data types
shardman.gv_user_mappingpg_user_mapping Mappings of users to foreign servers
shardman.gv_user_mappingspg_user_mappings Provides access to information about user mappings
shardman.gv_viewspg_views Provides access to useful information about each view in the database
shardman.gv_lockspg_locks Provides access to information about the locks held by active processes within the database server.
shardman.gv_shmem_allocationspg_shmem_allocations Shows allocations made from the server's main shared memory segment.