当前位置:网站首页>GBASE 8s 如何查看 sbspace 中的可用空间
GBASE 8s 如何查看 sbspace 中的可用空间
2022-07-29 21:18:00 【八珍豆腐】
智能大对象储存于sbspace空间中,最初创建sbspace时,块将分为3个区域,它们是:
“标头”
“元数据”
“用户数据”
用户数据用于存储智能大型对象 (LO),而标头是保留页面,元数据区域存储 sbspace 中一个或多个块的信息。
当需要了解 sbspace 的磁盘使用情况时,syschunks 中的“nfree”列是指“元数据”可用空间。 onstat -d 输出将显示 2 行用于 sbspace 块。第一行是关于“用户数据”的信息,而第二行显示有关“元数据”区域的信息。具有 is_sbspace=1,则可以在 syschunks SMI 表中标识 sbspce。
查看 sbspace 中的可用空间对应的查询SQL如下所示:
select name dbspace,
sum(mdsize) metadata_size,
sum(nfree) metadata_free,
sum(mdsize)-sum(nfree) metadata_used,
sum(udsize) userdata_size,
sum(udfree) userdata_free
sum(udsize)-sum(udfree) userdata_used
from sysdbspace d, syschunks c
where d.dbsnum=c.dbsnum and is_sbspace=1
group by 1
order by 1边栏推荐
- Jenkins 如何玩转接口自动化测试?
- The cornerstone of distributed: reliability - What a tangled web we weave
- 全球都热炸了,谷歌服务器已经崩掉了
- 转:idea中language level设置
- PointPillars 工程复现
- HMS Core audio editing service audio source separation and spatial audio rendering, helping to quickly enter the world of 3D audio
- 微信小程序 30 自定义模板和获取用户登录凭证
- 程序员自由工作的三大痛点?一文教你统统解决
- Analysis of Crypto in Pi 2
- 干货!联邦学习中的合作均衡
猜你喜欢

GET_ENTITYSET Method Implementation Guide for SAP ABAP OData Service Data Provider Class

爽朗的一天

品牌广告投放平台的中台化应用与实践

linux使用脚本安装redis

The world is on fire, Google servers have crashed

2022了你还不会『低代码』?数据科学也能玩转Low-Code啦!

The Ministry of Human Resources and Social Security announced that "database operation administrator" has become a new occupation, and OceanBase participated in the formulation of occupational standar

南华早报 | 助力亚洲最具公信力报章实现AD域自动化管理

Panorama Tutorial丨How to shoot sunrise and sunset scenes in VR panoramic shooting?

全系都更换带T四缸,安全、舒适一个不落
随机推荐
Xshell 7 prompts "To continue using this program, you must apply the latest update or use a new version"
刘畊宏男孩女孩看过来!运动数据分析挖掘!(附全套代码和数据集)
仿Modbus消息帧进行通信
applet preview pdf
【点云】M3DeTR: Multi-representation, Multi-scale, Mutual-relation 3D Object Detection with Transformers
刚重装的win7系统不能上网(深度系统安装步骤)
获取七牛云地址文件保存到本地
网络通信编程基础,BIO,NIO
[Point Cloud] M3DeTR: Multi-representation, Multi-scale, Mutual-relation 3D Object Detection with Transformers
Panorama Tutorial丨How to shoot sunrise and sunset scenes in VR panoramic shooting?
linux使用脚本安装redis
HMS Core音频编辑服务音源分离与空间音频渲染,助力快速进入3D音频的世界
Second Best PyTorch Beginner Course; Thesis Writing Guide; Using µGo to Develop a Mini Compiler; Super Efficient Use of Transformer's Extension Library; Frontier Papers | ShowMeAI News Daily
容器网络硬核技术内幕 (25) 知微知彰,知柔知刚 (中)
写出优雅的Kotlin代码:聊聊我认为的 “Kotlinic“
【HDLBits 刷题】Verilog Language(4)Procedures 和 More Verilog Features 部分
240. Searching 2D Matrix II
mdnice-test
关于云计算的海量数据存储模型[通俗易懂]
全自动化机器学习建模!效果吊打初级炼丹师!