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: <frank.van.bortel_at_gmail.com>
Date: 7 Mar 2007 07:16:45 -0800
Message-ID: <1173280605.794176.154780@n33g2000cwc.googlegroups.com>


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". Received on Wed Mar 07 2007 - 09:16:45 CST

Original text of this message

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