[asterisk-users] MYSQL queries from dial plan

Steve Edwards asterisk.org at sedwards.com
Mon Jan 4 02:06:19 CST 2010


On Mon, 4 Jan 2010, Neeraj Chand wrote:

> I currently run small scale mysql queries from the dialplan

[snip]

> This currently takes about 4 seconds to complete.
>
> If I run two simultaneous queries, this goes up to about 9 seconds for 
> both queries to complete.

4 seconds for a query is a bit extreme. 9 seconds for 2 simultaneous 
queries reinforce my guess that it is a database issue, not an Asterisk 
issue.

What sort of response time to you get if you issue the queries from the 
mysql command prompt?

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list