Synchronous replication in Postgre SQL 9.1
Synchronous replication in Postgre SQL 9.1
Written by Kay Ewbank   
Thursday, 15 September 2011

A new version of PostgreSQL has been released with new features making it much more usable.

The highlights of the new release start with support for synchronous replication, which means you can set up databases that are replicated across multiple servers for applications where high availability is important.


Another improvement to high availability applications is support for serializable snapshot isolation; this means you can keep concurrent transactions consistent without blocking. The problem this solves is where you need all your transactions to behave as if they are running serially, but you don’t want to lock all the records involved because of the performance implications.

With true serializable transactions, if you can show that your transaction will do the right thing if there are no concurrent transactions, it will do the right thing in any mix of serializable transactions or be rolled back with a serialization failure.

The other main improvements are per-column collations and unlogged tables. Per-column collations means you can sort down at database, table or column levels in a linguistically correct way. Unlogged tables could be the most useful addition, as they mean you can get much better performance when working with temporary data.

Another improvement is the ability to carry out nearest neighbour indexing so you can do searches on ‘distance’ when working with locational data or when carrying out text searches. On the database engine, you now get foreign data wrappers so you can attach and query other databases from PostgreSQL.


You can read more details of all the new features on the PostgreSQL wiki and you can download the new version here:


If you would like to be informed about new articles on I Programmer you can subscribe to our RSS feed, follow us on Twitter or Facebook or sign up for our weekly newsletter.



GCHQ's Xmas Puzzle Not Cracked - Update Solutions And Prizes

The director of GCHQ distributed a puzzle to selected contacts and then made it available to everyone. The deadline for solution passed and there were no 100% correct solutions. Even so prizes were aw [ ... ]

How Fast Can You Number Crunch In Python

We are all more or less committed to using high-level languages, but there is always a background worry that they might not be fast enough for some tasks. An interesting set of benchmarks shows how to [ ... ]

More News

Last Updated ( Friday, 16 September 2011 )

RSS feed of news items only
I Programmer News
Copyright © 2016 All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.