 |
|
changs1986
V2EX member #83959, joined on 2014-11-26 21:14:50 +08:00
|
changs1986's recent replies
看 explain, 走的 domain_id 索引, domain_id 区分度可能不太好. 建议调整下 time 的索引, 调整成 index(time, domain_id, company_id), 然后 where 改成 where time BETWEEN '2021-12-01 00:00:00' AND '2021-12-26 23:59:59' and domain_id in (xx,xx) and company_id=1
为什么用 NVIDIA 不用手机,楼主你有考虑过大数据量的数据快速处理能力吗?
php ext 配置 extension_dir = "ext"
----------------------------------------
很明显不对,应该配成 no-debug-non-zts-20131226 的那个目录的路径
504 是 fpm 进程没响应了吧,看下 fpm 的日志和数据库 slow-log