Unix Technical Forum

LIST partioning better than RANGE one here ?

This is a discussion on LIST partioning better than RANGE one here ? within the Oracle Database forums, part of the Database Server Software category; --> In the following case below I show that I could use either RANGE or LIST partitioning for the same ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-25-2008, 01:58 AM
Spendius
 
Posts: n/a
Default LIST partioning better than RANGE one here ?

In the following case below I show that I could use either
RANGE or LIST partitioning for the same purpose:
> CREATE TABLE bazar
> (id NUMBER(10) NOT NULL,
> date_from DATE NOT NULL,
> date_to DATE,
> region NUMBER(10) NOT NULL)
> TABLESPACE stuff
> STORAGE (FREELISTS 0 FREELIST GROUPS 0)
> partition by RANGE (region)
> (partition R_01 values less than (2)
> pctfree 0 <...> <storage clauses...>
> tablespace S_R_01,
> partition R_02 values less than (3)
> pctfree 0 <...> <storage clauses...>)


> CREATE TABLE bazar
> (id NUMBER(10) NOT NULL,
> date_from DATE NOT NULL,
> date_to DATE,
> region NUMBER(10) NOT NULL)
> TABLESPACE stuff
> STORAGE (FREELISTS 0 FREELIST GROUPS 0)
> partition by LIST (region)
> (partition R_01 values (1)
> pctfree 0 <...> <storage clauses...>
> tablespace S_R_01,
> partition R_02 values (2)
> pctfree 0 <...> <storage clauses...>)


Of course I do not really draw any advantage out of the
LIST option (as I've put only 1 value possible), but I
wonder whether from an internal point of view the LIST
option shouldn't be preferred because of some better
feature related to this 9i functionality ? Anyone ever
noticed anything regarding a difference of that kind ?

Thanks a lot.
Spendius

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:41 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com