[MDEV-29064] ADD FULLTEXT INDEX CAUSES SYSTEM SLOWDOWN Created: 2022-07-08  Updated: 2023-04-27

Status: Open
Project: MariaDB Server
Component/s: Data Definition - Alter Table
Affects Version/s: 10.5.16, 10.6.8, 10.7.4, 10.8.3, 10.9.1
Fix Version/s: 10.5, 10.6

Type: Bug Priority: Major
Reporter: JOSEFH Assignee: Thirunarayanan Balathandayuthapani
Resolution: Unresolved Votes: 0
Labels: None
Environment:

WINDOWS 10 X64


Attachments: File my.ini     PNG File system.png     PNG File table.png     PNG File tables.png    

 Description   

Hello,

I hope everyone is okay.

ALTER TABLE [TABLE_NAME] ADD FULLTEXT INDEX [INDEX]

This is causing a degradation of the operating system, crashing windows to the point of needing to restart the computer.

This also happens with versions older than MySql 8 (like mysql 5.7, 5.6), but not in mysql 8.

The table in question contains a few megabytes of data and field datatype is LONGTEXT. When creating the fulltext index (ALTER TABLE tbl_documentos_comp ADD FULLTEXT INDEX C_IND_20 (C_OCR);), MariaDB does not respect the limit of the innodb_buffer_pool_size variable and increases memory consumption progressively without stopping.

With 100% memory spikes, the operating system is slow and the computer crashes.

Please download dump file:
https://drive.google.com/file/d/1_IYgC9_ls0f1nlPBlP7YX8RQSMf_S4JJ/view?usp=sharing

Regards!


Generated at Thu Feb 08 10:05:36 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.