Help Center/ GaussDB/ FAQs/ Database Parameter Modification/ How Do I Set the Connection Timeout Interval for GaussDB?
Updated on 2024-09-13 GMT+08:00

How Do I Set the Connection Timeout Interval for GaussDB?

The connection timeout interval indicates the maximum time (in seconds) allowed during which no operation is performed after the connection to the server is established. You can set the connection timeout interval on the GaussDB console. For example, if you want to change the timeout interval to 5 minutes, change the value of the related parameter to 3000. The value 0 indicates that the timeout setting is disabled. Specifically, perform the following operations:

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner of the page and choose Databases > GaussDB.
  4. On the Instances page, click the name of the target instance to go to the Basic Information page.
  5. In the navigation pane on the left, choose Parameters.
  6. Search for the session_timeout parameter in the search box.
  7. Change the parameter value and click Save. The value ranges from 0 to 86,400.
  8. In the displayed dialog box, click OK.