Re: DB size

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: DB size
Дата
Msg-id 8fa46955e1516d15230fc59559db3eb7b8d066cd.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: DB size  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Ответы Re: DB size  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-general
On Mon, 2021-04-26 at 16:45 -0400, Alvaro Herrera wrote:
> I would guess that there are leftover files because of those crashes you
> mentioned.  You can probably look for files in the database subdir in
> the data directory that do not appear in the pg_class.relfilenode
> listing for the database.

Not all tables have their "relfilenode" set:

SELECT relfilenode FROM pg_class WHERE relname = 'pg_class';
 relfilenode 
═════════════
           0
(1 row)

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com




В списке pgsql-general по дате отправления:

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: Re: DB size
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: DB size