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 > table Partitioning - DB2 V 81. OS390

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-24-06, 15:39
antodomnic antodomnic is offline
Registered User
 
Join Date: Mar 2003
Posts: 69
table Partitioning - DB2 V 81. OS390

hi,

We have a kind of environment where we might have around 10 million rows and looking for optimization in terms of select and insert.
My Question is,
1. I was searching the db2 forums and seeing different type's of table partitioing available ( Like union all view). What are the kind of table partitioning available? Which one would be the best?.
2. I heared partitioning reduces the performance in terms of inserts and updates. Is it true?.
3. Any other way I can opt for solving the 10 million rows issue other than partitioning.
Pls advise!

Thanks!
Reply With Quote
  #2 (permalink)  
Old 03-24-06, 23:14
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Partitioning on DB2 for OS/390 (z/OS) is completely different than on DB2 for Linux, UNIX, and Windows.

Partitioning on DB2 for OS/390 is range partitioning, which is not even available (yet) on DB2 for Linux, UNIX, and Windows (range partitioning will be available in V9).

Partitioning on DB2 for Linux, UNIX, and Windows is primarily for the purposes of parallel processing where it is common for queries to require complete table scans. The partitioning scheme is called hash partitioning.

I don't think you will encounter any performance problems with inserts or updates on DB2 for OS/390. But you should avoid frequent updating of the partitioning key, which would cause the row to have to be moved from one partition to the other.

Check out the DB2 for OS/390 manuals to read about partitioned tablespaces. Make sure you don't confuse it with partitioning available on DB2 for Linux, UNIX, and Windows (which is a different product).
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390

Last edited by Marcus_A; 03-24-06 at 23:17.
Reply With Quote
  #3 (permalink)  
Old 03-29-06, 10:43
antodomnic antodomnic is offline
Registered User
 
Join Date: Mar 2003
Posts: 69
Thanks Marcus. That's perfect.
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