摘要:
参考的https://fykuan.hsnuer.net/blog/2015/01/23/debian-%E4%B8%8A%E5%AE%89%E8%A3%9D-mariadb-galera-cluster/ip列表192.168.1.119(主)192.168.1.115主从都装sudo apt-g... 阅读全文
摘要:
一种是erl启动的时候加参数doudizhu.config[ {doudizhu,[ {listen_port, 7000}, {node_caller_prefix,"ruby"}, {pgsql_ip,"127.0.0.1"... 阅读全文
摘要:
基础概念 关系数据库 表 行 列 Elasticsearch 索引 文档 字段 es docker run --rm -d --name elasticsearch --net isolated_network -p 9200:9200 -p 9300:9300 -e "discovery.type 阅读全文
摘要:
9以后,通过流复制直接做主:192.168.1.111从:192.168.1.222需要在postgres帐号下先配置ssh互信,双机都配置sh-keygen -t rsassh-copy-id -i ~/.ssh/id_rsa.pub postgres@192.168.1.222测试ssh 192... 阅读全文
摘要:
pgsql的同步模式是根据master上的日志来做的同步,有两种同步方式,参考http://www.chinaxing.org/articles/Postgres/2012/12/14/2012-12-14-hight-availability-in-postgresql.htmlpgsql的日志有... 阅读全文
摘要:
cassandra默认建keyspace的时候,是需要制定拓扑策略的,小数据就直接用单数据中心的simpleStrategy了,网上资料都没具体提如何配置多数据中心,这里简单贴一下cassandra.yaml里面修改endpoint_snitch具体的snitch方式有simpleSnitch默认的... 阅读全文
摘要:
参考http://zhaoyanblog.com/archives/307.html修改cassandra.yaml配置文件把默认的authenticator: AllowAllAuthenticator改成authenticator: PasswordAuthenticator如果你需要登陆进去以... 阅读全文
摘要:
分区器Partitioners在集群内,根据设置的副本数,决定数据如何分发,允许跨机房具体看http://teddymaef.github.io/learncassandra/cn/replication/partitioners.htmlhttp://blog.csdn.net/limingjia... 阅读全文
摘要:
cassandra是一个基于kv的nosql数据库,但是自己弄了一套类似slq的cql语法,用起来很有sql的感觉.对于用户,首先先看看有没有好的管理工具基于cql的查询工具自带的cqlsh,除了是cmd,我觉得没有什么缺点了别的gui工具,在cql方面,离这个cqlsh差远了集群管理工具自带的no... 阅读全文
摘要:
couchdb安装sudo apt-get install erlangsudo apt-get install libmozjs185-dev libicu-dev下载源码,编译安装启动以后进入管理界面http://localhost:5984/_utils数据的curd部分遵循restful模式... 阅读全文