问题描述:我们要访问的表是一个非常大的表,四千万条记录,id是主键,program_id上建了索引。执行一条SQL:select * from program_access_log where program_id between 1 and 4000这条SQL非常慢。我们原以为处理记录太多的原因,...
下午上班,惊闻我的dedecms的网站出问题了,访问一看,果然全屏报错,检查mysql日志,错误信息为:Table '.dedecmsv4dede_archives' is marked as crashed and should be repaired提示说cms的文章表dede_archives...