Skip to content

Commit

Permalink
MySQL8
Browse files Browse the repository at this point in the history
  • Loading branch information
bassbone committed Sep 12, 2020
1 parent 6fa7b2b commit 50b26db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions db/0_Schema.sql
Expand Up @@ -40,5 +40,5 @@ CREATE TABLE isuumo.chair
ALTER TABLE isuumo.chair ADD INDEX price_and_id(price, id);
ALTER TABLE isuumo.estate ADD INDEX rent_and_id(rent, id);
ALTER TABLE isuumo.estate ADD INDEX door_height(door_height);
--ALTER TABLE isuumo.estate ADD FULLTEXT INDEX(features) WITH PARSER ngram;
--ALTER TABLE isuumo.chair ADD FULLTEXT INDEX(features) WITH PARSER ngram;
ALTER TABLE isuumo.chair ADD INDEX popularity_and_id(popularity DESC, id);
ALTER TABLE isuumo.estate ADD INDEX popularity_and_id(popularity DESC, id);
2 changes: 1 addition & 1 deletion mysql/mysql.conf.d/mysqld.cnf
Expand Up @@ -116,7 +116,7 @@ skip_innodb_doublewrite
skip-name-resolve
max_connections = 500
thread_cache_size = 300
#disable-log-bin
disable-log-bin
#sort_buffer_size=1M
#read_rnd_buffer_size=1M
#sql_mode=TRADITIONAL,NO_AUTO_VALUE_ON_ZERO,ONLY_FULL_GROUP_BY

0 comments on commit 50b26db

Please sign in to comment.