S
S
Stanislav Pryadein2014-12-20 16:05:12
PHP
Stanislav Pryadein, 2014-12-20 16:05:12

The principle of creating an Archive on the project website??

Good afternoon. I started to study web programming, read books, took on a small, slightly promising project that would really benefit people.
The essence of the question: how is the function of the Archive implemented ??
I have a table that stores data on sports results for a certain year, then in the new year the group moves to a new level, the year changes, and a new record is created in the results table with data (there is not much data)
The situation is that when the number of groups accumulates and years, then the output from the table will slow down. and I want to come up with an archiving function.
I see it like this: by pressing a button or automatically, all records from the main table by the parameter GOD < 2011, for example, are transferred into transactions, let's say, into the archive table. And who needs old records are already taking them from the archive.
Thus, the data in the main table will always be in a certain limited amount.
Please let me know if there are any other options.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Entelis, 2014-12-20
@koppocta

Some nuances in mysql begin when there are tens/hundreds of millions of values ​​in a table.
Up to this amount, you can not bathe at all.

V
Viktor Vsk, 2014-12-20
@viktorvsk

The situation is such that when the number of groups and years accumulates, the output from the table will slow down.

Who said?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question