Query time 0.00160
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "25.91"
},
"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": 23,
"rows_produced_per_join": 0,
"filtered": "1.00",
"index_condition": "(`maniamall_cscart`.`cscart_categories`.`id_path` like '290/8238/%')",
"cost_info": {
"read_cost": "25.39",
"eval_cost": "0.02",
"prefix_cost": "25.41",
"data_read_per_join": "610"
},
"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.22",
"eval_cost": "0.02",
"prefix_cost": "25.66",
"data_read_per_join": "713"
},
"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.23",
"eval_cost": "0.02",
"prefix_cost": "25.91",
"data_read_per_join": "399"
},
"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 |
| 8239 |
8238 |
290/8238/8239 |
Baie Ulei |
90 |
A |
1 |
baie-ulei |
290/8238 |
| 8271 |
8238 |
290/8238/8271 |
Bobine Inductie |
90 |
A |
1 |
bobine-inductie |
290/8238 |
| 8297 |
8238 |
290/8238/8297 |
Buson Umplere Ulei |
90 |
A |
1 |
buson-umplere-ulei |
290/8238 |
| 8396 |
8238 |
290/8238/8396 |
Curele Transmisie |
90 |
A |
1 |
curele-transmisie |
290/8238 |
| 8402 |
8238 |
290/8238/8402 |
Debitmetre Aer |
90 |
A |
1 |
debitmetre-aer |
290/8238 |
| 8342 |
8238 |
290/8238/8342 |
Filtre Aer |
90 |
A |
1 |
filtre-aer-ro |
290/8238 |
| 8433 |
8238 |
290/8238/8433 |
Furtune Admisie |
90 |
A |
1 |
furtune-admisie |
290/8238 |
| 8430 |
8238 |
290/8238/8430 |
Furtune Aerisire Chiuloasa |
90 |
A |
1 |
furtune-aerisire-chiuloasa |
290/8238 |
| 8434 |
8238 |
290/8238/8434 |
Furtune Alimentare |
90 |
A |
1 |
furtune-alimentare |
290/8238 |
| 8437 |
8238 |
290/8238/8437 |
Garnituri Motor |
90 |
A |
1 |
garnituri-motor |
290/8238 |
| 8463 |
8238 |
290/8238/8463 |
Intercooler |
90 |
A |
1 |
intercooler |
290/8238 |
| 8464 |
8238 |
290/8238/8464 |
Intinzatoare Curea Role Ghidare |
90 |
A |
1 |
intinzatoare-curea-role-ghidare |
290/8238 |
| 8517 |
8238 |
290/8238/8517 |
Joje Ulei |
90 |
A |
1 |
joje-ulei |
290/8238 |
| 8470 |
8238 |
290/8238/8470 |
Lanturi Distributie |
90 |
A |
1 |
lanturi-distributie |
290/8238 |
| 8506 |
8238 |
290/8238/8506 |
Motoras Pas Cu Pas |
90 |
A |
1 |
motoras-pas-cu-pas |
290/8238 |
| 8536 |
8238 |
290/8238/8536 |
Pinion Ax Came |
90 |
A |
1 |
pinion-ax-came |
290/8238 |
| 8542 |
8238 |
290/8238/8542 |
Pompe Combustibil |
90 |
A |
1 |
pompe-combustibil |
290/8238 |
| 8590 |
8238 |
290/8238/8590 |
Simeringuri |
90 |
A |
1 |
simeringuri |
290/8238 |
| 8567 |
8238 |
290/8238/8567 |
Sonde Nivel Combustibil |
90 |
A |
1 |
sonde-nivel-combustibil |
290/8238 |
| 8612 |
8238 |
290/8238/8612 |
Supape Evacuare |
90 |
A |
1 |
supape-evacuare |
290/8238 |
| 8613 |
8238 |
290/8238/8613 |
Supape Unisens |
90 |
A |
1 |
supape-unisens |
290/8238 |
| 21369 |
8238 |
290/8238/21369 |
suruburi Chiuloasa |
90 |
A |
1 |
suruburi-chiuloasa |
290/8238 |
| 8663 |
8238 |
290/8238/8663 |
Valva Egr |
90 |
A |
1 |
valva-egr |
290/8238 |