Re: Issue while using PostgreSql 8.4.

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Atul Kumar" <Atul_Kumar(at)persistent(dot)co(dot)in>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Issue while using PostgreSql 8.4.
Date: 2010-12-23 15:23:17
Message-ID: 4D1315050200002500038A6E@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general pgsql-sql

Atul Kumar <Atul_Kumar(at)persistent(dot)co(dot)in> wrote:

> My issue is, first time I am creating the table and inserting some
> rows of data. After doing some logic going to delete that table .
> I am observing application is getting hang while executing
> statement.execute().

It's taking a long time to run which statement, a DELETE of all rows
in a table?

This isn't sounding much like a PostgreSQL bug at this point, but
with so little information, it is hard to tell for sure. Please
review this page:

http://wiki.postgresql.org/wiki/Guide_to_reporting_problems

As a "shot in the dark" -- if the statement which is taking a long
time is the DELETE, and you want to delete all rows in the table,
try TRUNCATE TABLE.

-Kevin

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message John R Pierce 2010-12-23 17:21:55 Re: BUG #5801: characters not encoded properly for column names
Previous Message Marc Cousin 2010-12-23 10:34:47 Re: BUG #5801: characters not encoded properly for column names

Browse pgsql-general by date

  From Date Subject
Next Message Harald Armin Massa 2010-12-23 15:28:39 Re: Issue while using PostgreSql 8.4.
Previous Message Mark Watson 2010-12-23 14:20:04 Re: copy from problem

Browse pgsql-sql by date

  From Date Subject
Next Message Viktor Bojović 2010-12-29 01:45:02 Re: data import
Previous Message Atul Kumar 2010-12-23 08:31:08 Issue while using PostgreSql 8.4.