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
 

 

A question on rebind.

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

Active User


Joined: 11 Nov 2008
Posts: 143
Location: India

PostPosted: Fri Jan 15, 2010 9:14 am    Post subject: A question on rebind.
Reply with quote

Hi all,

When we reorganize a table then do we need to rebind the code that uses the table.

Please explain/list all the factors for which we need to rebind the code.

Thanks,
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


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

PostPosted: Fri Jan 15, 2010 10:02 am    Post subject:
Reply with quote

quick google on 'DB2 When to rebind',
brought among others, the following links:

http://www.craigsmullins.com/zjdp_023.htm
http://www.ibmmainframes.com/about3893.html
http://it.toolbox.com/blogs/db2zos/db2-9-cm-rebind-best-practices-29136
http://www.db2portal.com/2005/11/to-rebind-or-not-to-rebind-that-is.html
Back to top
View user's profile Send private message
Mukesh Pandey

Active User


Joined: 11 Nov 2008
Posts: 143
Location: India

PostPosted: Fri Jan 15, 2010 2:24 pm    Post subject: Reply to: A question on rebind.
Reply with quote

Thank you.
Back to top
View user's profile Send private message
Manshadi

New User


Joined: 31 Aug 2005
Posts: 82

PostPosted: Tue Jan 19, 2010 7:14 pm    Post subject:
Reply with quote

Hi,

After reorganizing your table space or index space it is better to run runstat utility to gather statistics and after that it is better to run REBIND on your plans and packages using the table.
To give the DB2 optimizer chance of choosing better access path to access the data you rebind after runstat.

Thanks
Manshadi
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 QUESTION: RETURN CHANNEL pahiker CA Products 21 Thu Apr 20, 2017 12:31 am
No new posts The Last Two Question For You To Ask ... CaptBill Mainframe Interview Questions 0 Fri Apr 14, 2017 5:42 am
No new posts Asynchronous CICS Processing Question moezbud CICS 1 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
No new posts Fault Analyzer - listings question. egrove IBM Tools 4 Thu Aug 11, 2016 5:31 pm


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