Query time 0.00237
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "19.47"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "categories",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"c_status",
"p_category_id",
"index_categories_on_deleted_at"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id"
],
"key_length": "3",
"rows_examined_per_scan": 43,
"rows_produced_per_join": 0,
"filtered": "0.12",
"cost_info": {
"read_cost": "19.39",
"eval_cost": "0.00",
"prefix_cost": "19.40",
"data_read_per_join": "133"
},
"used_columns": [
"category_id",
"parent_id",
"id_path",
"company_id",
"usergroup_ids",
"status",
"position",
"is_trash",
"deleted_at",
"storefront_id"
],
"attached_condition": "((`goimagine`.`categories`.`company_id` = 189) and ((`goimagine`.`categories`.`usergroup_ids` = '') or (0 <> find_in_set(0,`goimagine`.`categories`.`usergroup_ids`)) or (0 <> find_in_set(1,`goimagine`.`categories`.`usergroup_ids`))) and (`goimagine`.`categories`.`status` = 'A') and (`goimagine`.`categories`.`storefront_id` in (0,1)) and (`goimagine`.`categories`.`deleted_at` is null) and (`goimagine`.`categories`.`category_id` in (2,13,5,27,3,87,109,110,117,119,131,132,134,137,18,170,542,522,549,541,546,556,574,575,576,579,582,585,587,598,600,657,855,677,685,849,853,866,880,3326,7522,15364,15929)))"
}
},
{
"table": {
"table_name": "category_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id",
"lang_code"
],
"key_length": "9",
"ref": [
"goimagine.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": "19.42",
"data_read_per_join": "232"
},
"used_columns": [
"category_id",
"lang_code",
"category",
"mega_m_category_banner_url",
"mega_m_category_svg_icon"
]
}
},
{
"table": {
"table_name": "seo_names",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"dispatch"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"type",
"dispatch",
"lang_code"
],
"key_length": "206",
"ref": [
"goimagine.categories.category_id",
"const",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.04",
"eval_cost": "0.00",
"prefix_cost": "19.47",
"data_read_per_join": "86"
},
"used_columns": [
"name",
"object_id",
"company_id",
"type",
"dispatch",
"path",
"lang_code"
]
}
}
]
}
}
}
Result
| category_id |
parent_id |
id_path |
category |
position |
status |
company_id |
storefront_id |
seo_name |
seo_path |
mega_m_category_banner_url |
mega_m_category_svg_icon |
| 556 |
542 |
542/556 |
All necklace sets |
0 |
A |
189 |
0 |
all-necklace-sets |
542 |
|
|
| 866 |
855 |
855/866 |
Artisan lampwork focal beads |
0 |
A |
189 |
0 |
artisan-lampwork-focal-beads |
855 |
|
|
| 587 |
549 |
549/587 |
Black, brown, gray, violet |
0 |
A |
189 |
0 |
neutrals-black-brown-gray-silver |
549 |
|
|
| 576 |
549 |
549/576 |
Blue | deeper |
0 |
A |
189 |
0 |
blues-cobalt-cornflower-saturated-blues |
549 |
|
|
| 575 |
549 |
549/575 |
Blue | lighter |
0 |
A |
189 |
0 |
blues-paler-blues-and-aquas |
549 |
|
|
| 685 |
549 |
549/685 |
Earth/Sky palette |
0 |
A |
189 |
0 |
earth-sky-palette |
549 |
|
|
| 582 |
549 |
549/582 |
Green |
0 |
A |
189 |
0 |
green |
549 |
|
|
| 522 |
542 |
542/522 |
Multi-strand | Collar necklaces |
0 |
A |
189 |
0 |
multi-strand-collar-necklaces |
542 |
|
|
| 585 |
549 |
549/585 |
New Mexico palette |
0 |
A |
189 |
0 |
turquoise-southwest-palette |
549 |
|
|
| 579 |
549 |
549/579 |
Orange, coral |
0 |
A |
189 |
0 |
orange-coral-carnelian |
549 |
|
|
| 598 |
549 |
549/598 |
Pale tints, white |
0 |
A |
189 |
0 |
whites-pale-tints |
549 |
|
|
| 546 |
542 |
542/546 |
Pendant and charm necklaces |
0 |
A |
189 |
0 |
pendant-necklaces |
542 |
|
|
| 541 |
549 |
549/541 |
Pink, purple |
0 |
A |
189 |
0 |
pink-palette |
549 |
|
|
| 15364 |
549 |
549/15364 |
Rainbow |
0 |
A |
189 |
0 |
rainbow |
549 |
|
|
| 853 |
855 |
855/853 |
Raku/ceramic focal beads |
0 |
A |
189 |
0 |
raku-ceramic-focal-beads |
855 |
|
|
| 574 |
549 |
549/574 |
Red |
0 |
A |
189 |
0 |
reds |
549 |
|
|
| 677 |
855 |
855/677 |
Stone, coral, pearl, shell |
0 |
A |
189 |
0 |
semi-precious-stones |
855 |
|
|
| 849 |
855 |
855/849 |
Vintage glass beads |
0 |
A |
189 |
0 |
vintage-glass-beads-featured |
855 |
|
|
| 880 |
855 |
855/880 |
Vintage lucite/Bakelite |
0 |
A |
189 |
0 |
vintage-lucite-bakelite |
855 |
|
|
| 600 |
549 |
549/600 |
Water garden palette |
0 |
A |
189 |
0 |
water-garden-impressionist-palette |
549 |
|
|
| 7522 |
0 |
7522 |
Special — 25% off select sets |
20 |
A |
189 |
0 |
sale-en-3 |
|
|
|
| 542 |
0 |
542 |
Bead Necklace Sets |
30 |
A |
189 |
0 |
bead-necklace-sets |
|
|
|
| 3326 |
0 |
3326 |
Bracelets |
40 |
A |
189 |
0 |
bracelets-en-15 |
|
|
|
| 657 |
0 |
657 |
Mask lanyards/necklaces |
50 |
A |
189 |
0 |
mask-lanyards-necklaces |
|
|
|
| 549 |
0 |
549 |
Browse by Color Palette |
60 |
A |
189 |
0 |
shop-by-color-palette |
|
|
|
| 855 |
0 |
855 |
Browse by Materials |
70 |
A |
189 |
0 |
browse-by-materials |
|
|
|