Query time 0.00367
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "32.99"
},
"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": 73,
"rows_produced_per_join": 0,
"filtered": "0.07",
"cost_info": {
"read_cost": "32.92",
"eval_cost": "0.01",
"prefix_cost": "32.93",
"data_read_per_join": "134"
},
"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` = 3286) 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,4,5,15,23,31,38,37,8,40,45,50,52,71,73,100,109,118,13,132,184,185,187,191,46,199,213,214,230,48,242,6634,6639,6740,11179,11965,12082,12086,12083,12084,12085,12087,12088,12089,12090,12108,12109,12110,12111,12112,12113,12114,12115,12116,12117,12118,13045,13244,13302,13303,13304,13305,13306,13308,13309,12956,13311,13312,13512,13571,13572,13573,22887)))"
}
},
{
"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.01",
"prefix_cost": "32.95",
"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.01",
"prefix_cost": "32.99",
"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 |
| 13311 |
12956 |
12956/13311 |
1:12 scale miniatures |
0 |
A |
3286 |
0 |
1-12-scale-miniatures |
12956 |
|
|
| 13312 |
12956 |
12956/13312 |
1:144 scale miniatures |
0 |
A |
3286 |
0 |
1-144-scale-miniatures |
12956 |
|
|
| 12085 |
12083 |
12086/12083/12085 |
Abstract Pour Paintings |
0 |
A |
3286 |
0 |
abstract-pour-paintings |
12086/12083 |
|
|
| 12089 |
12083 |
12086/12083/12089 |
Alcohol Ink Paintings |
0 |
A |
3286 |
0 |
alcohol-ink-paintings |
12086/12083 |
|
|
| 13244 |
12083 |
12086/12083/13244 |
Blacklight and Glow in the dark paitings |
0 |
A |
3286 |
0 |
blacklight-and-glow-in-the-dark-paitings |
12086/12083 |
|
|
| 12109 |
12108 |
12108/12109 |
Charcuterie Boards |
0 |
A |
3286 |
0 |
charcuterie-boards |
12108 |
|
|
| 13045 |
12108 |
12108/13045 |
Christmas Grapevine wreaths |
0 |
A |
3286 |
0 |
christmas-grapevine-wreaths |
12108 |
|
|
| 12090 |
0 |
12090 |
Diorama |
0 |
A |
3286 |
0 |
diorama |
|
|
|
| 12088 |
12083 |
12086/12083/12088 |
Floral Paintings |
0 |
A |
3286 |
0 |
floral-paintings |
12086/12083 |
|
|
| 12111 |
12108 |
12108/12111 |
Furniture accessories |
0 |
A |
3286 |
0 |
furniture-accessories |
12108 |
|
|
| 12113 |
12108 |
12108/12113 |
Hooks and Hangers |
0 |
A |
3286 |
0 |
hooks-and-hangers |
12108 |
|
|
| 12084 |
12083 |
12086/12083/12084 |
Sculptural Paintings |
0 |
A |
3286 |
0 |
sculptural-paitings |
12086/12083 |
|
|
| 12110 |
12108 |
12108/12110 |
Shelves and boxes |
0 |
A |
3286 |
0 |
shelves-and-boxes |
12108 |
|
|
| 12112 |
12108 |
12108/12112 |
Signs |
0 |
A |
3286 |
0 |
signs |
12108 |
|
|
| 13302 |
12083 |
12086/12083/13302 |
5" x 7" and smaller |
1 |
A |
3286 |
0 |
5-x-7-and-smaller |
12086/12083 |
|
|
| 13571 |
12083 |
12086/12083/13571 |
8" x 8" |
1 |
A |
3286 |
0 |
8-x-8 |
12086/12083 |
|
|
| 12086 |
0 |
12086 |
Art |
1 |
A |
3286 |
0 |
art-en-8 |
|
|
|
| 12083 |
12086 |
12086/12083 |
Paintings |
1 |
A |
3286 |
0 |
paintings-en-4 |
12086 |
|
|
| 13303 |
12083 |
12086/12083/13303 |
8" x 10" |
2 |
A |
3286 |
0 |
8-x-10 |
12086/12083 |
|
|
| 12956 |
0 |
12956 |
Miniatures |
2 |
A |
3286 |
0 |
miniatures |
|
|
|
| 12087 |
12086 |
12086/12087 |
Wooden Wall Art |
2 |
A |
3286 |
0 |
wooden-wall-art |
12086 |
|
|
| 13304 |
12083 |
12086/12083/13304 |
8" x 16" |
3 |
A |
3286 |
0 |
8-x-16 |
12086/12083 |
|
|
| 13572 |
12083 |
12086/12083/13572 |
9" x 12" |
3 |
A |
3286 |
0 |
9-x-12 |
12086/12083 |
|
|
| 12108 |
0 |
12108 |
Housewares |
3 |
A |
3286 |
0 |
housewares |
|
|
|
| 13305 |
12083 |
12086/12083/13305 |
11" x 14" |
4 |
A |
3286 |
0 |
11-x-14 |
12086/12083 |
|
|
| 13573 |
12083 |
12086/12083/13573 |
12" x 16" |
4 |
A |
3286 |
0 |
12-x-16 |
12086/12083 |
|
|
| 12082 |
0 |
12082 |
Cabinet Knobs |
4 |
A |
3286 |
0 |
cabinet-knobs |
|
|
|
| 12114 |
0 |
12114 |
Rocks,Crystals, and Semiprecious stones |
4 |
A |
3286 |
0 |
rocks-crystals-and-semiprecious-stones |
|
|
|
| 13306 |
12083 |
12086/12083/13306 |
12" x 12" |
5 |
A |
3286 |
0 |
12-x-12 |
12086/12083 |
|
|
| 12115 |
0 |
12115 |
Jewelry |
5 |
A |
3286 |
0 |
jewelry-en-86 |
|
|
|
| 13308 |
12083 |
12086/12083/13308 |
12" x 24" |
6 |
A |
3286 |
0 |
12-x-24 |
12086/12083 |
|
|
| 11965 |
0 |
11965 |
Croc Crystals |
6 |
A |
3286 |
0 |
croc-crystals |
|
|
|
| 12116 |
0 |
12116 |
Games |
7 |
A |
3286 |
0 |
games-en-2 |
|
|
|
| 13309 |
12083 |
12086/12083/13309 |
16" x 20" |
8 |
A |
3286 |
0 |
16-x-20 |
12086/12083 |
|
|
| 12117 |
0 |
12117 |
Pet Products |
8 |
A |
3286 |
0 |
pet-products |
|
|
|
| 12118 |
0 |
12118 |
Birdhouses and Birdfeeders |
9 |
A |
3286 |
0 |
birdhouses-and-birdfeeders |
|
|
|
| 13512 |
0 |
13512 |
Log/Timber creations- NOT SHIPPABLE |
10 |
A |
3286 |
0 |
log-timber-creations-not-shippable |
|
|
|