Query time 0.00076
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "166.07"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "58.00"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_images_links",
"access_type": "range",
"possible_keys": [
"object_id",
"idx_object_type_type_position"
],
"key": "object_id",
"used_key_parts": [
"object_id",
"object_type",
"type"
],
"key_length": "81",
"rows_examined_per_scan": 58,
"rows_produced_per_join": 58,
"filtered": "100.00",
"index_condition": "((`cscart_db`.`cscart_images_links`.`object_type` = 'product') and (`cscart_db`.`cscart_images_links`.`type` = 'A') and (`cscart_db`.`cscart_images_links`.`object_id` in (69208,69209,69212,13478,36824,36354,69202,69204,69205,36823,36470)))",
"cost_info": {
"read_cost": "37.79",
"eval_cost": "5.80",
"prefix_cost": "43.59",
"data_read_per_join": "5K"
},
"used_columns": [
"pair_id",
"object_id",
"object_type",
"image_id",
"detailed_id",
"type",
"position"
]
}
},
{
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"image_id"
],
"key_length": "4",
"ref": [
"cscart_db.cscart_images_links.image_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 58,
"filtered": "100.00",
"cost_info": {
"read_cost": "29.24",
"eval_cost": "5.80",
"prefix_cost": "78.63",
"data_read_per_join": "44K"
},
"used_columns": [
"image_id",
"image_path",
"image_x",
"image_y",
"is_high_res"
]
}
},
{
"table": {
"table_name": "cscart_common_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"lang_code",
"object_holder"
],
"key_length": "107",
"ref": [
"cscart_db.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 58,
"filtered": "100.00",
"cost_info": {
"read_cost": "23.65",
"eval_cost": "5.80",
"prefix_cost": "108.07",
"data_read_per_join": "34K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
],
"attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), (`cscart_db`.`cscart_common_descriptions`.`object_id` = `cscart_db`.`cscart_images`.`image_id`), true)"
}
}
]
}
}
}
Result
| image_id |
image_path |
image_x |
image_y |
is_high_res |
pair_id |
object_id |
object_type |
detailed_id |
type |
position |
alt |
images_image_id |
| 0 |
|
|
|
|
161435 |
36823 |
product |
162787 |
A |
1 |
|
|
| 0 |
|
|
|
|
161442 |
36824 |
product |
162794 |
A |
1 |
|
|
| 0 |
|
|
|
|
176304 |
36354 |
product |
177650 |
A |
1 |
|
|
| 0 |
|
|
|
|
161438 |
36823 |
product |
162790 |
A |
2 |
|
|
| 0 |
|
|
|
|
161441 |
36824 |
product |
162793 |
A |
2 |
|
|
| 0 |
|
|
|
|
176305 |
36354 |
product |
177651 |
A |
2 |
|
|
| 0 |
|
|
|
|
161436 |
36823 |
product |
162788 |
A |
3 |
|
|
| 0 |
|
|
|
|
161440 |
36824 |
product |
162792 |
A |
3 |
|
|
| 0 |
|
|
|
|
176306 |
36354 |
product |
177652 |
A |
3 |
|
|
| 0 |
|
|
|
|
161437 |
36823 |
product |
162789 |
A |
4 |
|
|
| 0 |
|
|
|
|
176307 |
36354 |
product |
177653 |
A |
4 |
|
|
| 0 |
|
|
|
|
176308 |
36354 |
product |
177654 |
A |
5 |
|
|
| 0 |
|
|
|
|
176309 |
36354 |
product |
177655 |
A |
6 |
|
|
| 0 |
|
|
|
|
176310 |
36354 |
product |
177656 |
A |
7 |
|
|
| 0 |
|
|
|
|
176311 |
36354 |
product |
177657 |
A |
8 |
|
|
| 0 |
|
|
|
|
176312 |
36354 |
product |
177658 |
A |
9 |
|
|
| 0 |
|
|
|
|
204622 |
69202 |
product |
205906 |
A |
10 |
|
|
| 0 |
|
|
|
|
204640 |
69204 |
product |
205924 |
A |
10 |
|
|
| 0 |
|
|
|
|
204649 |
69205 |
product |
205933 |
A |
10 |
|
|
| 0 |
|
|
|
|
204667 |
69208 |
product |
205951 |
A |
10 |
|
|
| 0 |
|
|
|
|
204673 |
69209 |
product |
205957 |
A |
10 |
|
|
| 0 |
|
|
|
|
204691 |
69212 |
product |
205975 |
A |
10 |
|
|
| 0 |
|
|
|
|
211996 |
13478 |
product |
213271 |
A |
10 |
|
|
| 0 |
|
|
|
|
204623 |
69202 |
product |
205907 |
A |
20 |
|
|
| 0 |
|
|
|
|
204641 |
69204 |
product |
205925 |
A |
20 |
|
|
| 0 |
|
|
|
|
204650 |
69205 |
product |
205934 |
A |
20 |
|
|
| 0 |
|
|
|
|
204668 |
69208 |
product |
205952 |
A |
20 |
|
|
| 0 |
|
|
|
|
204674 |
69209 |
product |
205958 |
A |
20 |
|
|
| 0 |
|
|
|
|
204692 |
69212 |
product |
205976 |
A |
20 |
|
|
| 0 |
|
|
|
|
211997 |
13478 |
product |
213272 |
A |
20 |
|
|
| 0 |
|
|
|
|
204624 |
69202 |
product |
205908 |
A |
30 |
|
|
| 0 |
|
|
|
|
204642 |
69204 |
product |
205926 |
A |
30 |
|
|
| 0 |
|
|
|
|
204651 |
69205 |
product |
205935 |
A |
30 |
|
|
| 0 |
|
|
|
|
204669 |
69208 |
product |
205953 |
A |
30 |
|
|
| 0 |
|
|
|
|
204675 |
69209 |
product |
205959 |
A |
30 |
|
|
| 0 |
|
|
|
|
204693 |
69212 |
product |
205977 |
A |
30 |
|
|
| 0 |
|
|
|
|
211998 |
13478 |
product |
213273 |
A |
30 |
|
|
| 0 |
|
|
|
|
204625 |
69202 |
product |
205909 |
A |
40 |
|
|
| 0 |
|
|
|
|
204643 |
69204 |
product |
205927 |
A |
40 |
|
|
| 0 |
|
|
|
|
204652 |
69205 |
product |
205936 |
A |
40 |
|
|
| 0 |
|
|
|
|
204670 |
69208 |
product |
205954 |
A |
40 |
|
|
| 0 |
|
|
|
|
204676 |
69209 |
product |
205960 |
A |
40 |
|
|
| 0 |
|
|
|
|
204694 |
69212 |
product |
205978 |
A |
40 |
|
|
| 0 |
|
|
|
|
211999 |
13478 |
product |
213274 |
A |
40 |
|
|
| 0 |
|
|
|
|
204626 |
69202 |
product |
205910 |
A |
50 |
|
|
| 0 |
|
|
|
|
204644 |
69204 |
product |
205928 |
A |
50 |
|
|
| 0 |
|
|
|
|
204653 |
69205 |
product |
205937 |
A |
50 |
|
|
| 0 |
|
|
|
|
204671 |
69208 |
product |
205955 |
A |
50 |
|
|
| 0 |
|
|
|
|
204677 |
69209 |
product |
205961 |
A |
50 |
|
|
| 0 |
|
|
|
|
212000 |
13478 |
product |
213275 |
A |
50 |
|
|
| 0 |
|
|
|
|
204627 |
69202 |
product |
205911 |
A |
60 |
|
|
| 0 |
|
|
|
|
204645 |
69204 |
product |
205929 |
A |
60 |
|
|
| 0 |
|
|
|
|
204695 |
69212 |
product |
205979 |
A |
60 |
|
|
| 0 |
|
|
|
|
204628 |
69202 |
product |
205912 |
A |
70 |
|
|
| 0 |
|
|
|
|
204646 |
69204 |
product |
205930 |
A |
70 |
|
|
| 0 |
|
|
|
|
204629 |
69202 |
product |
205913 |
A |
80 |
|
|
| 0 |
|
|
|
|
204647 |
69204 |
product |
205931 |
A |
80 |
|
|