[ANNOUNCE] PostgreSQL 9.4 Increases Flexibility, Scalability

Questions and answers regarding general SQL and backend databases

[ANNOUNCE] PostgreSQL 9.4 Increases Flexibility, Scalability

Postby ROCLASI » Thu Dec 18, 2014 9:17 pm

PostgreSQL 9.4 Increases Flexibility, Scalability and Performance

18 DECEMBER 2014: The PostgreSQL Global Development Group announces the release of PostgreSQL 9.4, the latest version of the world's leading open source database system. This release adds many new features which enhance PostgreSQL's flexibility, scalability and performance for many different types of database users, including improvements to JSON support, replication and index performance.

Flexibility

With the new JSONB data type for PostgreSQL, users no longer have to choose between relational and non-relational data stores: they can have both at the same time. JSONB supports fast lookups and simple expression search queries using Generalized Inverted Indexes (GIN). Multiple new support functions enable users to extract and manipulate JSON data, with a performance which matches or surpasses the most popular document databases. With JSONB, table data can be easily integrated with document data for a fully integrated database environment.

"JSONB brings PostgreSQL to the JavaScript development community by allowing JSON data to be stored and queried natively. Node.js and other server-side JavaScript frameworks can benefit from the safety and robustness of PostgreSQL, while still storing data in the schema-less format that they prefer," said Matt Soldo, Product Manager, Heroku Postgres.

Scalability

In 9.4, Logical Decoding supplies a new API for reading, filtering and manipulating the PostgreSQL replication stream. This interface is the foundation for new replication tools, such as Bi-Directional Replication, which supports the creation of multi-master PostgreSQL clusters. Other improvements in the replication system, such as replication slots and time-delayed replicas, improve management and utility of replica servers.

"The main reason behind our immediate adoption of PostgreSQL 9.4 in production is the new Logical Decoding feature," said Marco Favale, Cartographic Production Manager of Navionics. "The ability to write custom and flexible output plugins will allow us to transparently collect changes on selected tables and replicate changes where we like, by removing heavier - and more complex to manage - trigger based replication solutions."

"Zalando relies on the stability and performance of hundreds of PostgreSQL database servers to continuously serve millions of customers all around Europe," said Valentine Gogichashvili, Team Lead Database Operations at Zalando Technologies. "We are excited to run time-delayed standby servers which work out of the box, and will evaluate the new bi-directional replication tools as soon as they are released."

Performance

Version 9.4 also introduces multiple performance improvements which will allow users to get even more out of each PostgreSQL server. These include:

  • Improvements to GIN indexes, making them up to 50% smaller and up to 3X faster.
  • Concurrently updatable Materialized Views for faster, more up-to-date reporting.
  • Rapidly reload the database cache on restart using pg_prewarm.
  • Faster parallel writing to the PostgreSQL transaction log.
  • Support for Linux Huge Pages for servers with large memory.
"We will definitely benefit from concurrent refresh of materialised views, delayed standby servers (which will make our disaster recovery even more robust) as well as the usual performance improvements every new release carries on," added Marco Favale.

Links


About PostgreSQL

PostgreSQL is the leading open source database system, with a global community of thousands of users and contributors and dozens of companies and organizations. The PostgreSQL Project builds on over 25 years of engineering, starting at the University of California, Berkeley, and has an unmatched pace of development today. PostgreSQL's mature feature set not only matches top proprietary database systems, but exceeds them in advanced database features, extensibility, security and stability. Learn more about PostgreSQL and participate in our community on our web page.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

9.4 already recommended for production?

Postby Bernd.N » Mon Dec 22, 2014 1:01 pm

Hi Robert,

thank you for this information.

We want to set up our production environment for a first productive client in January.

Do you think it is already save to do so with 9.4?
Advantage would be that we could stick with this version longer than with 9.3, and the list of improvements I did read is really long for 9.4

Bernd Korthaus
www.projectEIM.com
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 544
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: [ANNOUNCE] PostgreSQL 9.4 Increases Flexibility, Scalabi

Postby ROCLASI » Mon Dec 22, 2014 1:20 pm

Hi Bernd,

The PostgreSQL project is known for incredible stable releases. Of course this never rules out any bugs but the PostgreSQL development team is always very quick with releasing a fix, especially if it's a serious one. Usually it just means you run the (new) installer again and you are live again.
So yes, you can use this in production.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

JDBC Driver for 9.4 / Enterprise DB Advanced Server

Postby Bernd.N » Mon Dec 22, 2014 5:47 pm

Ok, we will do so, thanks. My feeling is better to start with 9.4 now while number of users is low,
and not upgrade 9.3 later to 9.4 when the solution is on full usage.

I got recommendations to use the Postgres Download from EnterpriseDB.com
In their download section
http://www.enterprisedb.com/downloads/p ... -downloads
there is a tab leading to
Components & other Downloads
and there under "3rd Party JDBC Drivers", it refers to
http://jdbc.postgresql.org/download.html
for the download of the needed Postgres JDBC Driver.

On that site one sees currently only Version 9.3-Drivers.
Do you know if a JDBC Version 9.4 Driver is available soon?

Same question is of interest in regard of the EnterpriseDB Advanced Server, which was recommended to us to use.
That is also available as 9.3 so far, not as 9.4
Do you know when that can be expected?

Bernd Korthaus
www.projectEIM.com
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 544
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: JDBC Driver for 9.4 / Enterprise DB Advanced Server

Postby ROCLASI » Wed Dec 24, 2014 2:26 am

Bernd.N wrote:On that site one sees currently only Version 9.3-Drivers.
Do you know if a JDBC Version 9.4 Driver is available soon?


It looks like they are still working on a release version of the driver. I don't know when it will be ready.
For now you can use the 9.3 version of the driver.

Bernd.N wrote:Same question is of interest in regard of the EnterpriseDB Advanced Server, which was recommended to us to use.

EDB creates the community installers of PostgreSQL but they also have their own commercial product called Postgres Plus Advanced Server which has some extra tools and features. It is also more Oracle compatible. It's however bound to the EDB License which means you have to have a support contract with EDB.
In any case you are (more than) fine with plain PostgreSQL and when needed you could still get a support contract with EDB or any of the other PostgreSQL enterprise-support companies.

Hope this helps.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium


Return to SQL Databases

Who is online

Users browsing this forum: No registered users and 8 guests