IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

A question on rebind.


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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
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: 6966
Location: porcelain throne

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

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

www.craigsmullins.com/zjdp_023.htm
www.ibmmainframes.com/about3893.html
it.toolbox.com/blogs/db2zos/db2-9-cm-rebind-best-practices-29136
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Question for file manager IBM Tools 7
No new posts question for Pedro TSO/ISPF 2
No new posts question on Outrec and sort #Digvijay DFSORT/ICETOOL 20
No new posts panel creation question TSO/ISPF 12
No new posts Sort w/OUTREC Question DFSORT/ICETOOL 2
Search our Forums:

Back to Top