会员
众包
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
风来了
CnBlogs
Home
New Post
Contact
Admin
Subscription
2017年8月15日
mysql 查询优化杂谈
一、把某些判断移动到应用层 我们需要在一张表里面删除某种类型的数据,大概的表结构类似这样: 假设我们需要删除类型为t2的数据,语句可能是这样delete from t where tp = "t2",这样没啥问题,但我们这张表有5亿数据 delete from t where tp = "t2" l
Read More
posted @ 2017-08-15 10:45 等风来。。
Views(130)
Comments(0)
Diggs(0)
Edit
公告
------------------------------------------------------------------------------------------------------------ --------------- 欢迎联系 x.guan.ling@gmail.com--------------- ------------------------------------------------------------------------------------------------------------