Problem analysis methodology

Updated at:

The basic methodology for analyzing instance issues is to find performance bottlenecks: identify the resource with the highest consumption, determine why it is heavily consumed, and keep breaking the issue down at a finer granularity.

The two basic types of resources used by a PolarDB for PostgreSQL (Compatible with Oracle) database are:
  • System resources: CPU, I/O, network, memory, and disk resources.
  • Database resources: locks (lwlock and lock) and cache (buffer pool and slru) resources.

The general tuning approach is to use database wait events to identify the bottleneck resource, and then pinpoint the cause based on that specific resource.