Re: Test connection to database

From: Date: Wed, 27 Aug 2008 05:56:50 +0000
Subject: Re: Test connection to database
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-45254@lists.php.net to get a copy of this message
Databases are located in several datacentres throughout the area/country and we connect through dedicated lines not internet. I realize that there may be many factors to consider, I just would like to have the PHP experts have a look at my method/PHP code to check that this is fairly optimized Jack On 27/08/2008, Chris <dmagick@gmail.com> wrote: > > Jack van Zanen wrote: > >> Hi >> >> >> I have written a little program that cycles through a list of databases >> and >> checks conectivity. it writes the status of this to a table >> >> now to check all 143 databases it takes about 50 seconds and I was >> wondering >> if this sounds about right to you guys. >> > > Across your network I assume. All internal or some db's are external? Don't > forget about network overhead, and even more so if you're going out to the > internet at some point. > > -- > Postgresql & php tutorials > http://www.designmagick.com/ > > -- J.A. van Zanen

« previous php.db (#45254) next »