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 > DB2 > Partitioning in LUW's DB2

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-10-08, 10:33
linakichi linakichi is offline
Registered User
 
Join Date: Aug 2008
Posts: 45
Partitioning in LUW's DB2

Hello, folks

My question is probably too simple for most of the people here, but I really don't know the right way to make a table partitions. I've tried the PARTITIONING KEY when CREATE TABLE, but as the result, I only found that the table only has 1 partition which is numbered 0

Could I make multiple table partitions in LUW's DB2 v8.2 ? I know that there's Range partitioning, etc. at DB2 Viper though, but I'm currently using DB2 v8.2, so if anyone know the way, please help me

Thank you
Reply With Quote
  #2 (permalink)  
Old 11-10-08, 11:30
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Partitioning in V8 is using DPF. In V9 the syntax for setting up DPF partitioning is different. The PARTITIONING KEY in V8 is using DPF and if you only have one partition, then you get what you are getting. Prior to V9, you have to do what is called "union all views" to partition a table the way you want. V9 and on, you can do it directly.

Andy
Reply With Quote
  #3 (permalink)  
Old 11-11-08, 03:22
JAYANTA_DATTA JAYANTA_DATTA is offline
Registered User
 
Join Date: Oct 2004
Location: DELHI INDIA
Posts: 336
For V8.2, there is no way to Partition the table for getting better performance (eqv. of Range-Partition). Data-Partition (hash-Partition) is available though in V8.X as ArWinner has mentioned.

If you are thinking the same for having better performance, then you can go for MDC Index, SUMMARY table etc as well in V8.2

Jayanta,
New Delhi, India
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