I
I
IvanOne2016-06-13 10:51:27
Django
IvanOne, 2016-06-13 10:51:27

Database to store history?

Hello! I am doing a project on django where many users will create new entries in the database every day, over time the database will become heavier and heavier, the project has a user action history functionality, and I would like to move it to a separate database. What solutions are used in such cases? Or doesn't it make sense to separate the data? The main database hangs on Postgresql, plus there is redis for cache storage.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SemenDemon, 2016-06-13
@IvanOne

у вас история в отдельной таблице хранится. если есть редко используемые данные разбейте таблицу postgresql.ru.net/manual/ddl-partitioning.html
но скорей всего правильно вам написали, не нужно оно еще вам.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question