Im trying to find a way to speedup my inserts to a DB2 9.7.1 (ubuntu linux)
Im watching vmstat and trying to gather some statistics via the db2 get snapshot commands but im not able to figure out which numbers im looking for to be able to see where the trouble is.
I've read lits of stuff like http://www.eggheadcafe.com/software/aspnet/35692526/question-multiple-row-in.aspx, and http://www.ibm.com/developerworks/data/library/tips/dm-0403wilkins/ and tricks like
ALTER TABLE lalala APPEND ON
works somewhat (the difference between a dd if=/dev/zero and insert is still a factor 10) but I would like to be able to find the counters or other performance indicators that actually show why it makes sense to use those tricks.
What is the metric called that shows me that it is buffer pages allocation (FSCR stuff) that is the problem
Where do I see that the insert time is hampered by clustered indexes?
db2top very useful but im still searching for more direct view of "this is your bottleneck" methods