Archiving table data to another table in Rails

I have a table in my db that contains a lot of data and the search query takes a long time, so I want to archive some old data to another table, I searched and found some gems and solutions to add a column to the same table and did some kinds areas in the model, but I want the old data to move another table as archived data. Is there any gem you guys know or a way to deal with this problem?

Thank you in advance:)

+3
search ruby-on-rails-4 archive


source to share


No one has answered this question yet

Check out similar questions:

596
How to use problems in Rails 4
12
SQL Database Best Practices - Using Archived Tables?
2
archiving some redis data to disk
2
Best way to archive sql data and display in web app as needed.
2
How to archive related data (in different tables) using SSIS
1
How to perform an additional search on the archive in rails if the record is not found by expanding the model?
1
"Archive" table on rails
1
Archiving (old) application data in the (Oracle) Database
0
Database archive via Java / Hibernate
0
Archiving old data in a Gridview



All Articles
Loading...
X
Show
Funny
Dev
Pics