Redis-based full-text search extensions for relational databases.

Autor: Liao, Xuehua, Peng, Lilan, Yang, Ting, Li, Tianrui, Zhu, Zhousen
Zdroj: International Journal of Machine Learning & Cybernetics; Oct2024, Vol. 15 Issue 10, p4475-4491, 17p
Abstrakt: In order to overcome the inefficiency and resource consumption of full-text search in relational databases, a light full-text search model with auxiliary cache is developed. Specially, we utilize the MySQL as the data storage layer and the Redis as the index cache layer. We first design a full-index cache mechanism by the Redis-based inverted indexes construction methods to augment the efficient memory processing capability of relational databases. In addition, an increment-index synchronization mechanism is implemented to fit the dynamic update of relation database. For hot data, an index update optimization mechanism is provided to guarantee the fast response and accuracy of full-text search. The proposed Redis-based auxiliary cache method has also been put into practical industrial applications and achieved promising results. Finally, we evaluate our method from index space occupation, time consumption and the accuracy of retrieval results. The experimental results show that the proposed model outperforms MySQL Full-Text method 2–3 times and surpasses ElasticSearch 12 times in space resource consumption. [ABSTRACT FROM AUTHOR]
Databáze: Complementary Index