What is a high-performance data structure? To answer that question, we're used to applying normal considerations like Big-Oh complexity, and memory ov...
分类:
其他好文 时间:
2014-10-31 20:32:41
阅读次数:
153
The agent/master HTTP interface is REST-like, but varies from strictly RESTful design in several ways. The endpoints used by the agent are detailed in...
分类:
Web程序 时间:
2014-10-31 15:29:38
阅读次数:
207
"SHOW TABLE STATUS LIKE '表名'" 会获取到表的信息Array ( [0] => Array ( [Name] => uc_members [Engine] => MyISAM [Version] => 10 [Row_format] => Dynamic [Rows] =>...
分类:
其他好文 时间:
2014-10-31 13:21:33
阅读次数:
136
今天出现的问题:Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of in_array_two_di...
分类:
其他好文 时间:
2014-10-30 20:37:40
阅读次数:
174
优化步骤:1、查看SQL是否可以优化。2、查看索引是否可以优化。3、查看表结构是否可以优化。show table status from databases like 'tablename%'; // 查看表的容量、索引和数据文件的大小show processlist; // 查看当前链接情况。ex...
分类:
数据库 时间:
2014-10-30 20:36:04
阅读次数:
266
想要从日志数据中分析一下操作系统、浏览器、版本使用情况,但是hive中的函数不能直接解析useragent,于是可以写一个UDF来解析。useragent用于表示用户的当前操作系统,浏览器版本信息,形如:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 S...
分类:
其他好文 时间:
2014-10-30 17:01:50
阅读次数:
218
Environment: Exchange 2010 SP2 + Outlook 2010Adding delegate is actually not that easy i thought, at least not just one command to complete everything...
分类:
系统相关 时间:
2014-10-30 15:15:58
阅读次数:
439
1.% 匹配任意数目字符(包括零个字符) SELECT * FROM edo_user WHERE true_name LIKE '王%' 应用:关键字查询 WHERE u.true_name like '%{$conditon['keyword']}%' 2._ 匹配任...
分类:
其他好文 时间:
2014-10-30 11:34:17
阅读次数:
188
Sometimes you may get an error when doing apt-get update, just like this one:To resolve this problem, you just delete all files in /var/lib/apt/lists,...
分类:
其他好文 时间:
2014-10-30 01:42:19
阅读次数:
134
Atitit.软件按钮与仪表盘(13)--全文索引操作--db数据库子系统mssql2008
全文索引操作
4.全文索引和like语句比较 1
5.倒排索引 inverted index 1
2.SQL Server 2008全文检索 2
3.Lucene全文检索 3
一般情况,使用SQL Server中的全文索引,经过大体4个步骤: 4
Mssql2008的全文索引操...
分类:
数据库 时间:
2014-10-30 00:17:34
阅读次数:
304