Query time 0.00120
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "22.25"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_categories",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"c_status",
"parent",
"id_path",
"p_category_id"
],
"key": "parent",
"used_key_parts": [
"parent_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 27,
"rows_produced_per_join": 0,
"filtered": "0.19",
"cost_info": {
"read_cost": "6.75",
"eval_cost": "0.01",
"prefix_cost": "9.45",
"data_read_per_join": "181"
},
"used_columns": [
"category_id",
"parent_id",
"id_path",
"company_id",
"usergroup_ids",
"status",
"position",
"age_verification",
"age_limit",
"is_trash",
"ab__lc_catalog_image_control",
"ab__fn_category_status",
"ab__fn_label_color",
"ab__fn_label_background",
"ab__fn_use_origin_image",
"storefront_id"
],
"attached_condition": "(((`s2cart`.`cscart_categories`.`usergroup_ids` = '') or (0 <> find_in_set(0,`s2cart`.`cscart_categories`.`usergroup_ids`)) or (0 <> find_in_set(1,`s2cart`.`cscart_categories`.`usergroup_ids`))) and (`s2cart`.`cscart_categories`.`status` = 'A') and (`s2cart`.`cscart_categories`.`id_path` like '2706/%') and (`s2cart`.`cscart_categories`.`category_id` <> 414) and (`s2cart`.`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": [
"s2cart.cscart_categories.category_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.01",
"eval_cost": "0.01",
"prefix_cost": "9.47",
"data_read_per_join": "324"
},
"used_columns": [
"category_id",
"lang_code",
"category",
"age_warning_message",
"ab__custom_category_h1",
"ab__fn_label_text",
"ab__fn_label_show"
]
}
},
{
"table": {
"table_name": "cscart_seo_names",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"dispatch"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"type",
"dispatch",
"lang_code"
],
"key_length": "206",
"ref": [
"s2cart.cscart_categories.category_id",
"const",
"const",
"const"
],
"rows_examined_per_scan": 696,
"rows_produced_per_join": 34,
"filtered": "100.00",
"cost_info": {
"read_cost": "9.30",
"eval_cost": "3.48",
"prefix_cost": "22.25",
"data_read_per_join": "58K"
},
"used_columns": [
"name",
"object_id",
"type",
"dispatch",
"path",
"lang_code"
]
}
}
]
}
}
}
Result
category_id |
parent_id |
id_path |
category |
position |
status |
company_id |
storefront_id |
seo_name |
seo_path |
ab__lc_catalog_image_control |
ab__fn_category_status |
ab__fn_label_color |
ab__fn_label_background |
ab__fn_use_origin_image |
ab__fn_label_text |
ab__fn_label_show |
age_verification |
age_limit |
age_warning_message |
ab__custom_category_h1 |
2707 |
2706 |
2706/2707 |
Annular Cutter |
0 |
A |
0 |
0 |
annular-cutter |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2724 |
2706 |
2706/2724 |
Bimetal bandsaw blades |
0 |
A |
0 |
0 |
bimetal-bandsaw-blades |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2728 |
2706 |
2706/2728 |
Carbide Drills |
0 |
A |
0 |
0 |
carbide-drills |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2733 |
2706 |
2706/2733 |
Carbide End Mills |
0 |
A |
0 |
0 |
carbide-end-mills |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2755 |
2706 |
2706/2755 |
Chucks |
0 |
A |
0 |
0 |
chucks |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2768 |
2706 |
2706/2768 |
Collets and Adaptors |
0 |
A |
0 |
0 |
collets-and-adaptors |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2775 |
2706 |
2706/2775 |
Construction Machine Accessories |
0 |
A |
0 |
0 |
construction-machine-accessories |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2780 |
2706 |
2706/2780 |
Cutting Blades |
0 |
A |
0 |
0 |
cutting-blades |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2789 |
2706 |
2706/2789 |
Cutting Machine |
0 |
A |
0 |
0 |
cutting-machine |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2801 |
2706 |
2706/2801 |
Diamond Core Drills |
0 |
A |
0 |
0 |
diamond-core-drills |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2851 |
2706 |
2706/2851 |
Drill Bit Sharpener |
0 |
A |
0 |
0 |
drill-bit-sharpener |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2852 |
2706 |
2706/2852 |
Drill Kit |
0 |
A |
0 |
0 |
drill-kit |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2853 |
2706 |
2706/2853 |
Drills |
0 |
A |
0 |
0 |
drills |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2937 |
2706 |
2706/2937 |
End Mills |
0 |
A |
0 |
0 |
end-mills |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
3008 |
2706 |
2706/3008 |
Hammer Drill Bits and Chisels |
0 |
A |
0 |
0 |
hammer-drill-bits-and-chisels |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
3016 |
2706 |
2706/3016 |
Holesaws |
0 |
A |
0 |
0 |
holesaws |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
3028 |
2706 |
2706/3028 |
Indexable Tool Holders |
0 |
A |
0 |
0 |
indexable-tool-holders |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
3038 |
2706 |
2706/3038 |
Inserts and Carrier Bodies |
0 |
A |
0 |
0 |
inserts-and-carrier-bodies |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
3044 |
2706 |
2706/3044 |
Jewellery Tools |
0 |
A |
0 |
0 |
jewellery-tools |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
3055 |
2706 |
2706/3055 |
Machine Accessories |
0 |
A |
0 |
0 |
machine-accessories |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
3092 |
2706 |
2706/3092 |
Machine Spares |
0 |
A |
0 |
0 |
machine-spares |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
3095 |
2706 |
2706/3095 |
Milling Cutter |
0 |
A |
0 |
0 |
milling-cutter |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
3182 |
2706 |
2706/3182 |
Reamers |
0 |
A |
0 |
0 |
reamers |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
3289 |
2706 |
2706/3289 |
Solid Carbide Ball Nose Endmills |
0 |
A |
0 |
0 |
solid-carbide-ball-nose-endmills |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
3291 |
2706 |
2706/3291 |
Standard Carbide Burrs |
0 |
A |
0 |
0 |
standard-carbide-burrs |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
3317 |
2706 |
2706/3317 |
Taps |
0 |
A |
0 |
0 |
taps |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
3344 |
2706 |
2706/3344 |
Toolbit |
0 |
A |
0 |
0 |
toolbit |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
3350 |
2706 |
2706/3350 |
Tungsten Carbide Tipped Tools |
0 |
A |
0 |
0 |
tungsten-carbide-tipped-tools |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
3414 |
2706 |
2706/3414 |
Wood Profile Cutter |
0 |
A |
0 |
0 |
wood-profile-cutter |
2706 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|