Re: Optimizing a read-only database - Mailing list pgsql-general

From Sameer Thakur
Subject Re: Optimizing a read-only database
Date
Msg-id 1432111970826-5850107.post@n5.nabble.com
Whole thread Raw
In response to Re: Optimizing a read-only database  (François Battail <francois.battail@sipibox.fr>)
List pgsql-general
Hello,
>I was more dreaming of something like "disable read write locks or
>mutexes" when accessing the database in read-only mode, but sadly this
>case seems unhandled.

You could use transactions in read only mode. They do not generate
XID's,which reduces the
need to do VACUUM to protect against XID wraparound.

Ref: http://postgresql.nabble.com/read-only-transactions-td3209290.html





--
View this message in context: http://postgresql.nabble.com/Optimizing-a-read-only-database-tp5849746p5850107.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


pgsql-general by date:

Previous
From: Albe Laurenz
Date:
Subject: Re: Optimizing a read-only database
Next
From: Sameer Thakur
Date:
Subject: Re: Optimizing a read-only database