#About mysql_tquery and mysql_pquery

2 messages · Page 1 of 1 (latest)

oblique tinsel
#

Regarding these two functions, please correct me if my explanation below is correct or not

mysql_tquery: This function sends queries sequentially, meaning it processes them one after another in the order they are received. For example, if there are multiple queries in a queue, it executes the first query, waits for it to complete, and then moves on to the next query.

mysql_pquery: This function allows queries to be executed concurrently, meaning they can be processed simultaneously depending on the size of the connection pool (POOL_SIZE). If POOL_SIZE is set to 2, for instance, two queries can be executed simultaneously. Likewise, if POOL_SIZE is 3, three queries can be processed concurrently.

Is the explanation above correct?

buoyant valley
#

yes