If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Runstsats then bind

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-03-10, 17:01
Jimmy G. Jimmy G. is offline
Registered User
 
Join Date: Feb 2010
Posts: 5
Runstsats then bind

After a region is loaded with new data and RUNSTATS is run , does BIND have to run or can just REBIND be run if there hasnt been any SQL changes since the last load and Runstats?
Reply With Quote
  #2 (permalink)  
Old 02-03-10, 17:04
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
I think REBIND should suffice.
Reply With Quote
  #3 (permalink)  
Old 02-04-10, 12:00
Jimmy G. Jimmy G. is offline
Registered User
 
Join Date: Feb 2010
Posts: 5
When would BIND be mandatory?
Reply With Quote
  #4 (permalink)  
Old 02-04-10, 12:45
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
You need to explain what DB2 product and release you are using. What are thinking about binding (plans, packages) and what are they related to (applications, stored procedures, DB2 utilities, etc)?

A bind will create a new package or plan (depending on which DB2 is used). Rebind will recreate the access path for an existing package or plan.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On