The delay in the first db query is significantly higher than the later times.

1. If the problem related to the db is checked, it is generally the configuration problem of the connection pool.

When configuring the connection pool, you must also pay attention to the initial configuration of the connection, otherwise the connection pool may be initialized, but the connection is not initialized, so there may be a large delay in the first query, and subsequent queries may occur. will be normal.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324973575&siteId=291194637