HDBinfo vs. HDB info: Diagnostic Tools, Full System Info Dump & Trace Analysis
A definitive operational guide disambiguating the standard process monitoring command "HDB info" from the comprehensive SAP Support diagnostic collection framework "HDBinfo / fullsysteminfo.py", detailing trace collection, crash analysis, and SAP escalation.
Core Learning Objectives
- 1.Master the critical distinction between "HDB info" (process monitoring) and "HDBinfo / fullsysteminfo.py" (support diagnostics).
- 2.Learn how to locate, execute, and pass arguments to fullsysteminfo.py across HANA versions.
- 3.Analyze output archive contents (traces, OOM dumps, OS configuration, disk stats).
- 4.Execute step-by-step trace analysis on nameserver.trc, indexserver.trc, and crash dumps.
- 5.Prepare technical diagnostic packages for SAP Support ticket escalation.
Definition & Architectural Rationale
Technical Definition:
While "HDB info" (with a space) is a shell script displaying running instance processes, "HDBinfo" (single word, or the Full System Information Dump tool `fullsysteminfo.py`) is an SAP Support diagnostic script that packages instance configuration, runtime metrics, trace files, and OS telemetry into a compressed archive for technical support triage.
Why this component exists:
When a critical P1 production outage occurs (such as an unexplained indexserver crash, memory leak, or storage freeze), SAP Support cannot troubleshoot without a synchronized snapshot of trace files, OS telemetry, parameter files, and memory dumps. Running ad-hoc commands wastes hours; HDBinfo automates the complete diagnostic gathering process.
Internal Working & Mechanics
Architecture Flow Diagram
Linux Terminal Diagnostics & Operations
Terminal Standard Output (stdout):
Collecting files for database PRD... [INFO] Collecting configuration files... [INFO] Collecting trace files from /usr/sap/HDB/HDB00/hana01/trace/DB_PRD... [INFO] Collecting operating system performance metrics... [INFO] Packaging files into /usr/sap/HDB/HDB00/hana01/trace/DB_PRD/fullsysteminfo_PRD_20261023_083012.tar.gz... [SUCCESS] Collection finished. Archive size: 345 MB.
Terminal Standard Output (stdout):
indexserver_hana01.30003.001.trc:14205: [4890]{-1}[-1/-1] 2026-10-23 07:14:22.102 e oom oom.cc(00420) : OutOfMemory exception occurred.
indexserver_hana01.30003.001.trc:14206: [4890]{-1}[-1/-1] 2026-10-23 07:14:22.105 e oom oom.cc(00425) : Failed to allocate 142058100 bytes.Troubleshooting & Root Cause Analysis
Production Best Practices & Operational Risks
Mandatory Best Practices
- Always collect the Full System Info Dump BEFORE restarting a crashed database if possible, or immediately after restart before trace files roll over.
- Never run fullsysteminfo.py without a time window filter on high-volume production systems, as zipping gigabytes of old trace files can cause CPU and disk I/O contention.