I am running show profile
query againt a batched insert query (1000 rows) which i want to optimize its speed as possible as i could
Here is the result
mysql> show profile;
+----------------------+----------+
| Status | Duration |
+----------------------+----------+
| starting | 0.965771 |
| checking permissions | 0.000013 |
| Opening tables | 0.000011 |
| System lock | 0.000003 |
| Table lock | 0.000004 |
| init | 0.059567 |
| update | 0.807374 |
| end | 0.000064 |
| query end | 0.000004 |
| freeing items | 0.034606 |
| closing tables | 0.000011 |
| logging slow query | 0.000002 |
| cleaning up | 0.000079 |
+----------------------+----------+
Could anyone help me know the meaning of starting
and update
status which took almost all the executing time of the query ...
Many Thanks