Query time 0.00125
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "16045.61"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_categories",
"access_type": "ALL",
"rows_examined_per_scan": 84,
"rows_produced_per_join": 8,
"filtered": "10.00",
"cost_info": {
"read_cost": "8.41",
"eval_cost": "0.84",
"prefix_cost": "9.25",
"data_read_per_join": "21K"
},
"used_columns": [
"category_id",
"parent_id",
"id_path",
"level",
"company_id",
"storefront_id",
"usergroup_ids",
"status",
"product_count",
"position",
"timestamp",
"is_op",
"localization",
"age_verification",
"age_limit",
"parent_age_verification",
"parent_age_limit",
"selected_views",
"default_view",
"product_details_view",
"product_columns",
"is_trash",
"is_default",
"category_type"
],
"attached_condition": "((`mobikul_delivery_boy_livedemo`.`cscart_categories`.`category_id` = 234) and ((`mobikul_delivery_boy_livedemo`.`cscart_categories`.`usergroup_ids` = '') or (0 <> find_in_set(0,`mobikul_delivery_boy_livedemo`.`cscart_categories`.`usergroup_ids`)) or (0 <> find_in_set(1,`mobikul_delivery_boy_livedemo`.`cscart_categories`.`usergroup_ids`))))"
}
},
{
"table": {
"table_name": "cscart_category_descriptions",
"access_type": "ALL",
"rows_examined_per_scan": 84,
"rows_produced_per_join": 705,
"filtered": "100.00",
"using_join_buffer": "hash join",
"cost_info": {
"read_cost": "0.70",
"eval_cost": "70.56",
"prefix_cost": "80.51",
"data_read_per_join": "2M"
},
"used_columns": [
"category_id",
"lang_code",
"category",
"description",
"meta_keywords",
"meta_description",
"page_title",
"age_warning_message"
],
"attached_condition": "<if>(is_not_null_compl(cscart_category_descriptions), ((`mobikul_delivery_boy_livedemo`.`cscart_category_descriptions`.`category_id` = 234) and (`mobikul_delivery_boy_livedemo`.`cscart_category_descriptions`.`lang_code` = 'en')), true)"
}
},
{
"table": {
"table_name": "cscart_seo_names",
"access_type": "ALL",
"rows_examined_per_scan": 226,
"rows_produced_per_join": 159465,
"filtered": "100.00",
"using_join_buffer": "hash join",
"cost_info": {
"read_cost": "18.54",
"eval_cost": "15946.56",
"prefix_cost": "16045.61",
"data_read_per_join": "264M"
},
"used_columns": [
"name",
"object_id",
"company_id",
"type",
"dispatch",
"path",
"lang_code"
],
"attached_condition": "<if>(is_not_null_compl(cscart_seo_names), ((`mobikul_delivery_boy_livedemo`.`cscart_seo_names`.`object_id` = 234) and (`mobikul_delivery_boy_livedemo`.`cscart_seo_names`.`type` = 'c') and (`mobikul_delivery_boy_livedemo`.`cscart_seo_names`.`dispatch` = '') and (`mobikul_delivery_boy_livedemo`.`cscart_seo_names`.`lang_code` = 'en')), true)"
}
}
]
}
}
Result
| category_id |
parent_id |
id_path |
level |
company_id |
storefront_id |
usergroup_ids |
status |
product_count |
position |
timestamp |
is_op |
localization |
age_verification |
age_limit |
parent_age_verification |
parent_age_limit |
selected_views |
default_view |
product_details_view |
product_columns |
is_trash |
is_default |
category_type |
lang_code |
category |
description |
meta_keywords |
meta_description |
page_title |
age_warning_message |
name |
object_id |
type |
dispatch |
path |
seo_name |
seo_path |
| 234 |
166 |
166/234 |
2 |
0 |
0 |
0 |
A |
0 |
40 |
1328475600 |
N |
|
N |
0 |
N |
0 |
|
|
default |
0 |
N |
N |
C |
en |
Cell Phones |
|
|
|
|
|
cell-phones |
234 |
c |
|
166 |
cell-phones |
166 |