[注意],当前的测试环境仅仅是一台服务器.部署测试的tungten版本是2.1.2-xxxx;Requirements:mysql配置To change the Tungsten user to use the new password format complete the following s...
分类:
数据库 时间:
2014-06-29 06:37:28
阅读次数:
394
linux环境显示所有文件(包括隐藏文件)ll -a有两个文件可以提供这种“进入系统时自动设置”的功能,一个是 /etc/bashrc,另一个是 ~/.bashrc。其中/etc/bashrc是被每个用户执行的,而~/.bashrc只被当前用户执行。所以/etc/bashrc只有root用 户能更改...
分类:
数据库 时间:
2014-06-29 00:20:23
阅读次数:
305
对于kafka的consumer接口,提供两种版本, high-level 一种high-level版本,比较简单不用关心offset, 会自动的读zookeeper中该Consumer group的last offset 参考,https://cwiki.apache.org/confluence...
分类:
其他好文 时间:
2014-06-28 22:39:15
阅读次数:
1224
首先给出安装方法。 1.从http://www.mongodb.org 下载对应平台的安装包,这里是mongodb-win32-i386-2.2.1.zip 2.将压缩文件中的bin解压到安装目录下,这里是:d:\mongodb\bin 3.打开cmd命令行,进入目录d:\mongodb ...
分类:
数据库 时间:
2014-06-28 22:08:24
阅读次数:
390
mongodb创建数据库表语句db.createCollection("CollectionName or tableName");db.createCollection("ruiy",{id:1});db.tableName.insert(id:1);mongodb数据库数据删除mongodb修改...
分类:
数据库 时间:
2014-06-28 21:56:39
阅读次数:
278
Group By/Having操作符适用场景:分组数据,为我们查找数据缩小 范围。说明:分配并返回对传入参数进行分组操作后的可枚举对象。分 组;延迟1.简单形式:var q = from p in db.Products group p by p.CategoryID into g selec...
分类:
数据库 时间:
2014-06-28 21:56:01
阅读次数:
225
Due to IE10 published, I’ll conclude the methods that how to add trust sites in to IE of the version before IE10. General, there are three methods to ...
分类:
其他好文 时间:
2014-06-28 21:33:51
阅读次数:
1028
1.在Action中定义,context用于传递搜索条件和分组条件,在搜索视图中默认显示: 示例代码: Leaves Summary hr.holidays form tree,form {'search_default_group_type': 1, ...
分类:
其他好文 时间:
2014-06-18 10:22:52
阅读次数:
333
在使用mysql时,有时需要查询出某个字段不重复的记录,虽然mysql提供 有distinct这个关键字来过滤掉多余的重复记录只保留一条,但往往只用它来返回不重复记录的条数,而不是用它来返回不重记录的所有值。其原因是 distinct只能返回它的目标字段,而无法返回其它字段,这个问题让我困扰了很久,...
分类:
数据库 时间:
2014-06-18 09:28:11
阅读次数:
251
如何处理嵌套异步回调的dispatch_group场景...
分类:
其他好文 时间:
2014-06-18 07:01:45
阅读次数:
215