Query time 0.00068
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": 30,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (65559,65560,65561,65562,65563)"
}
}
},
"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 |
| 62501 |
65560 |
product |
0 |
74734 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 62502 |
65560 |
product |
0 |
74735 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 62503 |
65560 |
product |
0 |
74736 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 62504 |
65560 |
product |
0 |
74737 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 62514 |
65561 |
product |
0 |
74747 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 62515 |
65561 |
product |
0 |
74748 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 62516 |
65561 |
product |
0 |
74749 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 62517 |
65561 |
product |
0 |
74750 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 62529 |
65562 |
product |
0 |
74762 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 62541 |
65563 |
product |
0 |
74774 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 62542 |
65563 |
product |
0 |
74775 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 62543 |
65563 |
product |
0 |
74776 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 62544 |
65563 |
product |
0 |
74777 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 62545 |
65563 |
product |
0 |
74778 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 62763 |
65561 |
product |
0 |
74996 |
A |
0 |
C |
0 |
0 |
|
|
|
|
|
| 62764 |
65560 |
product |
0 |
74997 |
A |
0 |
C |
0 |
0 |
|
|
|
|
|
| 62765 |
65563 |
product |
0 |
74998 |
A |
0 |
C |
0 |
0 |
|
|
|
|
|
| 67484 |
65559 |
product |
0 |
79717 |
A |
0 |
C |
0 |
0 |
|
|
|
|
|
| 62454 |
65559 |
product |
0 |
74687 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 62530 |
65562 |
product |
0 |
74763 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 62455 |
65559 |
product |
0 |
74688 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 62532 |
65562 |
product |
0 |
74765 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 62456 |
65559 |
product |
0 |
74689 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 62531 |
65562 |
product |
0 |
74764 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 62468 |
65559 |
product |
0 |
74701 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 62533 |
65562 |
product |
0 |
74766 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 62766 |
65562 |
product |
0 |
74999 |
A |
5 |
C |
0 |
0 |
|
|
|
|
|
| 62767 |
65559 |
product |
0 |
75000 |
A |
5 |
C |
0 |
0 |
|
|
|
|
|
| 63801 |
65559 |
product |
0 |
76034 |
A |
6 |
C |
0 |
0 |
|
|
|
|
|
| 63800 |
65559 |
product |
0 |
76033 |
A |
7 |
C |
0 |
0 |
|
|
|
|
|