JoeCode's avatar

Database

From the Laravel docs it only supports the following:

MySQL PostgreSQL SQLite SQL Server

Which will be the recommended database to use Laravel with?

Also how do we ensure that if our application is inproduction that we never get a size limit meaning it never max out. Is there syntax for that?

0 likes
7 replies
crnkovic's avatar

I use Sqlite for testing, mysql for dev and production and postgres for when i need to scale. It’s subjective, depends what you need :)

JoeCode's avatar

I am looking to settle with a database engine and learn it extensively. I need one that works with well Laravel. Have you ever encountered a production database max size reached. If I understand correctly 256TB is default for most database. Is the a way to make the size infinity?

crnkovic's avatar

I’m not sure about that, but if your database ever gets to 250 TB, database will be the least of your problems :-) all of these work well with Laravel, however I think MySQL is the most used one

Cruorzy's avatar

256TB database? thats insane.

With a basic website you will get around the 3-20Mb.

JoeCode's avatar

Webapps use more. In the corporate sector there are heavy streams of data being processed daily.

crnkovic's avatar
crnkovic
Best Answer
Level 43

Yes. But not 256 TB. If you ever get to that scale, your engineers can tell you which DB to use and how to use it. Don't optimize when you don't need to! :)

Please or to participate in this conversation.