To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here

HOME News MS SQL Oracle DB2 Access MySQL PHP Scripts Books Links DBA Talk


Go Back   Database Journal Forums > Miscellaneous > General Database Discussions

General Database Discussions Discuss any database topic not covered in any other forum on this site

Reply Post New Thread
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 10-07-2003, 02:58 PM
copernicus copernicus is offline
Member
 
Join Date: May 2003
Posts: 35
Question about table design

Hi,

I have to design a large data warehouse(2 Tb) and wanted to ask a question.

For partitioned tables should I put each partition in its own tablespace or create a large tablespace and put all partitions in that tablespace ?

plz advise the design strategy.


Design 1 (each partition in its own tablespace)
===============================================

create table schema_owner.fact1
( sales_date date,
sales_amount number(10,3)
sales_type varchar2(32)
)
partition by range(sales_date)
(partition p_fact1_200307 values less than (to_date ('01-JUL-2003','DD-MON-YYYY'))
tablespace tbs_fact1_200307,
partition p_fact1_200308 values less than (to_date ('01-AUG-2003','DD-MON-YYYY'))
tablespace tbs_fact1_200308
....
....

)
/

Design 2(one tablespace all partitions in that tablespace)
================================================== ======
create table schema_owner.fact1
( sales_date date,
sales_amount number(10,3)
sales_type varchar2(32)
)
partition by range(sales_date)
(partition p_fact1_200307 values less than (to_date ('01-JUL-2003','DD-MON-YYYY'))
tablespace tbs_fact1_data ,
partition p_fact1_200308 values less than (to_date ('01-AUG-2003','DD-MON-YYYY'))
tablespace tbs_fact1_data
)
/
Reply With Quote
Reply Post New Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:58 AM.


DatabaseJournal Recent Articles


 » Preparing To Upgrade Access Tables to SQL ...

 » Microsoft Windows PowerShell and SQL Serve...

 » New MySQL Enterprise with Query Analyzer B...

 » Quest Software Strengthens Committment to ...

 » Oracle Unveils New Event-Driven Middleware...

Search Database Journal:
 





Acceptable Use Policy

JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.