码迷,mamicode.com
首页 >  
搜索关键字:pg    ( 888个结果
gem安装pg遇到问题
gem安装pg遇到问题 安装pg遇到问题 #gem  install   pg 报错信息为: Building native extensions.  This could take a while... ERROR:  Error installing pg:     ERROR: Failed to build gem native extension.   ...
分类:其他好文   时间:2014-09-16 10:51:40    阅读次数:226
安装PG3.0详细教程附图
从公司要求开始着手调研PG到今天上午都还不知道如何安装PG..囧的离谱..看了半天的PG官网就这个网页我瞅了半天。。对你没看错 半天 少说有10分钟。。原谅我的英文不是非常好。。但是我知道什么意思。。第一让我安装node.js。这家伙名气很大。。很早就听说过。。好吧 下载下来安装。安装好了之后,我就...
分类:其他好文   时间:2014-09-12 13:18:53    阅读次数:180
PostgreSQL复制集群概总
pg的复制、高可用、负载均衡相关集群,这儿写个概要备查。 pg有以下各种基于复制的集群方案,多数配过,有的当时没有整理。现在网上也有很多这些集群配置的文档,在这篇文档后找完备点的集中一下备档,不用每次用时到处查。 基于流复制的功能内置、触发器主从复制slony,基于sql复制的pgpool-II,其它如同步多主复制EDB MMR(这个也支持异步复制,玩过的时间有点长了,后面要找...
分类:数据库   时间:2014-09-06 12:27:03    阅读次数:209
PostgreSQL对象重组工具【pg_reorg】
?? Description: pg_reorg is an utility program toreorganize tables in PostgreSQL databases. Unlike clusterdb, it doesn't blockany selections and updates during reorganization. You can choose o...
分类:数据库   时间:2014-09-01 17:47:53    阅读次数:402
PostgreSQL data同步工具【pg_rewind】
pg_rewind is a tool for synchronizing a PostgreSQL data directory with another PostgreSQL data directory that was forked from the first one. The result is equivalent to rsyncing the first data directory with the second one. The advantage of pg_rewind over ...
分类:数据库   时间:2014-09-01 17:44:53    阅读次数:495
PostgreSQL数据库备份和恢复(脚本方式)
数据库备份:D:\Program Files\PostgreSQL\9.2\bin> pg_dump -h localhost -U postgres -C --column-inserts -f E:/dbname.sqldbname数据库恢复:D:\Program Files\PostgreSQ...
分类:数据库   时间:2014-08-29 15:53:58    阅读次数:262
配置postgreSQL允许外部连接
配置远 程连接PostgreSQL数据库的步骤很简单,只需要修改 %PostgreSQL_path%/data 目录下的 pg_hba.conf 和 postgresql.conf。一、修改pg_hba.conf:配置对数据库的访问权限添加host all all 192.168.80.1/24 ....
分类:数据库   时间:2014-08-28 16:54:00    阅读次数:453
fedora 20中安装postgresql数据库
在fedora 20中在我2014-8-27日安装pg时,pg版本是9.3.5.1我不知是会由pg开发组自动更新还是别的,但安装后一般是最新的版本了。 安装: # yum install postgresql # yum install postgresql-server # yum install...
分类:数据库   时间:2014-08-28 09:52:59    阅读次数:273
Postgresql数据库autovacuum进程启动失败
最近线上Postgresql数据库中其中几台服务器更新时变得非常慢,经过排查和对比,发现时因为autovacuum未启动导致的。1、使用表pg_stat_all_tables查看autovacuum执行记录selectschemaname,relname,last_autovacuum,last_autoanalyzefrompg_stat_all_tables;如上图,发现所有的对..
分类:数据库   时间:2014-08-25 02:22:33    阅读次数:263
shell脚本备份postgresql数据库个人笔记
[root@newfstmp]#vi2.sh#!/bin/bashBACKUP="/home/bak"#RSYCN="/usr/bin/rsync"#OPTIONS="-rlHpogDtS--delete"DATE=`date+%Y%m%d`LOG_FILE="/var/log/backup/backupdb_$DATE.log"SERVER="192.168.2.31"#1.postgresqlPG_DUMP="/usr/bin/pg_dump"echo"$PG_DUMP-Upostgres-h$SERVE..
分类:数据库   时间:2014-08-22 18:03:09    阅读次数:809
888条   上一页 1 ... 83 84 85 86 87 ... 89 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!