Re: TOASTed size
От | Gregory Stark |
---|---|
Тема | Re: TOASTed size |
Дата | |
Msg-id | 87wsrt5z29.fsf@oxford.xeocode.com обсуждение исходный текст |
Ответ на | Re: TOASTed size (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: TOASTed size
|
Список | pgsql-hackers |
"Tom Lane" <tgl@sss.pgh.pa.us> writes: > Simon Riggs <simon@2ndquadrant.com> writes: >> I'm thinking that there isn't any way currently of working out how big a >> compressed toast object is? > > pg_column_size() ? I was going to send the same thing but I think he's looking for the compressed size of *external* data. In fact there isn't really any convenient way to find out something is stored external. pg_column_size reports the toast raw size of externally stored data. There does seem to be a need for a more general pg_column_info which returns a tuple (external bool, rawsize integer, storedsize integer). -- Gregory Stark EnterpriseDB http://www.enterprisedb.com Ask me about EnterpriseDB's PostGIS support!
В списке pgsql-hackers по дате отправления: