mysql_pquery vs mysql_tquery
#6

Quote:
Originally Posted by Vince
Посмотреть сообщение
Using tquery you have one extra thread and all queries get pushed onto a queue in that one thread. So the queries get executed in the order they are received. With pquery on the other hand your query gets pushed onto a queue in any of the available threads so queries may not necessarily execute in the order they are received. The amount of threads that are available is the number you specified for "poolsize" in mysql_connect.
Yes but at what kind of situations should pquery be used over tquery?

The wiki says pquery could be slower sometimes. I am not able to understand at what situations pquery performs slower than tquery.

My question is when to use which.
Reply


Messages In This Thread
mysql_pquery vs mysql_tquery - by Yashas - 09.06.2017, 04:17
Re: mysql_pquery vs mysql_tquery - by PaulDinam - 09.06.2017, 04:39
Re: mysql_pquery vs mysql_tquery - by Yashas - 09.06.2017, 05:06
Re: mysql_pquery vs mysql_tquery - by DRIFT_HUNTER - 09.06.2017, 08:11
Re: mysql_pquery vs mysql_tquery - by Vince - 09.06.2017, 11:45
Re: mysql_pquery vs mysql_tquery - by Yashas - 09.06.2017, 13:34
Re: mysql_pquery vs mysql_tquery - by PaulDinam - 09.06.2017, 18:43
Re: mysql_pquery vs mysql_tquery - by justice96 - 09.06.2017, 20:55
Re: mysql_pquery vs mysql_tquery - by Meller - 12.07.2017, 22:15
Re: mysql_pquery vs mysql_tquery - by maddinat0r - 13.07.2017, 10:50

Forum Jump:


Users browsing this thread: 1 Guest(s)