Re: Optimizing a read-only database

From: Sameer Thakur <samthakur74(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Optimizing a read-only database
Date: 2015-05-20 08:52:50
Message-ID: 1432111970826-5850107.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sameer Thakur 2015-05-20 09:03:29 Re: Optimizing a read-only database
Previous Message Albe Laurenz 2015-05-20 08:25:34 Re: Optimizing a read-only database