Postgres XL FAQ

Q. What does XL stand for?

XL is short for eXtensible Lattice. It also connotes an extra large version of PostgreSQL, in this case across multiple systems.

Q. Is this a “NoSQL” solution?

No, Postgres-XL supports traditional SQL, strongly conforms to ANSI SQL:2008, is fully acid, all while being scalable. You can however certainly use it as a key-value store and take advantage of JSON and hstore functionality.

Q. Is the data “sharded”?

Yes. Postgres-XL distributes the data amongst multiple nodes, and, crucially, it ensures a global consistent view of the data thanks to cluster-wide MVCC (Multi-version Concurrency Control) via the Global Transaction Manager component.  Other commercial and non-commercial sharding solutions may not guarantee such consistency and ACID properties.

Q. Are write-intensive applications supported?

Yes, write-intensive applications can take advantage of Postgres-XL running on multiple servers and spreading out the write load. Postgres-XL is well-suited for OLTP.

Q. Are read-heavy applications supported?

Yes, with read-intensive applications data is spread out amongst multiple nodes, effectively giving you more cache and more hardware resources to serve it.  It eliminates the need for other solutions such as memcached.

Q. Are Business Intelligence applications supported?

Yes, Postgres-XL includes Massively Parallel Processing (MPP) capability with sophisticated query planning and inter-node communication that allows it to fulfill query requests over large data sets quickly. Postgres-XL is well suited for Data Warehousing and Data Marts. In Postgres-XL queries are parallelized and the data node nodes communicate with one another directly.

Q. Does one need to take into account that data is split across servers when designing my database schema?

Existing applications will work fine, but for fastest response time, it is helpful to be mindful of data locality. Please see the documentation for more details.  A basic rule of thumb is to distribute (partition) large tables and and tables that are written to frequently, and to replicate tables to all nodes that contain mainly static data.

Q. What kind of client connectivity is offered?

Postgres-XL is wire-level protocol compatible with PostgreSQL.  That means Postgres-XL will work with any PostgreSQL-compatible driver, which includes JDBC, ODBC, OLE DB, Python, Ruby, perl DBI, Tcl, and Erlang.

That also means that many apps written for PostgreSQL will work without modifications against Postgres-XL, even including the well-known pgAdmin utility.

Q. I am interested in moving to Postgres-XL. Can I get help with migrations?

See the support page as a starting point.

Q. Are geo-distributed database clusters supported?

No, geo-distribution is not natively supported. A Postgres-XL-based solution will depend on your particular requirements, and you should probably engage with a company that is experienced with Postgres-XL.

Q. How does one achieve High Availability?

You can add slaves for each node analogous to PostgreSQL’s streaming replication.   In addition, the cluster can be configured such that the Global Transaction Manager (GTM) can have a GTM Standby.

In terms of automatic failover, it is currently not part of the core project, but Corosync/Pacemaker has been used for this purpose.

Q. Is PostGIS supported?

Yes, PostGIS can be added to Postgres-XL. It has been tested with PostGIS 2.0.

Q. How does Postgres-XL relate to StormDB?

Postgres-XL is the core of TransLattice Storm (StormDB) rebranded and open sourced.

Q. How does Postgres-XL relate to Postgres-XC and Stado?

The project includes architects and developers who previously worked on both Postgres­-XC and Stado, and Postgres-XL contains code from Postgres-­XC.

The Postgres-XL project has its own philosophy and approach.

Postgres-XL values stability, correctness and performance over new functionality. The Postgres-XL project ultimately strives to track and merge in code from PostgreSQL.

Postgres-XL adds some significant performance improvements like MPP parallelism and replan avoidance on the data nodes that are not part of Postgres­-XC. Postgres-­XC currently focuses on OLTP workloads. Postgres-XL is more flexible in terms of the types of workloads it can handle including Big Data processing thanks to its parallelism.  Additionally, Postgres-XL is more secure for multi­-tenant environments.

The Postgres-XL community is also very open and welcoming to those who wish to become more involved and contribute, whether on the mailing lists, participating in developer meetings, or meeting in person.  Users will help drive development priorities and the project roadmap.

Q. What license does Postgres-XL use?

Postgres-XL uses the Mozilla Public License.  It is a flexible license that allows the code to be mixed with closed source code, while encouraging contributions.

Q. What about submitting contributions to the project?

Please use the mailing lists for submitting patches. Currently, we ask that all contributions be submitted under the PostgreSQL License, which is similar to the BSD or MIT licenses.  This allows for flexibility in changing licensing in the future and possibly deeper coordination and integration with PostgreSQL itself.

Q. What do your version numbers indicate?

We are versioning Postgres-XL in relation to the major version of PostgreSQL that it is based on, but not on the point releases. For example, Postgres-XL 9.2 is based on PostgreSQL 9.2., but Postgres-XL 9.2.0 is based on PostgreSQL 9.2.4.

