U
U
Urukhayy2015-12-18 14:03:14
MySQL
Urukhayy, 2015-12-18 14:03:14

Using MySQL log table to get current profile values, is this normal?


profile_id type new_value date_time
Let's say that to log changes in the value of any profile property, a table with columns is created: date_time column for profile?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey, 2015-12-18
@VladimirAndreev

no.
with any decent number of users and profile variability, the system will start to slow down on these queries, and you will come to the idea of ​​caching this data in a table :)

S
Sergey Protko, 2015-12-18
Protko @Fesor

Read about event sourcing .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question