From: Gaetano Mendola <mendola@bigfoot.com>
To: Robert Treat <xzilla@users.sourceforge.net>
Subject: Re: Disk Access Question
Date: Tue, 27 Sep 2005 03:28:53 +0200
Message-ID: <4338A055.3030807@bigfoot.com> (raw)
In-Reply-To: <200509210748.32218.xzilla@users.sourceforge.net>
References: <1d219a6f0509201055ea11c59@mail.gmail.com>
<200509210748.32218.xzilla@users.sourceforge.net>
Robert Treat wrote:
> On Tuesday 20 September 2005 13:55, Chris Hoover wrote:
>> I have a question on disk access.
>>
>> How often is PostgreSQL accessing/touching the files that are on the hard
>> drive?
>>
>> What I'm trying to ask is, is PostgreSQL constantly updating access
>> timestamps or something like that on the database files even if they are
>> not being queried? This questions comes from an Oracle background where
>> Oracle was updating the individual files every 3 seconds if I am
>> remembering correctly.
>>
>> I am trying to figure out besides the queries, what sort of accessing is
>> PostgreSQL doing to my drives so we can try and resolve some i/o issues.
>>
>
> AFAIK unless your actually doing something,it wont access your data files at
> all. Note that something is pretty wide here, insert/update/vacuum/analyze
> and even select will cause file access but otherwise it wont.
You can mount your partition ( on Linux ) specifing the "noatime" option this
will avoid your inode access time to be updated when files are only read.
Postgres do not use this information so you are safe.
Regards
Gaetano Mendola
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: mendola@bigfoot.com, xzilla@users.sourceforge.net
Subject: Re: Disk Access Question
In-Reply-To: <4338A055.3030807@bigfoot.com>
References: <1d219a6f0509201055ea11c59@mail.gmail.com> <200509210748.32218.xzilla@users.sourceforge.net> <4338A055.3030807@bigfoot.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