Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is PostgreSQL a NoSQL database? [closed]

I am getting confused about PostgreSQL. In some places people are saying it's NoSQL, and in some places people are saying it's not NoSQL. I have seen something Postgres Plus which is actual NoSQL.

Can you tell me what is true?

like image 476
Shiva Avatar asked Dec 22 '17 14:12

Shiva


People also ask

Is PostgreSQL relational or NoSQL?

PostgreSQL is a traditional RDBMS (relational database management system) SQL database, like Oracle and MySQL. PostgreSQL is free. MongoDB is a no-schema, noSQL, JSON database.

What is difference between PostgreSQL and NoSQL?

MongoDB is a non-relational database, while PostgreSQL is a relational database. While NoSQL databases work on storing data in key-value pairs as one record, relational databases store data on different tables.

Is PostgreSQL still used?

PostgreSQL, an advanced enterprise class open source relational database backed by over 30 years of community development is the backbone to many key technologies and apps we use each day.

Is Postgres NoSQL better than MongoDB?

Postgre is preferred in scenarios where you need a high level of security, and you anticipate scale in terms of transactions or queries. MongoDB is used for unstructured data storage. NoSQL databases are relatively new and are not preferred for highly secure applications.


1 Answers

You have been confused my marketing and buzzwords.

“NoSQL” is a buzzword describing a diverse collection of database systems that focus on “semi-structured” data (that do not fit well into a tabular representation), sharding and high concurrency at the expense of transactional integrity and consistency, the latter being among the basic tenets of relational database management systems (RDBMS).

Since SQL is the language normally used to interact with an RDBMS, the term “NoSQL” is used as a name for all these systems. Perhaps the name was also chosen because SQL, being verbose and often hard to understand, evokes negative reactions in many programmers.

Now PostgreSQL, like many other RDBMS, has added support for JSON data, which is the most popular format for semi-structured data commonly stored in NoSQL systems. Now you can say that PostgreSQL supports a certain feature commonly found in NoSQL databases.

Still, SQL is the only way to interact with a PostgreSQL database, so you couldn't call it a NoSQL database and keep a straight face unless you were in marketing.

Postgres Plus is a closed source fork of PostgreSQL, so the same applies to it.

like image 88
Laurenz Albe Avatar answered Oct 13 '22 19:10

Laurenz Albe