Advertisement
fagci

Untitled

Mar 19th, 2020
401
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.75 KB | None | 0 0
  1. {
  2.   "query_block": {
  3.     "select_id": 1,
  4.     "table": {
  5.       "table_name": "<derived2>",
  6.       "access_type": "ALL",
  7.       "rows": 691552,
  8.       "filtered": 100,
  9.       "attached_condition": "od.city_id = 25",
  10.       "materialized": {
  11.         "query_block": {
  12.           "select_id": 2,
  13.           "having_condition": "city_id = 25",
  14.           "table": {
  15.             "table_name": "b",
  16.             "access_type": "index",
  17.             "possible_keys": ["PRIMARY", "city_id"],
  18.             "key": "PRIMARY",
  19.             "key_length": "8",
  20.             "used_key_parts": ["id"],
  21.             "rows": 172886,
  22.             "filtered": 50.001,
  23.             "attached_condition": "b.alive = 1 and b.main_id > 0 and b.city_id <> 0"
  24.           },
  25.           "table": {
  26.             "table_name": "bt",
  27.             "access_type": "ref",
  28.             "possible_keys": ["alias_id"],
  29.             "key": "alias_id",
  30.             "key_length": "4",
  31.             "used_key_parts": ["alias_id"],
  32.             "ref": ["outdoor.b.type_id"],
  33.             "rows": 1,
  34.             "filtered": 100,
  35.             "index_condition": "bt.alias_id = b.type_id"
  36.           },
  37.           "table": {
  38.             "table_name": "build_property",
  39.             "access_type": "ref",
  40.             "possible_keys": ["name", "build_id"],
  41.             "key": "build_id",
  42.             "key_length": "8",
  43.             "used_key_parts": ["build_id"],
  44.             "ref": ["outdoor.b.id"],
  45.             "rows": 8,
  46.             "filtered": 100,
  47.             "index_condition": "build_property.build_id = b.`id`",
  48.             "attached_condition": "build_property.`name` in ('location','side','price') and build_property.`value` is not null and build_property.`value` <> ''"
  49.           }
  50.         }
  51.       }
  52.     }
  53.   }
  54. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement