Query time 0.00098
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "22.95"
},
"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": 29,
"rows_produced_per_join": 0,
"filtered": "0.17",
"cost_info": {
"read_cost": "7.25",
"eval_cost": "0.00",
"prefix_cost": "10.15",
"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 '1306/%') 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.00",
"prefix_cost": "10.17",
"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.95",
"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 |
1307 |
1306 |
1306/1307 |
Dump Truck Control Valve |
0 |
A |
0 |
0 |
dump-truck-control-valve |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1329 |
1306 |
1306/1329 |
Hydraulic Accumulators |
0 |
A |
0 |
0 |
hydraulic-accumulators |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1331 |
1306 |
1306/1331 |
Hydraulic Air Fan |
0 |
A |
0 |
0 |
hydraulic-air-fan |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1332 |
1306 |
1306/1332 |
Hydraulic Bar Cutter |
0 |
A |
0 |
0 |
hydraulic-bar-cutter |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1333 |
1306 |
1306/1333 |
Hydraulic Bending Machine |
0 |
A |
0 |
0 |
hydraulic-bending-machine |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1335 |
1306 |
1306/1335 |
Hydraulic Breather |
0 |
A |
0 |
0 |
hydraulic-breather |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1336 |
1306 |
1306/1336 |
Hydraulic Coupler |
0 |
A |
0 |
0 |
hydraulic-coupler |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1337 |
1306 |
1306/1337 |
Hydraulic Crimping Tool |
0 |
A |
0 |
0 |
hydraulic-crimping-tool |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1338 |
1306 |
1306/1338 |
Hydraulic Cylinder |
0 |
A |
0 |
0 |
hydraulic-cylinder |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1339 |
1306 |
1306/1339 |
Hydraulic Die Clamping System |
0 |
A |
0 |
0 |
hydraulic-die-clamping-system |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1340 |
1306 |
1306/1340 |
Hydraulic Filters |
0 |
A |
0 |
0 |
hydraulic-filters |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1344 |
1306 |
1306/1344 |
Hydraulic Flanges |
0 |
A |
0 |
0 |
hydraulic-flanges |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1345 |
1306 |
1306/1345 |
Hydraulic Hand Pump |
0 |
A |
0 |
0 |
hydraulic-hand-pump |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1346 |
1306 |
1306/1346 |
Hydraulic Hoses |
0 |
A |
0 |
0 |
hydraulic-hoses |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1347 |
1306 |
1306/1347 |
Hydraulic Industrial Filtration System |
0 |
A |
0 |
0 |
hydraulic-industrial-filtration-system |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1348 |
1306 |
1306/1348 |
Hydraulic Jack |
0 |
A |
0 |
0 |
hydraulic-jack |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1351 |
1306 |
1306/1351 |
Hydraulic Motors |
0 |
A |
0 |
0 |
hydraulic-motors |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1352 |
1306 |
1306/1352 |
Hydraulic Press |
0 |
A |
0 |
0 |
hydraulic-press |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1353 |
1306 |
1306/1353 |
Hydraulic Pressure Switch |
0 |
A |
0 |
0 |
hydraulic-pressure-switch |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1354 |
1306 |
1306/1354 |
Hydraulic Pumps |
0 |
A |
0 |
0 |
hydraulic-pumps |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1364 |
1306 |
1306/1364 |
Hydraulic Punch Press |
0 |
A |
0 |
0 |
hydraulic-punch-press |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1365 |
1306 |
1306/1365 |
Hydraulic Reel |
0 |
A |
0 |
0 |
hydraulic-reel |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1366 |
1306 |
1306/1366 |
Hydraulic Shock Absorber |
0 |
A |
0 |
0 |
hydraulic-shock-absorber |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1367 |
1306 |
1306/1367 |
Hydraulic Valves |
0 |
A |
0 |
0 |
hydraulic-valves |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1383 |
1306 |
1306/1383 |
Hydraulic Wrenches |
0 |
A |
0 |
0 |
hydraulic-wrenches |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1384 |
1306 |
1306/1384 |
Hydraulics Special Product |
0 |
A |
0 |
0 |
hydraulics-special-product |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1386 |
1306 |
1306/1386 |
Hydro Control Valve |
0 |
A |
0 |
0 |
hydro-control-valve |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1402 |
1306 |
1306/1402 |
Mobile Control |
0 |
A |
0 |
0 |
mobile-control |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1478 |
1306 |
1306/1478 |
Tapping Machine |
0 |
A |
0 |
0 |
tapping-machine |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1499 |
1306 |
1306/1499 |
Water Meter |
0 |
A |
0 |
0 |
water-meter |
1306 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|