During a database incident, the first few actions can determine whether the investigation stays controlled or creates additional risk. A sound GBase Database incident process begins with evidence collection, impact assessment, and product-specific diagnostics.
GBase 8s instance troubleshooting and GBase 8a cluster troubleshooting require different administrative tools and recovery procedures.
1. Establish the Scope
Record the incident start time, affected applications, error messages, recent changes, and whether the failure affects one host or multiple services.
Avoid restarting or reconfiguring the database before determining the scope, unless an approved emergency procedure requires immediate action.
2. Collect GBase 8s Evidence
For a GBase 8s instance, begin with:
onstat -
Depending on the release and symptom, additional diagnostics may include:
onstat -g ses
onstat -g sql
onstat -g act
Use only commands supported by the installed release and preserve relevant output for analysis.
3. Collect GBase 8a Cluster Evidence
For GBase 8a MPP Cluster, inspect the cluster using its supported administrative utilities:
gcadmin showcluster
Review cluster state, virtual-cluster mode, and node status. If the cluster is in an unexpected mode or a service is unavailable, investigate the relevant cluster and management-service diagnostics.
Do not apply GBase 8s instance recovery commands to a GBase 8a cluster.
4. Decide on Recovery Based on Evidence
Distinguish between connectivity problems, resource saturation, query regressions, unavailable nodes, and startup failures. Each has a different recovery path.
Before executing a restart, shutdown, or mode transition, verify the target and assess the impact on active workloads. Follow the approved recovery procedure and confirm that backups or other recovery mechanisms are available where required.
5. Verify Service Restoration
After recovery, validate more than the process state. Test application connectivity, representative queries, critical business operations, and monitoring signals. Record which actions restored service and which symptoms remain.
Conclusion
Reliable GBase Database incident response depends on clear scope, product-specific diagnostics, controlled recovery, and post-recovery validation. Collecting evidence before changing the environment helps protect data and makes future incidents easier to resolve.
Top comments (0)