r/mysql • u/new_shit_on_hold • Sep 05 '24
question Reaching max_prepared_statement_count but I'm using the execute() method...
1
Upvotes
From these docs.
If I'm reading the docs correctly, using the execute() method should reuse any prepared statements, or at least unprepare them.
So I guess I have two questions. Can I use the execute method with pools? All the examples seem to show a normal connection, but my testing seems like the pool is inserting/selecting find.
Second question, is it possible that a for loop is "outpacing" the queries? This is all on my local machine so I thought that it would keep up but mabye not?