上一页 1 2 3 4 5 6 7 ··· 13 下一页
摘要: Postgres-XC:http://blog.csdn.net/huguangshanse00/article/details/9636621http://blog.163.com/digoal@126/blog/static/1638770402013332335933/http://blog.... 阅读全文
posted @ 2014-05-30 10:34 bielidefeng 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 全文检索:http://www.postgresql.org/docs/9.3/interactive/textsearch.htmlpostgres 切词:http://blog.163.com/digoal@126/blog/static/163877040201422410175698/ts_... 阅读全文
posted @ 2014-05-30 10:34 bielidefeng 阅读(189) 评论(0) 推荐(0) 编辑
摘要: update/delete .. order by .. limit ..:update aa set b='mmmmmmmmbbbbbbbb' where a>10 order by a limit 1; 会报错:因为update 不能和order by 或limit 联合使用。如果需要使用则需要... 阅读全文
posted @ 2014-05-30 10:34 bielidefeng 阅读(199) 评论(0) 推荐(0) 编辑
摘要: alter一个表的列的时候会出现rewrites表:比如添加一个有默认值的新列会rewrites重写表(即先vacuum full此表):http://my.oschina.net/Kenyon/blog/99757ctid来查看有默认值的新列:digoal=# select ctid,* from... 阅读全文
posted @ 2014-05-30 10:34 bielidefeng 阅读(177) 评论(0) 推荐(0) 编辑
摘要: http://www.postgresql.org/docs/9.3/static/functions-comparisons.html#AEN18448Row-wise Comparison:row的定义:http://www.postgresql.org/docs/9.3/static/sql-... 阅读全文
posted @ 2014-05-30 10:34 bielidefeng 阅读(186) 评论(0) 推荐(0) 编辑
摘要: http://my.oschina.net/Kenyon/blog/108850update tuple时会新增一个tuple然后将其隐藏。delete tuple时会隐藏tuple。postgres=# truncate table mmpostgres-# ;TRUNCATE TABLEpost... 阅读全文
posted @ 2014-05-30 10:33 bielidefeng 阅读(193) 评论(0) 推荐(0) 编辑
摘要: bgwriter:http://book.51cto.com/art/201201/313208.htmautovacuum:http://book.51cto.com/art/201201/313211.htmhttp://www.postgresql.org/docs/9.2/static/ro... 阅读全文
posted @ 2014-05-30 10:33 bielidefeng 阅读(80) 评论(0) 推荐(0) 编辑
摘要: http://blog.163.com/digoal@126/blog/static/1638770402013527920474/create extension pgstattuple;create extension pg_freespacemap;查看表文件路径 select * from ... 阅读全文
posted @ 2014-05-30 10:33 bielidefeng 阅读(87) 评论(0) 推荐(0) 编辑
摘要: page:是对block的描述,该如何存储8K数据。以下是Page的结构:http://blog.chinaunix.net/uid-24774106-id-3764606.html查看page:http://www.postgresql.org/docs/9.2/static/pageinspec... 阅读全文
posted @ 2014-05-30 10:33 bielidefeng 阅读(78) 评论(0) 推荐(0) 编辑
摘要: checkpoint参数描述:checkpoint的时候会将所有的脏数据都flush到磁盘上checkpoint_timeout:两次checkpoint间隔时长checkpoint_segments:两次checkpoint间隔最大的xlog日志文件数量(指的是pg_xlog下的文件:000000... 阅读全文
posted @ 2014-05-30 10:33 bielidefeng 阅读(561) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 13 下一页