Can't create more than max_prepared_stmt_count statements #1605

Closed
opened 2020-03-16 02:41:03 +00:00 by busyfree · 1 comment

服务运行一段时间,就会出现这个错误,超过数据库的max_prepared_stmt_count 阀值。工程里有go异步运行的数据库操作逻辑,还有就是正常的事务操作逻辑。
网上搜了一圈问题,说是prepare之后没有关闭的问题。在工程里查了一遍,没有找到类似问题。
请问这个问题的定位还有其他方法吗?

服务运行一段时间,就会出现这个错误,超过数据库的max_prepared_stmt_count 阀值。工程里有go异步运行的数据库操作逻辑,还有就是正常的事务操作逻辑。 网上搜了一圈问题,说是prepare之后没有关闭的问题。在工程里查了一遍,没有找到类似问题。 请问这个问题的定位还有其他方法吗?
Owner

Please give more details

Please give more details
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: xorm/xorm#1605
No description provided.