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

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

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

为什么被折叠? 0 个回复被折叠
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 人关注

相关问题

“创建较久或已有较多讨论的问题限制公共编辑”避免好内容被恶意删除修改。
我想问一下,index.php是不是不能删除
session必须保持到数据库或文件中,能不保存吗?
现在wecenter的数据库密码方面有没有改进
升级成功后的数据库与新安装的3.0beta3数据库有较多区别
请问文章编辑里面不能删除附件的bug什么时候能修复?
报告官方页面一个BUG,草稿有提示,但是点击之后无法显示。
站外调用数据
BUG,beta5后台无法删除用户
安装之后首页白屏怎么回事