Query time 0.00200
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "25.05"
},
"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": 35,
"rows_produced_per_join": 0,
"filtered": "0.14",
"cost_info": {
"read_cost": "8.75",
"eval_cost": "0.00",
"prefix_cost": "12.25",
"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 '758/%') and (`s2cart`.`cscart_categories`.`category_id` <> 414) and (`s2cart`.`cscart_categories`.`storefront_id` in (0,3)))"
}
},
{
"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.00",
"prefix_cost": "12.27",
"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": "25.05",
"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 |
759 |
758 |
758/759 |
Absorbents |
0 |
A |
0 |
0 |
absorbents |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
760 |
758 |
758/760 |
Accessories |
0 |
A |
0 |
0 |
accessories |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
761 |
758 |
758/761 |
Air Purifier Filters and Parts |
0 |
A |
0 |
0 |
air-purifier-filters-and-parts |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
762 |
758 |
758/762 |
Brooms, Brushes, and Dust Pans |
0 |
A |
0 |
0 |
brooms-brushes-and-dust-pans |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
769 |
758 |
758/769 |
Cleaner and Polish |
0 |
A |
0 |
0 |
cleaner-and-polish |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
770 |
758 |
758/770 |
Cleaning Liquids |
0 |
A |
0 |
0 |
cleaning-liquids |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
771 |
758 |
758/771 |
Dispenser |
0 |
A |
0 |
0 |
dispenser |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
772 |
758 |
758/772 |
Dust Mops, Dusters, and Cleaning Pads |
0 |
A |
0 |
0 |
dust-mops-dusters-and-cleaning-pads |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
777 |
758 |
758/777 |
Equipments |
0 |
A |
0 |
0 |
equipments |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
781 |
758 |
758/781 |
Garbage Bag |
0 |
A |
0 |
0 |
garbage-bag |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
782 |
758 |
758/782 |
Hand Dryers |
0 |
A |
0 |
0 |
hand-dryers |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
783 |
758 |
758/783 |
Home Accessories |
0 |
A |
0 |
0 |
home-accessories |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
784 |
758 |
758/784 |
Home and Car Washer |
0 |
A |
0 |
0 |
home-and-car-washer |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
785 |
758 |
758/785 |
Home Decor |
0 |
A |
0 |
0 |
home-decor |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
786 |
758 |
758/786 |
Industrial Cleaners |
0 |
A |
0 |
0 |
industrial-cleaners |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
787 |
758 |
758/787 |
Insect Killer |
0 |
A |
0 |
0 |
insect-killer |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
788 |
758 |
758/788 |
Janitorial Carts and Supply Holders |
0 |
A |
0 |
0 |
janitorial-carts-and-supply-holders |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
791 |
758 |
758/791 |
Kitchen Care |
0 |
A |
0 |
0 |
kitchen-care |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
792 |
758 |
758/792 |
Laundry care |
0 |
A |
0 |
0 |
laundry-care |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
793 |
758 |
758/793 |
Micro Fiber Cloth |
0 |
A |
0 |
0 |
micro-fiber-cloth |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
794 |
758 |
758/794 |
Odor Care |
0 |
A |
0 |
0 |
odor-care |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
795 |
758 |
758/795 |
Paper and Cloth Wipes |
0 |
A |
0 |
0 |
paper-and-cloth-wipes |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
799 |
758 |
758/799 |
Personal Care |
0 |
A |
0 |
0 |
personal-care |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
800 |
758 |
758/800 |
Pressure Washers |
0 |
A |
0 |
0 |
pressure-washers |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
801 |
758 |
758/801 |
Room Care |
0 |
A |
0 |
0 |
room-care |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
802 |
758 |
758/802 |
Sand Filter |
0 |
A |
0 |
0 |
sand-filter |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
803 |
758 |
758/803 |
Shoe Shine Machine |
0 |
A |
0 |
0 |
shoe-shine-machine |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
804 |
758 |
758/804 |
Sign Boards |
0 |
A |
0 |
0 |
sign-boards |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
805 |
758 |
758/805 |
Spill Kits |
0 |
A |
0 |
0 |
spill-kits |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
806 |
758 |
758/806 |
Surface Care |
0 |
A |
0 |
0 |
surface-care |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
807 |
758 |
758/807 |
Sweepers |
0 |
A |
0 |
0 |
sweepers |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
808 |
758 |
758/808 |
Vacuum Cleaners and Accessories |
0 |
A |
0 |
0 |
vacuum-cleaners-and-accessories |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
812 |
758 |
758/812 |
Waste and Recycling |
0 |
A |
0 |
0 |
waste-and-recycling |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
815 |
758 |
758/815 |
Water Softening and Treatment |
0 |
A |
0 |
0 |
water-softening-and-treatment |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
816 |
758 |
758/816 |
Wet Mops, Squeegees, and Buckets |
0 |
A |
0 |
0 |
wet-mops-squeegees-and-buckets |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
821 |
758 |
758/821 |
Windows and Glass Cleaning Tools |
0 |
A |
0 |
0 |
windows-and-glass-cleaning-tools |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
822 |
758 |
758/822 |
Wipers |
0 |
A |
0 |
0 |
wipers |
758 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|