Mysql vs Postgresql performance test with Laravel API for simple Eloquent queries on 1 million items

pulkit kathuria
web-developer
Published in
4 min readMay 3, 2019

--

Which database is best for your Laravel app. Mysql or Postgresql? In this story, we are going to share load tests results for simple queries.

We ran simple queries like find, insert, update, where IN, where like on a table with 1 million records for both connections Mysql and Postgresql.

--

--

pulkit kathuria
web-developer

If it is on the internet already, I won’t write about it. Just sharing novel items that I discover during work and find worth sharing.