当前位置:网站首页>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边栏推荐
- 【Verilog 设计】Verilog 实现偶数、奇数分频和任意小数分频
- 【CVPR2022】A Unified Query-based Paradigm for Point Cloud Understanding
- 一 JS中Promise用法、二闭包的概念与用法、三对象创建的四种方式与区区别、四 如何声明一个类
- PointPillars 工程复现
- HMS Core音频编辑服务音源分离与空间音频渲染,助力快速进入3D音频的世界
- [ACTF2020 Freshman Competition]Exec 1
- 容器网络硬核技术内幕 (22) 安全与自由兼顾
- 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
- 第二好PyTorch新手课程;论文写作指南;使用µGo语言开发迷你编译器;超高效使用Transformer的扩展库;前沿论文 | ShowMeAI资讯日报
- 【HDLBits 刷题】Verilog Language(4)Procedures 和 More Verilog Features 部分
猜你喜欢

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

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

Cobaltstrike和BurpSuite桌面快捷配置

Dry goods!Cooperative Balance in Federated Learning

Come in now!!!Take you to know the basic data types of C language

VSCode配置终端为系统命令行

WeChat Mini Program 31 Subcontracting Mechanism

一文理解分布式开发中的服务治理

微信小程序 31 分包机制

笔记:fgets函数详解
随机推荐
[Database] mysql date format conversion
三品牌下半年将带来多款新品,东风日产将迎来“产品大潮”
UDP协议详解
刘畊宏男孩女孩看过来!运动数据分析挖掘!(附全套代码和数据集)
分布式之基石: 可靠性——What a tangled web we weave
Add obsolete flag to pdf
Liu Genghong, boys and girls, come here!Sports data analysis and mining!(with a full set of code and data sets)
ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
微信小程序 31 分包机制
高通WLAN框架学习(31)-- Power save
1. Promise usage in JS, 2. The concept and usage of closures, 3. The difference between the four methods and areas of object creation, 4. How to declare a class
leetcode-593:有效的正方形
【Verilog 设计】Verilog 实现偶数、奇数分频和任意小数分频
大陆泽、宁晋泊蓄滞洪区防洪工程与安全建设项目启动实施
网安学习-内网渗透2
First thoughts on the first attempt to avoid killing without a file (Part 1)
全系都更换带T四缸,安全、舒适一个不落
【CVPR2022】A Unified Query-based Paradigm for Point Cloud Understanding
【Nacos】nacos1.x 单机、内置数据库模式修改密码
一文理解分布式开发中的服务治理