Query time 0.00085
JSON explain
{
"query_block": {
"select_id": 1,
"read_sorted_file": {
"filesort": {
"sort_key": "cscart_images_links.position, cscart_images_links.pair_id",
"table": {
"table_name": "cscart_images_links",
"access_type": "range",
"possible_keys": ["object_id"],
"key": "object_id",
"key_length": "81",
"used_key_parts": ["object_id", "object_type", "type"],
"rows": 32,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (65299,65300,65301,65425)"
}
}
},
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["image_id"],
"ref": ["cscart_migrate.cscart_images_links.image_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_images_links.image_id = cscart_images.image_id)"
},
"table": {
"table_name": "cscart_common_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "107",
"used_key_parts": ["object_id", "lang_code", "object_holder"],
"ref": ["cscart_migrate.cscart_images.image_id", "const", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_common_descriptions.object_id = cscart_images.image_id and cscart_common_descriptions.object_holder = 'images' and cscart_common_descriptions.lang_code = 'en' and trigcond(cscart_images.image_id is not null))"
}
}
}
Result
| pair_id |
object_id |
object_type |
image_id |
detailed_id |
type |
position |
image_type |
show_gallery |
gallery_category_id |
image_path |
alt |
image_x |
image_y |
images_image_id |
| 56544 |
65299 |
product |
0 |
68777 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 59108 |
65300 |
product |
0 |
71341 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 59131 |
65425 |
product |
0 |
71364 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 63560 |
65301 |
product |
0 |
75793 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 56548 |
65299 |
product |
0 |
68781 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 56614 |
65301 |
product |
0 |
68847 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 59106 |
65300 |
product |
0 |
71339 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 59128 |
65425 |
product |
0 |
71361 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 56547 |
65299 |
product |
0 |
68780 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 56560 |
65300 |
product |
0 |
68793 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 59129 |
65425 |
product |
0 |
71362 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 63559 |
65301 |
product |
0 |
75792 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 56561 |
65300 |
product |
0 |
68794 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 56615 |
65301 |
product |
0 |
68848 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 59079 |
65299 |
product |
0 |
71312 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 59127 |
65425 |
product |
0 |
71360 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 56546 |
65299 |
product |
0 |
68779 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 56612 |
65301 |
product |
0 |
68845 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 59107 |
65300 |
product |
0 |
71340 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 59130 |
65425 |
product |
0 |
71363 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 56562 |
65300 |
product |
0 |
68795 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 59078 |
65299 |
product |
0 |
71311 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 59118 |
65301 |
product |
0 |
71351 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 64010 |
65425 |
product |
0 |
76243 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 56616 |
65301 |
product |
0 |
68849 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 59077 |
65299 |
product |
0 |
71310 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 64009 |
65425 |
product |
0 |
76242 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 65068 |
65300 |
product |
0 |
77301 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 65730 |
65425 |
product |
0 |
77963 |
A |
6 |
C |
0 |
0 |
|
|
|
|
|
| 59119 |
65301 |
product |
0 |
71352 |
A |
7 |
D |
0 |
0 |
|
|
|
|
|
| 63561 |
65301 |
product |
0 |
75794 |
A |
8 |
D |
0 |
0 |
|
|
|
|
|
| 56613 |
65301 |
product |
0 |
68846 |
A |
9 |
D |
0 |
0 |
|
|
|
|
|