Query time 0.00354
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "7.04"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "ushop_categories",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"c_status",
"parent",
"id_path",
"p_category_id"
],
"key": "id_path",
"used_key_parts": [
"id_path"
],
"key_length": "767",
"rows_examined_per_scan": 15,
"rows_produced_per_join": 0,
"filtered": "0.33",
"index_condition": "(`marketplace`.`ushop_categories`.`id_path` like '318/%')",
"cost_info": {
"read_cost": "7.00",
"eval_cost": "0.01",
"prefix_cost": "7.01",
"data_read_per_join": "166"
},
"used_columns": [
"category_id",
"parent_id",
"id_path",
"company_id",
"storefront_id",
"usergroup_ids",
"status",
"position",
"is_trash",
"category_type",
"ab__lc_catalog_image_control",
"ab__fn_category_status",
"ab__fn_label_color",
"ab__fn_label_background",
"ab__fn_use_origin_image"
],
"attached_condition": "((`marketplace`.`ushop_categories`.`parent_id` = 318) and ((`marketplace`.`ushop_categories`.`usergroup_ids` = '') or (0 <> find_in_set(0,`marketplace`.`ushop_categories`.`usergroup_ids`)) or (0 <> find_in_set(1,`marketplace`.`ushop_categories`.`usergroup_ids`))) and (`marketplace`.`ushop_categories`.`status` = 'A') and (`marketplace`.`ushop_categories`.`category_id` <> 264) and (`marketplace`.`ushop_categories`.`storefront_id` in (0,1)) and (`marketplace`.`ushop_categories`.`category_type` <> 'W'))"
}
},
{
"table": {
"table_name": "ushop_category_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id",
"lang_code"
],
"key_length": "9",
"ref": [
"marketplace.ushop_categories.category_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.01",
"eval_cost": "0.01",
"prefix_cost": "7.03",
"data_read_per_join": "170"
},
"used_columns": [
"category_id",
"lang_code",
"category",
"ab__fn_label_text",
"ab__fn_label_show"
]
}
},
{
"table": {
"table_name": "ushop_seo_names",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"dispatch"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"type",
"dispatch",
"lang_code"
],
"key_length": "206",
"ref": [
"marketplace.ushop_categories.category_id",
"const",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.01",
"eval_cost": "0.01",
"prefix_cost": "7.05",
"data_read_per_join": "86"
},
"used_columns": [
"name",
"object_id",
"type",
"dispatch",
"path",
"lang_code"
]
}
}
]
}
}
}
Result
| category_id |
parent_id |
id_path |
category |
position |
status |
company_id |
storefront_id |
seo_name |
seo_path |
ab__lc_catalog_image_control |
ab__fn_category_status |
ab__fn_label_color |
ab__fn_label_background |
ab__fn_use_origin_image |
ab__fn_label_text |
ab__fn_label_show |
| 700 |
318 |
318/700 |
|
0 |
A |
0 |
0 |
performance |
318 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 746 |
318 |
318/746 |
|
0 |
A |
0 |
0 |
accesorios-para-linea-pesada |
318 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 745 |
318 |
318/745 |
|
0 |
A |
0 |
0 |
accesorios-de-auto-y-camioneta |
318 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 744 |
318 |
318/744 |
|
0 |
A |
0 |
0 |
accesorios-nauticos |
318 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 707 |
318 |
318/707 |
|
0 |
A |
0 |
0 |
otros |
318 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 706 |
318 |
318/706 |
|
0 |
A |
0 |
0 |
tuning |
318 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 705 |
318 |
318/705 |
|
0 |
A |
0 |
0 |
service-programado |
318 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 704 |
318 |
318/704 |
|
0 |
A |
0 |
0 |
repuestos-de-linea-pesada |
318 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 703 |
318 |
318/703 |
|
0 |
A |
0 |
0 |
repuestos-nauticos |
318 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 702 |
318 |
318/702 |
|
0 |
A |
0 |
0 |
repuestos-motos-y-cuatriciclos |
318 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 701 |
318 |
318/701 |
|
0 |
A |
0 |
0 |
repuestos-autos-y-camionetas |
318 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 699 |
318 |
318/699 |
|
0 |
A |
0 |
0 |
neumaticos |
318 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 698 |
318 |
318/698 |
|
0 |
A |
0 |
0 |
motos |
318 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 697 |
318 |
318/697 |
|
0 |
A |
0 |
0 |
llantas-y-accesorios |
318 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 696 |
318 |
318/696 |
|
0 |
A |
0 |
0 |
limpieza-de-vehiculos |
318 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 695 |
318 |
318/695 |
|
0 |
A |
0 |
0 |
acc-para-motos-y-cuatriciclos |
318 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 689 |
318 |
318/689 |
|
0 |
A |
0 |
0 |
lubricantes-y-fluidos |
318 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 678 |
318 |
318/678 |
|
0 |
A |
0 |
0 |
gnc |
318 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 670 |
318 |
318/670 |
|
0 |
A |
0 |
0 |
herramientas-para-vehiculos |
318 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 355 |
318 |
318/355 |
Audio para Autos |
0 |
A |
0 |
0 |
audio-para-autos |
318 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 354 |
318 |
318/354 |
Navegadores GPS para VehĂculos |
0 |
A |
0 |
0 |
navegadores-gps-para-vehiculos |
318 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 357 |
318 |
318/357 |
Seguridad Vehicular |
0 |
A |
0 |
0 |
seguridad-vehicular |
318 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |