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

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

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

推荐内容

首页数据只能调用到3条,请大神帮忙看看是哪里的问题??急急急!!!
讨论:通知中的 model_type 这个字段和 aws_notification_data 的作用
安装的时候总是无法完成数据库这步
数据库怎么只获取指定字段的数据
打开首页提示这个错误是什么问题啊?在线等~~~
6月22升级后数据库里面为什么多了aws_question_keyword这个表单?
数据库里的哪个文件是私信发送记录?
user_action_history和user_action_history_data两个表突破100,000要多长时间?
reputation_topic这个表有什么作用?
数据库转移以后img_url这个字段地址要怎么改?