Hello.


>    I was timming my scripts, and the biggest time the scripts took are =

> in  the DBI->connect process



I think that the root of the problem may be

in slow name resolving. You can disable DNS hostname lookups. See:

  http://dev.mysql.com/doc/mysql/en/DNS.html







Jos? Miguel Fernandes <[EMAIL PROTECTED]> wrote:

> Hi,

> =20

>    I have a RADIUS server (radiator), reading and writting intensively =

> in a

> mysql database.

> =20

>    I was timming my scripts, and the biggest time the scripts took are =

> in

> the DBI->connect process

> =20

>    The database is in another server, so I have to connect to the =

> database

> over tcp.

> =20

>    My question is: Is there any program that opens a connection to =

> mysql,

> and

> that I could use to connect to the database using unixsocket using =

> always

> the same connection?

> =20

>    Anyone have anyother ideia how I could speed up my connection phase?

> =20

>    Thanks everyone,

> =20

> Jos=E9 Miguel Fernandes

> 

> 



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
       <___/   www.mysql.com




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to