New PostgreSQL guns for NoSQL market

The PostgreSQL database now natively supports the JSON format, making it an alternative to MongoDB

Embracing the widely used JSON data-exchange format, the new version of the PostgreSQL open-source database takes aim at the growing NoSQL market of nonrelational data stores, notably the popular MongoDB.

The first beta version of PostgreSQL 9.4, released Thursday, includes a number of new features that address the rapidly growing market for Web applications, many of which require fast storage and retrieval of large amounts of user data.

Typically, users have gone to NoSQL databases, which were designed for such workloads, though the community of developers behind PostgreSQL is updating their database to meet these requirements as well.

In particular, PostgreSQL 9.4 natively supports JSON (JavaScript Simple Object Notation) which is quickly becoming the format of choice for sharing data across different systems, often using the REST (Representational State Transfer) protocol. The success of the MongoDB document database has been built in large part on the growing use of JSON.

PostgreSQL's structured format for saving JSON, called JSONB, eliminates the need for restructuring a document before it is committed to the database.

This gives PostgreSQL the speed to ingest documents as quickly as MongoDB, while still maintaining compliance with ACID (atomicity, consistency, isolation, durability), a set of properties required for reliably storing data in databases. PostgreSQL also provides a full set of indexing services, functions and operators for manipulating JSON data.

Prior versions of PostGreSQL supported JSON, but stored JSON documents in a text format, which takes longer to store and retrieve.

In addition to native JSON support, PostgreSQL also comes with a number of other new features.

It has a new API (application programming interface) for decoding data from a replication stream, paving the way for third-party software providers to build more responsive replication systems.

A new Materialized Views function, called "refresh concurrently," allows summary reports to be updated on the fly.

Using the new Alter System Set function, administrators can now modify the PostgreSQL configuration file directly from the SQL command line.

Other new features include the introduction of dynamic background workers, array manipulation and table functions, and general performance improvements.

PostgreSQL is the second most-widely-used open-source database on the market, trailing MySQL. At least some users have migrated from MySQL to PostgreSQL since MySQL was acquired by Oracle in its 2010 purchase of Sun Microsystems.

Like PostgreSQL, MySQL has been retrofitted to handle NoSQL workloads.

EnterpriseDB offers a commercially backed distribution of the open-source database.

Joab Jackson covers enterprise software and general technology breaking news for The IDG News Service. Follow Joab on Twitter at @Joab_Jackson. Joab's e-mail address is Joab_Jackson@idg.com

Join the PC World newsletter!

Error: Please check your email address.

Tags applicationsdatabasessoftware

Our Back to Business guide highlights the best products for you to boost your productivity at home, on the road, at the office, or in the classroom.

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Joab Jackson

IDG News Service
Show Comments

Essentials

Microsoft L5V-00027 Sculpt Ergonomic Keyboard Desktop

Learn more >

Lexar® JumpDrive® S57 USB 3.0 flash drive

Learn more >

Mobile

Lexar® JumpDrive® S45 USB 3.0 flash drive 

Learn more >

Exec

Lexar® Professional 1800x microSDHC™/microSDXC™ UHS-II cards 

Learn more >

Lexar® JumpDrive® C20c USB Type-C flash drive 

Learn more >

Audio-Technica ATH-ANC70 Noise Cancelling Headphones

Learn more >

HD Pan/Tilt Wi-Fi Camera with Night Vision NC450

Learn more >

Budget

Back To Business Guide

Click for more ›

Most Popular Reviews

Latest News Articles

Resources

PCW Evaluation Team

Azadeh Williams

HP OfficeJet Pro 8730

A smarter way to print for busy small business owners, combining speedy printing with scanning and copying, making it easier to produce high quality documents and images at a touch of a button.

Andrew Grant

HP OfficeJet Pro 8730

I've had a multifunction printer in the office going on 10 years now. It was a neat bit of kit back in the day -- print, copy, scan, fax -- when printing over WiFi felt a bit like magic. It’s seen better days though and an upgrade’s well overdue. This HP OfficeJet Pro 8730 looks like it ticks all the same boxes: print, copy, scan, and fax. (Really? Does anyone fax anything any more? I guess it's good to know the facility’s there, just in case.) Printing over WiFi is more-or- less standard these days.

Ed Dawson

HP OfficeJet Pro 8730

As a freelance writer who is always on the go, I like my technology to be both efficient and effective so I can do my job well. The HP OfficeJet Pro 8730 Inkjet Printer ticks all the boxes in terms of form factor, performance and user interface.

Michael Hargreaves

Windows 10 for Business / Dell XPS 13

I’d happily recommend this touchscreen laptop and Windows 10 as a great way to get serious work done at a desk or on the road.

Aysha Strobbe

Windows 10 / HP Spectre x360

Ultimately, I think the Windows 10 environment is excellent for me as it caters for so many different uses. The inclusion of the Xbox app is also great for when you need some downtime too!

Mark Escubio

Windows 10 / Lenovo Yoga 910

For me, the Xbox Play Anywhere is a great new feature as it allows you to play your current Xbox games with higher resolutions and better graphics without forking out extra cash for another copy. Although available titles are still scarce, but I’m sure it will grow in time.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?