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: which is more scalable - view or raw table access+offload to application server

Re: which is more scalable - view or raw table access+offload to application server

From: Timasmith <timasmith_at_hotmail.com>
Date: 7 Mar 2007 09:03:45 -0800
Message-ID: <1173287024.846041.285590@t69g2000cwt.googlegroups.com>


On Mar 7, 10:16 am, "frank.van.bor..._at_gmail.com" <frank.van.bor..._at_gmail.com> wrote:
> On 7 mrt, 02:10, "Timasmith" <timasm..._at_hotmail.com> wrote:
>
> > Suppose I have a database table with 20 fields which are lookups to a
> > single table.
>
> > configtable(configtable_id, a_field, something_lookup_id,
> > another_lookup_id, ...)
> > lookup(lookup_id, value, description, ...)
>
> Suppose you normalize?!?
> make it a table with field, lookup_value.
> If you insist on using one table for multiple domains, use
> domain_id, field, lookup_value, and set a Primary Key
> on domain/field.
> You called domain "configtable_id".

lookup is a table for multiple domains (due to values being shared by multiple tables). Received on Wed Mar 07 2007 - 11:03:45 CST

Original text of this message

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