From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Bhavesh Dangi <dangi.bhavesh86@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6187: Select query stuck
Date: Tue, 30 Aug 2011 21:33:17 +0300
Message-ID: <4E5D2CED.3030803@enterprisedb.com> (raw)
In-Reply-To: <201108301128.p7UBSn5K098487@wwwmaster.postgresql.org>
References: <201108301128.p7UBSn5K098487@wwwmaster.postgresql.org>
On 30.08.2011 14:28, Bhavesh Dangi wrote:
> PostgreSQL version: PostgreSQL8.0.1
That version is over 6 years old. PostgreSQL 8.0 major version is no
longer supported, see
http://wiki.postgresql.org/wiki/PostgreSQL_Release_Support_Policy. Even
if it was, the latest (and last) minor release from the 8.0 series was
8.0.26, and there was a lot of important bug-fixes between 8.0.1 and that.
> Here the problem is SELECT query takes a lot of time(in days) to return a
> result than expected time and sometimes it stop to responding. Its totally
> hang. We are suffering from last 1 years by having this issue. If it will
> happen then we finding that query from pg_stat_activity and cancel it but
> that is not a solution of problem.
> We also found that almost SELECT queries are stuck. We are also continuous
> performing veccumdb before 2 billion transactions.
That's unlikely a bug. See
http://wiki.postgresql.org/wiki/SlowQueryQuestions. But upgrading is the
first thing you need to do.
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com
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-bugs@postgresql.org
Cc: heikki.linnakangas@enterprisedb.com, dangi.bhavesh86@gmail.com
Subject: Re: BUG #6187: Select query stuck
In-Reply-To: <4E5D2CED.3030803@enterprisedb.com>
References: <201108301128.p7UBSn5K098487@wwwmaster.postgresql.org> <4E5D2CED.3030803@enterprisedb.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