2ndQuadrant is now part of EDB

Bringing together some of the world's top PostgreSQL experts.

2ndQuadrant | PostgreSQL
Mission Critical Databases
  • Contact us
  • EN
    • FR
    • IT
    • ES
    • DE
    • PT
  • Support & Services
  • Products
  • Downloads
    • Installers
      • Postgres Installer
      • 2UDA – Unified Data Analytics
    • Whitepapers
      • Business Case for PostgreSQL Support
      • Security Best Practices for PostgreSQL
    • Case Studies
      • Performance Tuning
        • BenchPrep
        • tastyworks
      • Distributed Clusters
        • ClickUp
        • European Space Agency (ESA)
        • Telefónica del Sur
        • Animal Logic
      • Database Administration
        • Agilis Systems
      • Professional Training
        • Met Office
        • London & Partners
      • Database Upgrades
        • Alfred Wegener Institute (AWI)
      • Database Migration
        • International Game Technology (IGT)
        • Healthcare Software Solutions (HSS)
        • Navionics
  • Postgres Learning Center
    • Webinars
      • Upcoming Webinars
      • Webinar Library
    • Whitepapers
      • Business Case for PostgreSQL Support
      • Security Best Practices for PostgreSQL
    • Blog
    • Training
      • Course Catalogue
    • Case Studies
      • Performance Tuning
        • BenchPrep
        • tastyworks
      • Distributed Clusters
        • ClickUp
        • European Space Agency (ESA)
        • Telefónica del Sur
        • Animal Logic
      • Database Administration
        • Agilis Systems
      • Professional Training
        • Met Office
        • London & Partners
      • Database Upgrades
        • Alfred Wegener Institute (AWI)
      • Database Migration
        • International Game Technology (IGT)
        • Healthcare Software Solutions (HSS)
        • Navionics
    • Books
      • PostgreSQL 11 Administration Cookbook
      • PostgreSQL 10 Administration Cookbook
      • PostgreSQL High Availability Cookbook – 2nd Edition
      • PostgreSQL 9 Administration Cookbook – 3rd Edition
      • PostgreSQL Server Programming Cookbook – 2nd Edition
      • PostgreSQL 9 Cookbook – Chinese Edition
    • Videos
    • Events
    • PostgreSQL
      • PostgreSQL – History
      • Who uses PostgreSQL?
      • PostgreSQL FAQ
      • PostgreSQL vs MySQL
      • The Business Case for PostgreSQL
      • Security Information
      • Documentation
  • About Us
    • About 2ndQuadrant
    • 2ndQuadrant’s Passion for PostgreSQL
    • News
    • Careers
    • Team Profile
  • Blog
  • Menu Menu
You are here: Home1 / Blog2 / 2ndQuadrant3 / The PostgreSQL 9.6 release is almost here!
David Rowley

The PostgreSQL 9.6 release is almost here!

September 28, 2016/3 Comments/in 2ndQuadrant, David's PlanetPostgreSQL /by David Rowley

The PostgreSQL 9.6 Release

It feels like only just a few months ago that we were celebrating the release of PostgreSQL 9.5.0, but already we’re very close to the 9.6.0 release! For me personally, I’m very excited about this particular release of PostgreSQL. It was just 5 or 6 months ago that I was busy refectoring my Parallel Aggregate patch after Tom Lane made some major changes to the output of the sub-query planner.

I was really excited when my work was finally accepted as having the ability for aggregate functions to be calculated in multiple processes really help to make the whole parallel query infrastructure shine. If you missed all that, then please see my blog post about it.

Aside from a few bug fixes I submitted, all of the work I contributed related to improving performance of some workload, and for me this made working on the 9.6 release lot of fun, as I can’t even walk around my local supermarket without thinking of efficiency and performance as I try to plan out in my head what the shortest path is to get to the checkout (via all the shelves that I need to visit first).

There are lots of things in this release that are very exciting. I already mentioned Parallel Query, and also Tom Lane’s changes to the output of the final state of the sub-query planner to allow it to generate multiple different Paths rather than a final plan. For me the most exciting part about this is that it paves the way for lots of future optimisations that were previously just too hard, or just too disruptive to the code base to be worthwhile. Optimizing UNION to make use of a MergeAppend of presorted results rather than having to Sort the Appended results, and Uniquify them is now a fairly trivial change, where before such a change was rejected.

