Query time 0.00113
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 '2374/2386/%') 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 |
2387 |
2386 |
2374/2386/2387 |
Bends |
0 |
A |
0 |
0 |
bends |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2390 |
2386 |
2374/2386/2390 |
Brass Elbow |
0 |
A |
0 |
0 |
brass-elbow |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2391 |
2386 |
2374/2386/2391 |
Brass Tee |
0 |
A |
0 |
0 |
brass-tee |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2389 |
2386 |
2374/2386/2389 |
Bushing |
0 |
A |
0 |
0 |
bushing |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2388 |
2386 |
2374/2386/2388 |
Coupler |
0 |
A |
0 |
0 |
coupler |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2392 |
2386 |
2374/2386/2392 |
CPVC Pipe |
0 |
A |
0 |
0 |
cpvc-pipe |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2393 |
2386 |
2374/2386/2393 |
Cross Tee |
0 |
A |
0 |
0 |
cross-tee |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2394 |
2386 |
2374/2386/2394 |
Elbow 90 Degree |
0 |
A |
0 |
0 |
elbow-90-degree |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2395 |
2386 |
2374/2386/2395 |
End Cap |
0 |
A |
0 |
0 |
end-cap |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2396 |
2386 |
2374/2386/2396 |
End Plug |
0 |
A |
0 |
0 |
end-plug |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2397 |
2386 |
2374/2386/2397 |
FTA |
0 |
A |
0 |
0 |
fta |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2402 |
2386 |
2374/2386/2402 |
Long Bend |
0 |
A |
0 |
0 |
long-bend |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2406 |
2386 |
2374/2386/2406 |
MTA |
0 |
A |
0 |
0 |
mta |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2398 |
2386 |
2374/2386/2398 |
Pipe Clip (Plastic) |
0 |
A |
0 |
0 |
pipe-clip-plastic |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2401 |
2386 |
2374/2386/2401 |
Pipe Fittings |
0 |
A |
0 |
0 |
pipe-fittings |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2400 |
2386 |
2374/2386/2400 |
Pipes SDR |
0 |
A |
0 |
0 |
pipes-sdr |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2399 |
2386 |
2374/2386/2399 |
Reducer Bush |
0 |
A |
0 |
0 |
reducer-bush |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2404 |
2386 |
2374/2386/2404 |
Reducer Coupler |
0 |
A |
0 |
0 |
reducer-coupler |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2405 |
2386 |
2374/2386/2405 |
Reducer Elbow |
0 |
A |
0 |
0 |
reducer-elbow |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2403 |
2386 |
2374/2386/2403 |
Reducer Tee |
0 |
A |
0 |
0 |
reducer-tee |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2408 |
2386 |
2374/2386/2408 |
Saddle |
0 |
A |
0 |
0 |
saddle |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2409 |
2386 |
2374/2386/2409 |
Socket Plug |
0 |
A |
0 |
0 |
socket-plug |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2411 |
2386 |
2374/2386/2411 |
Step Over Bend |
0 |
A |
0 |
0 |
step-over-bend |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2414 |
2386 |
2374/2386/2414 |
Tank Connector |
0 |
A |
0 |
0 |
tank-connector |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2412 |
2386 |
2374/2386/2412 |
Tank Nipple |
0 |
A |
0 |
0 |
tank-nipple |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2413 |
2386 |
2374/2386/2413 |
Tee |
0 |
A |
0 |
0 |
tee |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2410 |
2386 |
2374/2386/2410 |
Union |
0 |
A |
0 |
0 |
union |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2407 |
2386 |
2374/2386/2407 |
Valve |
0 |
A |
0 |
0 |
valve |
2374/2386 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|