View all newsletters
Receive our newsletter - data, insights and analysis delivered to you
  1. Technology
  2. Data
January 8, 2016updated 31 Aug 2016 10:38am

PostgreSQL removes MySQL MERGE barrier to database migration

News: Latest version from the Postgres community includes a focus on big data and the enterprise with row-level security and BRIN indexing.

By James Nunns

The latest version of the PostgreSQL database has been released with several advancements that the company says makes it 96% faster than the previous version.

Version 9.5 comes with improved performance and scalability with an enterprise and big data focus.

One of the added features is called UPSERT – "ON CONFLICT DO NOTHING" (or "ON CONFLICT DO UPDATE"). This is designed to give database developers a more effective and efficient way to insert data, while managing insert conflicts.

Similar technology has been in MySQL for a while but now the company says its own tool removes the last barrier for MySQL users to migrate to PostgreSQL.

Dave Page, VP, Chief Architect, Tools and Installers, EnterpriseDB, told CBR: "It’s a very complex feature and has taken two years to get right; concurrency is difficult to get right.

"It is one of the last barriers to move from MySQL, they have MERGE-INSERT and we have removed that barrier."

Content from our partners
Sherif Tawfik: The Middle East and Africa are ready to lead on the climate
What to look for in a modern ERP system
How tech leaders can keep energy costs down and meet efficiency goals

While luring MySQL users to join PostgreSQL is one element of the update, other areas of focus have seen security improved through row-level security.

This feature allows for rules to be set so that a user is limited to viewing their own data. It works by blocking certain rows and Page says it avoids as many covert channels as possible by pretending that the data wasn’t there in the first place.

The big data focus of the release is BRIN indexing, which is a replacement of B-tree indexes on very large tables which can see billions of rows of data.

The challenge with searching the index for billions of rows of data is that it is a very slow process. BRIN, which stands for Block Range Index, provides for very small indexes that use metadata to describe a range of information to improve the performance of queries.

For data in tables that is in a sequential manner, it allows for queries to skip the majority of the table when looking for data within a certain range, making it much faster.

Page said that the company had been using an IBM box with 192 threads and had seen up to 96% improvement in speed while it can also deal with more users accessing the database.

A trio of analytic features have also been added which are designed to summarise large amounts of data across various dimensions. GROUPING SETS/CUBE AND ROLLUP are typically used in data warehousing environments.

The huge update isn’t finished there; Foreign Data Wrappers allow for accessing data across multiple servers, which the company says will be the foundation for future developments in horizontal sharding.

Page said that PostgreSQL has been playing catch-up with hardware vendors, with some of the new features taking five years to develop.

Originally PostgreSQL wasn’t designed for dealing with huge systems but now it has much more vertical stability.

With the features added this latest release appears to offer a lot and EnterpriseDB, which is the leading provider of PostgreSQL software, will be looking for it to equate to more business as it hopes to gain more enterprise customers.

The 9.5 version is generally available and a free version is available through the PostgreSQL community download page.

 

Topics in this article :
Websites in our network
Select and enter your corporate email address Tech Monitor's research, insight and analysis examines the frontiers of digital transformation to help tech leaders navigate the future. Our Changelog newsletter delivers our best work to your inbox every week.
  • CIO
  • CTO
  • CISO
  • CSO
  • CFO
  • CDO
  • CEO
  • Architect Founder
  • MD
  • Director
  • Manager
  • Other
Visit our privacy policy for more information about our services, how New Statesman Media Group may use, process and share your personal data, including information on your rights in respect of your personal data and how you can unsubscribe from future marketing communications. Our services are intended for corporate subscribers and you warrant that the email address submitted is your corporate email address.
THANK YOU