Query time 0.00084
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "85.41"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "29.00"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_images_links",
"access_type": "range",
"possible_keys": [
"object_id",
"idx_object_type_type_position"
],
"key": "object_id",
"used_key_parts": [
"object_id",
"object_type",
"type"
],
"key_length": "81",
"rows_examined_per_scan": 29,
"rows_produced_per_join": 29,
"filtered": "100.00",
"index_condition": "((`cscart_db`.`cscart_images_links`.`object_type` = 'product') and (`cscart_db`.`cscart_images_links`.`type` = 'A') and (`cscart_db`.`cscart_images_links`.`object_id` in (37831,37553,38680,37276,66700,67972,69955,32160)))",
"cost_info": {
"read_cost": "20.57",
"eval_cost": "2.90",
"prefix_cost": "23.47",
"data_read_per_join": "2K"
},
"used_columns": [
"pair_id",
"object_id",
"object_type",
"image_id",
"detailed_id",
"type",
"position"
]
}
},
{
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"image_id"
],
"key_length": "4",
"ref": [
"cscart_db.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 29,
"filtered": "100.00",
"cost_info": {
"read_cost": "14.87",
"eval_cost": "2.90",
"prefix_cost": "41.24",
"data_read_per_join": "22K"
},
"used_columns": [
"image_id",
"image_path",
"image_x",
"image_y",
"is_high_res"
]
}
},
{
"table": {
"table_name": "cscart_common_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"lang_code",
"object_holder"
],
"key_length": "107",
"ref": [
"cscart_db.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 29,
"filtered": "100.00",
"cost_info": {
"read_cost": "12.27",
"eval_cost": "2.90",
"prefix_cost": "56.41",
"data_read_per_join": "17K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
],
"attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), (`cscart_db`.`cscart_common_descriptions`.`object_id` = `cscart_db`.`cscart_images`.`image_id`), true)"
}
}
]
}
}
}
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 |
1__2__wwhp-9t.jpg |
1000 |
1500 |
N |
125800 |
32160 |
product |
127152 |
A |
1 |
|
127152 |
| 0 |
3_cqao-dw.jpg |
679 |
679 |
N |
166024 |
37831 |
product |
167373 |
A |
1 |
|
167373 |
| 0 |
3_id7z-tg.jpg |
1500 |
1500 |
N |
185071 |
66700 |
product |
186417 |
A |
1 |
|
186417 |
| 0 |
71F1IpJzeCL._AC_UF350,350_QL80_.jpg |
350 |
350 |
N |
213852 |
37553 |
product |
215127 |
A |
1 |
|
215127 |
| 0 |
1__3__41tp-0k.jpg |
1000 |
1000 |
N |
125801 |
32160 |
product |
127153 |
A |
2 |
|
127153 |
| 0 |
2_7s3q-54.jpg |
679 |
679 |
N |
166025 |
37831 |
product |
167374 |
A |
2 |
|
167374 |
| 0 |
4_11qo-dx.jpg |
1500 |
1500 |
N |
185072 |
66700 |
product |
186418 |
A |
2 |
|
186418 |
| 0 |
Rovectin-Vita-Dark-Spot-Serum-Review-Nudie-Glow-Australia_1000x.webp |
1000 |
1000 |
N |
192763 |
67972 |
product |
194101 |
A |
2 |
|
194101 |
| 0 |
1__5__56l4-q2.jpg |
800 |
1244 |
N |
125802 |
32160 |
product |
127154 |
A |
3 |
|
127154 |
| 0 |
5_cbpu-hx.jpg |
679 |
679 |
N |
166026 |
37831 |
product |
167375 |
A |
3 |
|
167375 |
| 0 |
5_8ek0-go.jpg |
1500 |
1500 |
N |
185073 |
66700 |
product |
186419 |
A |
3 |
|
186419 |
| 0 |
-473Wx593H-4939141210-multi-MODEL2.jpg |
473 |
593 |
N |
192764 |
67972 |
product |
194102 |
A |
3 |
|
194102 |
| 0 |
1__4__e1zo-qa.jpg |
1000 |
1000 |
N |
125803 |
32160 |
product |
127155 |
A |
4 |
|
127155 |
| 0 |
6_s0wk-j8.jpg |
1500 |
1500 |
N |
185074 |
66700 |
product |
186420 |
A |
4 |
|
186420 |
| 0 |
61TB3yTlg7L._SX522__9uw0-ov.jpg |
522 |
522 |
N |
192765 |
67972 |
product |
194103 |
A |
4 |
|
194103 |
| 0 |
I'm-from_6vnd-k8.jpg |
2480 |
3508 |
N |
214623 |
37831 |
product |
215898 |
A |
4 |
|
215898 |
| 0 |
8_jjdg-zr.jpg |
1500 |
1500 |
N |
185076 |
66700 |
product |
186422 |
A |
5 |
|
186422 |
| 0 |
2_gas1-9u.png |
800 |
1067 |
N |
197380 |
37276 |
product |
198718 |
A |
5 |
|
198718 |
| 0 |
Axis-y_6s0c-0l.jpg |
2480 |
3508 |
N |
214372 |
32160 |
product |
215647 |
A |
5 |
|
215647 |
| 0 |
9_kufc-u5.jpg |
1500 |
1500 |
N |
185077 |
66700 |
product |
186423 |
A |
6 |
|
186423 |
| 0 |
3_hha3-12_syv9-25.png |
800 |
1067 |
N |
197387 |
37276 |
product |
198725 |
A |
6 |
|
198725 |
| 0 |
4_9rqs-lh_1kxv-2d.png |
800 |
1067 |
N |
197388 |
37276 |
product |
198726 |
A |
7 |
|
198726 |
| 0 |
7e8428e8-a0ba-47f5-842a-43bb93eb58a1.png |
3000 |
3000 |
N |
213853 |
37553 |
product |
215128 |
A |
7 |
|
215128 |
| 0 |
5_i76x-2y_9oaf-a7.png |
800 |
1067 |
N |
197389 |
37276 |
product |
198727 |
A |
8 |
|
198727 |
| 0 |
6_s1j0-h2_mg8j-0i.png |
800 |
1067 |
N |
197390 |
37276 |
product |
198728 |
A |
9 |
|
198728 |
| 0 |
bb980b9c-97e5-442f-811c-e11133abe85f.png |
3000 |
3000 |
N |
213854 |
37553 |
product |
215129 |
A |
9 |
|
215129 |
| 0 |
eb1e9032-8c5a-4bdf-9206-71ae47b593bf.png |
3000 |
3000 |
N |
213855 |
37553 |
product |
215130 |
A |
10 |
|
215130 |
| 0 |
Biodance_7b3c-i6.jpg |
2480 |
3508 |
N |
214469 |
38680 |
product |
215744 |
A |
16 |
|
215744 |