Re: [Info-ingres] Re: is there an equivavlent to auto_increment in ingres ?
- From: "Paul Andrews" <ac297@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 20 Jul 2005 10:31:47 GMT
"--CELKO--" <jcelko212@xxxxxxxxxxxxx> wrote in message
news:1121852694.717039.5680@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Isn' t queuing an example of --shudder-- procedure and not data?
>
> One of the basic rules is to model the elements and structures in
> sepratre tables. I'd have a table for the queue elements (people in a
> butcher shop) and another for the queue tickets (00 to 99) associated
> with them. For computer jobs, we had all kinds of rules about queue
> priority, such as "Student jobs come in with priority 1000+", "Teacher
> jobs come in with prioirity 100+" and "Payroll comes in with prioirity
> 10+" and servicing the queue "decrement prioirity numbers by 1 every 2
> minutes" and "service as many jobs with the lowest prioirity numbers as
> will fit into main storage".
I'm not sure how your example affects the requirement to easily identify
individual jobs to a user and hold the information in one or more tables.
On the system I have in mind we have several tables involved. The queue
table is effectively holding the queue tickets and does have priority rules,
etc.
If I hadn't suggested a queue number and said transactionid, I doubt an
eyebrow would be raised. In my case a simplistic transaction id (job number)
is using an integer, automatically incremented as jobs are added.
Paul
> _______________________________________________
> Info-ingres mailing list
> Info-ingres@xxxxxxxxxxxxxxx
> http://mailman.cariboulake.com/mailman/listinfo.py/info-ingres
>
.
- References:
- RE: [Info-ingres] Re: is there an equivavlent to auto_increment i n ingres ?
- From: Paul White
- Re: [Info-ingres] Re: is there an equivavlent to auto_increment in ingres ?
- From: Roy Hann
- Re: [Info-ingres] Re: is there an equivavlent to auto_increment in ingres ?
- From: Paul Andrews
- Re: is there an equivavlent to auto_increment in ingres ?
- From: --CELKO--
- RE: [Info-ingres] Re: is there an equivavlent to auto_increment i n ingres ?
- Prev by Date: Re: [Info-ingres] Re: is there an equivavlent to auto_increment in ingres ?
- Next by Date: RE: [Info-ingres] Re: is there an equivavlent to auto_increment i n ingres ?
- Previous by thread: Re: is there an equivavlent to auto_increment in ingres ?
- Next by thread: RE: [Info-ingres] Re: is there an equivavlent to auto_increment i n ingres ?
- Index(es):
Relevant Pages
|