0

我们网站上的汽车选择器存在问题。目前,据我了解,从数据库返回结果正在发生这样的事情

目前这是正在发生的事情:

select * from xcart_makes;   // returns all makes


select * from xcart_models
    where makeid = 45;   // returns models for makeid 45


select * from xcart_product_makes
    where makeid = 45 and modelid = 4;   // returns years for that make and model

因为大约有 2,979,081 项

某些品牌、型号年份组合会锁定系统并导致超过 15 秒的响应时间。复制此问题的一个示例是 访问 http://www.ultrarev.com 并从下拉框中选择此组合

雪佛兰 > 克尔维特 > 2009

该组合将锁定系统,但大多数其他人不会。

例如。这个组合将通过很少的响应时间

奥迪 > A3 > 2007

我希望这可以解决问题并帮助我们找到解决方案。

4

0 回答 0