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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we delete records from view?

573


What is drop table?

588


Name the lockable units in DB2?

673


What is alias in db2?

585


what is diffrence b/w file-aid tool and file-aid utility???

4194






What is dbrm? When it will be created?

608


How do I copy a table in db2?

581


What are union and union all?

547


What is a trigger in the db2 database?

604


What is the physical storage length of time data type?

683


What is consistency token in db2?

652


Outputs of explain are with matchcols = 0. What does this signify?

629


Define db2 and its databases?

634


What is a db2 tablespace?

612


What are the two types of logging in the db2 database? Explain them.

588