#!/bin/sh set -e CREATE_SQL_FILE=create.sql CONCURRENT_SQL_FILE=concurrent.sql HOST="host.docker.internal" PORT="7000" USER="root" PASSWORD="123" random() { tr -dc A-Za-z0-9 "$CREATE_SQL_FILE" echo "CREATE DATABASE IF NOT EXISTS d;" >> "$CREATE_SQL_FILE" echo "CREATE TABLE IF NOT EXISTS \`d\`.\`t2\` ( \`id\` int NOT NULL AUTO_INCREMENT, \`channel_id\` varchar(255) NOT NULL, \`content\` text NOT NULL, PRIMARY KEY (\`id\`), FULLTEXT KEY \`idx_my_fulltext_index\` (\`content\`) WITH PARSER \`ngram\`) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;" >> "$CREATE_SQL_FILE" for i in {0..100}; do echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'will wall wind what window weapon worker why way western within whatever while wide whole write word work well walk');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'word which what walk whose within would will work with woman wait war why western want water wind whether wide');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'world watch would wife within western word wind want where without wear whatever well woman wide we whole why white');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'win wife worker western we will writer war write where which whose week white with weapon walk wonder wish well');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'work wonder well worker way wind whatever window which while water woman whether wear wait would why we what without');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'walk without water word white wear whole week weight wide while would writer want woman we whose west war whether');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'we what weight wide write week window which well word while would whose wind want worry watch western west work');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'writer wonder whether within whole world which word worry window way who war wall we wide wish will want win');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'wind why worker which war whole wide way wonder while would week with whom we wait weight without whose work');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'who wait white writer while walk without within what wonder whatever worry western where write way why weapon word when');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'water work writer with week woman will worry which window who wind whole whether weight where way when wall word');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'win wide whom weight with war woman word whether watch within walk worker wish writer whose where without when world');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'which wide writer what will without worker while west wonder watch when wait work week wear war window want way');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'well war we walk without worry wall western wonder whether whose white with wife woman weapon while wish wait window');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'which within weight whole white window worker wind work want whatever while war writer worry western wait write wish we');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'west wonder within water without write wife whose wind writer world whether white whole which way walk would whom war');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'wish win whether white write whose wind would world without weapon wonder will what we where wall worker with whatever');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'walk want wonder west write when world will worry wall work worker with win whose whole white what would wait');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'which window world whose watch when week whatever word weight water who within war wonder whole western without work white');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'work while when whether word way what well within weight wall watch win whatever writer write worker window wait who');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'which white whom week world write wear war win walk west weight why watch will way wind writer whole we');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'win what with wait way wind whose who within would war wide wife week white writer will worker when weapon');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'work wonder weapon while without why wall word wife wear way who western whatever wind writer what weight watch whom');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'want world white window war wait whole while woman way wife would worry walk wear who worker west whose where');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'would wish while wait with whether walk weight wonder wall work word woman worry whole whatever western without wind wear');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'watch with wonder write wait whatever weight wall western within win which we wear will wife when water want word');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'when writer well without woman write whole within war wide worry we where wonder win western way wall whose week');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'weight whether world write where word watch while worker woman we worry wife west want whom wish wonder wall well');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'wear writer wish well water with what why while wind word win would weapon wonder way window which wait whatever');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'want will weight word whose with what white while would work why window whether wife where without western water wide');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'wonder without whom world win wide weapon while weight whether walk wife whole worry wait within whose will work window');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'while weapon whatever win woman worry white well wind whole wear whose way water world watch whether why would wall');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'west wide work where writer which wonder why western wish wife wear water with war white whether watch win who');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'with watch write when want we while white well western war wall water wait wide whom without wife writer wear');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'which where woman weight window write walk world weapon wear why will whatever without wait writer western whether whom word');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'wife whose weapon wonder who wish whatever whole world worker where walk write wind want would will woman whether weight');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'word weight world window worry weapon want wind wish without wide way walk will whose when we who within write');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'week which western wide worker whose worry wear we wife world whom win want who walk window water work whether');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'wide word worker war west whatever wear within would weapon what wind where writer woman window whom who world whose');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'weapon word write wish window wide while wear wait whatever when whole whose white wall what walk where week worry');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'within while wind who well whether walk why water where weight want without with white when what worry whatever watch');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'well wind what window whatever war wait whether whom wish would white which weight west we wife walk worry while');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'war well wind who window west worry which walk word while whole watch water wall wife way world work week');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'white worker which walk whose way wait work while week wear wall whole weapon when write whom wife weight war');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'why whole when with world word wall water wait watch win without west woman window whom would want wonder worry');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'whole wish wide with water want wait weight worry who worker work window white while would weapon which when why');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'without with want weapon wide whether writer week weight work war west will world well watch write worker whatever worry');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'wear wish window whose world watch which whole what within will word while wide with when weapon well wall whether');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'white will well write word where wait wonder without west want win weight western way whom worker work when within');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'week whether would where west whatever white word wonder walk writer write wear what when worry will with want world');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'wonder week whatever work whether war wife within west whose word wish watch well white wind we weapon window walk');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'while window woman whole weapon white west wind wall whether water work we who whom war walk will wife watch');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'word war work woman want whole weight walk worry world why whether when we water with while where window win');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'walk when while weight western weapon what where world wear within win work want week write worker window with word');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'while whose word woman when which window wall weight with without weapon wind we worker way world well wonder win');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'want when watch why wait whole weapon who water worry win whose woman work would walk which war write white');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'weapon want world what write whatever week wait walk wear window whose worry within will would work war who when');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'within whom where who white which work wish worker way walk water why what western writer write wife woman wind');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'white wonder work whole week walk wife what wear water woman write wall whatever western word wish where worry window');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'window wish work we without which wind west wonder will with whether why weight while well write would wait wear');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'water when window we without will walk worker whole where watch win why whom write war wait wind world writer');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'water week wife where within whatever we weight wide watch without woman what word white walk whose whether war whom');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'wind worker within whom water west world writer with wait when window word well we what worry who woman weight');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'where write we word well woman who when work worker whom wait whatever while why without wish whose want which');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'without with wear window well write who world west which week whatever weapon what western water wall wind writer worry');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'who whatever week wall writer within wonder way wear weight wish whole whom want wide white water win window wind');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'which whom whose when win wife where wind would with worker wall what within window without wear woman water we');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'wind will wait worker whether why whatever wish wear what wide write without who well writer we water work whose');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'water would while will write worker week whole when whose within world work whether wife whom well weight what window');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'without word water where week whose window write will whatever weapon with white wear what west watch would writer worry');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'with woman well west western when world would wait whom whether wall work win window within worry writer who white');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'walk worker worry whole whom would we will whatever word wonder writer well what why wish wear win wide water');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'why white whom wall whole who wish wind while what whether will work wait walk when worker word western within');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'why who whom writer weight when wind walk watch weapon wide work water which world word wear whole win white');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'without within whose whom we wonder whole word want writer write who walk win wind worker while wear well would');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'word without win wear whether world wonder white weight wish walk wall within while want western woman weapon what worry');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'war we western wear whatever wife worker well window what will win wall world work where wonder walk way while');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'whom why want within weapon whose woman who walk which western write work we what where when will well wish');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'while whether what why whatever want will with weight window weapon wife when week within well western wind we wide');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'we way want west window why without what whether weight war while within whole woman wall word writer well watch');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'word world who we which whole why weapon within whose wide wear win war when what with week whether worry');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'weapon what which would will wear when white woman western while wall wide word walk wish week weight whom wonder');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'we woman will wish wind worker what whatever which weight world wife write without wonder western walk whole way whose');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'would weight war way watch week wide wish white who writer wear west what walk with wife while wait whole');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'word without world who work wall woman whose watch would will worker where when win what weight walk writer wear');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'well where why week way with whose weight whole worker wall west word would will water whom watch weapon whatever');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'wind woman world we walk wife work week win without with war when will while western wall way worker within');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'woman weight whole wear way whom within where work watch want wonder world we will without week why window what');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'who weapon water wife wide way week with word while writer weight worker would well whom watch win without wish');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'without work what watch which wear win write wait worker word water we wall would world where western wish worry');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'work which window wish white who whose whole wind whether way weight with wide wait world word wife when within');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'would win when wait word woman wish war week worry wonder whole worker with wear which where west watch want');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'writer while whole white within way war worker whether wife what win work wide why window when western week which');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'western while water watch well way worker weight wife window would whose wish within whatever which write win wait why');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'will whole week watch walk wish within water worker where writer well while what work would word want we wear');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'what wear wide war water well which when we wait weapon within white want window whose worry wind worker win');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'want writer wear whatever would well with woman within west work whom weapon while wait war whole write what whose');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'whether worry world well win wife within whole way without window worker wish where word why wear wall wind war');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'way wear whose who wish within worker wind war wait why which whatever wide well woman white when worry want');" >> "$CREATE_SQL_FILE" echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'word walk what wide would why world wear wall worker we when whole woman week whether whom writer wonder way');" >> "$CREATE_SQL_FILE" done echo "INSERT INTO \`d\`.\`t2\` (\`channel_id\`, \`content\`) VALUES ('$CHANNEL_ID', 'also all agreement already air agree almost alone along allow ahead');" > "$CONCURRENT_SQL_FILE" echo "Start" mysqlslap --host="$HOST" --port="$PORT" --user="$USER" --password="$PASSWORD" --delimiter=";" --create="$CREATE_SQL_FILE" --query="$CONCURRENT_SQL_FILE" --concurrency=100 --iterations=50 echo "Finish insert." echo "SELECT COUNT(*) AS count FROM \`d\`.\`t2\` t WHERE MATCH(t.content) AGAINST ('+agree +agreement +ahead' IN BOOLEAN MODE) AND channel_id = '$CHANNEL_ID';" | mysql --host="$HOST" --port="$PORT" --user="$USER" --password="$PASSWORD"