Just want to learn the postgres database in details from now on, try to write this blog to push myself working on it. This is the first lesson of my series for postgres, Subject is very simple, pre...
分类:
其他好文 时间:
2015-09-19 01:06:25
阅读次数:
251
今日看了这篇博文: https://medium.com/namely-labs/syncing-cache-with-postgres-7a4d78cec022 再一次感叹PG的强大。原来PG还可以通过pg_notify 这个方法,再加上触发器,去主动告诉外界数据的变化。 看了博文后...
分类:
数据库 时间:
2015-09-11 17:49:19
阅读次数:
343
brew?install?postgresql
mkdir?-p?/usr/local/var/postgres
initdb?/usr/local/var/postgres/data
mkdir?-p?/usr/local/var/log/postgres
pg_ctl?start?-D?/usr/local/var/postgres/data?-l?/usr/lo...
分类:
数据库 时间:
2015-09-10 16:12:29
阅读次数:
217
前言:项目中用到了postgreSQL中的earthdistance()函数功能计算地球上两点之间的距离,中文的资料太少了,我找到了一篇英文的、讲的很好的文章,特此翻译,希望能够帮助到以后用到earthdistance的同学。一、两种可用的选择当我们想用Postgres作为GEO函数使用时,我们通常...
分类:
其他好文 时间:
2015-09-09 16:36:21
阅读次数:
380
http://francs3.blog.163.com/www.cnblogs.com/stephen-liu7http://www.postgres.cn/index.php/homehttp://bbs.chinaunix.net/thread-1688208-1-1.html
分类:
其他好文 时间:
2015-09-09 13:23:27
阅读次数:
261
函数 version(),没有参数,作为例子简洁明了。如果需要参数,可以查阅 adt 下其他函数定义,也是非常简单的事情,这就是开源给我们带来的知识宝库; postgres=#?select?version();
?????????????...
分类:
数据库 时间:
2015-09-08 20:31:15
阅读次数:
195
一、 备用同步复制节点down了 postgres=#?select?*?from?pg_stat_replication?;
??pid??|?usesysid?|?usename??|?application_name?|?client_addr?|?client_hostname?|?client_port?|???...
分类:
数据库 时间:
2015-09-06 16:28:56
阅读次数:
197
转自: http://www.searchdatabase.com.cn/showcontent_61985.htm 最早的商业列式数据库是在1995年发布的Sybase IQ,但是一直到1999年左右才慢慢稳定到能够投入生产环境。现在的大多数分析型数据库都是在2003-2005年从Postgres...
分类:
数据库 时间:
2015-09-05 17:55:20
阅读次数:
213
oracle_fdw:http://francs3.blog.163.com/blog/static/4057672720122354546425/ postgres_fdw:http://www.postgresql.org/docs/9.4/static/postgres-fdw.html postgres_fdw用来访问外部的PostgreSQL服务器。 举...
分类:
数据库 时间:
2015-09-02 16:02:51
阅读次数:
313
象行中国2015 Postgres全国技术交流会: http://letspostgres.eventdove.com/
分类:
数据库 时间:
2015-08-28 11:20:28
阅读次数:
191