SET SESSION IDLESESSIONTIMEOUT
Sets the maximum amount of time that a session can remain idle before it exits.
An idle session has no queries running.
SET SESSION IDLESESSIONTIMEOUT duration
Specifies the amount of time a session can remain idle before it exits:
- Superusers can increase the time a session can remain idle to any value, regardless of database or node settings.
- Non-superusers can only set the session idle time to a value equal to or lower than their own user setting. If no session idle time is explicitly set for a user, the session idle time for that user is inherited from the node or database settings.
See Managing Client Connections in the Administrator's Guide.