<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Csharpppp的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/Csharpppp</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; Csharpppp]]></copyright><item><title><![CDATA[Java 字符串截取, 中文英文截取相同长途]]></title><link>https://blog.csdn.net/Csharpppp/article/details/10513015</link><guid>https://blog.csdn.net/Csharpppp/article/details/10513015</guid><author>Csharpppp</author><pubDate>Thu, 29 Aug 2013 15:44:16 +0800</pubDate><description><![CDATA[如果用substring() 来截取的话，中文和英文所占字符长度 不一样，如果在页面上显示的话，显示出来的效果，不是我们想要的


解决方法1]]></description><category></category></item><item><title><![CDATA[大数据量时Mysql的优化要点]]></title><link>https://blog.csdn.net/Csharpppp/article/details/8933673</link><guid>https://blog.csdn.net/Csharpppp/article/details/8933673</guid><author>Csharpppp</author><pubDate>Thu, 16 May 2013 10:03:21 +0800</pubDate><description><![CDATA[1、对查询进行优化、应尽量避免全表扫描、首先应考虑在 where 及 order by 涉及的列上建立索引。


2、应尽量避免在 where 子句中对字段进行 null 值判断、否则将导致引擎放弃使用索引而进行全表扫描、如：


select id from t where num is null;
--可以在num上设置默认值0、确保表中num列没有null值、然后这样查询：]]></description><category></category></item></channel></rss>