Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: FIFO in Oracle

Re: FIFO in Oracle

From: Quinton McCombs <quintonm_at_bellsouth.net>
Date: 1998/02/17
Message-ID: <34EA0037.48A9859B@bellsouth.net>#1/1

Check out the Oracle 8 white paper on advanced queueing... sounds like a perfect fit for your application.

Mr Michael Wai Kee Yung wrote:
>
> Dear all,
>
> Our company is going to develop an Oracle application that requires to
> store requests in a database table (let's name in DB Queue) and later on
> another server program will pick up the requests and process in a FIFO
> fashion.
>
> The question is how can I do it in Oracle efficiently. It seems to me the
> server need to read all the requests and sort by time stamp when every
> time the server program is free to do something.
>
> Of course a sort for each fetch is costly. We could create a share memory
> table and store, say 100 requests to the memory and the server process
> from there. Still, you know, it require a sort for every 100 requests.
>
> Any idea how our company can improve this mechanism ?
>
> Many thanks in advance.
>
> Cheers,
> Michael \\8-)
>
> --
> +----------------------------------------------------+
> | Born To Be Wired : http://www.hk.super.net/~myung/ |
> +----------------------------------------------------+
Received on Tue Feb 17 1998 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US