您好,欢迎访问一九零五行业门户网

一些非常有用的 PostgreSQL 扩展

我亲爱的朋友们,今天让我们来讨论下 postgresql 以及该数据库最有用的一些扩展。
我亲爱的朋友们,今天让我们来讨论下 postgresql 以及该数据库最有用的一些扩展。
postgresql 是一个关系型数据库管理系统,主要特点:
数据库支持几乎无限的大小; 强大而且可靠的事务复制机制 内建的可扩展编程语言 继承 可通过一些扩展组件进行功能扩展 今天我们主要介绍最后一个特性,下面让我们来看一些 postgresql 的扩展。
postgis
postgis在对象关系型数据库postgresql上增加了存储管理空间数据的能力,相当于oracle的spatial部分。postgis最大的特点是符合并且实现了opengis的一些规范,是最著名的开源gis数据库。
postpicpostpic 是 postgresql 数据库的扩展,,用来在数据库内进行图像处理,postpic 为 sql 增加了 image 类型,还包含很多相关的函数用来处理图片以及从图片中抽取对应的属性。
pl/proxypl/proxy和postgresql集群的结构关系可以用下图清楚地表示
texcallertexcaller 是 tex 命令行工具的编程接口,采用纯 c 编写的可移植库,无需外部依赖。
pgmemcachepgmemcache 是一组 postgresql 用户自定义函数提供了访问 memcached 缓存服务器的接口。安装 pgmemcache 很简单,但需要一些额外的琐碎要求:libmemcached 必须是 0.38 或者更新版本,postgresql 必须是 8.4 或者更新版本。该扩展提供了 memcached 数据的读写、搜索和删除。
prefix
prefix 模块实现了文本的前缀匹配操作,支持索引典型的写法:
select * from osc_prefixes where prefix @> ’0123456789′ order by length(prefix::text) limit 1
pgspherepgsphere 为 postgresql 数据库提供球面数据类型,函数,和运算函数。
multicornmulticorn 是一个 postgresql 9.1+ 的扩展模块,用于简化外部数据封装开发,允许开发者使用 python 编程语言开发。
oracle_fdw – connects to oracle databases. mysql_fdw – connects to mysql databases. tds_fdw – connects to sybase and microsoft sql server databases. odbc_fdw – connects to any odbc source. couchdb_fdw – connects to couchdb databases. redis_fdw – connects to redis databases. twitter_fdw – fetches messages from twitter. ldap_fdw – queries ldap servers. file_fdw – access data files in the server’s file system and query them as tables. file_fixed_length_record_fdw – reads flat files with columns of fixed width. pgstrom – uses gpu devices to accelerate sequential scan on massive amount of records with complex qualifiers. s3_fdw – reads files located in amazon s3. www_fdw – accesses web services as a data source. – used to access data stored in any database supported by the sqlalchemy python toolkit, such as mysql, sqlite, oracle, microsoft sql server and many others. – used to access data stored in various files, in a filesystem. – used to access data stored in csv files. – used to access items from an rss feed. hstore
该模块为 postgresql 提供存储key-value数据的功能,你可以定义 hstore 数据列来存储这样的数据,并可对这些数据进行分组、排序和唯一检索的查询。
intarray
intarray 模块提供一系列有用的函数和运算用于操作整数数组,同时支持索引搜索。
如果数组中包含 null 元素,那么所有的这些操作都将抛出错误。当我开发一个简单的图像比较功能时,我会使用这个扩展 (, 俄文).
dblink
dblink 让你可以在 postgresql 连接会话中支持连接到其他 pg 数据库,同时支持自主事务  autonomous transactions (like in oracle).
that’s all folks!
其它类似信息

推荐信息