31

The tag is supposed to be "a SQL command that shows the execution plan of a query", but sometimes it's used for questions where they are asking explanations about something, like a piece of code. I think we should disambiguate this by closing the obvious bad questions and retagging everything else as (or any other name, since MySQL seems to call it "show plan").

There are ~200 questions tagged. Some might need closure. Use your best judgment.

1 Answer 1

9

talks a lot about the explain plan of SQL queries (and those that don't should be edited).

talks directly about explain plans. However, it feels like it should be a synonym of...

......but perhaps those two can stand on their own.

So for this particular case I'm torn. We don't want the tag to lurk around for too long, but retagging to doesn't make sense if they're looking for query optimization help.

I suggest that and be made synonyms of instead. If anyone does want to delve into this and figure out what should stick around and what shouldn't, it'd be great if other outstanding issues with the questions could be fixed too.

7
  • 7
    I doubt that anyone looking for "query optimization" would use "explain plan" unless they want some kind of counsel while showing the results of the explain plan.
    – Braiam
    May 25, 2015 at 19:31
  • Less than 50 questions left after filtering out most database-related ones. Those should mostly need correction: stackoverflow.com/questions/tagged/… May 25, 2015 at 19:45
  • 1
    I went through that query and cleaned out all the questions that were using "explain" as a meta tag ("please explain this to me..."). It looks like elasticsearch also has an explain? May 26, 2015 at 23:51
  • In Oracle, EXPLAIN and EXPLAIN PLAN are the same statement. In sqlite3, EXPLAIN gives you bytecodes, EXPLAIN PLAN doesn't exist, EXPLAIN QUERY PLAN gives you the declarative plan. In MySQL, EXPLAIN is a synonym for DESCRIBE, which gives you information about tables, queries, or anything else. And so on. So, specifically looking for EXPLAIN or EXPLAIN PLAN or whatever instead of query-optimization doesn't make sense unless you're talking about a DBMS-specific statement.
    – abarnert
    May 27, 2015 at 7:32
  • @Makoto "explain plan" is clearly a subset of query optimisation - I don't think it makes sense to make them synonyms...
    – assylias
    May 27, 2015 at 8:12
  • @JasonMArcher did you voted to close also?
    – Braiam
    May 27, 2015 at 13:15
  • @Braiam Yes, for the ones that warranted. I had to wait for my votes to refresh to get the last few. May 27, 2015 at 16:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .