Re: PostgreSQL as a local in-memory cache - Mailing list pgsql-performance

From Pierre C
Subject Re: PostgreSQL as a local in-memory cache
Date
Msg-id op.vegnqzoxeorkce@apollo13
Whole thread Raw
In response to Re: PostgreSQL as a local in-memory cache  (Dimitri Fontaine <dfontaine@hi-media.com>)
Responses Re: PostgreSQL as a local in-memory cache
List pgsql-performance
> Well I guess I'd prefer a per-transaction setting, allowing to bypass
> WAL logging and checkpointing. Forcing the backend to care itself for
> writing the data I'm not sure is a good thing, but if you say so.

Well if the transaction touches a system catalog it better be WAL-logged...

A per-table (or per-index) setting makes more sense IMHO. For instance "on
recovery, truncate this table" (this was mentioned before).
Another option would be "make the table data safe, but on recovery,
destroy and rebuild this index" : because on a not so large, often updated
table, with often updated indexes, it may not take long to rebuild the
indexes, but all those wal-logged index updates do add some overhead.


pgsql-performance by date:

Previous
From: Greg Smith
Date:
Subject: Re: PostgreSQL as a local in-memory cache
Next
From: Greg Smith
Date:
Subject: Re: requested shared memory size overflows size_t