Re: Anything to be gained from a 'Postgres Filesystem'?

Поиск
Список
Период
Сортировка
От Chris Browne
Тема Re: Anything to be gained from a 'Postgres Filesystem'?
Дата
Msg-id 60bred39bg.fsf@dba2.int.libertyrms.com
обсуждение исходный текст
Ответ на Re: Anything to be gained from a 'Postgres Filesystem'?  ("Leeuw van der, Tim" <tim.leeuwvander@nl.unisys.com>)
Ответы Re: Anything to be gained from a 'Postgres Filesystem'?  (Simon Riggs <simon@2ndquadrant.com>)
Re: Anything to be gained from a 'Postgres Filesystem'?  ("Steinar H. Gunderson" <sgunderson@bigfoot.com>)
Re: Anything to be gained from a 'Postgres Filesystem'?  (Neil Conway <neilc@samurai.com>)
Список pgsql-performance
lists@boutiquenumerique.com (Pierre-Frédéric Caillaud) writes:
>> posix_fadvise(2) may be a candidate. Read/Write bareers another pone, as
>> well asn syncing a bunch of data in different files with a single call
>> (so that the OS can determine the best write order). I can also imagine
>> some interaction with the FS journalling system (to avoid duplicate
>> efforts).
>
>     There is also the fact that syncing after every transaction
> could be  changed to syncing every N transactions (N fixed or
> depending on the data  size written by the transactions) which would
> be more efficient than the  current behaviour with a sleep. HOWEVER
> suppressing the sleep() would lead  to postgres returning from the
> COMMIT while it is in fact not synced,  which somehow rings a huge
> alarm bell somewhere.
>
>     What about read order ?
>     This could be very useful for SELECT queries involving
> indexes, which in  case of a non-clustered table lead to random seeks
> in the table.

Another thing that would be valuable would be to have some way to say:

  "Read this data; don't bother throwing other data out of the cache
   to stuff this in."

Something like a "read_uncached()" call...

That would mean that a seq scan or a vacuum wouldn't force useful data
out of cache.
--
let name="cbbrowne" and tld="cbbrowne.com" in String.concat "@" [name;tld];;
http://www.ntlug.org/~cbbrowne/linuxxian.html
A VAX is virtually a computer, but not quite.

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

Предыдущее
От: Martin Foster
Дата:
Сообщение: Re: Restricting Postgres
Следующее
От: "Matt Clark"
Дата:
Сообщение: Re: Restricting Postgres