Re: Batch Operations

From: Christopher Browne <cbbrowne(at)acm(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Batch Operations
Date: 2003-08-10 01:07:34
Message-ID: m34r0q8gmh.fsf@chvatal.cbbrowne.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

After takin a swig o' Arrakan spice grog, pgadmin(at)pse-consulting(dot)de (Andreas Pflug) commented...:
> This sounds like that "Scheduled Jobs" task thread that was
> discussed May13th. The essence was that it would be nice to have,
> but nobody seems to work on this at the moment.

What I didn't point out was that this is the sort of thing that
wouldn't be at the "database" level, but rather would be suitably
implemented as part of some form of "application server."

Consider: There may be automated processes of various kinds:

-> Processes that do statically defined updates (e.g. - purge out
old data);

-> Processes that read some data and transform it on a regular basis;

-> Processes that generate reports on a timed basis.

The first sort of process might be amenable to being done inside the
database.

But the second one isn't; it requires having some code that reads the
input. The third one also isn't; it requires having some sort of
"reporting framework," including such things as [Defining Parameters],
[Formatting Output], and [Spooling Output], none of which are
particularly amenable to being handled in the database engine.

I wouldn't contemplate pushing that all into PostgreSQL; it's
appropriate to implement alongside in some form of "application
server."

I should have been more clear about intent there; this is all "good
stuff," but not things I'd expect to see added in 7.5 or necessarily
ever.
--
let name="cbbrowne" and tld="cbbrowne.com" in String.concat "@" [name;tld];;
http://www.ntlug.org/~cbbrowne/lsf.html
Sex is the mathematics urge sublimated.
-- M. C. Reed.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-08-10 01:17:05 Re: 7.4Beta1 hang?
Previous Message Martijn van Oosterhout 2003-08-10 01:02:50 Re: postmaster(s) have high load average