Query time 0.00134
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "20.71"
},
"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": 25,
"rows_produced_per_join": 0,
"filtered": "1.00",
"index_condition": "(`maniamall_cscart`.`cscart_categories`.`id_path` like '285/2995/%')",
"cost_info": {
"read_cost": "20.15",
"eval_cost": "0.03",
"prefix_cost": "20.18",
"data_read_per_join": "664"
},
"used_columns": [
"category_id",
"parent_id",
"id_path",
"company_id",
"usergroup_ids",
"status",
"position",
"is_trash"
],
"attached_condition": "((`maniamall_cscart`.`cscart_categories`.`company_id` = 1) and ((`maniamall_cscart`.`cscart_categories`.`usergroup_ids` = '') or (0 <> find_in_set(0,`maniamall_cscart`.`cscart_categories`.`usergroup_ids`)) or (0 <> find_in_set(1,`maniamall_cscart`.`cscart_categories`.`usergroup_ids`))) and (`maniamall_cscart`.`cscart_categories`.`status` = 'A'))"
}
},
{
"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": [
"maniamall_cscart.cscart_categories.category_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.24",
"eval_cost": "0.03",
"prefix_cost": "20.44",
"data_read_per_join": "776"
},
"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": [
"maniamall_cscart.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.25",
"eval_cost": "0.03",
"prefix_cost": "20.71",
"data_read_per_join": "434"
},
"used_columns": [
"name",
"object_id",
"company_id",
"type",
"dispatch",
"path",
"lang_code"
]
}
}
]
}
}
}
Result
| category_id |
parent_id |
id_path |
category |
position |
status |
company_id |
seo_name |
seo_path |
| 34536 |
2995 |
285/2995/34536 |
Rafturi si Etajere |
0 |
A |
1 |
rafturi-si-etajere |
285/2995 |
| 30714 |
5087 |
285/2995/5087/30714 |
Scaune Gaming |
0 |
A |
1 |
scaune-gaming |
285/2995/5087 |
| 5087 |
2995 |
285/2995/5087 |
Scaune |
10 |
A |
1 |
scaune |
285/2995 |
| 5081 |
2995 |
285/2995/5081 |
Mobilier Birou |
13 |
A |
1 |
mobilier-birou |
285/2995 |
| 2535 |
2995 |
285/2995/2535 |
Dulapuri Pantofi |
14 |
A |
1 |
dulapuri-pantofi |
285/2995 |
| 5167 |
2995 |
285/2995/5167 |
Cuiere |
15 |
A |
1 |
cuiere |
285/2995 |
| 5098 |
2995 |
285/2995/5098 |
Paturi |
16 |
A |
1 |
paturi |
285/2995 |
| 5076 |
2995 |
285/2995/5076 |
Saltele |
17 |
A |
1 |
saltele |
285/2995 |
| 5097 |
2995 |
285/2995/5097 |
Sifoniere si Dulapuri |
19 |
A |
1 |
sifoniere-dulapuri |
285/2995 |
| 5100 |
2995 |
285/2995/5100 |
Mobilier Camera Copii |
20 |
A |
1 |
mobilier-camera-copii |
285/2995 |
| 7160 |
2995 |
285/2995/7160 |
Biblioteci |
90 |
A |
1 |
biblioteci |
285/2995 |
| 28376 |
28375 |
285/2995/28375/28376 |
Bucatarie |
90 |
A |
1 |
bucatarie-ro-2 |
285/2995/28375 |
| 7109 |
2995 |
285/2995/7109 |
Comode |
90 |
A |
1 |
comode |
285/2995 |
| 28375 |
2995 |
285/2995/28375 |
Huse Scaun Dining |
90 |
A |
1 |
huse-scaun-dining |
285/2995 |
| 7222 |
2995 |
285/2995/7222 |
Masute Toaleta Machiaj |
90 |
A |
1 |
masute-toaleta-machiaj |
285/2995 |
| 5774 |
2995 |
285/2995/5774 |
Mese si Masute |
90 |
A |
1 |
mese-masute |
285/2995 |
| 5773 |
2995 |
285/2995/5773 |
Mobilier Baie |
90 |
A |
1 |
mobilier-baie |
285/2995 |
| 6942 |
2995 |
285/2995/6942 |
Mobilier Dormitor |
90 |
A |
1 |
mobilier-dormitor |
285/2995 |
| 11917 |
2995 |
285/2995/11917 |
Mobilier Hol |
90 |
A |
1 |
mobilier-hol |
285/2995 |
| 7158 |
2995 |
285/2995/7158 |
Mobilier Living |
90 |
A |
1 |
mobilier-living |
285/2995 |
| 7159 |
2995 |
285/2995/7159 |
Noptiere |
90 |
A |
1 |
noptiere |
285/2995 |
| 5467 |
2995 |
285/2995/5467 |
Oglinzi |
90 |
A |
1 |
oglinzi-ro-2 |
285/2995 |
| 3005 |
2995 |
285/2995/3005 |
Piese Mobilier Diverse |
90 |
A |
1 |
piese-mobilier-diverse |
285/2995 |
| 28964 |
2995 |
285/2995/28964 |
Somiere |
90 |
A |
1 |
somiere |
285/2995 |
| 7161 |
2995 |
285/2995/7161 |
Suporturi Haine |
100 |
A |
1 |
suporturi-haine |
285/2995 |