Query time 0.00158
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "22.60"
},
"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": 28,
"rows_produced_per_join": 0,
"filtered": "0.18",
"cost_info": {
"read_cost": "7.00",
"eval_cost": "0.01",
"prefix_cost": "9.80",
"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 '2372/%') 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.82",
"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.60",
"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 |
2373 |
2372 |
2372/2373 |
Angle Grinders |
0 |
A |
0 |
0 |
angle-grinders |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2376 |
2372 |
2372/2376 |
Blowers |
0 |
A |
0 |
0 |
blowers |
2372 |
top |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2381 |
2372 |
2372/2381 |
Chopsaws |
0 |
A |
0 |
0 |
chopsaws |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2385 |
2372 |
2372/2385 |
Cordless Tools |
0 |
A |
0 |
0 |
cordless-tools |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2415 |
2372 |
2372/2415 |
Demolition Hammers |
0 |
A |
0 |
0 |
demolition-hammers |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2419 |
2372 |
2372/2419 |
Drill Kits |
0 |
A |
0 |
0 |
drill-kits |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2420 |
2372 |
2372/2420 |
Drills |
0 |
A |
0 |
0 |
drills |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2421 |
2372 |
2372/2421 |
Electric Nailer and Stapler |
0 |
A |
0 |
0 |
electric-nailer-and-stapler |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2422 |
2372 |
2372/2422 |
Electrical Screwdriver |
0 |
A |
0 |
0 |
electrical-screwdriver |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2443 |
2372 |
2372/2443 |
Grinders |
0 |
A |
0 |
0 |
grinders |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2448 |
2372 |
2372/2448 |
Hot Air Guns |
0 |
A |
0 |
0 |
hot-air-guns |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2449 |
2372 |
2372/2449 |
Impact Drills |
0 |
A |
0 |
0 |
impact-drills |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2450 |
2372 |
2372/2450 |
Impact Driver |
0 |
A |
0 |
0 |
impact-driver |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2460 |
2372 |
2372/2460 |
Jig Saw |
0 |
A |
0 |
0 |
jig-saw |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2464 |
2372 |
2372/2464 |
Magnetic Core Drilling Machine |
0 |
A |
0 |
0 |
magnetic-core-drilling-machine |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2466 |
2372 |
2372/2466 |
Marble Cutters |
0 |
A |
0 |
0 |
marble-cutters |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2483 |
2372 |
2372/2483 |
Miter Saw |
0 |
A |
0 |
0 |
miter-saw |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2496 |
2372 |
2372/2496 |
Painting Tools |
0 |
A |
0 |
0 |
painting-tools |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2498 |
2372 |
2372/2498 |
Planers |
0 |
A |
0 |
0 |
planers |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2588 |
2372 |
2372/2588 |
Power Tool Accessories |
0 |
A |
0 |
0 |
power-tool-accessories |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2627 |
2372 |
2372/2627 |
Rotary Hammers |
0 |
A |
0 |
0 |
rotary-hammers |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2628 |
2372 |
2372/2628 |
Sander Polisher |
0 |
A |
0 |
0 |
sander-polisher |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2629 |
2372 |
2372/2629 |
Saws |
0 |
A |
0 |
0 |
saws |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2630 |
2372 |
2372/2630 |
Screw Drivers |
0 |
A |
0 |
0 |
screw-drivers |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2634 |
2372 |
2372/2634 |
Shears and Nibblers |
0 |
A |
0 |
0 |
shears-and-nibblers |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2638 |
2372 |
2372/2638 |
Spares |
0 |
A |
0 |
0 |
spares |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2643 |
2372 |
2372/2643 |
Speciality Tools |
0 |
A |
0 |
0 |
speciality-tools |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2675 |
2372 |
2372/2675 |
Wall Chasers |
0 |
A |
0 |
0 |
wall-chasers |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2679 |
2372 |
2372/2679 |
Wood Routers and Trimmers |
0 |
A |
0 |
0 |
wood-routers-and-trimmers |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2687 |
2372 |
2372/2687 |
Wrenches |
0 |
A |
0 |
0 |
wrenches |
2372 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|