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 > Partitioned Tablespace ? in LUW 9.5

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-02-10, 11:22
maday15 maday15 is offline
Registered User
 
Join Date: Aug 2005
Posts: 4
Partitioned Tablespace ? in LUW 9.5

I am a DB2 DBA for z/OS, but I have been learning the LUW world lately and I have a question about partitioning. On z/OS partitioning is at the table level, and I can have partitions that are 64GB each, where a non-partitioned tablespace can only be 64GB. I know there is something called database partitioning and range partitioning (table) in LUW but I am trying to find limits on the table partitioning. I know (at least I think I know) the max size on a large tablespace on LUW 9.5 is 16TB, but if I partition it by range does that mean I get 16TB x # of partitions? Or does the database partitioning better relate to the z/OS partitioning? And if anyone what's to play teacher, what would be the reasons to use database partitioning or table/range partitioning?
Thanks!
Reply With Quote
  #2 (permalink)  
Old 11-02-10, 14:23
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
Quote:
Originally Posted by maday15 View Post
does that mean I get 16TB x # of partitions?
Yes. For your other questions: read this DB2 Diary from Radhesh: DB2 Partitioning
Reply With Quote
  #3 (permalink)  
Old 11-02-10, 14:40
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Maximum tablespace size depends on its page size, so the number will be different for each page size tablespace. There is also a limit on the table partition size. Please refer to the SQL and XML Limits section in the manual. SQL and XML limits

Briefly, database partitioning (DPF) allows you to parallelize queries and utility execution, while table partitioning is good for data maintenance (archiving etc.) and range-based queries (if they map to the partitioning key, that is).
Reply With Quote
  #4 (permalink)  
Old 11-02-10, 17:03
Marcus_A Marcus_A is online now
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
Table Partitioning in DB2 LUW is equivilent to Range Partitioning in DB2 z/OS.

Database partitioning (DPF) is a whole 'nother animal and is used for MPP (Massive Parallel Processing). Data is randomly distributed accross multiple logical (or physical) nodes based on a hash key. The closest thing to DPF is Teradata. DPF requires extra cost licensing over and above DB2 ESE edition. Starting in 9.7 they renamed DPF feature as InfoSphere Warehouse Edition (there are actually several different InfoSphere Warehouse editions such as Basic, Enterprise, etc).
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
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