Query time 0.00199
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "21.55"
},
"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": 25,
"rows_produced_per_join": 0,
"filtered": "0.20",
"cost_info": {
"read_cost": "6.25",
"eval_cost": "0.01",
"prefix_cost": "8.75",
"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 '1521/1808/%') 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.01",
"prefix_cost": "8.77",
"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.55",
"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 |
1809 |
1808 |
1521/1808/1809 |
Beakers |
0 |
A |
0 |
0 |
beakers |
1521/1808 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1810 |
1808 |
1521/1808/1810 |
Bottles |
0 |
A |
0 |
0 |
bottles |
1521/1808 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1811 |
1808 |
1521/1808/1811 |
Carboys |
0 |
A |
0 |
0 |
carboys |
1521/1808 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1830 |
1808 |
1521/1808/1830 |
Dishes |
0 |
A |
0 |
0 |
dishes |
1521/1808 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1819 |
1808 |
1521/1808/1819 |
Filter |
0 |
A |
0 |
0 |
filter |
1521/1808 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1831 |
1808 |
1521/1808/1831 |
Impingers and Bubblers |
0 |
A |
0 |
0 |
impingers-and-bubblers |
1521/1808 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1815 |
1808 |
1521/1808/1815 |
Multi Well Plates |
0 |
A |
0 |
0 |
multi-well-plates |
1521/1808 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1832 |
1808 |
1521/1808/1832 |
Other Plasticwares |
0 |
A |
0 |
0 |
other-plasticwares |
1521/1808 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1822 |
1808 |
1521/1808/1822 |
PCR Plates and Tubes |
0 |
A |
0 |
0 |
pcr-plates-and-tubes |
1521/1808 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1812 |
1808 |
1521/1808/1812 |
Plastic Burettes |
0 |
A |
0 |
0 |
plastic-burettes |
1521/1808 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1813 |
1808 |
1521/1808/1813 |
Plastic Cones |
0 |
A |
0 |
0 |
plastic-cones |
1521/1808 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1814 |
1808 |
1521/1808/1814 |
Plastic Cylinders |
0 |
A |
0 |
0 |
plastic-cylinders |
1521/1808 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1816 |
1808 |
1521/1808/1816 |
Plastic Desiccators |
0 |
A |
0 |
0 |
plastic-desiccators |
1521/1808 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1817 |
1808 |
1521/1808/1817 |
Plastic Dishes |
0 |
A |
0 |
0 |
plastic-dishes |
1521/1808 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1818 |
1808 |
1521/1808/1818 |
Plastic Flasks |
0 |
A |
0 |
0 |
plastic-flasks |
1521/1808 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1820 |
1808 |
1521/1808/1820 |
Plastic Funnels |
0 |
A |
0 |
0 |
plastic-funnels |
1521/1808 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1829 |
1808 |
1521/1808/1829 |
Plastic Gas Generator |
0 |
A |
0 |
0 |
plastic-gas-generator |
1521/1808 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1828 |
1808 |
1521/1808/1828 |
Plastic Gas Sampling Tubes |
0 |
A |
0 |
0 |
plastic-gas-sampling-tubes |
1521/1808 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1821 |
1808 |
1521/1808/1821 |
Plastic Jars |
0 |
A |
0 |
0 |
plastic-jars |
1521/1808 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1827 |
1808 |
1521/1808/1827 |
Plastic Joints |
0 |
A |
0 |
0 |
plastic-joints |
1521/1808 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1836 |
1808 |
1521/1808/1836 |
Plastic Stopcock |
0 |
A |
0 |
0 |
plastic-stopcock |
1521/1808 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1835 |
1808 |
1521/1808/1835 |
Scoops, Spoons and Spatulas |
0 |
A |
0 |
0 |
scoops-spoons-and-spatulas |
1521/1808 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1834 |
1808 |
1521/1808/1834 |
Scrapers, Cell Spreaders and Inoculating Loops |
0 |
A |
0 |
0 |
scrapers-cell-spreaders-and-inoculating-loops |
1521/1808 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1833 |
1808 |
1521/1808/1833 |
Specimen Containers |
0 |
A |
0 |
0 |
specimen-containers |
1521/1808 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1838 |
1808 |
1521/1808/1838 |
Test Tubes |
0 |
A |
0 |
0 |
test-tubes |
1521/1808 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1837 |
1808 |
1521/1808/1837 |
Vials |
0 |
A |
0 |
0 |
vials |
1521/1808 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|