Query time 0.00060
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": 28,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (62382,62388,62395,61478)"
}
}
},
"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 |
| 21496 |
62388 |
product |
0 |
33377 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 65280 |
61478 |
product |
0 |
77513 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 65413 |
62395 |
product |
0 |
77646 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 16355 |
61478 |
product |
0 |
27875 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 21466 |
62382 |
product |
0 |
33347 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 21524 |
62395 |
product |
0 |
33405 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 65302 |
62388 |
product |
0 |
77535 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 16354 |
61478 |
product |
0 |
27874 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 21465 |
62382 |
product |
0 |
33346 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 21495 |
62388 |
product |
0 |
33376 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 65416 |
62395 |
product |
0 |
77649 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 24396 |
62395 |
product |
0 |
36377 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 32160 |
62382 |
product |
0 |
44393 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 65278 |
61478 |
product |
0 |
77511 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 65303 |
62388 |
product |
0 |
77536 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 24397 |
62395 |
product |
0 |
36378 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 24399 |
61478 |
product |
0 |
36380 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 32155 |
62388 |
product |
0 |
44388 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 32156 |
62388 |
product |
0 |
44389 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 65279 |
61478 |
product |
0 |
77512 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 65415 |
62395 |
product |
0 |
77648 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 65277 |
61478 |
product |
0 |
77510 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 65301 |
62388 |
product |
0 |
77534 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 65414 |
62395 |
product |
0 |
77647 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 69136 |
62388 |
product |
0 |
81369 |
A |
6 |
C |
0 |
0 |
|
|
|
|
|
| 32167 |
61478 |
product |
0 |
44400 |
A |
7 |
C |
0 |
0 |
|
|
|
|
|
| 67103 |
61478 |
product |
0 |
79336 |
A |
7 |
C |
0 |
0 |
|
|
|
|
|
| 67104 |
61478 |
product |
0 |
79337 |
A |
7 |
C |
0 |
0 |
|
|
|
|
|