pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #6187: Select query stuck
2+ messages / 2 participants
[nested] [flat]

* BUG #6187: Select query stuck
@ 2011-08-30 11:28  Bhavesh Dangi <dangi.bhavesh86@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Bhavesh Dangi @ 2011-08-30 11:28 UTC (permalink / raw)
  To: pgsql-bugs


The following bug has been logged online:

Bug reference:      6187
Logged by:          Bhavesh Dangi
Email address:      dangi.bhavesh86@gmail.com
PostgreSQL version: PostgreSQL8.0.1
Operating system:   i686-pc-linux-gnu
Description:        Select query stuck
Details: 

Hello,

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. 
I hope that you will be provide some way to solve it.

Thanks & Regards,
Bhavesh Dangi



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #6187: Select query stuck
@ 2011-08-30 18:33  Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
  parent: Bhavesh Dangi <dangi.bhavesh86@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Heikki Linnakangas @ 2011-08-30 18:33 UTC (permalink / raw)
  To: Bhavesh Dangi <dangi.bhavesh86@gmail.com>; +Cc: pgsql-bugs

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2011-08-30 18:33 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-08-30 11:28 BUG #6187: Select query stuck Bhavesh Dangi <dangi.bhavesh86@gmail.com>
2011-08-30 18:33 ` Heikki Linnakangas <heikki.linnakangas@enterprisedb.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