Re: Transaction prioritization from java possible?

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: daniel(dot)haensse(at)swissembedded(dot)com
Cc: pgsql-performance(at)postgresql(dot)org, rm_pg(at)cheapcomplexdevices(dot)com
Subject: Re: Transaction prioritization from java possible?
Date: 2007-05-14 17:22:03
Message-ID: 200705141022.04177.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Daniel,

> basically we have a transactional web application. The users can browse
> through some entries in the database and start a bunch of heavy queries
> that take up to 15 minutes (if multiple such heavy queries run in
> parallel the performance of the database and webinterface drops very
> quickly). The easiest thing will be to serialize these heavy queries and
> run it in the background. I can do this from the tomcat server.
> Now I would like to prioritize the webinterface user interaction over
> these heavy queries. How can I implement this from java?
>
> Ron mentioned this paper (see
> http://www.nabble.com/Background-vacuum-t3719682.html )
>
> And I finally found this:
> http://weblog.bignerdranch.com/?p=11
>
> Is there an easier way from java?

Check out the Bizgres project (www.bizgres.org) They currently have a
query-queuing system which will eventually be a contrib to mainstream
PostgreSQL, but you should be able to use it for development right now.

--
--Josh

Josh Berkus
PostgreSQL @ Sun
San Francisco

Browse pgsql-performance by date

  From Date Subject
Next Message Jim C. Nasby 2007-05-14 17:45:58 Re: pg_stats how-to?
Previous Message Jim C. Nasby 2007-05-14 16:26:10 Re: pg_stats how-to?