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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Table Design

Re: Table Design

From: BigP <big_planet_2000_at_hotmail.com>
Date: Wed, 30 Oct 2002 09:33:47 -0800
Message-ID: <F001.004F7A31.20021030093347@fatcity.com>


Deepa ,
there are various considerations here , if your are using oracle and using proper indexes and proper query 5,00,000 records is not a big thing. I dont think you will see much difference . If your queries does full scan then may be your theory is rite
second consideration would be how the application request data . Is it randomaly from transaction type ?
Somehow I have a feeling that one table can do the job . Less maintainance and less parsing ( since u r using same table )

oramagic

> Hello
>
> We are doing database design for a project.
> We have 10 distinct transactions types and the total number of records is
> expected to be around 5,00,000
> taking all transactions together.We have normalised the tables and decided
> to store all of them together in a
> single table identified by the transaction type and other unique fields.
>
> We would like to know which option would be the best so that we can
> retrieve data most efficiently
> Option-1.
> Maintain 10 different tables for each transaction type (i.e 500000
> records will be split among 10 tables)
> Option-2
> Store all of them together in a single table identified by the
> transaction type and other unique fields.
>
> Regards,
> Deepa
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author:
> INET: PK_Deepa/VGIL_at_vguard.satyam.net.in
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: BigP
  INET: big_planet_2000_at_hotmail.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Oct 30 2002 - 11:33:47 CST

Original text of this message

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