Re: PostgreSQL 9.6 Temporary files

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: PostgreSQL 9.6 Temporary files
Дата
Msg-id b9c42dc4-bac7-0a6d-a4cb-f4ba21aaf9c6@aklaver.com
обсуждение исходный текст
Ответ на Re: PostgreSQL 9.6 Temporary files  (Jimmy Augustine <jimmy.augustine@enyx.fr>)
Ответы Re: PostgreSQL 9.6 Temporary files
Список pgsql-general
On 03/19/2018 10:04 AM, Jimmy Augustine wrote:
> 
> 
> 2018-03-19 17:45 GMT+01:00 Adrian Klaver <adrian.klaver@aklaver.com 
> <mailto:adrian.klaver@aklaver.com>>:
> 
>     On 03/19/2018 09:31 AM, Jimmy Augustine wrote:
> 
>         Dear Friends,
> 
>         I am newbie to postgresql.
>         I have 162 GB on my database but when I check size of all
>         tables, I approximately obtain 80 GB.
>         I also see that I have 68GB of temporary files however I only
>         found 2.4MB at postgres/data/base/pgsql_tmp.
> 
> 
>     Exactly how did you determine this?
> 
> I used this command and sum result for all database :
> SELECT pg_size_pretty(pg_total_relation_size('table_name'));
> 
> And this for complete database :
> SELECT pg_size_pretty(pg_database_size('Database Name'));
> 

So where did the 68GB number for temporary files come from?



-- 
Adrian Klaver
adrian.klaver@aklaver.com


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

Предыдущее
От: Jimmy Augustine
Дата:
Сообщение: Re: PostgreSQL 9.6 Temporary files
Следующее
От: Jeremy Finzel
Дата:
Сообщение: found xmin from before relfrozenxid on pg_catalog.pg_authid