Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What makes PostgreSQL more advanced than MySQL? [closed]

I've heard a lot of PostgreSQL but I always wanted to know why you'd choose it over MySQL. What makes it "the world's most advanced" and do those "advanced" features really matter?

like image 294
Robin Rodricks Avatar asked Mar 20 '09 04:03

Robin Rodricks


People also ask

What makes PostgreSQL better than MySQL?

Key Difference between PostgreSQL and MySQL PostgreSQL supports modern application features like JSON, XML, etc., while MySQL only supports JSON. Comparing PostgreSQL vs MySQL performance, PostgreSQL performs well when executing complex queries, whereas MySQL performs well in OLAP & OLTP systems.

When should I use PostgreSQL over MySQL?

In general, PostgreSQL is best suited for systems that require execution of complex queries, or data warehousing and data analysis. MySQL is the first choice for those web-based projects which require a database merely for data transactions and not anything intricate.

What are the advantages of Postgres over other types of databases?

Open-source development and community While there are many other open-source relational databases, PostgreSQL is developed and managed without a corporate owner or a commercial counterpart. This helps the contributors chart its own path and work on features that the community cares about the most.


1 Answers

postgres has better foreign key support, better referential integrity, transactions, views, subselects, etc. But that doesn't mean MySQL doesn't have its place. It really depends on what your needs are. Size of database and complexity of your relations, etc. MySQL is dead simple to set up and use, and it comes by default on virtually all web packages.

You can find Loads of comparisons tween these 2 all over the web.

like image 109
Scott Evernden Avatar answered Nov 28 '22 00:11

Scott Evernden