pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedDisk Access Question
4+ messages / 3 participants
[nested] [flat]
* Disk Access Question
@ 2005-09-20 17:55 Chris Hoover <revoohc@gmail.com>
0 siblings, 2 replies; 4+ messages in thread
From: Chris Hoover @ 2005-09-20 17:55 UTC (permalink / raw)
To: pgsql-admin
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.
Thanks,
Chris
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Disk Access Question
@ 2005-09-20 18:02 Chris Hoover <revoohc@gmail.com>
parent: Chris Hoover <revoohc@gmail.com>
1 sibling, 0 replies; 4+ messages in thread
From: Chris Hoover @ 2005-09-20 18:02 UTC (permalink / raw)
To: pgsql-admin
Sorry, for got to mention pg 7.3.4.
On 9/20/05, Chris Hoover <revoohc@gmail.com> 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.
>
> Thanks,
>
> Chris
>
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Disk Access Question
@ 2005-09-21 11:48 Robert Treat <xzilla@users.sourceforge.net>
parent: Chris Hoover <revoohc@gmail.com>
1 sibling, 1 reply; 4+ messages in thread
From: Robert Treat @ 2005-09-21 11:48 UTC (permalink / raw)
To: pgsql-admin; revoohc@gmail.com
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.
--
Robert Treat
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Disk Access Question
@ 2005-09-27 01:28 Gaetano Mendola <mendola@bigfoot.com>
parent: Robert Treat <xzilla@users.sourceforge.net>
0 siblings, 0 replies; 4+ messages in thread
From: Gaetano Mendola @ 2005-09-27 01:28 UTC (permalink / raw)
To: Robert Treat <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
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2005-09-27 01:28 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-09-20 17:55 Disk Access Question Chris Hoover <revoohc@gmail.com>
2005-09-20 18:02 ` Chris Hoover <revoohc@gmail.com>
2005-09-21 11:48 ` Robert Treat <xzilla@users.sourceforge.net>
2005-09-27 01:28 ` Gaetano Mendola <mendola@bigfoot.com>
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