What does it mean "normal SQL"? SQL is the language you use for getting the data. It is supposed to be a standard across different SQL databases, but it has slight differences (dialects). There are different database software using SQL as interface to access the stored data, almost all of them relational databases (relational db - they are multiple, interconnected Excel sheets). It is very much like you have chrome and firefox, both render HTML, probably with slight difference. Which one is the "normal HTML" though?
Some of them are single file based and need special software to be read (sqlite, m$ access etc). They are ideal for single connection usage - chrome for example uses a sqlite db to store its bookmarks, noone else connects to the db. On the other hand you have db servers, like postgres, mysql, m$ $ql $erver, oracle, db2 etc. They are a program that runs in the background and waits for someone to connect. They can handle hundreds of connections simultaneously. What happens if we both connect and change a piece of data that you are reading right now? No worries, the sql db server will handle it for you. So this kind of databases are used for bigger, more complex applications, like the web. Your bank for sure uses such db, most probably Oracle.
There are open source dbs like postgres, mysql etc, and closed source like Oracle, m$ $ql $erver etc. The latter are supposed to be better, since they are products that cost a lot and they have big corporations behind them. Other big corporations (like banks) trust these big corporations, so they enjoy the bill they pay to Oracle.
In the end, Postgres is nice, because it is free and has a lot of advanced features. It has excellent support for transactions, which was a killing feature a few decades ago. Now open source is a trend and there is even more hype on Postgres. And check out their motto, it is true ;)
60
u/tomma5o Sep 24 '20 edited Sep 24 '20
Sorry FE dev here, why you guys prefer postgreSQL over mySQL?