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 > How to create Partitioned Tables in DB2 LUW

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-03-09, 15:02
Neharao Neharao is offline
Registered User
 
Join Date: Dec 2007
Posts: 49
How to create Partitioned Tables in DB2 LUW

Hi

Can anybody give me Syntax for creating partitioned TABLES in LUW DB2?

I have created the table space USERSPACE1 as below, to create Partitioned tables in USERSPACE1

CREATE REGULAR TABLESPACE "USERSPACE1"
IN DATABASE PARTITION GROUP "IBMDEFAULTGROUP"
PAGESIZE 4 K
MANAGED BY SYSTEM
USING ( '/db/db2inst2/SAMPLE/db2inst2/NODE0000/SQL00001/SQLT0002.0')
EXTENTSIZE 32
BUFFERPOOL "IBMDEFAULTBP"
TRANSFERRATE 0.18;

Basically I would like to know how to know how to divide data across multiple data partitions according to values in the table partitioning key columns for the table

Thanks in Anticipation
Neha
Reply With Quote
  #2 (permalink)  
Old 05-03-09, 17:28
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
you may find the following article helpful:
Introducing DB2 9, Part 2: Table partitioning in DB2 9
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