Query time 0.00086
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "159.87"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "54.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": 54,
"rows_produced_per_join": 54,
"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 (3976,65285,69097,69107,69195,26051,38207,13106)))",
"cost_info": {
"read_cost": "39.22",
"eval_cost": "5.40",
"prefix_cost": "44.62",
"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": 54,
"filtered": "100.00",
"cost_info": {
"read_cost": "27.82",
"eval_cost": "5.40",
"prefix_cost": "77.84",
"data_read_per_join": "41K"
},
"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": 54,
"filtered": "100.00",
"cost_info": {
"read_cost": "22.64",
"eval_cost": "5.40",
"prefix_cost": "105.87",
"data_read_per_join": "32K"
},
"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 |
|
|
|
|
46528 |
13106 |
product |
47880 |
A |
1 |
|
|
| 0 |
|
|
|
|
168484 |
38207 |
product |
169833 |
A |
1 |
|
|
| 0 |
|
|
|
|
176465 |
65285 |
product |
177811 |
A |
1 |
|
|
| 0 |
|
|
|
|
46529 |
13106 |
product |
47881 |
A |
2 |
|
|
| 0 |
|
|
|
|
168485 |
38207 |
product |
169834 |
A |
2 |
|
|
| 0 |
|
|
|
|
176466 |
65285 |
product |
177812 |
A |
2 |
|
|
| 0 |
|
|
|
|
46530 |
13106 |
product |
47882 |
A |
3 |
|
|
| 0 |
|
|
|
|
168486 |
38207 |
product |
169835 |
A |
3 |
|
|
| 0 |
|
|
|
|
176467 |
65285 |
product |
177813 |
A |
3 |
|
|
| 0 |
|
|
|
|
46531 |
13106 |
product |
47883 |
A |
4 |
|
|
| 0 |
|
|
|
|
168487 |
38207 |
product |
169836 |
A |
4 |
|
|
| 0 |
|
|
|
|
176468 |
65285 |
product |
177814 |
A |
4 |
|
|
| 0 |
|
|
|
|
46532 |
13106 |
product |
47884 |
A |
5 |
|
|
| 0 |
|
|
|
|
168488 |
38207 |
product |
169837 |
A |
5 |
|
|
| 0 |
|
|
|
|
214472 |
65285 |
product |
215747 |
A |
5 |
|
|
| 0 |
|
|
|
|
168489 |
38207 |
product |
169838 |
A |
6 |
|
|
| 0 |
|
|
|
|
44975 |
3976 |
product |
46327 |
A |
7 |
|
|
| 0 |
|
|
|
|
168490 |
38207 |
product |
169839 |
A |
7 |
|
|
| 0 |
|
|
|
|
44976 |
3976 |
product |
46328 |
A |
8 |
|
|
| 0 |
|
|
|
|
44977 |
3976 |
product |
46329 |
A |
9 |
|
|
| 0 |
|
|
|
|
44978 |
3976 |
product |
46330 |
A |
10 |
|
|
| 0 |
|
|
|
|
202961 |
26051 |
product |
204245 |
A |
10 |
|
|
| 0 |
|
|
|
|
203201 |
69097 |
product |
204485 |
A |
10 |
|
|
| 0 |
|
|
|
|
203352 |
69107 |
product |
204636 |
A |
10 |
|
|
| 0 |
|
|
|
|
204192 |
69195 |
product |
205476 |
A |
10 |
|
|
| 0 |
|
|
|
|
44979 |
3976 |
product |
46331 |
A |
11 |
|
|
| 0 |
|
|
|
|
25505 |
3976 |
product |
26857 |
A |
12 |
|
|
| 0 |
|
|
|
|
95818 |
26051 |
product |
97170 |
A |
16 |
|
|
| 0 |
|
|
|
|
95819 |
26051 |
product |
97171 |
A |
17 |
|
|
| 0 |
|
|
|
|
95820 |
26051 |
product |
97172 |
A |
18 |
|
|
| 0 |
|
|
|
|
95821 |
26051 |
product |
97173 |
A |
19 |
|
|
| 0 |
|
|
|
|
95822 |
26051 |
product |
97174 |
A |
20 |
|
|
| 0 |
|
|
|
|
202962 |
26051 |
product |
204246 |
A |
20 |
|
|
| 0 |
|
|
|
|
203202 |
69097 |
product |
204486 |
A |
20 |
|
|
| 0 |
|
|
|
|
203353 |
69107 |
product |
204637 |
A |
20 |
|
|
| 0 |
|
|
|
|
204193 |
69195 |
product |
205477 |
A |
20 |
|
|
| 0 |
|
|
|
|
95823 |
26051 |
product |
97175 |
A |
21 |
|
|
| 0 |
|
|
|
|
202963 |
26051 |
product |
204247 |
A |
30 |
|
|
| 0 |
|
|
|
|
203203 |
69097 |
product |
204487 |
A |
30 |
|
|
| 0 |
|
|
|
|
203354 |
69107 |
product |
204638 |
A |
30 |
|
|
| 0 |
|
|
|
|
204194 |
69195 |
product |
205478 |
A |
30 |
|
|
| 0 |
|
|
|
|
202964 |
26051 |
product |
204248 |
A |
40 |
|
|
| 0 |
|
|
|
|
203204 |
69097 |
product |
204488 |
A |
40 |
|
|
| 0 |
|
|
|
|
203355 |
69107 |
product |
204639 |
A |
40 |
|
|
| 0 |
|
|
|
|
204195 |
69195 |
product |
205479 |
A |
40 |
|
|
| 0 |
|
|
|
|
202965 |
26051 |
product |
204249 |
A |
50 |
|
|
| 0 |
|
|
|
|
203205 |
69097 |
product |
204489 |
A |
50 |
|
|
| 0 |
|
|
|
|
203356 |
69107 |
product |
204640 |
A |
50 |
|
|
| 0 |
|
|
|
|
204196 |
69195 |
product |
205480 |
A |
50 |
|
|
| 0 |
|
|
|
|
202966 |
26051 |
product |
204250 |
A |
60 |
|
|
| 0 |
|
|
|
|
203357 |
69107 |
product |
204641 |
A |
60 |
|
|
| 0 |
|
|
|
|
204197 |
69195 |
product |
205481 |
A |
60 |
|
|
| 0 |
|
|
|
|
203358 |
69107 |
product |
204642 |
A |
70 |
|
|
| 0 |
|
|
|
|
204198 |
69195 |
product |
205482 |
A |
70 |
|
|