Hi ,
While using MQSEND in DB2 trigger to capture the changes and write into an MQ.
The CPU consumption is huge.Is there any way to tune this.
Stats:
12000 updates to a table without this MQ trigger .27 CPU and .20 elapsed time
12000 updates to a table with this MQ trigger 1.07 CPU and 10.4 elapsed time
Potential reason could be
The DB2 built in function might use MQPUT1 which will open MQ, write a message and close it
hence 12000 updates will have 12000 MQOPEN , 12000 MQPUT and 12000 MQCLOSE
the same if it is possible to implement with 1 MQOPEN , 12000 MQPUT and 1 MQCLOSE. F
If anyone could help me on this
Please mail to
maheshk.mohan@gmail.com as well