Query time 0.00087
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": "ref",
"possible_keys": ["object_id"],
"key": "object_id",
"key_length": "81",
"used_key_parts": ["object_id", "object_type", "type"],
"ref": ["const", "const", "const"],
"rows": 7,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A'",
"attached_condition": "cscart_images_links.object_id <=> 65672 and cscart_images_links.object_type <=> 'product' and cscart_images_links.`type` <=> 'A'"
}
}
},
"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.detailed_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_images_links.detailed_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 |
| 66389 |
65672 |
product |
0 |
78622 |
A |
0 |
D |
0 |
0 |
fire-chief-stem-12in-490-meganta-CGG-RIB-100-black.jpg |
12" Fire Chief, 490-Magnenta, CGG-Standard Cast Guard, 100-Black, CLR-Clear Glass, Mounting in 100-Black |
1000 |
1000 |
78622 |
| 66392 |
65672 |
product |
0 |
78625 |
A |
2 |
D |
0 |
0 |
fire-chief-stem-307-emerald-green-WC.jpg |
14" Fire Chief, 307-Emerald Green, Wire Cage, 975-Galvanized |
1000 |
1000 |
78625 |
| 66388 |
65672 |
product |
0 |
78621 |
A |
4 |
D |
0 |
0 |
fire-chief-stem-12in-100-black.jpg |
12" Fire Chief, 100-Black |
1000 |
1000 |
78621 |
| 66391 |
65672 |
product |
0 |
78624 |
A |
5 |
D |
0 |
0 |
fire-chief-stem-14in-705-navy-980-brushed-aluminum.jpg |
14" Fire Chief, 705-Navy, Mounting in 980-Brushed Aluminum |
1000 |
1000 |
78624 |
| 66393 |
65672 |
product |
0 |
78626 |
A |
6 |
D |
0 |
0 |
fire-chief-stem-400-barn-red.jpg |
14" Fire Chief, 400-Barn Red |
1000 |
1000 |
78626 |
| 66390 |
65672 |
product |
0 |
78623 |
A |
7 |
D |
0 |
0 |
fire-chief-stem-14in-300-dark-green.jpg |
14" Fire Chief, 300-Dark Green |
1000 |
1000 |
78623 |
| 68119 |
65672 |
product |
0 |
80352 |
A |
7 |
C |
0 |
0 |
firechief-stem-600-bronze.jpg |
14" Fire Chief, 600-Bronze |
1224 |
1224 |
80352 |