Re: pg_stat_statements temporary file

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: pg_stat_statements temporary file
Дата
Msg-id 4FBFB82F.8080407@agliodbs.com
обсуждение исходный текст
Ответ на Re: pg_stat_statements temporary file  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_stat_statements temporary file  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
On 5/25/12 8:19 AM, Tom Lane wrote:
> Andres Freund <andres@2ndquadrant.com> writes:
>> On Friday, May 25, 2012 04:03:49 PM Peter Geoghegan wrote:
>>> Where do you suggest the file be written to?
> 
>> One could argue stats_temp_directory would be the correct place.
> 
> No, that would be exactly the *wrong* place, because that directory can
> be on a RAM disk.  We need to put this somewhere where it'll survive
> a shutdown.

Mind you, I can imagine a busy system wanting to keep PSS on a ram disk
as well. But users should be able to make that decision separately from
the stats file.


-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com


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

Предыдущее
От: Sergey Koposov
Дата:
Сообщение: Re: 9.2beta1, parallel queries, ReleasePredicateLocks, CheckForSerializableConflictIn in the oprofile
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: pg_stat_statements temporary file