{
  "id": 23531555,
  "title": "TIL: GBase Database SMI Converts Storage Pages into Usage Percentages",
  "url": "https://urgent.news/2026/12/05/til-gbase-database-smi-converts-storage-pages-into-usage-percentages",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-12-05T01:20:55.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/mmllllzcn/til-gbase-database-smi-converts-storage-pages-into-usage-percentages-2mj1"
  },
  "original_language": null,
  "account": "Calculating database storage usage can be error-prone when done manually. The onstat -d command uses page counts, requiring multiplication by page size to get accurate storage capacity. However, this introduces potential mistakes, such as forgetting the page size or treating page counts as bytes. GBase Database offers a solution through SMI views, enabling direct calculation of storage utilization through SQL. This approach provides a consistent report, converting page-based storage information into readable units based on the database page size. Instead of relying on manual calculations, GBase Database's SMI queries generate standardized databases usage reports, check dbspace status for availability, and separate monitoring from configuration changes. This ensures reliable storage monitoring, early detection of availability issues, and repeatable daily database checks.",
  "summary": "Stop calculating database storage usage manually. GBase Database (GBase 8s) provides SMI views that can turn raw page counts into readable dbspace utilization percentages directly through SQL. Today's practical trick is about making storage checks more accurate and consistent. 1. Why Manual Page Conversion Is Error-Prone The onstat -d command reports storage information using page counts. onstat…",
  "summary_source": "publisher",
  "key_points": [
    "GBase Database uses SMI views for storage utilization calculation",
    "Converts page-based storage info into readable units",
    "Automates daily database checks and availability monitoring"
  ],
  "editors_take": "Using SMI views to automate storage calculations helps administrators avoid manual errors and ensures more reliable daily monitoring of database availability and capacity.",
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "outlets_capped": false,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}