Query time 0.00453
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "28.55"
},
"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": 32,
"rows_produced_per_join": 0,
"filtered": "1.00",
"index_condition": "(`maniamall_cscart`.`cscart_categories`.`id_path` like '290/3168/%')",
"cost_info": {
"read_cost": "27.83",
"eval_cost": "0.03",
"prefix_cost": "27.86",
"data_read_per_join": "849"
},
"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.30",
"eval_cost": "0.03",
"prefix_cost": "28.20",
"data_read_per_join": "993"
},
"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.32",
"eval_cost": "0.03",
"prefix_cost": "28.55",
"data_read_per_join": "555"
},
"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 |
| 9728 |
3170 |
290/3168/3169/3170/9728 |
Adaptor Bec Led |
90 |
A |
1 |
adaptor-bec-led |
290/3168/3169/3170 |
| 8086 |
3170 |
290/3168/3169/3170/8086 |
Angel Eyes Led Marker Bmw |
90 |
A |
1 |
angel-eyes-led-marker-bmw-ro |
290/3168/3169/3170 |
| 23768 |
23494 |
290/3168/3169/23494/23768 |
Angel Eyes Led Marker Bmw |
90 |
A |
1 |
angel-eyes-led-marker-bmw |
290/3168/3169/23494 |
| 8085 |
3170 |
290/3168/3169/3170/8085 |
Banda Led |
90 |
A |
1 |
banda-led |
290/3168/3169/3170 |
| 23785 |
23494 |
290/3168/3169/23494/23785 |
Banda Led |
90 |
A |
1 |
banda-led-ro |
290/3168/3169/23494 |
| 23510 |
23494 |
290/3168/3169/23494/23510 |
Bec Led |
90 |
A |
1 |
bec-led-ro-2 |
290/3168/3169/23494 |
| 3220 |
3170 |
290/3168/3169/3170/3220 |
Bec Led |
90 |
A |
1 |
bec-led |
290/3168/3169/3170 |
| 23507 |
23494 |
290/3168/3169/23494/23507 |
Bec Led Fara Eroare Canbus |
90 |
A |
1 |
bec-led-fara-eroare-canbus-ro |
290/3168/3169/23494 |
| 3215 |
3170 |
290/3168/3169/3170/3215 |
Bec Led Fara Eroare Canbus |
90 |
A |
1 |
bec-led-fara-eroare-canbus |
290/3168/3169/3170 |
| 8092 |
3170 |
290/3168/3169/3170/8092 |
Bec Sticla Art |
90 |
A |
1 |
bec-sticla-art |
290/3168/3169/3170 |
| 23738 |
23494 |
290/3168/3169/23494/23738 |
Bec Sticla Art |
90 |
A |
1 |
bec-sticla-art-ro |
290/3168/3169/23494 |
| 23524 |
23494 |
290/3168/3169/23494/23524 |
Dacia - Far |
90 |
A |
1 |
dacia-far |
290/3168/3169/23494 |
| 3321 |
3170 |
290/3168/3169/3170/3321 |
Fir Neon |
90 |
A |
1 |
fir-neon |
290/3168/3169/3170 |
| 8087 |
3170 |
290/3168/3169/3170/8087 |
Iluminat Led 220v |
90 |
A |
1 |
iluminat-led-220v |
290/3168/3169/3170 |
| 23769 |
23494 |
290/3168/3169/23494/23769 |
Iluminat Led 220v |
90 |
A |
1 |
iluminat-led-220v-ro |
290/3168/3169/23494 |
| 23792 |
23494 |
290/3168/3169/23494/23792 |
Led Art X01 |
90 |
A |
1 |
led-art-x01-ro |
290/3168/3169/23494 |
| 8134 |
3170 |
290/3168/3169/3170/8134 |
Led Art X01 |
90 |
A |
1 |
led-art-x01 |
290/3168/3169/3170 |
| 23506 |
23494 |
290/3168/3169/23494/23506 |
Led Ev12 Csp2121 |
90 |
A |
1 |
led-ev12-csp2121-ro |
290/3168/3169/23494 |
| 8709 |
3170 |
290/3168/3169/3170/8709 |
Led Ev12 Csp2121 |
90 |
A |
1 |
led-ev12-csp2121 |
290/3168/3169/3170 |
| 9721 |
3170 |
290/3168/3169/3170/9721 |
Led Ev5 |
90 |
A |
1 |
led-ev5 |
290/3168/3169/3170 |
| 7908 |
3170 |
290/3168/3169/3170/7908 |
Led Korea |
90 |
A |
1 |
led-korea |
290/3168/3169/3170 |
| 23733 |
23494 |
290/3168/3169/23494/23733 |
Led Korea |
90 |
A |
1 |
led-korea-ro |
290/3168/3169/23494 |
| 23776 |
23494 |
290/3168/3169/23494/23776 |
Led L11 - Culoare Duala |
90 |
A |
1 |
led-l11-culoare-duala |
290/3168/3169/23494 |
| 23777 |
23494 |
290/3168/3169/23494/23777 |
Led S2 Lumileds |
90 |
A |
1 |
led-s2-lumileds |
290/3168/3169/23494 |
| 3169 |
3168 |
290/3168/3169 |
Leduri |
90 |
A |
1 |
leduri |
290/3168 |
| 7898 |
7897 |
290/3168/3169/3170/7897/7898 |
Lumini De Zi Drl |
90 |
A |
1 |
lumini-de-zi-drl-ro |
290/3168/3169/3170/7897 |
| 23496 |
23495 |
290/3168/3169/23494/23495/23496 |
Lumini De Zi Drl |
90 |
A |
1 |
lumini-de-zi-drl |
290/3168/3169/23494/23495 |
| 3170 |
3169 |
290/3168/3169/3170 |
Proiectare |
90 |
A |
1 |
proiectare |
290/3168/3169 |
| 23494 |
3169 |
290/3168/3169/23494 |
Proiectoare |
90 |
A |
1 |
proiectoare-ro-2 |
290/3168/3169 |
| 7897 |
3170 |
290/3168/3169/3170/7897 |
Proiector Led |
90 |
A |
1 |
proiector-led |
290/3168/3169/3170 |
| 23495 |
23494 |
290/3168/3169/23494/23495 |
Proiector Led |
90 |
A |
1 |
proiector-led-ro |
290/3168/3169/23494 |
| 23525 |
23524 |
290/3168/3169/23494/23524/23525 |
Stop |
90 |
A |
1 |
stop-ro |
290/3168/3169/23494/23524 |