Quote:
|
Originally Posted by jrbusta
i like know what method offer best performance for update values on index columns, update versus delete/insert, over DB2 v720 on z/os. Regards. John
|
If you are updating the clustering index
and you want DB2 to recluster the data row (according to the clustering index), then you should do a delete and insert.
If you are not changing the clustering index
or you would rather defer the re-clustering task to when you do a reorg, then do an update.
For best performance in a system with very high transaction rates, any index that gets changed often (insert, update, or delete) should have a reasonably high fullkeycard value (even if you have to add additonal columns to the index). Indexes with very low cardinality are slow to update.