
PostgreSQL
文章平均质量分 74
wh62592855
这个作者很懒,什么都没留下…
展开
-
多版本并发控制:PostgreSQL vs InnoDB
多版本并发控制技术被很多数据库或存储引擎采用,如Oracle,MS SQL Server 2005+, PostgreSQL, Firebird, InnoDB, Falcon, PBXT, Maria等等。新的数据库存储引擎,几乎毫无例外的使用多版本而不是单版本加锁的方法实现并发控制,可以说多版本已经成为未来的发展趋势。虽然都是多版本,但不同的系统的实现却有很大不同。在开源数据库领域转载 2012-08-04 10:20:29 · 1209 阅读 · 1 评论 -
Use pg_test_fsync test which wal_sync_method is fastest in your filesystem
Use pg_test_fsync test which wal_sync_method is fastest in your filesystem转载 2011-05-25 08:40:00 · 1742 阅读 · 0 评论 -
Dump data from PostgreSQL's table which have few bad blocks
PostgreSQL bad blocks转载 2011-05-24 17:06:00 · 1258 阅读 · 0 评论 -
postgresql with 递归查询
postgresql with RECURSIVE 递归查询转载 2011-05-25 08:37:00 · 8415 阅读 · 0 评论 -
postgresql中的toast表
postgresql toast转载 2011-04-07 20:18:00 · 4801 阅读 · 0 评论 -
postgresql中的wal和checkpoint
postgresql wal checkpoint 日志 检查点转载 2011-04-07 12:35:00 · 2858 阅读 · 0 评论 -
Compare PostgreSQL and Oracle dead lock detect and transaction
Compare PostgreSQL and Oracle dead lock detect and transaction转载 2011-05-25 07:31:00 · 1539 阅读 · 0 评论 -
Compare Oracle's & PostgreSQL's Partition Table write performance
Compare Oracle's & PostgreSQL's Partition Table write performance转载 2011-05-24 16:39:00 · 1126 阅读 · 0 评论 -
Compare dblink module Within One Transaction in PostgreSQL,EnterpriseDB and Oracle
Compare dblink module Within One Transaction in PostgreSQL,EnterpriseDB and Oracle转载 2011-05-22 15:39:00 · 1914 阅读 · 0 评论 -
PostgreSQL's read only transaction mode
PostgreSQL's read only transaction mode转载 2011-05-22 20:59:00 · 13658 阅读 · 0 评论 -
how many objects can be locked per transaction
how many objects can be locked per transaction转载 2011-05-22 20:06:00 · 1106 阅读 · 0 评论 -
PostgreSQL nonremovable row versions message
PostgreSQL nonremovable row versions message转载 2011-05-21 19:35:00 · 1387 阅读 · 0 评论 -
postgresql中的Background Writer
postgresql Background Writer转载 2011-04-07 17:27:00 · 1448 阅读 · 0 评论 -
PostgreSQL备份与恢复示例
PostgreSQL备份与恢复示例转载 2011-04-07 22:26:00 · 1580 阅读 · 0 评论 -
POSTGRESQL按拼音排序
1、通过使用一个开源的工具pgpinyinsort来实现,使用很简单,参看下README就OK了http://code.google.com/p/pgpinyinsort/ 2、首选创建一个函数,把text转换为byteacreate or replace function text2bytea(text) returns bytea as$$ return $原创 2011-06-03 14:34:00 · 3475 阅读 · 0 评论 -
PostgreSQL与Innodb并发控制大比拼
多版本并发控制技术已经成为未来数据库的发展趋势。目前,多版本并发控制被很多数据库或存储引擎采用,如Oracle,MS SQL Server 2005+, PostgreSQL, Firebird, InnoDB, Falcon, PBXT, Maria等等。新的数据库存储引擎,几转载 2011-08-28 00:19:19 · 2252 阅读 · 0 评论 -
postgresql Advisory Locks
新加入的Advisory Locks似乎是个不错的特性 http://www.postgresql.org/docs/8.2/interactive/explicit-locking.html#ADVISORY-LOCKShttp://www.postgresql.o转载 2011-03-23 18:10:00 · 3233 阅读 · 0 评论 -
Ubuntu下PostgreSQL数据库集群(PL/Proxy)配置方法
原理只是一个概念,可操作性不强,看了N多的半原理半细节的相关文章,却总是被各种各样的细节困惑住。为了自己下次能够快速的使用PostgreSQL,以流水帐的方式记录配置PostgreSQL集群的步骤,有些结论是自己猜想的或者引用的,以后发现错误再修正吧。顺便发些感想(跳过下面一转载 2011-08-18 15:47:05 · 3487 阅读 · 0 评论 -
postgresql explain query中的materialize
今天在GREENPLUM的执行计划中看到了materialize,不知道这个步骤是做什么的,查了下文档,没有相关解释。没事,GREENPLUM不行还有POSTGRESQL呢,GOOGLE了一把,找到了答案。Q:What does materialize do? I'm j原创 2011-08-04 16:13:37 · 5055 阅读 · 0 评论 -
postgresql中的pg_log, pg_xlog, and pg_clog
postgresql, pg_log, pg_xlog, and pg_clog转载 2011-05-04 14:11:00 · 3438 阅读 · 0 评论 -
postgresql中的checkpoint_completion_target
postgresql checkpoint_completion_target转载 2011-05-02 19:01:00 · 2026 阅读 · 0 评论 -
bucardo 安装配置
本文转自http://blog.osdba.net/?post=52还没来得及看,先转了,有空看看 ===============安装bucardo===========================bucardo是一个perl脚本,需要一些perl的包,先安装这些包:Test-Simple-0.98.tar.gzExtUtils-MakeMaker-6.56.tar.g转载 2011-06-22 11:03:00 · 4671 阅读 · 0 评论 -
using pgfincore to pre-cache frequency data
数据库启动的时候,数据是冷却的,在执行SQL时需要到磁盘搜索BLOCK并载入到BUFFER,这个时候的SQL响应速度比命中情况下的响应速度一般要慢10倍以上,这种一般被称为未命中的查询。如果数据库启动的时候刚好遇到SQL执行高峰,可能应为SQL响应速度过慢导致应用被堵塞死。造成长时间的应用堵塞,恶性循环。那么怎么更好的解决这种类似的情况,今天刚好看到了PostgreSQL上的一个很好的转载 2011-06-16 10:05:00 · 2216 阅读 · 0 评论 -
POSTGRESQL HOT(HEAP-ONLY TUPLES)
POSTGRESQL HOT(HEAP-ONLY TUPLES)转载 2011-04-22 11:18:00 · 2456 阅读 · 0 评论 -
PostgreSQL9.0新特性介绍: alter default privileges,解决只读用户的问题
PostgreSQL9.0新特性介绍: alter default privileges,解决只读用户的问题转载 2011-04-21 08:12:00 · 3523 阅读 · 0 评论 -
PostgreSQL日志分析
PostgreSQL log转载 2011-04-21 16:14:00 · 9590 阅读 · 0 评论 -
postgresql db_user_namespace parameter
postgresql db_user_namespace原创 2011-05-22 20:45:00 · 1816 阅读 · 0 评论 -
how many dml tuples will trigger auto vacuum or analyze
how many dml tuples will trigger auto vacuum or analyze转载 2011-05-22 20:16:00 · 1077 阅读 · 0 评论 -
PostgreSQL partition table's arithmetic tuning example
PostgreSQL partition table's arithmetic tuning example转载 2011-05-22 19:59:00 · 1385 阅读 · 0 评论 -
PostgreSQL外部表
PostgreSQL外部表转载 2011-05-09 10:43:00 · 2799 阅读 · 0 评论 -
postgresql 工具 pg_reorg
postgresql 工具 pg_reorg转载 2011-02-20 16:31:00 · 2057 阅读 · 0 评论 -
postgresql中的pg_cancel_backend
postgresql pg_cancel_backend原创 2011-02-20 15:53:00 · 4965 阅读 · 0 评论 -
使用PostgreSQL下的statspack
PostgreSQL statspack转载 2011-02-20 15:35:00 · 1527 阅读 · 0 评论 -
postgresql 小技巧
postgresql 小技巧转载 2011-01-25 23:26:00 · 2268 阅读 · 0 评论 -
postgresql ERROR: current transaction is aborted, commands ignored until end of transaction block
postgresql ERROR: current transaction is aborted, commands ignored until end of transaction block转载 2011-01-25 23:25:00 · 6922 阅读 · 0 评论 -
postgresql 创建表分区
Normal 0 7.8 磅 0 2 false false false EN-US ZH-CN X-NONE转载 2010-04-26 16:19:00 · 1297 阅读 · 0 评论 -
PostgreSQL和Oracle用法上的一些区别
Normal 0 7.8 磅 0 2 false false false EN-US ZH-CN X-NONE转载 2010-04-22 13:43:00 · 5759 阅读 · 0 评论 -
PostgreSQL常用数据类型
表8-2. 数值类型名字存储空间描述范围smallint2 字节小范围整数-32768 到 +32767integer4 字节常用的整数-2147483648 到 +2147483647bigint原创 2010-04-22 17:53:00 · 5505 阅读 · 1 评论 -
psql常用命令大全
Normal 0 7.8 磅 0 2 false false false EN-US ZH-CN X-NONE转载 2010-04-22 14:55:00 · 6336 阅读 · 0 评论 -
postgresql数据库常用命令
psqlNamepsql -- PostgreSQL 交互终端Synopsispsql [option...] [dbname [username]]描述psql 是一个以终端为基础的 PostgreSQL 前端。它允许你交互地键入查询,把它们发出给 PostgreSQL, 然后看看查询的结果。另外,输入可以来自一个文件。还有, 它提供了一些元命令和多种类 shell转载 2010-04-22 11:12:00 · 4192 阅读 · 1 评论