Query time 0.00077
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": 24,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in (64617,60736,64615,62252,61336,62253,64614,60731,60726,60750,60734,61388,64622,60741,64623,64626,60747,62254,60730,62260,60740,61387,60742,61171)"
}
}
},
"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 |
| 12274 |
60726 |
product |
0 |
21508 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 12293 |
60730 |
product |
0 |
21546 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 12294 |
60731 |
product |
0 |
21548 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 12299 |
60736 |
product |
0 |
21558 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 12303 |
60740 |
product |
0 |
21566 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 12305 |
60742 |
product |
0 |
21570 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 12328 |
60747 |
product |
0 |
21616 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 12331 |
60750 |
product |
0 |
21622 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 15655 |
61336 |
product |
0 |
27122 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 15884 |
61388 |
product |
0 |
27383 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 15885 |
61387 |
product |
0 |
27384 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 21026 |
62252 |
product |
0 |
32867 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 21027 |
62253 |
product |
0 |
32868 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 21028 |
62254 |
product |
0 |
32869 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 32533 |
64614 |
product |
0 |
44766 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 32534 |
64615 |
product |
0 |
44767 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 32536 |
64617 |
product |
0 |
44769 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 32541 |
64622 |
product |
0 |
44774 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 32542 |
64623 |
product |
0 |
44775 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 32545 |
64626 |
product |
0 |
44778 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 49319 |
61171 |
product |
0 |
61552 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 49320 |
60734 |
product |
0 |
61553 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 53864 |
62260 |
product |
0 |
66097 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|
| 75665 |
60741 |
product |
0 |
87898 |
M |
0 |
D |
0 |
0 |
|
|
|
|
|