摘要:
这一章介绍SQL常见的优化,一共30条 第一条 对查询优化,要尽量的避免全表扫描,首先应该考虑在where以及order by 涉及的列上建立索引。 第二条 应尽量避免在where子句中对字段的null进行判断,否则将会导致引擎放弃使用索引而进行全表扫描。例如 select id from t wh 阅读全文
摘要:
Centos 6.x版本 iptables 查看防火墙状态:service iptables status iptables:Firewall is not runing. 说明防火墙没有开启 开启防火墙:service iptables start 关闭防火墙:service iptables s 阅读全文