db2版本问题之mon_get_container

客户反应在扩容表空间时获取表空间容器时报错
sql0440n no authorized routine named “mon_get_container” of type “function” having compatible arguments was found.
他们说这次是用实例用户操作,之前都是用管理员用户。发来的截图能看到表空间列表,我觉得既然能看到表空间就应该能操作的,不应该是这个用户的问题。
百度直接根据报错查询相关资的结果是料乱七八糟…
谷歌也只能查询出Receive SQL0440N error when using “MON_GET_MEMORY_SET” & MON_GET_MEMORY_POOL functions on DB2 V9.7 FP5
然后结合mon_get_container函数说明感觉有点像是db2版本过低的问题。问客户他说今天操作的db2是9.1版本的,10.1版本的就没有问题。。。

这里贴一下mon_get_container函数说明
MON_GET_CONTAINER table function - Get table space container metrics
DB2 Version 9.7 for Linux, UNIX, and Windows
Syntax
Read syntax diagramSkip visual syntax diagram

-MON_GET_CONTAINER–(--tbsp_name–,--member–)---------------><

The schema is SYSPROC.
Table function parameters
tbsp_name
An input argument of type VARCHAR(128) that specifies a valid table space name in the same database as the one currently connected to when calling this function. If the argument is null or an empty string, metrics are returned for all containers in all table spaces in the database.
member
An input argument of type INTEGER that specifies a valid member in the same instance as the currently connected database when calling this function. Specify -1 for the current database member, or -2 for all database members. If the null value is specified, -1 is set implicitly.

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值