Query time 0.00115
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "30.49"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "l",
"access_type": "ALL",
"rows_examined_per_scan": 287,
"rows_produced_per_join": 2,
"filtered": "1.00",
"cost_info": {
"read_cost": "28.66",
"eval_cost": "0.29",
"prefix_cost": "28.95",
"data_read_per_join": "665"
},
"used_columns": [
"location_id",
"dispatch",
"is_default",
"layout_id",
"object_ids",
"custom_html",
"position"
],
"attached_condition": "((`dev2`.`l`.`layout_id` = 3) and (`dev2`.`l`.`dispatch` = 'products.view') and ((0 <> find_in_set(26757,`dev2`.`l`.`object_ids`)) or (`dev2`.`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": [
"dev2.l.location_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.72",
"eval_cost": "0.29",
"prefix_cost": "29.95",
"data_read_per_join": "2K"
},
"used_columns": [
"location_id",
"lang_code",
"name",
"title",
"meta_description",
"meta_keywords",
"is_tilda_page",
"tilda_link"
],
"attached_condition": "<if>(is_not_null_compl(d), (`dev2`.`d`.`location_id` = `dev2`.`l`.`location_id`), true)"
}
},
{
"table": {
"table_name": "cscart_tilda_locations",
"access_type": "ALL",
"possible_keys": [
"PRIMARY"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 2,
"filtered": "100.00",
"using_join_buffer": "hash join",
"cost_info": {
"read_cost": "0.25",
"eval_cost": "0.29",
"prefix_cost": "30.50",
"data_read_per_join": "2K"
},
"used_columns": [
"page_id",
"inner_location_id",
"project_id",
"published",
"page_title",
"description",
"images",
"js",
"css",
"errors",
"status",
"is_only_content"
],
"attached_condition": "<if>(is_not_null_compl(cscart_tilda_locations), (`dev2`.`cscart_tilda_locations`.`inner_location_id` = `dev2`.`l`.`location_id`), true)"
}
}
]
}
}
}
Result
location_id |
dispatch |
is_default |
layout_id |
object_ids |
custom_html |
position |
lang_code |
name |
title |
meta_description |
meta_keywords |
is_tilda_page |
tilda_link |
page_id |
inner_location_id |
project_id |
published |
page_title |
description |
images |
js |
css |
errors |
status |
is_only_content |
32 |
products.view |
0 |
3 |
|
|
30 |
ru |
Товары |
|
|
|
N |
|
|
|
|
|
|
|
|
|
|
|
|
|