SurrealDB icon

SurrealDB

Interaction with a SurrealDB database

System → Get Pool Statistics

AI-generated

Summary

Retrieve statistics about the SurrealDB connection pool, optionally scoped by namespace and database, and customize connection pooling settings to influence the performance and behavior of the connection pool.

Inputs

  • Options — Optional parameters to specify a SurrealDB namespace and database, which override the corresponding settings in the credentials.
  • Connection Pooling — Settings to configure the connection pool, including maximum and minimum connections, acquire timeout, health check interval, max idle time, retry attempts and delays, and connection validation options.

Output shape

a single record with connection pool statistics and configuration details.

The returned data reflects the current state and performance metrics of the SurrealDB connection pool, formatted for informational or diagnostic purposes.

Links

Discussion