X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 99C8E9DCC34 for ; Wed, 1 Feb 2006 22:53:17 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 66774-01 for ; Wed, 1 Feb 2006 22:53:20 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by postgresql.org (Postfix) with ESMTP id 301A09DC84B for ; Wed, 1 Feb 2006 22:53:14 -0400 (AST) Received: from lythanhphu ([66.130.233.129]) by VL-MO-MR003.ip.videotron.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0IU100CZTHCUBPD0@VL-MO-MR003.ip.videotron.ca> for pgsql-sql@postgresql.org; Wed, 01 Feb 2006 21:53:18 -0500 (EST) Date: Wed, 01 Feb 2006 21:53:17 -0500 From: Daniel CAUNE Subject: Re: Does PostgreSQL support job? In-reply-to: <20060202002825.GA10816@surnet.cl> To: 'Alvaro Herrera' , 'Daniel Caune' Cc: 'Owen Jacobson' , pgsql-sql@postgresql.org Message-id: <0IU100CZUHCUBPD0@VL-MO-MR003.ip.videotron.ca> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: quoted-printable Thread-index: AcYnj6ZFwV+NRjKsRIeRAUvQ4WiqRgAEC2sA X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.722 required=5 tests=[AWL=0.722] X-Spam-Score: 0.722 X-Spam-Level: X-Archive-Number: 200602/15 X-Sequence-Number: 24025 > -----Message d'origine----- > De : pgsql-sql-owner@postgresql.org [mailto:pgsql-sql- > owner@postgresql.org] De la part de Alvaro Herrera > Envoy=C3=A9 : mercredi 1 f=C3=A9vrier 2006 19:28 > =C3=80 : Daniel Caune > Cc : Owen Jacobson; pgsql-sql@postgresql.org > Objet : Re: [SQL] Does PostgreSQL support job? >=20 > Daniel Caune wrote: >=20 > > 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 >=20 > ..., the current alpha MySQL, ... >=20 > > and Oracle, support that feature, even if such a > > feature is managed differently from a RDBMS to another. >=20 >=20 > 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". >=20 > http://lwn.net/Articles/167895/ >=20 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