Goal | Find system-defined types in case of which the system can use the TOAST technique, i.e., save the value in a compressed form or store it in a automatically-created secondary table, which is hidden from the database user (TOAST table). |
Notes | For each base type PostgreSQL automatically provides support for arrays of that type. The array type typically has the same name as the base type with the underscore character (_) prepended. The query excludes the array types (more precisely, array type generators). Explanation of the toasting strategy.
|
Type | General (Overview of some aspect of the database.) |
License | MIT License |
Data Source | system catalog only |
SQL Query |
|
This query is classified under the following categories:
Name | Description |
---|---|
Data at the database physical level | Queries of this category provide information about the disk usage. |
Data types | Queries of this category provide information about the data types and their usage. |
TOAST | Queries of this category provide information about The Oversized-Attribute Storage Technique. |
Further reading and related materials:
Reference |
---|
https://postgrespro.com/docs/postgrespro/current/storage-toast |
https://wiki.postgresql.org/wiki/TOAST |
https://www.postgresql.org/docs/current/storage-toast.html |