Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Do we need to BIND programs Frequently

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
jpdeshai

New User


Joined: 24 Jun 2007
Posts: 57
Location: US

PostPosted: Thu Jul 02, 2009 1:15 am    Post subject: Do we need to BIND programs Frequently
Reply with quote

Our DB2 system has just 10 Lakhs records in each table (5 tables).
The screens are taking lot of time to respond with the results. Some one suggested that we need to Bind programs frequently to increase the performance. We did it once. But it didn't increase much. Does BInd process increases performance? How frequently do we need to do?

We BIND Package level. We never did BIND for Plan level (handled by DBA).
is there any other way to increase DB2 performance?

I searched many forums but couldn't get exact info.
results were like, Bind Plan, Bind Packages, Run Explain so on. not sure what to follow.

Any help appreciated.
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Jul 02, 2009 2:59 am    Post subject:
Reply with quote

Hello,

I suspect that a re-bind is not your problem unless there has been a change to the volume or content that might influence the optimizer.

I suspect that the code is processing too many rows for an online transaction or the process is not properly accessing the needed rows (full table transversal instead of direct access).

Suggest you work with your dba and run/analyze an EXPLAIN.
Back to top
View user's profile Send private message
jpdeshai

New User


Joined: 24 Jun 2007
Posts: 57
Location: US

PostPosted: Thu Jul 02, 2009 3:13 am    Post subject:
Reply with quote

Dick,

Thanks for the response.
However, We tried to check with our DBAs but couldn't get proper answer.
We do not have access to run EXPLAIN so we don't know what is going on.

Do you think Binding Plan would increase the performance?
We Bound the Plan only at Implementation. After that we had one time Heavy Data Load to DB2 system But we never Bound the Plan.

I just wanted to make sure before I go to our DBA's. (We are with Govt client so it takes time to implement any thing).
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Thu Jul 02, 2009 3:52 am    Post subject:
Reply with quote

you can not do an EXPLAIN in spufi?
have you created your own plan table?

unless you reorg and do runstats, rebinding does not help.
Back to top
View user's profile Send private message
jpdeshai

New User


Joined: 24 Jun 2007
Posts: 57
Location: US

PostPosted: Fri Jul 03, 2009 2:15 am    Post subject: Reply to: Do we need to BIND programs Frequently
Reply with quote

How do we run EXPLAIN in SPUFI? I searched many places but couldn't get exact details on this.
Yes, we do Reorg on weekly basis.

Can u help me on SPUFI EXPLAIN Please?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Fri Jul 03, 2009 2:25 am    Post subject:
Reply with quote

DB2 Vsn 7 Explain explanation.

DB2 Vsn 8 Explain explanation.

if you have problems or questions, get back to the forum. There are many here that can offer help.
Back to top
View user's profile Send private message
sajjan jindal
Warnings : 1

New User


Joined: 09 Sep 2007
Posts: 60
Location: india

PostPosted: Fri Jul 03, 2009 11:55 am    Post subject: Reply to: Do we need to BIND programs Frequently
Reply with quote

I was going thru the following article which i think can answer your question.

http://www.craigsmullins.com/zjdp_023.htm
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Why myself doing Package Bind always ... Susanta DB2 5 Thu Mar 02, 2017 10:47 pm
No new posts Bind plan as a member to another bind... rexx77 DB2 0 Thu Feb 16, 2017 2:02 am
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am
No new posts Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm
No new posts User exit in COBOL programs ganasrinivasan PL/I & Assembler 0 Thu Aug 18, 2016 12:48 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us