摘要:
https://blog.csdn.net/bingbeichen/article/details/69484281
阅读全文
posted @ 2018-06-22 12:02
1161588342
阅读(116)
推荐(0)
摘要:
https://www.cnblogs.com/mindwind/p/5231986.html
阅读全文
posted @ 2018-06-21 18:21
1161588342
阅读(90)
推荐(0)
摘要:
Spring Data 简化开发,支持Nosql和关系型数据库, DEMO https://github.com/easonstudy/boot-demo/tree/master/boot-spring-data
阅读全文
posted @ 2018-06-21 12:53
1161588342
阅读(106)
推荐(0)
摘要:
语法 https://segmentfault.com/a/1190000002680804 启动3台redis 6379,6380,6381 更改从机的masterauth密码 和requirepass密码一致. 下载的redis 有默认的sentinel.conf默认配置文件 touch sen
阅读全文
posted @ 2018-06-20 12:54
1161588342
阅读(224)
推荐(0)
摘要:
首先配置redis.conf文件如下6个位置 配置: 主机不动,配置从机 slaveof host port info replication查看主从信息 常用配置 一主二从 (主机能读写,从机只能读) 读写分离 薪火相传 反客为主 实际开发使用哨兵模式
阅读全文
posted @ 2018-06-19 22:27
1161588342
阅读(138)
推荐(0)
摘要:
redis支持事务吗? 答: Redis部分支持事务 采用了乐观锁机制Check And Set DISCARD 丢弃事务 WATCH 监控,相当于上锁 MULTI 开启事务 入队 EXEC 执行列队的命令 UNWATCH 用于取消WATCH 对KEY的监控
阅读全文
posted @ 2018-06-19 22:25
1161588342
阅读(87)
推荐(0)
摘要:
https://www.cnblogs.com/machanghai/p/5501838.html
阅读全文
posted @ 2018-06-19 12:42
1161588342
阅读(95)
推荐(0)
摘要:
rdb (默认打开)触发条件 In the example below the behaviour will be to save:# after 900 sec (15 min) if at least 1 key changed# after 300 sec (5 min) if at leas
阅读全文
posted @ 2018-06-19 12:00
1161588342
阅读(94)
推荐(0)
摘要:
http://www.cnblogs.com/MattCheng/p/8629448.html
阅读全文
posted @ 2018-06-16 12:05
1161588342
阅读(79)
推荐(0)
摘要:
#列名 select COLUMN_NAME from information_schema.columns where TABLE_SCHEMA='yunpiaobox_db' and table_name='t_announcement' #列名字符串 按,分隔 select GROUP_CONCAT(COLUMN_NAME separator ',') '逗号分隔', GROU...
阅读全文
posted @ 2018-06-14 10:06
1161588342
阅读(686)
推荐(0)