Query time 0.00073
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "29.39"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_categories",
"access_type": "range",
"possible_keys": [
"c_status",
"id_path"
],
"key": "id_path",
"used_key_parts": [
"id_path"
],
"key_length": "767",
"rows_examined_per_scan": 20,
"rows_produced_per_join": 0,
"filtered": "0.80",
"index_condition": "(`ea201_francemaqu`.`cscart_categories`.`id_path` like '36/%')",
"cost_info": {
"read_cost": "28.98",
"eval_cost": "0.03",
"prefix_cost": "29.01",
"data_read_per_join": "427"
},
"used_columns": [
"category_id",
"parent_id",
"id_path",
"usergroup_ids",
"status",
"position",
"company_id",
"is_trash",
"storefront_id"
],
"attached_condition": "((`ea201_francemaqu`.`cscart_categories`.`company_id` = 1) and ((`ea201_francemaqu`.`cscart_categories`.`usergroup_ids` = '') or find_in_set(0,`ea201_francemaqu`.`cscart_categories`.`usergroup_ids`) or find_in_set(1,`ea201_francemaqu`.`cscart_categories`.`usergroup_ids`)) and (`ea201_francemaqu`.`cscart_categories`.`status` = 'A') and (`ea201_francemaqu`.`cscart_categories`.`storefront_id` in (0,1)))"
}
},
{
"table": {
"table_name": "cscart_category_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id",
"lang_code"
],
"key_length": "9",
"ref": [
"ea201_francemaqu.cscart_categories.category_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.16",
"eval_cost": "0.03",
"prefix_cost": "29.20",
"data_read_per_join": "496"
},
"used_columns": [
"category_id",
"lang_code",
"category"
]
}
},
{
"table": {
"table_name": "cscart_seo_names",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"dispatch"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"type",
"dispatch",
"lang_code",
"company_id"
],
"key_length": "210",
"ref": [
"ea201_francemaqu.cscart_categories.category_id",
"const",
"const",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.16",
"eval_cost": "0.03",
"prefix_cost": "29.39",
"data_read_per_join": "277"
},
"used_columns": [
"name",
"object_id",
"type",
"dispatch",
"lang_code",
"company_id",
"path"
]
}
}
]
}
}
}
Result
category_id |
parent_id |
id_path |
category |
position |
status |
company_id |
storefront_id |
seo_name |
seo_path |
148 |
40 |
36/40/148 |
Bombe acrylique NOUVEAU |
0 |
A |
1 |
1 |
peintures-maquette-revell-bombe-acrylique |
36/40 |
467 |
465 |
36/465/467 |
Xtrem metal |
0 |
A |
1 |
1 |
xtrem-metal |
36/465 |
95 |
37 |
36/37/95 |
Flacons Tamiya Color |
10 |
A |
1 |
1 |
flacons-tamiya-color |
36/37 |
41 |
40 |
36/40/41 |
Glycéro Enamel Color |
10 |
A |
1 |
1 |
glycero-fr |
36/40 |
466 |
465 |
36/465/466 |
Real Color Ak Interactive |
10 |
A |
1 |
1 |
real-color-ak-interactive |
36/465 |
40 |
36 |
36/40 |
Revell - peintures maquettes |
10 |
A |
1 |
1 |
revell-fr |
36 |
42 |
40 |
36/40/42 |
Acryliques Aqua Color |
20 |
A |
1 |
1 |
acryliques-fr |
36/40 |
468 |
465 |
36/465/468 |
Peintures Enamel Ak Interactive |
20 |
A |
1 |
1 |
peintures-enamel-ak-interactive |
36/465 |
96 |
37 |
36/37/96 |
Spray Tamiya Color |
20 |
A |
1 |
1 |
aerosols-tamiya-colors |
36/37 |
37 |
36 |
36/37 |
Tamiya - peintures maquettes |
20 |
A |
1 |
1 |
tamiya-fr |
36 |
465 |
36 |
36/465 |
Peintures Ak Interactive |
25 |
A |
1 |
1 |
ak-interactive-peintures-maquettes |
36 |
476 |
36 |
36/476 |
Acryliques Heller |
26 |
A |
1 |
1 |
acryliques-heller |
36 |
460 |
37 |
36/37/460 |
Aérosols Tamiya pour kits Radio-commandés |
30 |
A |
1 |
1 |
aerosols-tamiya-pour-kits-radio-commandes |
36/37 |
446 |
36 |
36/446 |
Humbrol - peintures maquettes |
30 |
A |
1 |
1 |
humbrol-peintures-maquettes |
36 |
480 |
465 |
36/465/480 |
Spray Bombes Ak Interactive |
30 |
A |
1 |
1 |
spray-bombes-ak-interactive |
36/465 |
44 |
36 |
36/44 |
Pinceaux |
40 |
A |
1 |
1 |
pinceaux-fr |
36 |
444 |
36 |
36/444 |
Diluant pour peinture |
50 |
A |
1 |
1 |
diluants-decapants-nettoyants.html |
36 |
486 |
36 |
36/486 |
Apprêt pour maquette |
90 |
A |
1 |
1 |
appret-pour-maquette |
36 |
43 |
36 |
36/43 |
Autres accessoires |
100 |
A |
1 |
1 |
autres-accessoires-fr |
36 |
491 |
36 |
36/491 |
Vernis maquettes |
110 |
A |
1 |
1 |
vernis-maquettes |
36 |