随笔分类 -  NOSQL

redis
Mysql 多表查询详解
摘要:Reference: https://blog.csdn.net/jintao_ma/article/details/51260458 一.前言 二.示例 三.注意事项 一.前言 上篇讲到Mysql中关键字执行的顺序,只涉及了一张表;实际应用大部分情况下,查询语句都会涉及到多张表格 : 1.1 多表 阅读全文

posted @ 2018-06-06 01:06 alex.shu 阅读(279) 评论(0) 推荐(0) 编辑

从损坏的wt文件中恢复出WiredTiger集合
摘要:Reference: http://dev.guanghe.tv/2016/06/recovering-a-wiredtiger-collection-from-a-corrupt-wt-file.html 常在河边走,哪能不湿鞋。虽然说只要不使用kill -9杀进程,一般不会导致MongoDB出问 阅读全文

posted @ 2016-11-09 14:53 alex.shu 阅读(7804) 评论(0) 推荐(0) 编辑

Recovering a WiredTiger collection from a corrupt MongoDB installation
摘要:Reference: http://www.alexbevi.com/blog/2016/02/10/recovering-a-wiredtiger-collection-from-a-corrupt-mongodb-installation/ Recently at work, we experi 阅读全文

posted @ 2016-10-28 13:59 alex.shu 阅读(955) 评论(0) 推荐(0) 编辑

使用Python脚本操作MongoDB的教程
摘要:Reference: http://www.jb51.net/article/64225.htm 阅读全文

posted @ 2016-05-06 18:42 alex.shu 阅读(261) 评论(0) 推荐(0) 编辑

Mongodb 导出json 和csv 格式数据
摘要:导出到json: $ mongoexport.exe -d TestDB -c TestCollection -o ./test.json 导出到csv: If you want to output CSV, you have to specify the fields in the order y 阅读全文

posted @ 2016-04-04 23:20 alex.shu 阅读(6344) 评论(0) 推荐(0) 编辑

redis 配置(1)
摘要:redis配置密码1.通过配置文件进行配置yum方式安装的redis配置文件通常在/etc/redis.conf中,打开配置文件找到 [plain] view plain copy #requirepass foobared [plain] view plain copy [plain] view 阅读全文

posted @ 2016-04-04 23:04 alex.shu 阅读(195) 评论(0) 推荐(0) 编辑

Mongodb
摘要:MongoDB命令行操作 本文专门介绍MongoDB的命令行操作。其实,这些操作在MongoDB官网提供的Quick Reference上都有,但是英文的,为了方便,这里将其稍微整理下,方便查阅。 这里用来做测试的是远端(10.77.20.xx)的Mongo数据库。 1、登录和退出 mongo命令直 阅读全文

posted @ 2016-04-02 23:11 alex.shu 阅读(202) 评论(0) 推荐(0) 编辑

Redis client Python usage
摘要:http://www.yiibai.com/redis/redis_sorted_sets.htmlmport redisr_server = redis.Redis('localhost') #this line creates a new Redis object and ... 阅读全文

posted @ 2016-01-12 21:59 alex.shu 阅读(728) 评论(0) 推荐(0) 编辑

Redis操作命令总结
摘要:Part I 一、key pattern 查询相应的key (1)redis允许模糊查询key 有3个通配符 *、?、[] (2)randomkey:返回随机key (3)type key:返回key存储的类型 (4)exists key:判断某个key是否存在 (5)del key:删除key ( 阅读全文

posted @ 2015-12-14 23:15 alex.shu 阅读(237) 评论(0) 推荐(0) 编辑

Redis介绍
摘要:Reference:http://langgufu.iteye.com/blog/1434408一 Redis介绍Redis是一个开源的使用ANSI C语言编写、支持网络、可基于内存亦可持久化的日志型、Key-Value数据库,并提供多种语言的API。从2010年3月15日起,Redis的开发工作由... 阅读全文

posted @ 2015-12-14 22:50 alex.shu 阅读(193) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示