博客
关于我
查询表空间使用情况
阅读量:532 次
发布时间:2019-03-08

本文共 2333 字,大约阅读时间需要 7 分钟。

Database Extensible Tablespace Usage Analysis

The following analysis provides an overview of the extensible tablespace usage across different tablespaces in the database system. The data is derived from the sys.dbuffet_space and sys.db_data_files views, rollup by tablespace_name.

Key Metrics Overview:

  • tablespace_name: Name of the tablespace.
  • extensible_bytes: Total bytes allocated for extensible tables in the tablespace.
  • allocated_bytes: Total bytes allocated across all files in the tablespace.
  • alloc_free: Total free bytes across all files in the tablespace.
  • used: Bytes used in the tablespace calculated as allocated_bytes - alloc_free.
  • pct_used: Percentage of used bytes relative to allocated bytes.
  • pct_used_ext: Percentage of extensible bytes consumed relative to the total extensible bytes.

Tablespace Analysis:

  • SYSTEM:

    • extensible_bytes: 34,359,721,984
    • allocated_bytes: 786,432,000
    • alloc_free: 6,684,672
    • used: 779,747,328
    • pct_used: 99.15%
    • pct_used_ext: 33,579,974,656
    • extensible_usage_ratio: 2.2693644854
  • SYSAUX:

    • extensible_bytes: 34,359,721,984
    • allocated_bytes: 587,202,560
    • alloc_free: 37,617,664
    • used: 549,584,896
    • pct_used: 93.59375%
    • pct_used_ext: 33,810,137,088
    • extensible_usage_ratio: 1.5995033262
  • USERS:

    • extensible_bytes: 34,359,721,984
    • allocated_bytes: 5,242,880
    • alloc_free: 3,866,624
    • used: 1,376,256
    • pct_used: 26.25%
    • pct_used_ext: 34,358,345,728
    • extensible_usage_ratio: 0.004005434
  • UNDOTBS1:

    • extensible_bytes: 34,359,721,984
    • allocated_bytes: 94,371,840
    • alloc_free: 73,465,856
    • used: 20,905,984
    • pct_used: 22.1527777778%
    • pct_used_ext: 34,338,816,000
    • extensible_usage_ratio: 0.0608444504
  • TESTTBS:

    • extensible_bytes: 68,719,443,968
    • allocated_bytes: 209,715,200
    • alloc_free: 207,618,048
    • used: 2,097,152
    • pct_used: 1
    • pct_used_ext: 68,717,346,816
    • extensible_usage_ratio: 0.0030517593
  • Observations:

    • The SYSTEM and SYSAUX tablespaces exhibit very high usage of extensible bytes, with almost all allocated bytes being used.
    • The USERS and TESTTBS tablespaces show lower usage, with less than 30% of allocated bytes being utilized.
    • The extensible_usage_ratio indicates the portion of extensible bytes consumed relative to the total allocated, with most tablespaces utilizing a significant portion.

    This analysis helps in understanding the distribution of database resources and optimizing the configuration for different workloads.

    转载地址:http://ruiiz.baihongyu.com/

    你可能感兴趣的文章
    OpenCV与AI深度学习 | OpenCV常用图像拼接方法(四):基于Stitcher类拼接
    查看>>
    OpenCV与AI深度学习 | OpenCV快速傅里叶变换(FFT)用于图像和视频流的模糊检测(建议收藏!)
    查看>>
    OpenCV与AI深度学习 | SAM2(Segment Anything Model 2)新一代分割一切大模型介绍与使用(步骤 + 代码)
    查看>>
    OpenCV与AI深度学习 | T-Rex Label !超震撼 AI 自动标注工具,开箱即用、检测一切
    查看>>
    OpenCV与AI深度学习 | YOLO11介绍及五大任务推理演示(目标检测,图像分割,图像分类,姿态检测,带方向目标检测)
    查看>>
    OpenCV与AI深度学习 | YOLOv10在PyTorch和OpenVINO中推理对比
    查看>>
    OpenCV与AI深度学习 | YOLOv11来了:将重新定义AI的可能性
    查看>>
    OpenCV与AI深度学习 | YOLOv8自定义数据集训练实现火焰和烟雾检测(代码+数据集!)
    查看>>
    OpenCV与AI深度学习 | YOLOv8重磅升级,新增旋转目标检测,又该学习了!
    查看>>
    OpenCV与AI深度学习 | 一文带你读懂YOLOv1~YOLOv11(建议收藏!)
    查看>>
    OpenCV与AI深度学习 | 五分钟快速搭建一个实时人脸口罩检测系统(OpenCV+PaddleHub 含源码)
    查看>>
    OpenCV与AI深度学习 | 什么是 COCO 数据集?
    查看>>
    OpenCV与AI深度学习 | 低对比度缺陷检测应用实例--LCD屏幕脏污检测
    查看>>
    OpenCV与AI深度学习 | 使用 MoveNet Lightning 和 OpenCV 实现实时姿势检测
    查看>>
    OpenCV与AI深度学习 | 使用 OpenCV 创建自定义图像滤镜
    查看>>
    OpenCV与AI深度学习 | 使用 SAM 和 Grounding DINO 分割卫星图像
    查看>>
    OpenCV与AI深度学习 | 使用OpenCV图像修复技术去除眩光
    查看>>
    OpenCV与AI深度学习 | 使用OpenCV检测并计算直线角度
    查看>>
    OpenCV与AI深度学习 | 使用OpenCV轮廓检测提取图像前景
    查看>>
    OpenCV与AI深度学习 | 使用Python和OpenCV实现火焰检测(附源码)
    查看>>