Query time 0.00415
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "24.06"
},
"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": 28,
"rows_produced_per_join": 0,
"filtered": "1.00",
"index_condition": "(`maniamall_cscart`.`cscart_categories`.`id_path` like '290/3127/%')",
"cost_info": {
"read_cost": "23.47",
"eval_cost": "0.03",
"prefix_cost": "23.49",
"data_read_per_join": "743"
},
"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": "23.76",
"data_read_per_join": "869"
},
"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.27",
"eval_cost": "0.03",
"prefix_cost": "24.06",
"data_read_per_join": "486"
},
"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 |
| 19349 |
3127 |
290/3127/19349 |
accesorii Curatat |
90 |
A |
1 |
accesorii-curatat-ro |
290/3127 |
| 19563 |
3127 |
290/3127/19563 |
aditivi Auto |
90 |
A |
1 |
aditivi-auto-ro |
290/3127 |
| 21094 |
3127 |
290/3127/21094 |
diverse Solutii |
90 |
A |
1 |
diverse-solutii-ro |
290/3127 |
| 3128 |
3127 |
290/3127/3128 |
Intretinere Si Aditivi |
90 |
A |
1 |
intretinere-si-aditivi |
290/3127 |
| 21146 |
3127 |
290/3127/21146 |
lichid De Frana |
90 |
A |
1 |
lichid-de-frana-ro |
290/3127 |
| 3309 |
3127 |
290/3127/3309 |
Material Textil Pentru Huse |
90 |
A |
1 |
material-textil-pentru-huse |
290/3127 |
| 3141 |
3127 |
290/3127/3141 |
Odorizant Auto |
90 |
A |
1 |
odorizant-auto-ro |
290/3127 |
| 20820 |
3127 |
290/3127/20820 |
odorizante Auto |
90 |
A |
1 |
odorizante-auto-ro |
290/3127 |
| 21383 |
3127 |
290/3127/21383 |
polish Auto |
90 |
A |
1 |
polish-auto |
290/3127 |
| 3336 |
3163 |
290/3127/3163/3336 |
Pregatire Si Protectie |
90 |
A |
1 |
pregatire-si-protectie |
290/3127/3163 |
| 23735 |
3127 |
290/3127/23735 |
Produse Hek |
90 |
A |
1 |
produse-hek |
290/3127 |
| 21341 |
3127 |
290/3127/21341 |
solutii Curatat |
90 |
A |
1 |
solutii-curatat-ro |
290/3127 |
| 3166 |
3165 |
290/3127/3165/3166 |
Spray Diverse |
90 |
A |
1 |
spray-diverse |
290/3127/3165 |
| 3163 |
3127 |
290/3127/3163 |
Spray Vopsea Art |
90 |
A |
1 |
spray-vopsea-art |
290/3127 |
| 3167 |
3165 |
290/3127/3165/3167 |
Spray Vopsea Cauciucata Ral |
90 |
A |
1 |
spray-vopsea-cauciucata-ral |
290/3127/3165 |
| 3354 |
3165 |
290/3127/3165/3354 |
Spray Vopsea Fluorescent |
90 |
A |
1 |
spray-vopsea-fluorescent |
290/3127/3165 |
| 3353 |
3163 |
290/3127/3163/3353 |
Spray Vopsea Metalizata |
90 |
A |
1 |
spray-vopsea-metalizata |
290/3127/3163 |
| 3164 |
3163 |
290/3127/3163/3164 |
Spray Vopsea Nemetalizat |
90 |
A |
1 |
spray-vopsea-nemetalizat |
290/3127/3163 |
| 3165 |
3127 |
290/3127/3165 |
Spray Vopsea Profesional Ral |
90 |
A |
1 |
spray-vopsea-profesional-ral |
290/3127 |
| 3355 |
3163 |
290/3127/3163/3355 |
Spray Vopsea Rezistent Termic Etriere |
90 |
A |
1 |
spray-vopsea-rezistent-termic-etriere |
290/3127/3163 |
| 8093 |
3163 |
290/3127/3163/8093 |
Spray Vopsea Tabla Acoperis |
90 |
A |
1 |
spray-vopsea-tabla-acoperis |
290/3127/3163 |
| 20826 |
3127 |
290/3127/20826 |
spray-uri Tehnice |
90 |
A |
1 |
spray-uri-tehnice-ro |
290/3127 |
| 3343 |
3127 |
290/3127/3343 |
Ulei Auto |
90 |
A |
1 |
ulei-auto |
290/3127 |
| 3347 |
3343 |
290/3127/3343/3347 |
Ulei Castrol |
90 |
A |
1 |
ulei-castrol |
290/3127/3343 |
| 3346 |
3343 |
290/3127/3343/3346 |
Ulei Cutie Viteza |
90 |
A |
1 |
ulei-cutie-viteza |
290/3127/3343 |
| 3344 |
3343 |
290/3127/3343/3344 |
Ulei Dacia |
90 |
A |
1 |
ulei-dacia |
290/3127/3343 |
| 3348 |
3343 |
290/3127/3343/3348 |
Ulei Elf |
90 |
A |
1 |
ulei-elf |
290/3127/3343 |
| 3345 |
3343 |
290/3127/3343/3345 |
Ulei Mobil |
90 |
A |
1 |
ulei-mobil |
290/3127/3343 |