Re: PostgreSQL 9.0.4 blocking in lseek? - Mailing list pgsql-performance

From Matteo Beccati
Subject Re: PostgreSQL 9.0.4 blocking in lseek?
Date
Msg-id 4EFB2597.1080005@beccati.com
Whole thread Raw
In response to Re: PostgreSQL 9.0.4 blocking in lseek?  (Matteo Beccati <php@beccati.com>)
List pgsql-performance
Hi,

> I'm also trying an EXPLAIN ANALYZE for the SELECT part, but it seems to
> take a while too and is seemingly calling only gettimeofday.

An update on this. Apart from gettimeofday calls, which I filtered out
when logging, I've seen about 80 lseeks recorded every 1h10m (each 1us
apart):

2011-12-28 11:06:25.546661500 lseek(10, 0, SEEK_END) = 27623424
2011-12-28 11:06:25.546662500 lseek(10, 0, SEEK_END) = 27623424
2011-12-28 11:06:25.546663500 lseek(10, 0, SEEK_END) = 27623424
...
2011-12-28 12:16:56.144663500 lseek(10, 0, SEEK_END) = 27623424
...
2011-12-28 13:28:20.436549500 lseek(10, 0, SEEK_END) = 27623424
...

I've then decided to interrupt the EXPLAIN ANALYZE. But I suppose that
the database as it is now will likely allow to further debug what's
happening.


Cheers
--
Matteo Beccati

Development & Consulting - http://www.beccati.com/

pgsql-performance by date:

Previous
From: Matteo Beccati
Date:
Subject: Re: PostgreSQL 9.0.4 blocking in lseek?
Next
From: Jim Crate
Date:
Subject: Re: Subquery flattening causing sequential scan