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

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

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

推荐内容

不同的域名数据库恢复问题
notification表设计的用意?
数据库转移以后img_url这个字段地址要怎么改?
数据库错误,帮忙解决下
WeCenter 支持 SQLite 么?
Mysqli和Pdo-mysql都装了,还提示错误,。
数据库中没有aws_session这张表 安装了好几次了
如何查看【aws_】修改后的前缀
user_action_history和user_action_history_data两个表突破100,000要多长时间?
咱们系统,数据库表,之间的关系,有没有人全面的研究过呢?