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 > APPEND mode and its impact

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-11-08, 16:06
db2rocks db2rocks is offline
Registered User
 
Join Date: Jan 2008
Posts: 45
APPEND mode and its impact

Hi friends,

I turned on the append mode on a table for improving mass inserts on that table.Does that impact select queries on that table later on??

Also as far as i remember cluster index is not possible on a table with append mode.Does the append mode truly improve the insert performance?? If so by what extent


Thanks
Reply With Quote
  #2 (permalink)  
Old 03-11-08, 17:24
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
Yes, it does improve performance because DB2 will not spent any time in looking for free space on the pages but rather append the data right at the end. Naturally, this may cause more pages to be read at query time, which can have a negative performance impact.

As for the "extent" of the impact, it depends - as usual.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #3 (permalink)  
Old 03-12-08, 01:19
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Quote:
Originally Posted by db2rocks
Hi friends,

I turned on the append mode on a table for improving mass inserts on that table.Does that impact select queries on that table later on??

Also as far as i remember cluster index is not possible on a table with append mode.Does the append mode truly improve the insert performance?? If so by what extent
Thanks
Just remember that with append, DB2 will not use empty space from rows that are deleted, it will always place new rows at the end of the table.

The performance improvement is probably not significant, but why don't you test it?
__________________
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
  #4 (permalink)  
Old 03-13-08, 10:42
db2rocks db2rocks is offline
Registered User
 
Join Date: Jan 2008
Posts: 45
I tested it and I did not see a great deal of improvement..Thanks all for your help
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