New to Connection Pooling
问题 So I am new to connection pooling. I am trying to determine how to use a pool in order to speed up my query. I have a query that works, but I dont think I am using the pool correct. Here is the syntax, if you see anywhere I could be more efficient please let me know. try: db=mysql.connector.connect(poolname="mypool", pool_size=10, **config) cursor.execute(query1) df1=create_df(cursor) cursor.execute(query2) df2=create_df(cursor) cursor.execute(query3) df3=create_df(cursor) 回答1: Your question