Text search compare MySQL vs PostgreSQL vs MongoDB performance analyze.

preview_player
Показать описание
How to search something in text in your database and where it would work faster? Search by LIKE operator and search by FULLTEXT INDEX.
Рекомендации по теме
Комментарии
Автор

PostgreSQL vs MongoDB - full text search? use ES. If you want compare try to compare save JSON Object in both DB and search JSON.PATH PG12 vs MONGODB. Then try to make LB in PG and MongoDB and see what's looks better. Where is the sql script and codebase that use for compassion? No one can reproduce this research

namefn
Автор

I have a 30gb db mostly text... using mysql it takes sooo long to load even with a powerfull server, I tried to use lucene (solr) but it wasn't working...
So now i'm gonna try meilisearch db instead of mysql... I hope it will be fast enough, if you have any suggestions of how I could search fast in this 30gb db...
(its id, author_id, title, message, date_creation, date_deletion)
I wanna search through message or title... this is really really hard to do to have good perfs

vostfrguys
Автор

you don't think you queries are wrong with x25 performances differences between MongoDB and MySQL? Using Regex sounds expensive, why not building your query with MongoDB native methods as you did for MySQL

nielsdominguez