码迷,mamicode.com
首页 >  
搜索关键字:postgresql unixtimestamp    ( 3132个结果
PostgreSQL复制集群概总
pg的复制、高可用、负载均衡相关集群,这儿写个概要备查。 pg有以下各种基于复制的集群方案,多数配过,有的当时没有整理。现在网上也有很多这些集群配置的文档,在这篇文档后找完备点的集中一下备档,不用每次用时到处查。 基于流复制的功能内置、触发器主从复制slony,基于sql复制的pgpool-II,其它如同步多主复制EDB MMR(这个也支持异步复制,玩过的时间有点长了,后面要找...
分类:数据库   时间:2014-09-06 12:27:03    阅读次数:209
centos6.4下面安装postgresql以及客户端远程连接
一、安装centos6.4服务器IP:192.168.220.131window7客户端IP:192.168.199.218在centos官网http://www.postgresql.org/download/linux/redhat/,通过如下指令安装postgresqlyum install ...
分类:数据库   时间:2014-09-06 10:56:03    阅读次数:644
正确使用PostgreSQL的数组类型
2014-03-03 10:10 佚名 开源中国编译?我要评论(0)?字号:T?|?T 在Heap中,我们依靠PostgreSQL支撑大多数后端繁重的任务,我们存储每个事件为一个hstore blob,我们为每个跟踪的用户维护一个已完成事件的Postg...
分类:数据库   时间:2014-09-04 19:35:20    阅读次数:722
postgresql常用命令
最近一直在学习Postgresql,下面是自己整理的Postgresql的常用命令 连接数据库, 默认的用户和数据库是postgres psql -U user -d dbname 切换数据库,相当于mysql的use dbname \c dbname 列举数据库,相当于mysql的...
分类:数据库   时间:2014-09-03 17:00:27    阅读次数:194
Entity Framework 6连接Postgresql、SQLite、LocalDB的注意事项和配置文件
PostgresqlPostgresql支持Code First的方式自动生成表,不过默认的模式是dbo而不是public,而且还可以自动生成自增主键。 SQLiteSQLite不支持Code First的方式自动生成表,所以可能会报找不到相应的ta...
分类:数据库   时间:2014-09-03 01:30:05    阅读次数:389
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!