Remix.run Logo
hyperionultra 5 hours ago

Why postgre instead of classic mysql?

purerandomness 5 hours ago | parent | next [-]

MySQL does not let you have transactional DDL statements (alter, create, index etc).

If you're building anything serious and your data integrity is important, use Postgres.

Postgres is much stricter, and always was. MySQL tried to introduce several strict modes to mitigate the problems that they had, but I would always recommend to use Postgres.

faangguyindia 5 hours ago | parent | prev | next [-]

such apps should use sqlite. it's enough for this type of app.

eb0la 4 hours ago | parent | prev | next [-]

MySQL or Postgres are the DB of choice if you want a managed database in the cloud.

Probably Postgres is there because you can use it as a queue (https://livebook.manning.com/book/just-use-postgres/chapter-...)

hk__2 5 hours ago | parent | prev | next [-]

Why mysql instead of postgres should be the right question nowadays.

dewey 5 hours ago | parent | prev | next [-]

Postgres isn't a newcomer any more. For most projects that I see it's the default and the "classic" already.

JanSchu 5 hours ago | parent | prev | next [-]

Postgres is simply a battle proven technology.

throwaway613746 4 hours ago | parent | prev [-]

[dead]