Help Center/ Config/ User Guide/ Resource Compliance/ Built-In Policies/ GeminiDB/ GeminiDB Instances Have Slow Logs Enabled
Updated on 2025-08-25 GMT+08:00

GeminiDB Instances Have Slow Logs Enabled

Rule Details

Table 1 Rule details

Parameter

Description

Name

gaussdb-nosql-support-slow-log

Identifier

gaussdb-nosql-support-slow-log

Description

If a GeminiDB instance does not have the slow log enabled, this instance is non-compliant.

Tag

gemini db

Trigger Type

Configuration change

Filter Type

nosql.instances

Rule Parameters

None

Application Scenarios

GeminiDB allows you to view slow query logs of databases. The unit of the execution time is ms. With slow query logs, you can identify and optimize slowly executed statements.

Solution

Enable LTS slow query logs. For details, see Slow Query Logs.

Rule Logic

  • If slow query logs are not enabled for a GeminiDB instance, this instance is non-compliant.
  • If slow query logs are enabled for a GeminiDB instance, this instance is compliant.