Query time 0.00052
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.141777361,
"nested_loop": [
{
"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"],
"loops": 1,
"rows": 22,
"cost": 0.06213384,
"filtered": 100,
"index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in (278,280,282,2499,2502,2505,2508,2511,281,283,284,2497,2500,2503,2506,2509,2510,2504,2498,2507,279,2501)"
}
}
}
},
{
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["image_id"],
"ref": ["u985510652_ecartify_abhi.cscart_images_links.detailed_id"],
"loops": 22,
"rows": 1,
"cost": 0.02786968,
"filtered": 100
}
},
{
"table": {
"table_name": "cscart_common_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "108",
"used_key_parts": ["object_id", "lang_code", "object_holder"],
"ref": [
"u985510652_ecartify_abhi.cscart_images.image_id",
"const",
"const"
],
"loops": 22,
"rows": 1,
"cost": 0.03770008,
"filtered": 100,
"attached_condition": "trigcond(cscart_common_descriptions.object_holder = 'images' and cscart_common_descriptions.lang_code = 'en' and trigcond(cscart_images.image_id is not null))"
}
}
]
}
}
Result
| image_id |
image_path |
image_x |
image_y |
is_high_res |
pair_id |
object_id |
object_type |
detailed_id |
type |
position |
alt |
images_image_id |
| 0 |
t-6.jpg |
400 |
543 |
N |
1160 |
278 |
product |
1397 |
M |
0 |
|
1397 |
| 0 |
t-3.jpg |
400 |
543 |
N |
1161 |
279 |
product |
1398 |
M |
0 |
|
1398 |
| 0 |
t-4.jpg |
2300 |
2415 |
N |
1164 |
280 |
product |
1401 |
M |
0 |
|
1401 |
| 0 |
t-2.jpg |
2300 |
2415 |
N |
1167 |
281 |
product |
1404 |
M |
0 |
|
1404 |
| 0 |
t-7.jpg |
1500 |
1500 |
N |
1168 |
282 |
product |
1405 |
M |
0 |
|
1405 |
| 0 |
t-5.jpg |
1500 |
1500 |
N |
1169 |
283 |
product |
1406 |
M |
0 |
|
1406 |
| 0 |
t-5.jpg |
1500 |
1500 |
N |
1171 |
284 |
product |
1406 |
M |
0 |
|
1406 |
| 0 |
t-4.jpg |
2300 |
2415 |
N |
9580 |
2497 |
product |
1401 |
M |
0 |
|
1401 |
| 0 |
t-4.jpg |
2300 |
2415 |
N |
9581 |
2498 |
product |
1401 |
M |
0 |
|
1401 |
| 0 |
t-4.jpg |
2300 |
2415 |
N |
9582 |
2499 |
product |
1401 |
M |
0 |
|
1401 |
| 0 |
t-4.jpg |
2300 |
2415 |
N |
9583 |
2500 |
product |
1401 |
M |
0 |
|
1401 |
| 0 |
t-4.jpg |
2300 |
2415 |
N |
9584 |
2501 |
product |
1401 |
M |
0 |
|
1401 |
| 0 |
t-4.jpg |
2300 |
2415 |
N |
9585 |
2502 |
product |
1401 |
M |
0 |
|
1401 |
| 0 |
t-4.jpg |
2300 |
2415 |
N |
9586 |
2503 |
product |
1401 |
M |
0 |
|
1401 |
| 0 |
t-4.jpg |
2300 |
2415 |
N |
9587 |
2504 |
product |
1401 |
M |
0 |
|
1401 |
| 0 |
t-4.jpg |
2300 |
2415 |
N |
9588 |
2505 |
product |
1401 |
M |
0 |
|
1401 |
| 0 |
t-4.jpg |
2300 |
2415 |
N |
9589 |
2506 |
product |
1401 |
M |
0 |
|
1401 |
| 0 |
t-4.jpg |
2300 |
2415 |
N |
9590 |
2507 |
product |
1401 |
M |
0 |
|
1401 |
| 0 |
t-4.jpg |
2300 |
2415 |
N |
9591 |
2508 |
product |
1401 |
M |
0 |
|
1401 |
| 0 |
t-4.jpg |
2300 |
2415 |
N |
9592 |
2509 |
product |
1401 |
M |
0 |
|
1401 |
| 0 |
t-4.jpg |
2300 |
2415 |
N |
9593 |
2510 |
product |
1401 |
M |
0 |
|
1401 |
| 0 |
t-4.jpg |
2300 |
2415 |
N |
9594 |
2511 |
product |
1401 |
M |
0 |
|
1401 |