indexing - ERROR 188 (HY000): FTS query exceeds result cache limit mysql -
i have full text index on text column of table around 11 million rows.
table structure :
create table `review` ( `id` int(11) not null auto_increment, `comments` text collate utf8mb4_unicode_ci, `title` varchar(1000) collate utf8mb4_unicode_ci default null, primary key (`id`), key `reviewer_id` (`reviewer_id`), fulltext key `comments` (`comments`) ) engine=innodb auto_increment=273001866 default charset=utf8mb4 collate=utf8mb4_unicode_ci row_format=compressed;
i tried search :
select id review match (comments) against ('"this review campus tours , not university no 1 can write review on university"' in boolean mode)
this throwing following error :
error 188 (hy000): fts query exceeds result cache limit
google says bug has been fixed mysql in 5.7. using 5.7.19. idea how resolve this. copy pasting ft variables:
mysql> show global variables 'innodb_ft%'; +---------------------------------+--------------------+ | variable_name | value | +---------------------------------+--------------------+ | innodb_ft_aux_table | | | innodb_ft_cache_size | 8000000 | | innodb_ft_enable_diag_print | off | | innodb_ft_enable_stopword | on | | innodb_ft_max_token_size | 84 | | innodb_ft_min_token_size | 3 | | innodb_ft_num_word_optimize | 2000 | | innodb_ft_result_cache_limit | 2000000000 | | innodb_ft_server_stopword_table | local/my_stopwords | | innodb_ft_sort_pll_degree | 2 | | innodb_ft_total_cache_size | 640000000 | | innodb_ft_user_stopword_table | | +---------------------------------+--------------------+ 12 rows in set (0.00 sec)
Comments
Post a Comment