From: Enrico Weigelt <weigelt@metux.de>
To: pgsql-performance@postgresql.org
Subject: Re: investigating slow queries through pg_stat_activity
Date: Mon, 4 Jul 2005 00:28:30 +0200
Message-ID: <20050703222830.GA2056@nibiru.borg.metux.de> (raw)
In-Reply-To: <0B5C29FA-E949-447E-AEFE-A806E238F1C2@drivefaster.net>
References: <0B5C29FA-E949-447E-AEFE-A806E238F1C2@drivefaster.net>
* Dan Harris <fbsd@drivefaster.net> wrote:
Hi,
> I've got some queries generated by my application that will, for some
> reason, run forever until I kill the pid. Yet, when I run the
> queries manually to check them out, they usually work fine.
If you can change your application, you could try to encapsulate the
queries into views - this makes logging and tracking down problems
much easier.
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service
phone: +49 36207 519931 www: http://www.metux.de/
fax: +49 36207 519932 email: contact@metux.de
---------------------------------------------------------------------
Realtime Forex/Stock Exchange trading powered by postgresSQL :))
http://www.fxignal.net/
---------------------------------------------------------------------
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: weigelt@metux.de
Subject: Re: investigating slow queries through pg_stat_activity
In-Reply-To: <20050703222830.GA2056@nibiru.borg.metux.de>
* 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