dbTalk Databases Forums  

Re: [BUGS] BUG #2695: Randomly repeated query execution

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss Re: [BUGS] BUG #2695: Randomly repeated query execution in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Richard Troy
 
Posts: n/a

Default Re: [BUGS] BUG #2695: Randomly repeated query execution - 10-17-2006 , 10:59 AM








On Mon, 16 Oct 2006, Jakub wrote:
Quote:
The following bug has been logged online:

Bug reference: 2695
Logged by: Jakub
Email address: kuna44 (AT) wp (DOT) pl
PostgreSQL version: Postgres 7.4
Operating system: Linux
Description: Randomly repeated query execution
Details:

Sometimes, randomly single query execution is repeated twice or more in
2-5 second.

Thanks,
Jakub

Jakub,

I've seen this type of thing before, but it wasn't Postgres' fault. In the
examples I've seen (on many different occasions, in differing
circumstances) the application was actually issuing the query multiple
times and usually the cause of that was improper (multiple) event handling
by the application's GUI. In particular, if the language is Java, look for
errant event-handling methods.

I've also seen this type of error caused by error handling packages that
attempt to auto-recover based on various errors when they have a bug
regarding what kinds of errors are recoverable and which are not. As
examples, a lost network link may be recoverable, but an attribute not
existing in a table/relation is not.

Try some very careful coding around the suspect queries to log in your own
code whether queries are being repeated or not.

Regards,
Richard


--
Richard Troy, Chief Scientist
Science Tools Corporation
510-924-1363 or 202-747-1263
rtroy (AT) ScienceTools (DOT) com, http://ScienceTools.com/


---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.