title | isChild | anchor |
---|---|---|
Database Choice |
true |
database-choice |
Is a practice of using different data storage technologies for different kinds of data. Eloquent ORM can support multiple database for a reason, so don't limit yourself to MySQL.
-
It is RECOMMENDED to use MongoDB{:target="_blank"} for records that have attributes that vary a lot. For example, in an inventory system, an office supplies product might have a different set of fields compared to vehicle and auto supplies.
-
It is RECOMMENDED to use ElasticSearch{:target="_blank"} for high volume data searching and indexing.
-
It is RECOMMENDED to use Neo4J{:target="_blank"} for applications that require complex relationships between models. For example a multi-level networking application, social network site and similar apps.
From this article{:target="_blank"}, here is a sample breakdown of different databases being used by a retailer company