Query time 0.00062
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 <=> 62259 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 |
| 53862 |
62259 |
product |
0 |
66095 |
A |
0 |
D |
0 |
0 |
Wire-Guard-Barn-Red.jpg |
Wire Guard, 400-Barn Red |
1000 |
1000 |
66095 |
| 53863 |
62259 |
product |
0 |
66096 |
A |
1 |
D |
0 |
0 |
Wire-Guard-Galvanized.jpg |
Wire Guard, 975-Galvanized |
1000 |
1000 |
66096 |
| 57325 |
62259 |
product |
0 |
69558 |
A |
2 |
D |
0 |
0 |
Wire-Guard-Black.jpg |
Wire Guard, 100-Black |
1000 |
1000 |
69558 |
| 57051 |
62259 |
product |
0 |
69284 |
A |
3 |
C |
0 |
0 |
Wire_Cast_Guard_-_Barn_Light_Electric_-_Bathroom_Vanity_Lighting.jpg |
Wire Guard (Displayed Here: Atomic Topless Double Industrial Guard Sconce, 975-Galvanized, WGG-Wire Guard, SMK-Smoke Crackle Glass) |
1000 |
667 |
69284 |
| 57052 |
62259 |
product |
0 |
69285 |
A |
4 |
C |
0 |
0 |
Wire_Guard_-_Flush_Mount_Guard_Sconce_-_Barn_Light_Electric_Commercial_Bar_Lighting.jpg |
Wire Guard (Displayed Here: Flush Mount Guard Sconce, 311-Jadite, WGG-Wire Guard, CLR-Clear Glass | Courtesy of The Garden Table) |
768 |
512 |
69285 |
| 57053 |
62259 |
product |
0 |
69286 |
A |
5 |
C |
0 |
0 |
Wire_Guard_-_Industrial_Loft_Double_Pendant_-_Barn_Light_Electric_-_Bathroom_Pendant_Lighting-100-Black.jpg |
Wire Guard (Displayed Here: Industrial Loft Double Pendant, 100-Black, WGG - Wire Guard, Cast Guard Finish Same as Fixture | Photo Courtesy of Erica (@newhomeoldsoul)) |
1500 |
2250 |
69286 |
| 57054 |
62259 |
product |
0 |
69287 |
A |
6 |
C |
0 |
0 |
Wire_Guard_-_Barn_Light_Electric_-_Bathroom_Vanity_Lighting.jpg |
Wire Guard (Displayed Here: Atomic Topless Double Industrial Guard Sconce, 975-Galvanized, WGG-Wire Guard) |
600 |
900 |
69287 |