<% if local_assigns[:xhr] %> No data available for this time. <% else %> ... <% end %>
<%= query["query"] %><% if query["query"] == "
For security reasons, only superusers can see queries executed by other users.
<% end %> <% if (i2 = @suggested_indexes_by_query[query["query"]]) %> <% if (index = i2[:index]) && !i2[:covering_index] %> <%= render partial: "suggested_index", locals: {index: index} %> <% end %> <% if @debug %><% if i2[:explanation] %><%= i2[:explanation] %><% else %>Rows: <%= i2[:rows] %>
Row estimates: <%= i2[:row_estimates].to_a.map { |k, v| "#{k}=#{v}" }.join(", ") %>
Row progresssion: <%= i2[:row_progression].to_a.join(", ") %><% end %>
<% end %>
<% end %>