该问题已被锁定!
2
关注
4649
浏览

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

AI智能回复搜索中,请稍后...

查看全部 1 个回答

fanta 超级管理员 用户来自于: 安徽省合肥市
2018-08-13 09:13
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);

关于作者

Draycen 注册会员

这家伙很懒,还没有设置简介

问题动态

发布时间
2018-08-13 08:47
更新时间
2018-08-13 09:13
关注人数
2 人关注

推荐内容

突然出现There appears to be an error:
可以两个网站共用一个数据库么
数据库错误,帮忙解决下
wecenter 现在支持(兼容)开源数据库MariaDB吗?
reputation_topic这个表有什么作用?
空间搬移以前的数据有办法弄进来吗
phpmyadmin里数据库报错 (已解决)
在aliyun上面的程序报错了,什么也木有动啊
为啥2.2.3版本的没有aws_question_keyword这张表
MySQLi 与 PDO_MYSQL需要同时支持吗?