top of page

SQL developer for PostgreSQL

Открытая·2 пользователя

PostgreSQL: table and index size



[EN]

The OBJECT SIZE node will show the total size of the selected table and all its indexes

select pg_size_pretty(pg_indexes_size($$TABLEOID::oid)) "IndexSize",

pg_size_pretty(pg_table_size($$TABLEOID::oid)) "TableSize"


[RU]

Узел OBJECT SIZE покажет размер выбранной таблицы и всех ее индексов в сумме

select pg_size_pretty(pg_indexes_size($$TABLEOID::oid)) "IndexSize",

pg_size_pretty(pg_table_size($$TABLEOID::oid)) "TableSize"


7 просмотров

О группе

Добро пожаловать в группу! Общайтесь с другими участниками, получайте обновления и делитесь фото и видео.

Участники

bottom of page