Here is what I'm looking at... the insert into the wpusers and then wpmeta takes forever. Personally I don't understand the purpose of the wpmeta table at all. IMHO it's like a normalization 101 mistake but, then again, I'm just an amateur hack.
mysql> show processlist;
+-------+-----------------+-------------------+-----------------+---------+------+--------+------------------------------------------------------------------------------------------------------+
| Id | User | Host | db | Command | Time | State | Info |
+-------+-----------------+-------------------+-----------------+---------+------+--------+------------------------------------------------------------------------------------------------------+
| 61316 | mysite_myadmin | localhost | mysite_mydb | Query | 0 | NULL | show processlist |
| 64110 | mysite_myadmin | 10.10.10.33:55782 | mysite_mydb | Sleep | 0 | | NULL |
| 64122 | mysite_myadmin | 10.10.10.33:55794 | mysite_mydb | Sleep | 0 | | NULL |
| 64228 | mysite_myadmin | 10.10.10.33:55917 | mysite_mydb | Query | 10 | update | INSERT INTO wp_users
(user_pass
,user_email
,user_url
,user_nicename
,display_name
,`user_reg |
+-------+-----------------+-------------------+-----------------+---------+------+--------+------------------------------------------------------------------------------------------------------+
4 rows in set (0.00 sec)
mysql> show processlist;
+-------+-----------------+-------------------+-----------------+---------+------+--------+------------------------------------------------------------------------------------------------+
| Id | User | Host | db | Command | Time | State | Info |
+-------+-----------------+-------------------+-----------------+---------+------+--------+------------------------------------------------------------------------------------------------+
| 61316 | mysite_myadmin | localhost | mysite_mydb | Query | 0 | NULL | show processlist |
| 64110 | mysite_myadmin | 10.10.10.33:55782 | mysite_mydb | Sleep | 0 | | NULL |
| 64122 | mysite_myadmin | 10.10.10.33:55794 | mysite_mydb | Sleep | 0 | | NULL |
| 64228 | mysite_myadmin | 10.10.10.33:55917 | mysite_mydb | Query | 0 | update | INSERT INTO wp_usermeta
(user_id
,meta_key
,meta_value
) VALUES ('44143','first_name','') |
+-------+-----------------+-------------------+-----------------+---------+------+--------+------------------------------------------------------------------------------------------------+
4 rows in set (0.00 sec)
Posted 12 years ago on Thursday February 2, 2012 |
Permalink