Query time 0.00082
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": 33,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (62846,62395,62396,62380)"
}
}
},
"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 |
| 32244 |
62380 |
product |
0 |
44477 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 65259 |
62846 |
product |
0 |
77492 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 65282 |
62396 |
product |
0 |
77515 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 65413 |
62395 |
product |
0 |
77646 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 65545 |
62380 |
product |
0 |
77778 |
A |
0 |
D |
0 |
0 |
|
|
|
|
|
| 21524 |
62395 |
product |
0 |
33405 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 23046 |
62846 |
product |
0 |
34957 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 32243 |
62380 |
product |
0 |
44476 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 65281 |
62396 |
product |
0 |
77514 |
A |
1 |
D |
0 |
0 |
|
|
|
|
|
| 24400 |
62396 |
product |
0 |
36381 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 65255 |
62846 |
product |
0 |
77488 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 65416 |
62395 |
product |
0 |
77649 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 65544 |
62380 |
product |
0 |
77777 |
A |
2 |
D |
0 |
0 |
|
|
|
|
|
| 24396 |
62395 |
product |
0 |
36377 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 32166 |
62396 |
product |
0 |
44399 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 65252 |
62846 |
product |
0 |
77485 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 65543 |
62380 |
product |
0 |
77776 |
A |
3 |
D |
0 |
0 |
|
|
|
|
|
| 24397 |
62395 |
product |
0 |
36378 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 65257 |
62846 |
product |
0 |
77490 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 65283 |
62396 |
product |
0 |
77516 |
A |
4 |
D |
0 |
0 |
|
|
|
|
|
| 65254 |
62846 |
product |
0 |
77487 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 65285 |
62396 |
product |
0 |
77518 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 65415 |
62395 |
product |
0 |
77648 |
A |
5 |
D |
0 |
0 |
|
|
|
|
|
| 65256 |
62846 |
product |
0 |
77489 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 65284 |
62396 |
product |
0 |
77517 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 65414 |
62395 |
product |
0 |
77647 |
A |
6 |
D |
0 |
0 |
|
|
|
|
|
| 65260 |
62846 |
product |
0 |
77493 |
A |
7 |
D |
0 |
0 |
|
|
|
|
|
| 65258 |
62846 |
product |
0 |
77491 |
A |
8 |
D |
0 |
0 |
|
|
|
|
|
| 65253 |
62846 |
product |
0 |
77486 |
A |
9 |
D |
0 |
0 |
|
|
|
|
|
| 65261 |
62846 |
product |
0 |
77494 |
A |
10 |
D |
0 |
0 |
|
|
|
|
|
| 68138 |
62846 |
product |
0 |
80371 |
A |
11 |
C |
0 |
0 |
|
|
|
|
|
| 68139 |
62846 |
product |
0 |
80372 |
A |
12 |
C |
0 |
0 |
|
|
|
|
|
| 50475 |
62846 |
product |
0 |
62708 |
A |
13 |
C |
0 |
0 |
|
|
|
|
|