All Products
Search
Document Center

PolarDB:Polar.ai.http_keep_alive

Last Updated:Mar 28, 2026

Specifies whether to enable persistent HTTP connections.

This parameter can be set per session using SET, or per database using ALTER DATABASE.

Parameter properties

PropertyValue
TypeBoolean
ValuesON, OFF
ScopeSession, database

Values

  • ON: Enables persistent HTTP connections.

  • OFF: Disables persistent HTTP connections.

Examples

Enable persistent HTTP connections for the current session:

SET polar.ai.http_keep_alive = ON;

Disable persistent HTTP connections for a specific database:

ALTER DATABASE <dbname> SET polar.ai.http_keep_alive = OFF;