Answer the question
In order to leave comments, you need to log in
The mysql8 table is added very slowly. What is the reason?
The mysql8 table is added very slowly. What is the reason?
CREATE TABLE `XXXX` ( `id` int(11) NOT NULL AUTO_INCREMENT, `title` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL, `external_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8
Answer the question
In order to leave comments, you need to log in
If it's a one-time addition, turn off the indexes and turn them back on after INSERTa. This will help to significantly speed up the addition of data.
Really strange, must be very fast.
By the way, slowly is how many in seconds?
Is the server loaded?
Writes something to error.log?
From MySQL table creation insanely slow
SET profiling = 1;
CREATE TABLE blah (id BIGINT UNSIGNED NOT NULL PRIMARY KEY);
SET profiling = 1;
= 0
to remove the profiling. Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question