Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: pgAgent question



Title: RE: pgAgent question
It takes about the same time.
Since I do not need statistics on every single test (some of them have data that is not suited for statistical analysis), I modified my schema slightly.
Each test which has to be processed for statistics is tagged as such, reducing the amount of data processed.
 
With our current data set it went down to from about 30 seconds of execution time to about 2 seconds.
Running this new procedure from pgAdmin and psql yielded approximately the same results (about 2 seconds).
 
I restarted the pgagent service, and with the new stored procedure it is taking the same amount of time as with direct calls from pgadmin or psql.
So, it appears this was somehow a fluke - go figure.  I will monitor this, and if I come across the issue again I will repost.
 
As always, Thanks for your help.
 
Regads,
 
Benjamin
 
-----Original Message-----
From: Dave Page [mailto:dpage(at)vale-housing(dot)co(dot)uk]
Sent: Thursday, April 20, 2006 1:10 PM
To: Benjamin Krajmalnik; pgadmin-support(at)postgresql(dot)org
Subject: RE: [pgadmin-support] pgAgent question

 
That looks straightforward enough - how quickly does it run in psql? That uses PQexec like pgAgent, unlike pgAdmin which uses PQsendQuery (asynchronously)?
 
Regards, Dave. 


Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group