Q. What is on the development roadmap?

In the near term, the focus will be on bug fixes for 9.2 and integrating in upstream code, including from PostgreSQL 9.3.

Postgres XL FAQ,布布扣,bubuko.com

时间: 2024-12-16 02:05:05

Postgres XL FAQ的相关文章

PostGres xl ERROR: Snapshot too old - RecentGlobalXmin......

某天postgres xl集群执行pgxc_ctl stop all命令关闭集群,并重启集群,连接某节点,发觉读取某张表出现了以下错误 postgres=# select count(*) from t4; ERROR:  Snapshot too old - RecentGlobalXmin (260760) has already advanced past the snapshot xmin (210218) postgres=# 查看第一个节点的txid,如下 postgres=#  s

oracle迁移postgres之-Ora2Pg

描述 Ora2Pg:甲骨文PostgreSQL数据库模式转换器是一个免费的工具用于Oracle数据库迁移到PostgreSQL兼容模式.它连接Oracle数据库,扫描它自动提取其结构或数据,然后生成SQL脚本,您可以加载到PostgreSQL数据库.Ora2Pg从Oracle数据库逆向工程可以使用巨大的企业数据库迁移或者复制一些Oracle数据成一个PostgreSQL数据库.它很容易使用,不需要任何Oracle数据库知识比提供所需的参数连接Oracle数据库. 安装 首先要感谢Gilles D

Postgres数据库中excel的导入和导出

使用Windows系统,excel的总是不可避免. Postgres版本为9.3.6:Windows 8.1 64位. 这里没有找到excel直接导入Postgres的方法,有一个工具是xlstopg,类似SQL Server的导入和导出数据向导,但不是开源的:可以到网上搜下玩玩(好像试用版只能导1000条记录),我在不知名网站上下了个企图是破解版,结果电脑中毒,花了两个晚上时间,电脑才幸而没有重装系统.我只能说有些网站太不是东西了,你说你里面很多插件(游戏的客户端.日历等乱七八糟的东西),我忍

官方问答--微信小程序常见FAQ (17.8.21-17.8.27)

给提问的开发者的建议:提问之前先查询 文档.通过社区右上角搜索搜索已经存在的问题. 写一个简明扼要的标题,并且正文描述清楚你的问题. 提交 BUG:需要带上基础库版本号,设备信息(iOS, Android,开发工具等等),操作系统信息(系统版本),以及可以让他人重现的信息,最好能够提供重现 demo. 对于提供信息过少的问题,会直接关闭,请提供完整信息以后重新打开问题.另外,对于如何做某某功能,可否做某某功能的问题,会直接关闭. 微信小程序常见FAQ(17.8.21-17.8.27) Q:1.5

自用Postgres 数据库的导入导出脚本

工作中时常给开发和测试导入导出一些测试的数据库,于是写了一个脚本方便操作. 公司目前使用的是postgres9.3数据库. #!/bin/bash #定义一些变量和操作命令 DBS="db1 db2 db3 db4" EXPDB_CMD=/usr/pgsql-9.3/bin/pg_dump DBCMD=/usr/pgsql-9.3/bin/psql DBUSER=postgres DBSVR=mydbhost1 #导出数据库 function exportdb() {   read -

postgres安装

PG安装 一.基础包的安装: 1.cd /etc/yum.repos.d/ 2.rm –rf  *(删除/etc/yum.repos.d/目录下的所有文件) 3.yum clean all 4. vi ftp.repo 复制如下内容: [ftp] name=ftpyum baseurl=ftp://172.25.1.133/pub(内网ftp yum源) gpgcheck=0 enabled=1 yum -y install wget tcpdump glibc libgcc gcc gcc-c

Discuz 7.2 faq.php漏洞分析

漏洞发生在页面faq.php中,源码如下: elseif($action == 'grouppermission') {ksort($gids); $groupids = array(); foreach($gids as $row) { $groupids[] = $row[0]; } $query = $db->query("SELECT * FROM {$tablepre}usergroups u LEFT JOIN {$tablepre}admingroups a ON u.gro

工作笔记20170315-------关于FAQ(Frequently Asked Questions)列表的代码

源自于:http://www.17sucai.com/pins/3288.html (1)FAQ问答列表点击展开收缩文字列表 <ul>   <li class="clearfix">   <h5><b class="UI-ask"></b>什么是享赢棋牌联盟?</h5>   <div class="foldContent">   <p>享赢棋牌联盟是杭

FAQ: Automatic Statistics Collection (文档 ID 1233203.1)

In this Document   Purpose   Questions and Answers   What kind of statistics do the Automated tasks collect   How do I revert to a previous set of statistics?   Does the automatic statistic collection jobs populate CHAIN_CNT?   11g+ Automatic Mainten