Query time 0.00078
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "20.50"
},
"ordering_operation": {
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "l",
"access_type": "ALL",
"rows_examined_per_scan": 190,
"rows_produced_per_join": 1,
"filtered": "1.00",
"cost_info": {
"read_cost": "19.65",
"eval_cost": "0.19",
"prefix_cost": "19.84",
"data_read_per_join": "440"
},
"used_columns": [
"location_id",
"dispatch",
"is_default",
"layout_id",
"object_ids",
"custom_html",
"position"
],
"attached_condition": "((`primapearl_r_new`.`l`.`layout_id` = 3) and (`primapearl_r_new`.`l`.`dispatch` = 'pages.view?page_type=B') and ((0 <> find_in_set(87,`primapearl_r_new`.`l`.`object_ids`)) or (`primapearl_r_new`.`l`.`object_ids` = '')))"
}
},
{
"table": {
"table_name": "d",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"location_id",
"lang_code"
],
"key_length": "10",
"ref": [
"primapearl_r_new.l.location_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"index_condition": "<if>(is_not_null_compl(d), (`primapearl_r_new`.`d`.`location_id` = `primapearl_r_new`.`l`.`location_id`), true)",
"cost_info": {
"read_cost": "0.48",
"eval_cost": "0.19",
"prefix_cost": "20.50",
"data_read_per_join": "456"
},
"used_columns": [
"location_id",
"lang_code",
"name",
"title",
"meta_description",
"meta_keywords"
]
}
}
]
}
}
}
Result
| location_id |
dispatch |
is_default |
layout_id |
object_ids |
custom_html |
position |
lang_code |
name |
title |
meta_description |
meta_keywords |
| 59 |
pages.view?page_type=B |
0 |
3 |
|
|
170 |
ru |
Блог |
|
|
|