Query time 0.00131
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "92.81"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "16.00"
},
"nested_loop": [
{
"table": {
"table_name": "q_images_links",
"access_type": "range",
"possible_keys": [
"object_id"
],
"key": "object_id",
"used_key_parts": [
"object_id",
"object_type",
"type"
],
"key_length": "81",
"rows_examined_per_scan": 16,
"rows_produced_per_join": 16,
"filtered": "100.00",
"index_condition": "((`portal`.`q_images_links`.`object_type` = 'product') and (`portal`.`q_images_links`.`type` = 'A') and (`portal`.`q_images_links`.`object_id` in ('2934','2935','2936','2937','2938','2939','2940','2941','2922','2923','2924','2925','2926','2927','2928','2898')))",
"cost_info": {
"read_cost": "35.21",
"eval_cost": "3.20",
"prefix_cost": "38.41",
"data_read_per_join": "1K"
},
"used_columns": [
"pair_id",
"object_id",
"object_type",
"image_id",
"detailed_id",
"type",
"position"
]
}
},
{
"table": {
"table_name": "q_images",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"image_id"
],
"key_length": "4",
"ref": [
"portal.q_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 16,
"filtered": "100.00",
"cost_info": {
"read_cost": "16.00",
"eval_cost": "3.20",
"prefix_cost": "57.61",
"data_read_per_join": "12K"
},
"used_columns": [
"image_id",
"image_path",
"image_x",
"image_y",
"is_high_res"
],
"attached_condition": "<if>(is_not_null_compl(q_images), (`portal`.`q_images_links`.`detailed_id` = `portal`.`q_images`.`image_id`), true)"
}
},
{
"table": {
"table_name": "q_common_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"lang_code",
"object_holder"
],
"key_length": "107",
"ref": [
"portal.q_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 16,
"filtered": "100.00",
"cost_info": {
"read_cost": "16.00",
"eval_cost": "3.20",
"prefix_cost": "76.81",
"data_read_per_join": "9K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
],
"attached_condition": "<if>(is_not_null_compl(q_common_descriptions), (`portal`.`q_common_descriptions`.`object_id` = `portal`.`q_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 |
f89eba7f35fc47cda36aadcfcfb156c0f217c0d6_f1142ee8ca0907acfdfa274125f6048f6cd330ed_2-600x600.jpg |
600 |
600 |
N |
82369 |
2922 |
product |
84312 |
A |
1 |
|
84312 |
0 |
DIE29100.jpg |
500 |
500 |
N |
82370 |
2923 |
product |
84313 |
A |
1 |
|
84313 |
0 |
s-l1000_xr3h-nk.jpg |
600 |
600 |
N |
82371 |
2924 |
product |
84314 |
A |
1 |
|
84314 |
0 |
0003334_only-the-brave-tatoo-edt-75-ml.jpeg |
750 |
750 |
N |
82372 |
2925 |
product |
84315 |
A |
1 |
|
84315 |
0 |
DIE19150.jpg |
500 |
500 |
N |
82373 |
2926 |
product |
84316 |
A |
1 |
|
84316 |
0 |
item_XL_39161053_153983700.jpg |
600 |
600 |
N |
82378 |
2898 |
product |
84321 |
A |
1 |
|
84321 |
0 |
diesel-zero-plus-feminine-eau-de-toilette-75-ml.jpg |
500 |
600 |
N |
82403 |
2927 |
product |
84346 |
A |
1 |
|
84346 |
0 |
DIE27200.jpg |
500 |
500 |
N |
82404 |
2928 |
product |
84347 |
A |
1 |
|
84347 |
0 |
s-l1000_3oaz-cp.jpg |
700 |
420 |
N |
82412 |
2936 |
product |
84355 |
A |
1 |
|
84355 |
0 |
3137370183822.jpg |
600 |
600 |
N |
82413 |
2937 |
product |
84356 |
A |
1 |
|
84356 |
0 |
s-l1000_btk3-sw.jpg |
1000 |
704 |
N |
82415 |
2939 |
product |
84358 |
A |
1 |
|
84358 |
0 |
nina_ricci-parfyumernaya_voda_30_ml-2b.jpg |
533 |
800 |
N |
82416 |
2940 |
product |
84359 |
A |
1 |
|
84359 |
0 |
Nina-Ricci-Ricci-Eau-de-Perfume-50-ml-for-Woman-3137370208303-1.jpg |
500 |
500 |
N |
82417 |
2941 |
product |
84360 |
A |
1 |
|
84360 |
0 |
nina-ricci-luna-for-women-edt-80ml_big.png |
400 |
450 |
N |
6373 |
2938 |
product |
8341 |
A |
10 |
|
8341 |
0 |
nina_ricci_l_extase_75ml_edp_unboxed.jpg |
500 |
500 |
N |
82410 |
2934 |
product |
84353 |
A |
11 |
|
84353 |
0 |
item_XL_23796031_34503752.jpg |
489 |
600 |
N |
82411 |
2935 |
product |
84354 |
A |
11 |
|
84354 |
0 |
s-l1000_14zg-3u.jpg |
800 |
800 |
N |
82414 |
2938 |
product |
84357 |
A |
11 |
|
84357 |