Re: Realtime Query Dashboard Results

From: Oliver Kohll - Mailing Lists <oliver(dot)lists(at)gtwm(dot)co(dot)uk>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Realtime Query Dashboard Results
Date: 2011-01-07 22:21:42
Message-ID: 316A02EF-A3E0-4764-892B-94BE87843CAD@gtwm.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 7 Jan 2011, at 22:02, "THOMPSON, JARED (ATTBAPCO)" <JT060b(at)ATT(dot)COM> wrote:

> I assume when people use dashboards they are not being queried every
> second for updating but maybe every minute?
>
> Are there any tools that work good on top of postgres?
>
> (I see in the stock market (though I am looking at/for production data)
> they seem to use tools that frequently update their dashboards.
>
> What is a realistic timeframe to expect query updates for a dashboard?

Having written a dashboard on top of PostgreSQL (screenshot at http://blog.agilebase.co.uk/2010/03/31/dashboard-preview/ ), I can at least state my decisions:
Charts are updated once a day overnight, or cached whenever someone looks at them in the system underlying the dashboard, so they are at most one day old. A chart is also updated when a user clicks on it to drill down to the data.

Of course what you decide depends on what the business use case is and what demands there are on the system. In my cases so far the slowest charts take 1 or 2 seconds to generate by SQL so if necessary, each could be loaded in in real time over AJAX, though that hasn't been needed yet.

Regards
Oliver Kohll

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Maciej Sakrejda 2011-01-08 02:11:28 cast question: max double precision > text > double precision fails with out or range error
Previous Message Andy Colson 2011-01-07 22:02:30 Re: Realtime Query Dashboard Results