S
S
SoloMidPlz2015-09-20 10:09:05
MySQL
SoloMidPlz, 2015-09-20 10:09:05

SQL vs ORM for big base?

there are many many-to-many objects + 5-6 entities associated with them.
1) it is difficult for me
to use orm (somehow easier to do sql)
2) not all fields need to be taken
3) the base will be large 100k-1m lines of the main object, and 5-6 times more than other types of tags.
In general, I'm afraid that the orm will work for a long time. +I don't always need to fully link an object with 5-6 entities. Sometimes you only need the main + 1 related entity. (for catalog)

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
sim3x, 2015-09-20
@SoloMidPlz

In general, I'm afraid that the orm will work for a long time.

coding is generally scary, because no one is afraid and does load tests
PS: the database is not large, but mediocre

O
OnYourLips, 2015-09-20
@OnYourLips

ORM will be much simpler and more reliable in the long run.

S
Sergey, 2015-09-20
Protko @Fesor

it is difficult to use orm (somehow simpler to do sql)

you yourself answered your own question, just highlight it in some separate DAO to reduce cohesion and increase maintainability.

E
emacsway, 2015-11-27
@emacsway

Depends on a number of circumstances. Usually, the ORM, on the contrary, turns out to be more nimble if the project has work for the Identity Map . A partial answer to this question can be found in this Storm ORM article .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question