Query time 0.00177
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "174.01"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "30.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": 30,
"rows_produced_per_join": 30,
"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 ('2612','2613','2614','2615','2616','2617','2618','2619','2620','2621','2622','2623','2624','2625','2626','2627','2628','2629','2630','2631','2632','2633','2634','2635','2636','2637','2638','2640','2641','2642')))",
"cost_info": {
"read_cost": "66.01",
"eval_cost": "6.00",
"prefix_cost": "72.01",
"data_read_per_join": "2K"
},
"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": 30,
"filtered": "100.00",
"cost_info": {
"read_cost": "30.00",
"eval_cost": "6.00",
"prefix_cost": "108.01",
"data_read_per_join": "22K"
},
"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": 30,
"filtered": "100.00",
"cost_info": {
"read_cost": "30.00",
"eval_cost": "6.00",
"prefix_cost": "144.01",
"data_read_per_join": "17K"
},
"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 |
paco-rabanne-black-xs-eau-de-toilette-vaporizador-100-ml_4.jpg |
500 |
600 |
N |
5929 |
2612 |
product |
7900 |
A |
10 |
|
7900 |
0 |
Paco_Rabanne_Black_XS_for_Men_2018_Eau_de_Toilette_100_ml_3349668550654_ml.png |
743 |
1000 |
N |
5931 |
2613 |
product |
7902 |
A |
10 |
|
7902 |
0 |
s-l1000_2ijx-30.jpg |
700 |
700 |
N |
5933 |
2614 |
product |
7904 |
A |
10 |
|
7904 |
0 |
res_47fe3a0f387deccf7d5b1b1245dccd69_full.jpg |
678 |
678 |
N |
5935 |
2615 |
product |
7906 |
A |
10 |
|
7906 |
0 |
3349668536405.jpg |
600 |
600 |
N |
5937 |
2616 |
product |
7908 |
A |
10 |
|
7908 |
0 |
s-l1000_csnw-5s.jpg |
750 |
750 |
N |
5939 |
2617 |
product |
7910 |
A |
10 |
|
7910 |
0 |
00823735705.jpg |
350 |
350 |
N |
5941 |
2618 |
product |
7912 |
A |
10 |
|
7912 |
0 |
paco-rabanne-invictus-paco-rabanne-invictus-aqua-eau-de-toilette-50-ml-3349668563258.png |
700 |
860 |
N |
5943 |
2619 |
product |
7914 |
A |
10 |
|
7914 |
0 |
paco-rabanne-invictus-paco-rabanne-invictus-eau-de-toilette-150-ml-3349668524969.png |
700 |
860 |
N |
5945 |
2620 |
product |
7916 |
A |
10 |
|
7916 |
0 |
16488135705.jpg |
350 |
350 |
N |
5947 |
2621 |
product |
7918 |
A |
10 |
|
7918 |
0 |
paco-rabanne-lady-million-paco-rabanne-lady-million-absolutely-gold-eau-de-parfum-80-ml-3349668514595.png |
700 |
860 |
N |
5949 |
2622 |
product |
7920 |
A |
10 |
|
7920 |
0 |
Paco_Rabanne_LADY_MILLION_CHRISTMAS_COLLECTOR_EDITION_2017_W_001-560x350.JPG |
560 |
350 |
N |
5951 |
2623 |
product |
7922 |
A |
10 |
|
7922 |
0 |
2e859a6f-37fd-4094-80de-9f9e1fc4e5b1.jpg |
545 |
545 |
N |
5960 |
2631 |
product |
7931 |
A |
10 |
|
7931 |
0 |
1551204700-3883-540x600.jpeg |
471 |
600 |
N |
5964 |
2634 |
product |
7935 |
A |
10 |
|
7935 |
0 |
3349668573844_01-o__3.jpg |
350 |
350 |
N |
5970 |
2638 |
product |
7941 |
A |
10 |
|
7941 |
0 |
paco-rabanne-pure-xs-paco-rabanne-pure-xs-pure-excess-eau-de-toilette-50-ml-3349668545759.png |
700 |
860 |
N |
5972 |
2640 |
product |
7943 |
A |
10 |
|
7943 |
0 |
paco-rabanne-pure-xs-paco-rabanne-pure-xs-eau-de-parfum-50-ml-3349668545667.png |
700 |
860 |
N |
5974 |
2641 |
product |
7945 |
A |
10 |
|
7945 |
0 |
Paco-Rabanne-Pure-XS-EDP-80ml-For-Women-3349668545636.jpg |
600 |
600 |
N |
5976 |
2642 |
product |
7947 |
A |
10 |
|
7947 |