从数据库删除数据之后,前台页面垃圾数据怎么处理?

从数据库删除数据之后,前台页面垃圾数据怎么处理? 
已邀请:

fanta - 有问题请加qq270294661 建站请保留WeCenter版权信息和链接

赞同来自: jiangck

aws_posts_index 删除这个表中的废数据
delete from aws_posts_index where post_type = 'article' and post_id not in (select id from aws_article);
delete from aws_posts_index where post_type = 'question' and post_id not in (select question_id from aws_question);

该问题目前已经被锁定, 无法添加新回复