Query time 0.00184
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "488.01"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "95.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": 95,
"rows_produced_per_join": 95,
"filtered": "100.00",
"index_condition": "((`portal`.`q_images_links`.`object_type` = 'product') and (`portal`.`q_images_links`.`type` = 'M') and (`portal`.`q_images_links`.`object_id` in ('29201','29202','29203','29204','29205','29206','29207','29208','29209','29210','29211','29212','29213','29214','29215','29216','29218','29219','29220','29221','29222','29223','29224','29225','29226','29227','29228','29229','29230','29231','29232','29233')))",
"cost_info": {
"read_cost": "146.01",
"eval_cost": "19.00",
"prefix_cost": "165.01",
"data_read_per_join": "8K"
},
"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": 95,
"filtered": "100.00",
"cost_info": {
"read_cost": "95.00",
"eval_cost": "19.00",
"prefix_cost": "279.01",
"data_read_per_join": "72K"
},
"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": 95,
"filtered": "100.00",
"cost_info": {
"read_cost": "95.00",
"eval_cost": "19.00",
"prefix_cost": "393.01",
"data_read_per_join": "56K"
},
"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 |
61wWz-tQaUL._SL1000_.jpg |
1000 |
1000 |
N |
42148 |
29233 |
product |
44110 |
M |
0 |
|
44110 |
0 |
412OJKxFvPL.jpg |
500 |
429 |
N |
42151 |
29231 |
product |
44113 |
M |
0 |
|
44113 |
0 |
71Mbjbsd_HL._SL1500_.jpg |
1366 |
1500 |
N |
42152 |
29230 |
product |
44114 |
M |
0 |
|
44114 |
0 |
71ggGrXDpPL._SL1400_.jpg |
1400 |
1400 |
N |
42153 |
29229 |
product |
44115 |
M |
0 |
|
44115 |
0 |
51x-oPX4tKL._SL1000_.jpg |
1000 |
1000 |
N |
42154 |
29227 |
product |
44116 |
M |
0 |
|
44116 |
0 |
41SDqOuMYEL.jpg |
500 |
463 |
N |
42155 |
29226 |
product |
44117 |
M |
0 |
|
44117 |
0 |
71PCMLm56BL._SL1500_.jpg |
1500 |
1500 |
N |
42157 |
29225 |
product |
44119 |
M |
0 |
|
44119 |
0 |
51pk0smKUDL._SL1000_.jpg |
1000 |
1000 |
N |
42159 |
29224 |
product |
44121 |
M |
0 |
|
44121 |
0 |
51et5lTafKL.jpg |
500 |
500 |
N |
42161 |
29223 |
product |
44123 |
M |
0 |
|
44123 |
0 |
81zpQq6RjWL._SL1500_.jpg |
1500 |
1000 |
N |
42162 |
29222 |
product |
44124 |
M |
0 |
|
44124 |
0 |
61KZZuRtlhL._SL1026_.jpg |
1026 |
1026 |
N |
42167 |
29220 |
product |
44129 |
M |
0 |
|
44129 |
0 |
51qxsLMtqvL._SL1000_.jpg |
1000 |
1000 |
N |
42169 |
29219 |
product |
44131 |
M |
0 |
|
44131 |
0 |
61UIKXLjC4L._SL800_.jpg |
800 |
800 |
N |
42171 |
29218 |
product |
44133 |
M |
0 |
|
44133 |
0 |
51DuV9-Y-AL._SL1000_.jpg |
1000 |
1000 |
N |
42174 |
29216 |
product |
44136 |
M |
0 |
|
44136 |
0 |
61FK-FRzWML._SL1200_.jpg |
1200 |
1200 |
N |
42176 |
29215 |
product |
44138 |
M |
0 |
|
44138 |
0 |
81kGsNqNdPL._SL1500_.jpg |
1500 |
1000 |
N |
42179 |
29214 |
product |
44141 |
M |
0 |
|
44141 |
0 |
81JJxY2KvOL._SL1500_.jpg |
1500 |
980 |
N |
42189 |
29210 |
product |
44151 |
M |
0 |
|
44151 |
0 |
71rtAIZIW3L._SL1500_.jpg |
1500 |
1500 |
N |
42190 |
29209 |
product |
44152 |
M |
0 |
|
44152 |
0 |
51bJVDm5UAL._SL1000_.jpg |
1000 |
600 |
N |
42192 |
29208 |
product |
44154 |
M |
0 |
|
44154 |
0 |
51LIZQuk0DL._SL1128_.jpg |
536 |
1128 |
N |
42193 |
29206 |
product |
44155 |
M |
0 |
|
44155 |
0 |
41Ko-QNQMpL._SX466_.jpg |
466 |
466 |
N |
42196 |
29205 |
product |
44158 |
M |
0 |
|
44158 |
0 |
514vpL-jUSL._SL1080_.jpg |
1080 |
1080 |
N |
42201 |
29203 |
product |
44163 |
M |
0 |
|
44163 |
0 |
81C3gF5eVJL._SL1500_.jpg |
1500 |
978 |
N |
42203 |
29202 |
product |
44165 |
M |
0 |
|
44165 |
0 |
71pUWXDflyL._SL1280_.jpg |
1280 |
1280 |
N |
42206 |
29201 |
product |
44168 |
M |
0 |
|
44168 |
0 |
41R1Yo2j25L.jpg |
500 |
500 |
N |
42566 |
29228 |
product |
44528 |
M |
0 |
|
44528 |
0 |
41qbFpRt8qL._SL1000_.jpg |
1000 |
500 |
N |
42575 |
29207 |
product |
44537 |
M |
0 |
|
44537 |
0 |
2__5_.jpg |
640 |
626 |
N |
78970 |
29232 |
product |
80913 |
M |
0 |
|
80913 |
0 |
2_v70i-1y.jpg |
640 |
626 |
N |
82097 |
29212 |
product |
84040 |
M |
0 |
|
84040 |
0 |
2_wqdi-dm.jpg |
640 |
626 |
N |
82098 |
29204 |
product |
84041 |
M |
0 |
|
84041 |
0 |
2_gxd1-jq.jpg |
640 |
626 |
N |
82342 |
29221 |
product |
84285 |
M |
0 |
|
84285 |
0 |
2_wta8-fl.jpg |
640 |
626 |
N |
82848 |
29213 |
product |
84791 |
M |
0 |
|
84791 |
0 |
61OkahMRh-L._SL1428_.jpg |
1428 |
1428 |
N |
42188 |
29211 |
product |
44150 |
M |
1 |
|
44150 |