Query time 0.00103
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": 37,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (62412,62420,62428,65474)"
}
}
},
"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 |
| 21592 |
62412 |
product |
0 |
33473 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 21618 |
62420 |
product |
0 |
33499 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 21619 |
62420 |
product |
0 |
33500 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 66185 |
62428 |
product |
0 |
78418 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 66424 |
62420 |
product |
0 |
78657 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 66425 |
62420 |
product |
0 |
78658 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 66426 |
62420 |
product |
0 |
78659 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 66427 |
62420 |
product |
0 |
78660 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 66428 |
62420 |
product |
0 |
78661 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 66986 |
65474 |
product |
0 |
79219 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 21643 |
62428 |
product |
0 |
33524 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 66309 |
62412 |
product |
0 |
78542 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 66988 |
65474 |
product |
0 |
79221 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 30627 |
62412 |
product |
0 |
42859 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 66184 |
62428 |
product |
0 |
78417 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 66987 |
65474 |
product |
0 |
79220 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 21594 |
62412 |
product |
0 |
33475 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 66180 |
62428 |
product |
0 |
78413 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 66989 |
65474 |
product |
0 |
79222 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 66182 |
62428 |
product |
0 |
78415 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 66310 |
62412 |
product |
0 |
78543 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 66998 |
65474 |
product |
0 |
79231 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 66181 |
62428 |
product |
0 |
78414 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 66308 |
62412 |
product |
0 |
78541 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 66985 |
65474 |
product |
0 |
79218 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 49317 |
62412 |
product |
0 |
61550 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 66183 |
62428 |
product |
0 |
78416 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 66990 |
65474 |
product |
0 |
79223 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 68197 |
62412 |
product |
0 |
80430 |
A |
6 |
C |
0 |
0 |
|
|
|
|
|
| 68198 |
62412 |
product |
0 |
80431 |
A |
6 |
C |
0 |
0 |
|
|
|
|
|
| 68199 |
62412 |
product |
0 |
80432 |
A |
6 |
C |
0 |
0 |
|
|
|
|
|
| 68200 |
62412 |
product |
0 |
80433 |
A |
6 |
C |
0 |
0 |
|
|
|
|
|
| 66991 |
65474 |
product |
0 |
79224 |
A |
7 |
D |
0 |
0 |
|
|
|
|
|
| 69113 |
65474 |
product |
0 |
81346 |
A |
8 |
C |
0 |
0 |
|
|
|
|
|
| 68659 |
65474 |
product |
0 |
80892 |
A |
9 |
C |
0 |
0 |
|
|
|
|
|
| 68660 |
65474 |
product |
0 |
80893 |
A |
10 |
C |
0 |
0 |
|
|
|
|
|
| 68661 |
65474 |
product |
0 |
80894 |
A |
11 |
C |
0 |
0 |
|
|
|
|
|