Sadly thats entirely to many schedules for phpvms 5.5.2 unless your running a high end Server situation which is not cheap these days, anything over 6000 schedules will drag down phpvms. This is also true for Airports, which in all reality you should only have around 4-6000 airports in the database. Frankly I’ve seen this time in and time out and recently just helped out someone with over 45,000 schedules. The good news is, there are several ways of squeezing down the Search without the effects of a “Full Page” view, which is half the problem with Large Databases as they try to Print all of the Search results/information on the given Page. Thus resulting in a serious Lag on the Server side. Any Full Page View slows any system down that is extremely large, its got to pump all of that information into one Browser page and 40k is way to much to show all at once. However, you have about 3 options for this situation they are as follows without getting advanced in the Database structures;
In your situation what I would do is simple, depending on what your running for a Skin, if your running an HTML5 & a Bootstrap 3.3.7.xx or higher skin, then there is an easy fix. Its Called “DataTables”.
There is a Web Site that dedicates itself to this, and is all it does. Data Tables involve whats called pagination, a search feature, and an option of dropping down more results with an Icon Bar. The Data Tables system also Squeezes the Resulted Information/Views into a Scrollbar system, the Actual height will be only around 480px. Thus resulting in a 80% Speed increase for viewing while the Database itself is still sending the results. As mentioned above if running bootstrap and html5 , this is the way to go as a 1st choice.
Your other option if only running XHTML or HTML5 without Bootstrap is this;
There are a ton of Programmable Scripts around the internet for crunching down the viewing page also, I use this option along with other options at the same time. Having a Scrollbar system on a very Heavy Database Load will speed your page up also as this will also cut down on the view size hence , cut down on the load time. Your situation can be resolved for sure, so don’t give up on it.
Here is a link on my test site you can view the Data Tables system on, I’ve moved around the Airport Info Menu Item for you on my site so you can view an example of this, it will be under the Menu Item heading of; “Operations”, here is the link, you only have 24 hours and I will be moving it back to protection…
http://seairtransport.net/sat/index.php/aptinfo
Hope this helps you.
Jim