Query time 0.00056
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 <=> 65703 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 |
| 67277 |
65703 |
product |
0 |
79510 |
A |
0 |
D |
0 |
0 |
Barn-Light-Basics-Bomber-11in-200-white-G22.jpg |
11" Bomber, 200-White, G22 Gooseneck Arm |
1000 |
1000 |
79510 |
| 67278 |
65703 |
product |
0 |
79511 |
A |
0 |
D |
0 |
0 |
Barn-Light-Basics-Bomber-17in-300-Dark-Green-G22.jpg |
17" Bomber, 300-Dark Green, G22 Gooseneck Arm |
1000 |
1000 |
79511 |
| 67279 |
65703 |
product |
0 |
79512 |
A |
0 |
D |
0 |
0 |
Barn-Light-Basics-Bomber-13in-605-rust-G11.jpg |
13" Bomber, 605-Rust, G11 Gooseneck Arm |
1000 |
1000 |
79512 |
| 67977 |
65703 |
product |
0 |
80210 |
A |
0 |
C |
0 |
0 |
image0-residential-exterior-lighting-Bomber-Gooseneck-15in-100-Black-G22arm-Barn-Light-Basics.jpg |
15" Bomber, 100-Black, G22 Arm | Barn Light Basics |
960 |
1280 |
80210 |
| 67978 |
65703 |
product |
0 |
80211 |
A |
0 |
C |
0 |
0 |
image1-residential-exterior-lighting-on-Bomber-Gooseneck-15in-100-Black-G22arm-Barn-Light-Basics.jpg |
15" Bomber, 100-Black, G22 Arm | Barn Light Basics |
897 |
1195 |
80211 |
| 68596 |
65703 |
product |
0 |
80829 |
A |
0 |
C |
0 |
0 |
image0-residential-exterior-lighting-barn-Bomber-Gooseneck-13in-100-Black-G1-arm.jpeg |
13" Bomber, 100-Black, G1 Straight Arm | Photo Courtesy of Customer |
1794 |
2170 |
80829 |
| 68597 |
65703 |
product |
0 |
80830 |
A |
0 |
C |
0 |
0 |
image4-residential-exterior-lighting-barn-Bomber-Gooseneck-15in-100-Black-G1-Arm.jpg |
13" Bomber, 100-Black, G1 Straight Arm | Photo Courtesy of Customer |
2000 |
1241 |
80830 |