Answer the question
In order to leave comments, you need to log in
Which DBMS to choose for a high-load project?
Now there is a project in which there are millions of records. a relational database is used in mysql (version 5.5)
products (15 + million records)
category (1k)
tag (100k)
products_to_category (60 + million)
products_to_tag (60 + million)
but something slows down hard, now we are thinking of switching to another DBMS or upgrade to version 5.7, What to choose in order to at least somehow reduce the load?
ps slow down even more when sorting is enabled by creation date, if you sort it, the query will run slower by 5-10 seconds
Answer the question
In order to leave comments, you need to log in
For MySQL, the number of records you specify in the tables is not critical. Look for bottlenecks in queries and indexes. Try to debug your request through EXPLAIN, read more about it here - https://habrahabr.ru/post/211022/
15 million for MySQL with a competent scheme and queries is nothing at all.
However
1. It would be nice to have more memory (and this does not depend on MySQL or something more fashionable), and this memory must also be correctly "given away" (configured configs) to MySQL.
2. See specific SQL query.
Perhaps it makes sense to break it into several, without JOINs (JOINs often want a lot of memory, and if it is not enough, they slow down terribly). Especially when using sorting. (Your "when you turn on sorting" indirectly indicates that there is a problem here).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question