会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
iDEAAM 爱地爱木
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
5
6
7
8
9
10
11
12
13
···
57
下一页
2017年2月27日
怎么运行 ASP.NET Core控制台程序
摘要: aspnet test.dll
阅读全文
posted @ 2017-02-27 14:26 iDEAAM
阅读(3107)
评论(1)
推荐(0)
2017年2月16日
MongoDB MapReduce 的示例。
摘要: // JavaScript source code db.runCommand({ mapreduce: "page", map: function Map() { emit( this.title, // how to group { name: this.name } // associated da...
阅读全文
posted @ 2017-02-16 10:56 iDEAAM
阅读(318)
评论(0)
推荐(0)
logstash 如何处理 mongodb 导出来的 _id value数据。 how to custom fields of logstash by mongo mapreduce exported data.(example format: {_id:"xxx"} , value:{})
摘要: input { file { path => "c:\aa.json" start_position => "beginning" #sincedb_path => "NUL" codec => json { charset => "UTF-8" } ...
阅读全文
posted @ 2017-02-16 10:50 iDEAAM
阅读(663)
评论(0)
推荐(0)
2017年2月10日
groupby elasticsearch
摘要: GET usertag/usertag/_search { "query": { "match": { "tagname": "春节" } }, "size": 0, "aggs": { "myname1": { "terms": { "...
阅读全文
posted @ 2017-02-10 18:32 iDEAAM
阅读(366)
评论(0)
推荐(0)
2017年1月18日
Mongo如何导出 CSV文件
摘要: 其中 /fieldFile d:\\fieldFile.txt 是要导出的字段。 fieldFile.txt的内容如下:
阅读全文
posted @ 2017-01-18 16:53 iDEAAM
阅读(1249)
评论(0)
推荐(0)
2017年1月17日
Mysql 导入CSV数据 语句 导入时出现乱码的解决方案
摘要: 1. 登陆mysql 2. use testdb 3. 执行导入语句 出现乱码的解决办法:
阅读全文
posted @ 2017-01-17 20:09 iDEAAM
阅读(4575)
评论(0)
推荐(0)
有用的 Mongo命令行 db.currentOp() db.collection.find().explain() - 摘自网络
摘要: 在Heyzap 和 Bugsnag 我已经使用MongoDB超过一年了,我发现它是一个非常强大的数据库。和其他的数据库一样,它有一些缺陷,但是这里有一些东西我希望有人可以早一点告诉我的。 即使建立索引选择性计数还是很缓慢 举个例子,当对用户feed进行分页时,你可能会看到类似的东西, 在MongoD
阅读全文
posted @ 2017-01-17 14:46 iDEAAM
阅读(1632)
评论(0)
推荐(0)
2017年1月15日
MySql Host is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts' 解决方法 -摘自网络
摘要: 错误:Host is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts' 原因: 同一个ip在短时间内产生太多(超过mysql数据库max_connection_errors的最大值)中断的
阅读全文
posted @ 2017-01-15 15:24 iDEAAM
阅读(291)
评论(0)
推荐(0)
2017年1月13日
MongoDB索引相关文章-摘自网络
摘要: 索引类型 虽然MongoDB的索引在存储结构上都是一样的,但是根据不同的应用层需求,还是分成了唯一索引(unique)、稀疏索引(sparse)、多值索引(multikey)等几种类型。 唯一索引 唯一索引在创建时加上unique:true 的选项即可,创建命令如下: 上面的唯一索引创建后,如果in
阅读全文
posted @ 2017-01-13 16:52 iDEAAM
阅读(195)
评论(0)
推荐(0)
2017年1月11日
批量更新MongoDB的列。
摘要: db.User.find().forEach( function(item){ db.User.update({"_id":item._id},{"$set":{"LastUpdate":item.CreateAt}},false,true) } )
阅读全文
posted @ 2017-01-11 14:45 iDEAAM
阅读(7903)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
13
···
57
下一页
公告