K
K
Kirill Firsov2010-10-11 20:32:54
MySQL
Kirill Firsov, 2010-10-11 20:32:54

MySQL search how?

Hello.
There is a table of the form:
ID | COUNT | DATA | DATE | TYPE | IP
Every day, about 500 thousand records are added to the database.
How can you make a search in the DATA field fast and how long will it take to search in such a huge database in a week or a month?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
K
Kirill Mokevnin, 2010-10-11
@toxicmt

sphinxsearch.com/ , no?

T
try4tune, 2010-10-12
@try4tune

Why are you looking for links? Maybe it's worth highlighting from the link the information by which the search will take place, and storing it in a separate field with an index on this field?

E
Eugene, 2010-10-11
@Nc_Soft

what data is in the data field?

A
Alexey Zhurbitsky, 2010-10-11
@blo

the speed will very much depend on whether an index will be created on the DATA field

G
great_boba, 2010-10-12
@great_boba

The first thing to do for such a volume is to cut the table according to some criterion, because 500K records per day is a lot. I remember there was a table with 4 billion records, then all operations with this table were very slow
. Second, you did not explain what kind of data is contained in the DATA field. Can do fulltext (specify show create table). If the data is large enough, then as indicated in the first answer, then the sphinx

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question