Hello I have a php script that selects zip codes finds their distances from each other and then stores those zips that are 10/20/50/100 miles away from each other.
To start this script was taking around 4 mins to store 500 zips. However as the database size has increased the time to execute the script slowed.
I have completed 10’000 of the zips, and the databse is now 40Mb in size. However now when I try and execute the script it takes around 10 mins to store just 20 zips, and I get an internal server error.
I have checked my php.ini and everything to do with mysql is to the max, so I can’t see why it is coming up with this.
I have tried to save the database using export however it tries to save for about 5 mins and again I get the internal server error.
Again this is only to do with the size of the database as I am able to export smaller databases.
Does anyone know how I can firstly get my script to speed up again and secondly how to get it to save larger databases.
2007-01-15
06:41:07
·
2 answers
·
asked by
jonnie b
1
in
Computers & Internet
➔ Programming & Design
Hey abatardi, i am happy to email you the code, but you have the email function turned off. Thanks for the response though.
2007-01-15
08:30:21 ·
update #1