PDA

View Full Version : Reduce number of connections


druesome
10-11-2003, 11:32 AM
Hi, I was just wondering if anyone would know a way to reduce the number of connections (to MySQL database) involved in spidering sites? Because of a limitation set on my webhosting account, I have to watch out for any excess that may result in charges. Thank you for your help!:)

rayvd
10-14-2003, 07:42 AM
Maybe using persistent connections would help some? Change the occurrences of mysql_connect to mysql_pconnect.