A
A
AydarTT2017-05-18 21:37:41
Database
AydarTT, 2017-05-18 21:37:41

What DB to choose for storage of lines?

There are, let's say, 100 million lines of the form

Otherwise you are splitting on the regex ., which means "any character".
or
Note the double backslash needed to create a single backslash in the regex!

that is, these are ordinary strings, I plan to store in a varchar (255) column
which database is better to choose for a quick search? Is it beneficial in this case to use the sphinx in conjunction for full-text search?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
H
huwesu, 2017-05-18
@huwesu

for full-text - specialized Sphinx Search, etc., yes, it makes sense.
to search from the beginning of the string - any NoSQL, any SQL.
100 million is nonsense for modern DBMS.

R
RidgeA, 2017-05-18
@RidgeA

elasticsearch

D
Dimonchik, 2017-05-18
@dimonchik2013

Sphinx is best
for search like LIKE '%keyword%' sharpened by clickhouse

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question