The infrastructure I worked on to allow Parallel Aggregate is also quite exciting as in the future it could also be used to calculate aggregate results over multiple PostgreSQL instances, rather than just across multiple processes in the same instance. That could allow aggregation of 100’s of terabyte to petabytes of data.

I was also pleased to have various performance improvements accepted which assisted a TPC-H style workload. One which made the query planner a bit smarter about performing GROUP BY on redundant columns, when other columns present would already guarantee uniqueness. Another makes the aggregation code a bit smart about sharing intermediate aggregate states when two aggregate functions share a common transition function, which is surprisingly common in the standard set of aggregate functions which come with PostgreSQL.

Aside from things that I was involved in, the 9.6 release looks to be very exciting. Patch submission keeps growing each year. If you’d like to read about some of the other great features that are coming soon in 9.6, please have a look at the release notes.

Tags: 9.6, Parallel Query, PotgreSQL, release
Share this entry
  • Share on Facebook
  • Share on Twitter
  • Share on WhatsApp
  • Share on LinkedIn
3 replies
  1. Robins
    Robins says:
    September 28, 2016 at 11:32 pm

    Looks like the parallel aggregate git link is returning a 404. Just FYI.

    Reply
    • Robins
      Robins says:
      September 28, 2016 at 11:35 pm

      Well the link works here, just that it doesn’t work on the planet Postgres site. Not sure why.

      Reply
      • Umair Shahid
        Umair Shahid says:
        September 29, 2016 at 9:13 am

        Should be fixed on Planet PostgreSQL as well now.

        Reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

Get in touch with us!

Recent Posts

  • Random Data December 3, 2020
  • Webinar: COMMIT Without Fear – The Beauty of CAMO [Follow Up] November 13, 2020
  • Full-text search since PostgreSQL 8.3 November 5, 2020
  • Random numbers November 3, 2020
  • Webinar: Best Practices for Bulk Data Loading in PostgreSQL [Follow Up] November 2, 2020

Featured External Blogs

Tomas Vondra's Blog

Our Bloggers

  • Simon Riggs
  • Alvaro Herrera
  • Andrew Dunstan
  • Craig Ringer
  • Francesco Canovai
  • Gabriele Bartolini
  • Giulio Calacoci
  • Ian Barwick
  • Marco Nenciarini
  • Mark Wong
  • Pavan Deolasee
  • Petr Jelinek
  • Shaun Thomas
  • Tomas Vondra
  • Umair Shahid

PostgreSQL Cloud

2QLovesPG 2UDA 9.6 backup Barman BDR Business Continuity community conference database DBA development devops disaster recovery greenplum Hot Standby JSON JSONB logical replication monitoring OmniDB open source Orange performance PG12 pgbarman pglogical PG Phriday postgres Postgres-BDR postgres-xl PostgreSQL PostgreSQL 9.6 PostgreSQL10 PostgreSQL11 PostgreSQL 11 PostgreSQL 11 New Features postgresql repmgr Recovery replication security sql wal webinar webinars

Support & Services

24/7 Production Support

Developer Support

Remote DBA for PostgreSQL

PostgreSQL Database Monitoring

PostgreSQL Health Check

PostgreSQL Performance Tuning

Database Security Audit

Upgrade PostgreSQL

PostgreSQL Migration Assessment

Migrate from Oracle to PostgreSQL

Products

HA Postgres Clusters

Postgres-BDR®

2ndQPostgres

pglogical

repmgr

Barman

Postgres Cloud Manager

SQL Firewall

Postgres-XL

OmniDB

Postgres Installer

2UDA

Postgres Learning Center

Introducing Postgres

Blog

Webinars

Books

Videos

Training

Case Studies

Events

About Us

About 2ndQuadrant

What does 2ndQuadrant Mean?

News

Careers 

Team Profile

© 2ndQuadrant Ltd. All rights reserved. | Privacy Policy
  • Twitter
  • LinkedIn
  • Facebook
  • Youtube
  • Mail
Back to the Future Pt. 2: How to use pg_rewind with PostgreSQL 9.5 Committed to the PostgreSQL Community, 2ndQuadrant Contributes to 9.6
Scroll to top
×