开发者社区 问答 正文

请问一下OceanBase怎么查 当前用户的表空间 ?

请问一下OceanBase怎么查 当前用户的表空间 ?

展开
收起
真的很搞笑 2023-03-29 16:12:27 884 分享 版权
来自: OceanBase
1 条回答
写回答
取消 提交回答
  • 可以使用下面的命令

    select tenant_name, database_name, tablegroup_name from __all_tablegroup where tenant_id = userenv('租户id') and tablegroup_id = userenv('表组id');
    
    
    2023-03-31 13:01:05
    赞同 展开评论
问答分类:
问答地址: