You are viewing the archived documentation of TiDB, which no longer receives updates. It is recommended that you use the latest LTS version of the TiDB database.
Sleep for a number of seconds. Note that for TiDB Serverless clusters, the SLEEP() function has a limitation wherein it can only support a maximum sleep time of 300 seconds.