Query time 0.00193
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "17.68"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "ushop_categories",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"c_status",
"parent",
"p_category_id"
],
"key": "parent",
"used_key_parts": [
"parent_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 49,
"rows_produced_per_join": 0,
"filtered": "1.80",
"cost_info": {
"read_cost": "11.55",
"eval_cost": "0.09",
"prefix_cost": "16.45",
"data_read_per_join": "2K"
},
"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`.`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.22",
"eval_cost": "0.09",
"prefix_cost": "16.76",
"data_read_per_join": "2K"
},
"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": 3,
"rows_produced_per_join": 2,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.66",
"eval_cost": "0.26",
"prefix_cost": "17.68",
"data_read_per_join": "4K"
},
"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 |
| 318 |
0 |
318 |
Accesorios para Vehículos |
10 |
A |
0 |
0 |
accesorios-para-vehiculos |
|
left |
Y |
#ffffff |
#333333 |
N |
Accesorios para Vehículos |
Y |
| 328 |
0 |
328 |
Agro |
20 |
A |
0 |
0 |
agro |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 329 |
0 |
329 |
Alimentos y Bebidas |
30 |
A |
0 |
0 |
alimentos-y-bebidas |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 330 |
0 |
330 |
Animales y Mascotas |
40 |
A |
0 |
0 |
animales-y-mascotas |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 331 |
0 |
331 |
Antigüedades y Colecciones |
50 |
A |
0 |
0 |
antiguedades-y-colecciones |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 332 |
0 |
332 |
Arte, Librería y Mercería |
60 |
A |
0 |
0 |
arte-libreria-y-merceria |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 333 |
0 |
333 |
Autos, Motos y Otros |
70 |
A |
0 |
0 |
autos-motos-y-otros |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 334 |
0 |
334 |
Bebés |
80 |
A |
0 |
0 |
bebes |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 335 |
0 |
335 |
Belleza y Cuidado Personal |
90 |
A |
0 |
0 |
belleza-y-cuidado-personal |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 325 |
0 |
325 |
Cámaras y Accesorios |
100 |
A |
0 |
0 |
camaras-y-accesorios |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 320 |
0 |
320 |
Celulares y Telefonía |
120 |
A |
0 |
0 |
celulares-y-telefonia |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 326 |
0 |
326 |
Computación |
130 |
A |
0 |
0 |
computacion |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 319 |
0 |
319 |
Consolas y Videojuegos |
140 |
A |
0 |
0 |
consolas-y-videojuegos |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 336 |
0 |
336 |
Construcción |
150 |
A |
0 |
0 |
construccion |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 323 |
0 |
323 |
Deportes y Fitness |
160 |
A |
0 |
0 |
deportes-y-fitness |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 337 |
0 |
337 |
Electrodomésticos y Aires Acondicionados |
170 |
A |
0 |
0 |
electrodomesticos-y-aires-acondicionados |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 315 |
0 |
315 |
Electrónica, Audio y Video |
180 |
A |
0 |
0 |
electronica-audio-y-video |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 338 |
0 |
338 |
Herramientas |
190 |
A |
0 |
0 |
herramientas |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 339 |
0 |
339 |
Hogar, Muebles y Jardín |
200 |
A |
0 |
0 |
hogar-muebles-y-jardin |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 324 |
0 |
324 |
Industrias y Oficinas |
220 |
A |
0 |
0 |
industrias-y-oficinas |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 340 |
0 |
340 |
Inmuebles |
230 |
A |
0 |
0 |
inmuebles |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 341 |
0 |
341 |
Instrumentos Musicales |
240 |
A |
0 |
0 |
instrumentos-musicales |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 321 |
0 |
321 |
Joyas y Relojes |
250 |
A |
0 |
0 |
joyas-y-relojes |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 342 |
0 |
342 |
Juegos y Juguetes |
260 |
A |
0 |
0 |
juegos-y-juguetes |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 317 |
0 |
317 |
Libros, Revistas y Comics |
270 |
A |
0 |
0 |
libros-revistas-y-comics |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 322 |
0 |
322 |
Música y Películas |
280 |
A |
0 |
0 |
musica-y-peliculas |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 316 |
0 |
316 |
Ropa, Calzados y Accesorios |
290 |
A |
0 |
0 |
ropa-calzados-y-accesorios |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 343 |
0 |
343 |
Salud y Equipamiento Médico |
310 |
A |
0 |
0 |
salud-y-equipamiento-medico |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 344 |
0 |
344 |
Servicios |
320 |
A |
0 |
0 |
servicios |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 345 |
0 |
345 |
Souvenirs, Cotillón y Fiestas |
330 |
A |
0 |
0 |
souvenirs-cotillon-y-fiestas |
|
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 327 |
0 |
327 |
Otras categorías |
340 |
A |
0 |
0 |
otras-categorias |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 346 |
0 |
346 |
Productos Sustentables |
370 |
A |
0 |
0 |
productos-sustentables |
|
left |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 375 |
0 |
375 |
Compra internacional |
390 |
A |
0 |
0 |
compra-internacional |
|
left |
N |
#ffffff |
#222222 |
N |
|
N |
| 767 |
0 |
767 |
Category Test WK 1 |
400 |
A |
0 |
0 |
category-test-wk |
|
none |
N |
#ffffff |
#222222 |
N |
|
N |
| 768 |
0 |
768 |
Category Test WK 2 |
410 |
A |
0 |
0 |
category-test-wk-2 |
|
none |
N |
#ffffff |
#222222 |
N |
|
N |
| 769 |
0 |
769 |
Category Test WK 3 |
420 |
A |
0 |
0 |
category-test-wk-3 |
|
none |
N |
#ffffff |
#222222 |
N |
|
N |
| 770 |
0 |
770 |
Category Test WK 4 |
430 |
A |
0 |
0 |
category-test-wk-3-es |
|
none |
N |
#ffffff |
#222222 |
N |
|
N |
| 771 |
0 |
771 |
Category Test WK 5 |
440 |
A |
0 |
0 |
category-test-wk-5 |
|
none |
N |
#ffffff |
#222222 |
N |
|
N |
| 772 |
0 |
772 |
Category Test WK 6 |
450 |
A |
0 |
0 |
category-test-wk-6 |
|
none |
N |
#ffffff |
#222222 |
N |
|
N |
| 773 |
0 |
773 |
Category Test WK 7 |
460 |
A |
0 |
0 |
category-test-wk-7 |
|
none |
N |
#ffffff |
#222222 |
N |
|
N |
| 774 |
0 |
774 |
Category Test WK 8 |
470 |
A |
0 |
0 |
category-test-wk-8 |
|
none |
N |
#ffffff |
#222222 |
N |
|
N |