Temporal too many prepared statements close statements on MySQL database

Hi, I’m trying to understand the temporal execution, I just started temporal server on my local (with Intellij) and connected to mysql (version 8, with few changes in schema), The important thing to note is that it’s preparing and closing many statements, Isn’t it inefficient ?
The picture is top 10 calls for 3 hour 15 minutes with out any workflows or activities starting on temporal server.

We are aware of this potential perf impact, and optimization is on our road map.

Previous works was focusing mainly on supporting MySQL 5.7 & PostgreSQL 9.6 (in terms of correctness). Later we will carry out necessary perf optimization.

1 Like