Skip to Main Content
Oracle Data Warehouse Tuning for 10g
book

Oracle Data Warehouse Tuning for 10g

by Gavin JT Powell
April 2011
Intermediate to advanced content levelIntermediate to advanced
504 pages
16h 49m
English
Digital Press
Content preview from Oracle Data Warehouse Tuning for 10g
6.2 Partitioned Table Syntax 149
Chapter 6
PARTITION sale_to_2003 VALUES LESS THAN
(TO_DATE('2003-01-01','YYYY-MM-DD'))
TABLESPACE pdata1
, PARTITION sale_to_2004 VALUES LESS THAN
(TO_DATE('2004-01-01','YYYY-MM-DD'))
TABLESPACE pdata2
, PARTITION sale_after_2003 VALUES LESS THAN
(MAXVALUE) TABLESPACE pdata3
)
AS SELECT * FROM sale;
Let’s create a global index:
CREATE INDEX gkx1_psale_yrrev
ON psale_yrrev(industry_id) TABLESPACE indx;
Now generate statistics:
ANALYZE TABLE psale_yrrev COMPUTE STATISTICS;
CREATE TABLE: Range-List Partition
Figure 6.6 shows CREATE TABLE syntax for a range-list partition where
range partitions are subdivided into list subpartitions. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Oracle 10g Data Warehousing

Oracle 10g Data Warehousing

Lilian Hobbs, Susan Hillson, Shilpa Lawande, Pete Smith
Expert Oracle Enterprise Manager 12c

Expert Oracle Enterprise Manager 12c

Kellyn Pot'vin, Anand Akela, Gokhan Atil, Bobby Curtis, Alex Gorbachev, Niall Litchfield, Leighton Nelson, Pete Sharman

Publisher Resources

ISBN: 9781555583354