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

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

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

推荐内容

localhost上传到服务器,已经成功导入数据库,但首页内容没有数据
为什么备份了数据表重装了wc后导入user和问题库不能正常显示?
请问后台数据库修改头像应该操作那几个表,谢谢,跪求啊
mysql数据库数值为null
一百多M的数据库 如何优化与备份
phpmyadmin导出 导入出现1050错误,怎么办?localhost
如何查看【aws_】修改后的前缀
数据库备份错误,请关注
讨论:通知中的 model_type 这个字段和 aws_notification_data 的作用
6月22升级后数据库里面为什么多了aws_question_keyword这个表单?