If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > Partioning within a single tablespace

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-10-03, 03:39
sips sips is offline
Registered User
 
Join Date: May 2003
Posts: 3
Partioning within a single tablespace

we know about the advantages of partitioning.
what i know is partitioning means "creating a table across multiple tablespaces".
so when ever a query is fired, only that partition is accessed.

but my doubt is,
I create a table X and it has columns A,B and C.
Iam partitioning the table on column A.
Iam creating 3 partitions(P1,P2,P3)
For A < 1000 iam inserting into Partition P1.
For A < 2000 iam inserting into Partition P2.
any other value in Partition P3.

But the thing is all the Partitions(P1,P2,P3) all are in the same tablespace(T1).

Is that kind of partitioning is having any advantages and disadvantages...pls elabore the adv and disadv

And more over, in case of parallel DML what will happen in the above mentioned situation.
Reply With Quote
  #2 (permalink)  
Old 07-10-03, 04:51
AlanP AlanP is offline
Registered User
 
Join Date: Mar 2002
Location: Reading, UK
Posts: 1,123
Well it is better to partition across separate tablespaces as you can spread io load better (potentially but may not be the case if is striped across disks) and reduce file locking issues (more so on RAC). But you still get advantages from partitioning even in a single tablespace as it means you can archive off 'old' partitions easily. You can also do maintainance on single partitions while leaving other partitions accessable (be careful with the indexes if though).

Alan
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On