DB-TrendSetter
作者DB-TrendSetter联盟成员·2013-05-15 16:43
数据库架构师·公司

P LOCK AND V LOCK

字数 676阅读 2076评论 0赞 0

What are "Internal Plan Lock" and "Internal Variation Lock" objects ?

Answer
Internal Plan Lock(P lock) (Package Cache/ Plan Lock): Any execution of SQL, whether static or dynamic, must be done while holding a 'package lock'. This ensures that no-one can drop the package that is being executed. This can be turned off with the registry variable DB2_APM_PERFORMANCE=ALL.

Internal Variation Lock(V lock): Any execution of dynamic SQL is done via an entry in the SQL cache known as a variation. In order to ensure that the variation remains valid during the execution, V locks are acquired on behalf of the entry.

http://www-01.ibm.com/support/docview.wss?uid=swg21503717

如果觉得我的文章对您有用,请点赞。您的支持将鼓励我继续创作!

0

添加新评论0 条评论

Ctrl+Enter 发表

作者其他文章

  • RDS for PostgreSQL
    评论 0 · 赞 0
  • I/O 类型概念的介绍(CIO,DIO,AIO)
    评论 0 · 赞 0
  • DB2 BLU
    评论 0 · 赞 1
  • 招聘DB2工程师
    评论 0 · 赞 0
  • DB2数据库基础建设专场答疑总结
    评论 2 · 赞 2
  • 相关文章

    相关问题

    相关资料

    X社区推广