N
N
Nikolai Markov2021-06-04 11:03:55
Database
Nikolai Markov, 2021-06-04 11:03:55

How to name two classes for ORM that store the same data only in different databases?

The problem is this ...

There is an ORM class, let's call it Log (or you can take for example "events" - Event), which corresponds to the interaction in the logs (or events) table in mysql.

This table in mysql is very large and I want to transfer some of the data to mongodb in order to reduce the load on mysql and because mongodb is better at handling large amounts of data (better hardware).

Mongodb also uses an ORM.

Question: how would you name the new class for ORM, because Log / Event is already taken?
Maybe somehow renamed both classes?

(there is most likely no right or wrong answer, just want to know different opinions)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2021-06-04
@firedragon

Base prefix entity name

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question