Query time 0.00261
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "51.69"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_categories",
"access_type": "range",
"possible_keys": [
"c_status",
"id_path"
],
"key": "id_path",
"used_key_parts": [
"id_path"
],
"key_length": "767",
"rows_examined_per_scan": 35,
"rows_produced_per_join": 0,
"filtered": "2.00",
"index_condition": "(`webmarco`.`cscart_categories`.`id_path` like '4271/4787/%')",
"cost_info": {
"read_cost": "49.87",
"eval_cost": "0.14",
"prefix_cost": "50.01",
"data_read_per_join": "4K"
},
"used_columns": [
"category_id",
"parent_id",
"id_path",
"company_id",
"usergroup_ids",
"status",
"product_count",
"position",
"is_trash",
"storefront_id"
],
"attached_condition": "(((`webmarco`.`cscart_categories`.`usergroup_ids` = '') or find_in_set(0,`webmarco`.`cscart_categories`.`usergroup_ids`) or find_in_set(1,`webmarco`.`cscart_categories`.`usergroup_ids`)) and (`webmarco`.`cscart_categories`.`status` = 'A') and (`webmarco`.`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": [
"webmarco.cscart_categories.category_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.70",
"eval_cost": "0.14",
"prefix_cost": "50.85",
"data_read_per_join": "2K"
},
"used_columns": [
"category_id",
"lang_code",
"category"
]
}
},
{
"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": [
"webmarco.cscart_categories.category_id",
"const",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.70",
"eval_cost": "0.14",
"prefix_cost": "51.69",
"data_read_per_join": "1K"
},
"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 |
product_count |
seo_name |
seo_path |
5344 |
5341 |
4271/4787/5341/5344 |
3D Glasses |
0 |
A |
0 |
0 |
0 |
3d-glasses-en |
4271/4787/5341 |
5259 |
5253 |
4271/4787/5253/5259 |
Cable TV Receivers |
0 |
A |
0 |
0 |
0 |
cable-tv-receivers-en |
4271/4787/5253 |
5349 |
5341 |
4271/4787/5341/5349 |
Computer Monitor Accessories |
0 |
A |
0 |
0 |
1 |
computer-monitor-accessories-en |
4271/4787/5341 |
5217 |
4787 |
4271/4787/5217 |
Computer Monitors |
0 |
A |
0 |
0 |
124 |
computer-monitors-en |
4271/4787 |
5045 |
4973 |
4271/4787/4973/5045 |
Digital Video Recorders |
0 |
A |
0 |
0 |
0 |
digital-video-recorders |
4271/4787/4973 |
5097 |
4973 |
4271/4787/4973/5097 |
DVD & Blu-ray Players |
0 |
A |
0 |
0 |
3 |
dvd-and-blu-ray-players |
4271/4787/4973 |
5070 |
4973 |
4271/4787/4973/5070 |
DVD Recorders |
0 |
A |
0 |
0 |
2 |
dvd-recorders |
4271/4787/4973 |
8786 |
8785 |
4271/4787/8785/8786 |
Multimedia Projectors |
0 |
A |
0 |
0 |
16 |
multimedia-projectors-en |
4271/4787/8785 |
5242 |
8785 |
4271/4787/8785/5242 |
Overhead Projectors |
0 |
A |
0 |
0 |
0 |
overhead-projectors-en-en |
4271/4787/8785 |
5370 |
5364 |
4271/4787/5341/5364/5370 |
Projection & Tripod Skirts |
0 |
A |
0 |
0 |
0 |
projection-and-tripod-skirts-en |
4271/4787/5341/5364 |
5374 |
5364 |
4271/4787/5341/5364/5374 |
Projection Screen Stands |
0 |
A |
0 |
0 |
0 |
projection-screen-stands-en |
4271/4787/5341/5364 |
5381 |
5364 |
4271/4787/5341/5364/5381 |
Projection Screens |
0 |
A |
0 |
0 |
0 |
projection-screens-en |
4271/4787/5341/5364 |
5364 |
5341 |
4271/4787/5341/5364 |
Projector Accessories |
0 |
A |
0 |
0 |
0 |
projector-accessories-en |
4271/4787/5341 |
5387 |
5364 |
4271/4787/5341/5364/5387 |
Projector Mounts |
0 |
A |
0 |
0 |
0 |
projector-mounts-en |
4271/4787/5341/5364 |
8785 |
4787 |
4271/4787/8785 |
Projectors |
0 |
A |
0 |
0 |
0 |
projectors |
4271/4787 |
5399 |
5341 |
4271/4787/5341/5399 |
Rewinders |
0 |
A |
0 |
0 |
0 |
rewinders-en |
4271/4787/5341 |
5253 |
4787 |
4271/4787/5253 |
Satellite & Cable TV |
0 |
A |
0 |
0 |
0 |
satellite-and-cable-tv-en |
4271/4787 |
5266 |
5253 |
4271/4787/5253/5266 |
Satellite Receivers |
0 |
A |
0 |
0 |
1 |
satellite-receivers-en |
4271/4787/5253 |
8788 |
8785 |
4271/4787/8785/8788 |
Slide Projectors |
0 |
A |
0 |
0 |
0 |
slide-projectors-en |
4271/4787/8785 |
5014 |
4973 |
4271/4787/4973/5014 |
Streaming & Home Media Players |
0 |
A |
0 |
0 |
2 |
streaming-and-home-media-players |
4271/4787/4973 |
5407 |
5341 |
4271/4787/5341/5407 |
Television Parts & Accessories |
0 |
A |
0 |
0 |
56 |
television-parts-and-accessories-en |
4271/4787/5341 |
5273 |
4787 |
4271/4787/5273 |
Televisions |
0 |
A |
0 |
0 |
503 |
televisions-en |
4271/4787 |
4988 |
4973 |
4271/4787/4973/4988 |
VCRs |
0 |
A |
0 |
0 |
0 |
vcrs |
4271/4787/4973 |
5341 |
4787 |
4271/4787/5341 |
Video Accessories |
0 |
A |
0 |
0 |
1 |
video-accessories-en |
4271/4787 |
5390 |
4787 |
4271/4787/5390 |
Video Editing Hardware & Production Equipment |
0 |
A |
0 |
0 |
0 |
video-editing-hardware-and-production-equipment |
4271/4787 |
5118 |
4787 |
4271/4787/5118 |
Video Multiplexers |
0 |
A |
0 |
0 |
0 |
video-multiplexers |
4271/4787 |
4973 |
4787 |
4271/4787/4973 |
Video Players & Recorders |
0 |
A |
0 |
0 |
1 |
video-players-and-recorders |
4271/4787 |
4946 |
4787 |
4271/4787/4946 |
Video Servers |
0 |
A |
0 |
0 |
0 |
video-servers |
4271/4787 |
4911 |
4787 |
4271/4787/4911 |
Video Transmitters |
0 |
A |
0 |
0 |
0 |
video-transmitters |
4271/4787 |
5355 |
5349 |
4271/4787/5341/5349/5355 |
Color Calibrators |
10 |
A |
0 |
0 |
0 |
color-calibrators-en |
4271/4787/5341/5349 |
5394 |
5364 |
4271/4787/5341/5364/5394 |
Projector Replacement Lamps |
10 |
A |
0 |
0 |
0 |
projector-replacement-lamps-en |
4271/4787/5341/5364 |
5409 |
5407 |
4271/4787/5341/5407/5409 |
TV & Monitor Mounts |
10 |
A |
0 |
0 |
93 |
tv-and-monitor-mounts-en |
4271/4787/5341/5407 |
5412 |
5407 |
4271/4787/5341/5407/5412 |
TV Converter Boxes |
10 |
A |
0 |
0 |
0 |
tv-converter-boxes-en |
4271/4787/5341/5407 |
5419 |
5407 |
4271/4787/5341/5407/5419 |
TV Replacement Lamps |
10 |
A |
0 |
0 |
0 |
tv-replacement-lamps-en |
4271/4787/5341/5407 |
5425 |
5407 |
4271/4787/5341/5407/5425 |
TV Replacement Speakers |
10 |
A |
0 |
0 |
0 |
tv-replacement-speakers-en |
4271/4787/5341/5407 |