Re: Does PostgreSQL support job?

From: Daniel CAUNE <d(dot)caune(at)free(dot)fr>
To: 'Alvaro Herrera' <alvherre(at)commandprompt(dot)com>, 'Daniel Caune' <daniel(dot)caune(at)ubisoft(dot)com>
Cc: 'Owen Jacobson' <ojacobson(at)osl(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: Does PostgreSQL support job?
Date: 2006-02-02 02:53:17
Message-ID: 0IU100CZUHCUBPD0@VL-MO-MR003.ip.videotron.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> -----Message d'origine-----
> De : pgsql-sql-owner(at)postgresql(dot)org [mailto:pgsql-sql-
> owner(at)postgresql(dot)org] De la part de Alvaro Herrera
> Envoyé : mercredi 1 février 2006 19:28
> À : Daniel Caune
> Cc : Owen Jacobson; pgsql-sql(at)postgresql(dot)org
> Objet : Re: [SQL] Does PostgreSQL support job?
>
> Daniel Caune wrote:
>
> > Yes, that's it. A job is a task, i.e. set of statements, which is
> > scheduled to run against a RDBMS at periodical times. Some RDBMS,
> > such as SQL Server
>
> ..., the current alpha MySQL, ...
>
> > and Oracle, support that feature, even if such a
> > feature is managed differently from a RDBMS to another.
>
>
> I was amused when I read the MySQL news in LWN.net, because most
> comments were things like "what the hell has this half-baked feature has
> to do in a RDBMS anyway".
>
> http://lwn.net/Articles/167895/
>

It's true that implementing a job management within an RDBMS is somewhat reinventing the wheel, especially on UNIX systems where cron exists (even on Windows, which supports scheduled tasks). Anyway, job support within a RDBMS sounds more like a facility.

"While I have built a number of large and small applications with various time-based event scheduling tables stored in an SQL database, including things like triggers that send asynchronous notifications to daemon clients to advise them to re-query for updated schedules, it never in my wildest imaginings occured to me to actually initiate execution autonomously from the database back end."
[zblaxell, 2006-01-25, http://lwn.net/Articles/167895/]

Well, perhaps zblaxell has only worked on operational systems (OLTP), but such autonomy is sometimes useful in low-cost business intelligence systems (OLAP).

--
Daniel CAUNE

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Padam J Singh 2006-02-02 06:24:32 Function Dependency
Previous Message Alvaro Herrera 2006-02-02 00:28:25 Re: Does PostgreSQL support job?