Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 148031

All versions of MySQL (not Microsoft SQL Server). Please also add a version-specific tag like mysql-5.7 if that is relevant to the question.

1 vote

Why does MySQL slow down in loading data?

table $table" echo "SET foreign_key_checks = 0; LOAD DATA INFILE '$f' INTO TABLE project_commits CHARACTER SET UTF8 FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '\"' LINES TERMINATED BY '\n' " |$mysql
Narnia_Optimus's user avatar
3 votes

MySQL import csv file ERROR 13 (HY000): Can't get stat of /path/file.csv (Errcode: 2)

Since I am working on a MySQL database of more than 300GB, I had to move the MySQL data directory to another internal disk and I was importing the CSV from an external hard disk. … Copying the 101GB CSV file into the MySQL data directory in the internal disk let me run the LOAD DATA INFILE command without any error message. …
Narnia_Optimus's user avatar
6 votes
2 answers
6k views

"Create Unique Index" on big table taking too long time [closed]

Here is how the command (selected one in the following picture) looks from the mysql workbench. I am running Mysql 5.7.22-0ubuntu0.16.04.1 on a Linux Mint 17.03 machine with 16GB RAM. … includedir /etc/mysql/conf.d/ ! …
Narnia_Optimus's user avatar