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

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

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数据表的含义问题?
官网数据库配置文件在那目录下
WeCenter 支持 MySQLi 与 PDO_MYSQL 两种数据库模块, 您的服务器两种都不支持
请问那个文件是处理topic?
数据库里的哪个文件是私信发送记录?
user_action_history_data这个表是干什么的?
posts_index数据表是存储什么数据的?对应的posts模型又是实现什么功能呢?
数据库信息写在哪个文件里
搬家到阿里云,数据库导入了显示出错
user_action_history表中的associate_id 和 associate_attached是什么意思?