Updated PostgreSQL targets NoSQL market
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.
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. Read more