From: Chris Browne <cbbrowne@acm.org>
To: pgsql-performance@postgresql.org
Subject: Re: Anything to be gained from a 'Postgres Filesystem'?
Date: Thu, 04 Nov 2004 10:47:31 -0500
Message-ID: <60bred39bg.fsf@dba2.int.libertyrms.com> (raw)
References: <BF88DF69D9E2884B9BE5160DB2B97A85010D6EB0@nlshl-exch1.eu.uis.unisys.com>
<20041104120047.62810c8f@kingfisher.intern.logi-track.com>
<opsgxwy5y1cq72hf@musicbox>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: cbbrowne@acm.org
Subject: Re: Anything to be gained from a 'Postgres Filesystem'?
In-Reply-To: <60bred39bg.fsf@dba2.int.libertyrms.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox