01 2016 档案

摘要:环境准备: 利用Docker启动2个实例 root@debian:~# docker run --name pgmaster -p 6000:5432 -e POSTGRES_PASSWORD=postgres -d postgres 745b5a1b221e3c4d14ae88da3d2cc104 阅读全文
posted @ 2016-01-27 21:37 cxy486 阅读(3856) 评论(1) 推荐(1)
摘要:参考:https://hub.docker.com/_/postgres/https://docs.docker.com/engine/installation/debian/利用Docker进行多实例的安装,相对于源码安装更简单,更方便,隔离性也更好 。安装Docker更新安装源sudo apt-... 阅读全文
posted @ 2016-01-19 09:14 cxy486 阅读(7164) 评论(0) 推荐(1)
摘要:参考:http://www.postgresql.org/docs/9.5/static/continuous-archiving.htmlhttp://www.mkyong.com/database/postgresql-point-in-time-recovery-incremental-bac... 阅读全文
posted @ 2016-01-18 19:30 cxy486 阅读(4018) 评论(0) 推荐(0)
摘要:参考:http://www.postgresql.org/docs/current/static/pgupgrade.html概述从低版本升级到 新版本,有几种可选的方案。一是使用pg_dump/pg_restore,该方法比较耗时,也即是停机时间比较长,特别是大数据量下,但是 稳定且易于操作。... 阅读全文
posted @ 2016-01-16 21:59 cxy486 阅读(1705) 评论(0) 推荐(0)
摘要:系统环境:Debian Jessie 8安装版本:9.5安装方式:apt-get参考:http://www.postgresql.org/download/linux/debian/安装步骤:设置apt源创建文件/etc/apt/sources.list.d/pgdg.list,并写入内容: deb... 阅读全文
posted @ 2016-01-16 14:14 cxy486 阅读(244) 评论(0) 推荐(0)