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

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

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 人关注

推荐内容

代码传到正式网站上页面报错,怎么解决?问题如图
数据库存放的位置在哪里啊!
数据库怎么优化
安装的时候总是无法完成数据库这步
数据库在哪?如何重新搭建数据库?
user_action_history_data这个表是干什么的?
数据库连接失败, 错误信息: Access denied for user ' bdm13515786'@'123.56.129.52' (using password: YES)
什么都没改怎么首页成这样了...
localhost上传到服务器,已经成功导入数据库,但首页内容没有数据
网站经常性的报错(_sessions数据表崩溃),是什么原因?