Bug #35355 | Support explain for update and delete statements | ||
---|---|---|---|
Submitted: | 17 Mar 2008 23:14 | Modified: | 16 Oct 2012 4:40 |
Reporter: | Mark Callaghan | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S2 (Serious) |
Version: | 5.0 | OS: | Any |
Assigned to: | Geir Høydalsvik | CPU Architecture: | Any |
Tags: | delete, explain, UPDATE |
[17 Mar 2008 23:14]
Mark Callaghan
[19 Mar 2008 18:43]
Susanne Ebrecht
Many thanks for reporting a feature request. EXPLAIN isn't standard SQL but you can do EXPLAIN DELETE ... and EXPLAIN UPDATE at all other RDBMS that I know and that have EXPLAIN implemented.
[3 Jun 2008 20:32]
James Shaw
I'd suggest this is a duplicate of #14745
[3 Jun 2008 21:09]
Mark Callaghan
Yes, it is if the other one is expanded to include replace, delete, insert as select and create table as select.
[8 Mar 2010 13:41]
Manyi Lu
This is a feature request, see worklog WL#706, WL#4897.
[8 Mar 2010 21:07]
Mark Callaghan
Worklog 4897 is private. What is the ETA for delivering this? I prefer to avoid production emergencies from insert/update/delete statements that have bad plans which would be obvious if EXPLAIN were supported.
[8 Apr 2010 12:09]
Sveta Smirnova
See also bug #52686
[22 Nov 2010 15:20]
Tyler MacDonald
Manyi, can you please make WL#4897 public?
[15 Oct 2012 14:57]
Erlend Dahl
Implemented in 5.6.3