码迷,mamicode.com
首页 >  
搜索关键字:postgresql 提升主库的操作    ( 3125个结果
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 - Pattern Matching
There are three separate approaches to pattern matching provided by?PostgreSQL: the traditional?SQL?LIKE?operator, the more recent?SIMILAR TO?operator (added in SQL:1999), and?POSIX-style r...
分类:数据库   时间:2014-09-01 12:44:23    阅读次数:380
Postgresql LIMIT and OFFSET
LIMIT?and?OFFSET?allow you to retrieve just a portion of the rows that are generated by the rest of the query: SELECTselect_listFROMtable_expression[LIMIT {number| ALL }] [OFFSETnumber] If a lim...
分类:数据库   时间:2014-08-29 16:26:58    阅读次数:387
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
Sqlite嵌入式数据库的安装、建库、建表、更新表结构以及数据导入导出等等详细过程记录
简介:   SQLite 是实现了SQL 92标准的一个大子集的嵌入式数据库.其以在一个库中组合了数据库引擎和接口,能将所有数据存储于单个文件中而著名.我觉得SQLite的功能一定程度上居于MySQL 和PostgreSQL之间.尽管如此,在性能上面,SQLite常常快2-3倍 (甚至更多).这利益于其高度调整了的内部架构,因为它除去了服务器端到客户端和客户端到服务器端的通信。    而令人印象深...
分类:数据库   时间:2014-08-28 09:41:39    阅读次数:394
postgreSql基础命令及linux下postgreSql命令
转自:http://blog.csdn.net/qpengyanting123/article/details/7497556(1)用户实用程序: createdb 创建一个新的PostgreSQL的数据库(和SQL语句:CREATE DATABASE 相同) createuser 创建一个新的Po...
分类:数据库   时间:2014-08-26 16:54:36    阅读次数:277
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!