Q
Problem solve Get help with specific problems with your technologies, process and projects.

Improving performance on a stored procedure that slowed from enqueues

A stored procedure that calls a vendor product is experiencing slow performance due to enqueues on VSAM files used by the vendor product. Increases to BUFND, BUFNI in the WLM jobs for these files had no effect. What can be done to improve performance in this situation? Thank you.
Basically, an enqueue is a lock. By taking an enqueue, the program is blocking others from accessing data while it makes changes. Your only options are to either speed up the process so that the enqueue can be removed faster or find ways to do without the enqueue.

It is almost impossible to answer this question without access to the code. Is the enqueue being taken by your...

stored procedure or by the vendor product? Why is the enqueue being taken? Is it being taken properly, or can you remove some of the circumstances under which the enqueue occurs?

This was last published in December 2004

Dig Deeper on IBM DB2 management

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchBusinessAnalytics

SearchAWS

SearchContentManagement

SearchOracle

SearchSAP

SearchSQLServer

Close