Re: [PERFORM] Size of Temporary tablespace is increasing very much inpostgresql 9.1.

Поиск
Список
Период
Сортировка
От Mark Kirkwood
Тема Re: [PERFORM] Size of Temporary tablespace is increasing very much inpostgresql 9.1.
Дата
Msg-id 677ae7cf-d349-fe9d-a810-ba75f9885c44@catalyst.net.nz
обсуждение исходный текст
Ответ на [PERFORM] Size of Temporary tablespace is increasing very much in postgresql9.1.  (Dinesh Chandra 12108 <Dinesh.Chandra@cyient.com>)
Ответы Re: [PERFORM] Size of Temporary tablespace is increasing very much inpostgresql 9.1.
Список pgsql-performance
On 15/12/16 23:28, Dinesh Chandra 12108 wrote:

> Dear expert,
>
> In postgreSQL-9.1,the size of *pgsql_tmp* inside tablespace (Temp
> tablespace) is increased by 544G in one day.
>
> However, the DBsize is as usual but tablespace size is getting increased.
>
> Could you please suggest why it is happening ?
>
>

That is due to queries doing sorts or (hash) joins. You can log which
queries are doing this with the log_temp_files parameter.

Now it might be that this is just normal/expected (e.g complex data
warehouse style workload), but it could also be many small queries that
might benefit from some additional indexes (logging the queries will
help you decide what if anything needs to be done).

regards

Mark


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

Предыдущее
От: Dinesh Chandra 12108
Дата:
Сообщение: [PERFORM] Size of Temporary tablespace is increasing very much in postgresql9.1.
Следующее
От: Gabliver Faluker
Дата:
Сообщение: [PERFORM] bad performance