Is it bad to read / write from serialized database data at every page load?

I am going to store serialized data (usually 1-3kb in a TEXT column) in a database, however I am worried if it would be an expensive resource. At each page load, the data is read, and by the end of the page load, the data is written back to the same field if it has been changed (if you have any checksum for this).

Would it be better to avoid this? Or should I use files instead?

+3
source share
1 answer

1) Using a database is better than using files.

2) , . , .

, TEXT, BLOB .. . BLOB TEXT, , .

+2

Source: https://habr.com/ru/post/1786573/


All Articles