db2 bind java_db2 bind处理

PROG(DSNTIAD) PLAN(DSNTIAD)

LIBRARY('dbb1.runlib.load')

/*

*****************************************************************

4)db2相关联问答

Q4) Explain what a plan is?

A4) Plan is a DB2 object (produced during the bind process) that

associates one or more database request modules with a plan

name.

Q5) What is a DB2 bind?

A5) Bind is a process that builds “access paths” to DB2 tables.

A bind uses the Database Request Modules(s) (DBRM(s)) from the DB2

pre-compile step as input and produces an application plan. It also

checks the user’s authority and validates the SQL statements in the

DBRM(s).

Q2) What is an access path?

A2) The path that is used to get to data specified in SQL

statements.

Q6) What information is used as input to the bind process?

A6) The database request module produced during the pre-compile.

The SYSIBM.SYSSTMT table of the DB2 catalog.

Q19) What is a Database Request Module(DBRM)?

A19) A DBRM is a DB2 component created by the DB2 pre-compiler

containing the SQL source statements extracted from the application

program. DBRMs are input to the bind process.

Q24) What will the FREE command do to a plan?

A24) It will drop(delete) that existing plan.

Q32) Where are plans stored?

A32) Each plan is defined uniquely in the SYSIBM.SYSPLANS table

to correspond to the transaction (s) that are to execute that

plan.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值