Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


can any body explain about plan and pakage in detail....

Answers were Sorted based on User's Feedback



can any body explain about plan and pakage in detail......

Answer / ashish kumar

A DB2 bind is a process that builds an access path to DB2
tables.

A BIND process establishes a relationship between an APPLICATION
PROGRAM and its RELATIONAL DATA.
A plan is an executable module containing the access path logic
produced by the Db2 optimizer. It can be composed of one or
more DBRMs and packages.
The plans are available in the Catalog table SYSIBM.SYSPLAN

DB2 Bind compiles all your sql statements(dbrm) into an
executable format.
It uses DB2 Optimizer to create the better access path.
Package is the executable access path code for the sql
statements in the DBRM

Plan contains package list which is nothing but pointers to
packages.

Is This Answer Correct ?    13 Yes 0 No

can any body explain about plan and pakage in detail......

Answer / srinivasa gudla

A package is single bound DBRM with optimized access paths.
It contains location identifier, collection Identifier and
package identifier.

A package can have multiple versions, each with it's own
version identifier

Advantages of Packages,
Reduce the Bind Time.
Versioning.
Can provide BIND options at programmer level.

As Ashish mentioned above, Plan contains packages list which
is nothing but Pointers. whenever you are doing changes in
SQL staetments related to particular DBRM . Then only that
particular Packages needs to be rebind not the Plan. This is
similar to recompiling a sub program not the main program.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More DB2 Interview Questions

What techniques will be used to avoid deadlock??

5 Answers   IBM, SUN,


What is reorg in DB2

3 Answers   Virtusa,


what is the input to PLAN? what is the input to DBRM?

4 Answers  


What is a subselect? Is it different from a nested select?

1 Answers  


what is difference between random and sequence file access

1 Answers   Syntel,


What happens to the PLAN if index used by it is dropped?

1 Answers  


Suppose I have a program which uses a dynamic SQL and it has been performing well till now. Off late, I find that the performance has deteriorated. What happened?

1 Answers  


how can we find nth max salary from A table

5 Answers   IBM,


What is the difference between nvl and coalesce?

0 Answers  


What is read-only cursor?

1 Answers  


Which DB2 catalog tables are used to produce a list of table column by table for all tables in a database?

1 Answers  


What is the command used by TSO users to invoke DB2?

2 Answers   IBM,


Categories