Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.oxla.com/llms.txt

Use this file to discover all available pages before exploring further.

Overview

The pg_table_size() is a system administration function that retrieves the size of a specific table, including its associated storage components but excluding indexes.

Syntax

The syntax for the pg_table_size() function is as follows:
pg_table_size(regclass)

Parameters

The following parameters are required to execute this function:
  • regclass: name or object identifier (OID) of the table whose size is to be retrieved