O
O
Optimus2016-03-20 13:06:12
MySQL
Optimus, 2016-03-20 13:06:12

Explain and query analysis?

EXPLAIN SELECT works well, but I understand that this query is only performed with select and does not work with other types of queries. How, for example, to analyze a query like:
UPDATE `test` SET `num`=`num`+`num2` WHERE `id`=1
And somewhere else you can find out the time spent by the database on rebuilding the index (for example, if I had an index on the `num` field in the example above).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey, 2016-03-20
Pyan @marrk2

Have a look - stackoverflow.com/questions/11351804/mysql-explain...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question