Query time 0.00061
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": 27,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (65789,65800,65806,65817)"
}
}
},
"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 |
| 68960 |
65789 |
product |
0 |
81193 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 69143 |
65800 |
product |
0 |
81376 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 69144 |
65800 |
product |
0 |
81377 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 69145 |
65800 |
product |
0 |
81378 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 69146 |
65800 |
product |
0 |
81379 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 69147 |
65800 |
product |
0 |
81380 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 69148 |
65800 |
product |
0 |
81381 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 69149 |
65800 |
product |
0 |
81382 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 69150 |
65800 |
product |
0 |
81383 |
A |
0 |
C |
0 |
0 |
|
|
|
|
|
| 69289 |
65806 |
product |
0 |
81522 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 69363 |
65817 |
product |
0 |
81596 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 68958 |
65789 |
product |
0 |
81191 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 69294 |
65806 |
product |
0 |
81527 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 69369 |
65817 |
product |
0 |
81602 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 68961 |
65789 |
product |
0 |
81194 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 69290 |
65806 |
product |
0 |
81523 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 69366 |
65817 |
product |
0 |
81599 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 68962 |
65789 |
product |
0 |
81195 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 69291 |
65806 |
product |
0 |
81524 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 69364 |
65817 |
product |
0 |
81597 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 68964 |
65789 |
product |
0 |
81197 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 69292 |
65806 |
product |
0 |
81525 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 69365 |
65817 |
product |
0 |
81598 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 69288 |
65806 |
product |
0 |
81521 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 69368 |
65817 |
product |
0 |
81601 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 69293 |
65806 |
product |
0 |
81526 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 69367 |
65817 |
product |
0 |
81600 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|