Query time 0.00194
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "21.20"
},
"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": 24,
"rows_produced_per_join": 0,
"filtered": "0.21",
"cost_info": {
"read_cost": "6.00",
"eval_cost": "0.01",
"prefix_cost": "8.40",
"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 '2698/2878/%') 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": "8.42",
"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": "21.20",
"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 |
2885 |
2878 |
2698/2878/2885 |
Circuit Analyzer |
0 |
A |
0 |
0 |
circuit-analyzer |
2698/2878 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2880 |
2878 |
2698/2878/2880 |
Clamp Meters |
0 |
A |
0 |
0 |
clamp-meters |
2698/2878 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2879 |
2878 |
2698/2878/2879 |
DC Power Supply |
0 |
A |
0 |
0 |
dc-power-supply |
2698/2878 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2884 |
2878 |
2698/2878/2884 |
Digital Cable Fault Locator |
0 |
A |
0 |
0 |
digital-cable-fault-locator |
2698/2878 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2886 |
2878 |
2698/2878/2886 |
Digital Capacitance Meter |
0 |
A |
0 |
0 |
digital-capacitance-meter |
2698/2878 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2883 |
2878 |
2698/2878/2883 |
Digital ELCB Tester |
0 |
A |
0 |
0 |
digital-elcb-tester |
2698/2878 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2892 |
2878 |
2698/2878/2892 |
Digital Solar Power Meter |
0 |
A |
0 |
0 |
digital-solar-power-meter |
2698/2878 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2891 |
2878 |
2698/2878/2891 |
Discharge Rod |
0 |
A |
0 |
0 |
discharge-rod |
2698/2878 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2890 |
2878 |
2698/2878/2890 |
Earth Resistance Tester |
0 |
A |
0 |
0 |
earth-resistance-tester |
2698/2878 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2896 |
2878 |
2698/2878/2896 |
Electric Motor Checker |
0 |
A |
0 |
0 |
electric-motor-checker |
2698/2878 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2893 |
2878 |
2698/2878/2893 |
High Voltage Testing |
0 |
A |
0 |
0 |
high-voltage-testing |
2698/2878 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2899 |
2878 |
2698/2878/2899 |
Instrument Combination Kits |
0 |
A |
0 |
0 |
instrument-combination-kits |
2698/2878 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2887 |
2878 |
2698/2878/2887 |
Insulation Testers |
0 |
A |
0 |
0 |
insulation-testers |
2698/2878 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2900 |
2878 |
2698/2878/2900 |
Multimeters |
0 |
A |
0 |
0 |
multimeters |
2698/2878 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2904 |
2878 |
2698/2878/2904 |
Ohm Meters |
0 |
A |
0 |
0 |
ohm-meters |
2698/2878 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2908 |
2878 |
2698/2878/2908 |
Oil Testing Machine |
0 |
A |
0 |
0 |
oil-testing-machine |
2698/2878 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2910 |
2878 |
2698/2878/2910 |
Other Electrical Instruments |
0 |
A |
0 |
0 |
other-electrical-instruments |
2698/2878 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2903 |
2878 |
2698/2878/2903 |
Phasing and Motor Rotation Meters |
0 |
A |
0 |
0 |
phasing-and-motor-rotation-meters |
2698/2878 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2916 |
2878 |
2698/2878/2916 |
Power Meters and Analyzers |
0 |
A |
0 |
0 |
power-meters-and-analyzers |
2698/2878 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2917 |
2878 |
2698/2878/2917 |
Relay Test Set |
0 |
A |
0 |
0 |
relay-test-set |
2698/2878 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2918 |
2878 |
2698/2878/2918 |
Surge or Impulse Winding Tester |
0 |
A |
0 |
0 |
surge-or-impulse-winding-tester |
2698/2878 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2919 |
2878 |
2698/2878/2919 |
Test Instrument Carrying Cases |
0 |
A |
0 |
0 |
test-instrument-carrying-cases |
2698/2878 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2912 |
2878 |
2698/2878/2912 |
Test Lead and Accessories |
0 |
A |
0 |
0 |
test-lead-and-accessories |
2698/2878 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2915 |
2878 |
2698/2878/2915 |
Underground Utility Locators |
0 |
A |
0 |
0 |
underground-utility-locators |
2698/2878 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2911 |
2878 |
2698/2878/2911 |
Voltage Detectors |
0 |
A |
0 |
0 |
voltage-detectors |
2698/2878 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|