Query time 0.00195
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "185.61"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "32.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": 32,
"rows_produced_per_join": 32,
"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 ('6137','6138','6139','6140','6141','6142','6143','6144','6145','6146','6147','6148','6149','6150','6151','6152','6153','6154','6155','6156','6157','6158','6159','6160','6161','6162','6163','6164','6165','6166','6167','5845')))",
"cost_info": {
"read_cost": "70.41",
"eval_cost": "6.40",
"prefix_cost": "76.81",
"data_read_per_join": "3K"
},
"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": 32,
"filtered": "100.00",
"cost_info": {
"read_cost": "32.00",
"eval_cost": "6.40",
"prefix_cost": "115.21",
"data_read_per_join": "24K"
},
"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": 32,
"filtered": "100.00",
"cost_info": {
"read_cost": "32.00",
"eval_cost": "6.40",
"prefix_cost": "153.61",
"data_read_per_join": "19K"
},
"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 |
ADDS-25858_LS.jpg |
800 |
800 |
N |
11235 |
5845 |
product |
13197 |
M |
0 |
|
13197 |
0 |
BKN-F8J221BT04-BLK_1_c3730af0-5ec9-4fdf-80df-5816c415e27e.jpg |
372 |
372 |
N |
11528 |
6167 |
product |
13490 |
M |
0 |
|
13490 |
0 |
BKN-F3Y017BT3M-BLK__1_.jpg |
500 |
500 |
N |
11550 |
6137 |
product |
13512 |
M |
0 |
|
13512 |
0 |
BKN-F7U006BT04-BLK_1_db3ca7c4-167e-436b-a429-0a3fad1891f0.jpg |
372 |
372 |
N |
11556 |
6139 |
product |
13518 |
M |
0 |
|
13518 |
0 |
BKN-F3Y021BT10M.png |
225 |
225 |
N |
11557 |
6138 |
product |
13519 |
M |
0 |
|
13519 |
0 |
BKN-F8J023BT04-WHT.jpg |
372 |
372 |
N |
11559 |
6144 |
product |
13521 |
M |
0 |
|
13521 |
0 |
BKN-F8J023BT04-BLK.jpg |
372 |
372 |
N |
11560 |
6143 |
product |
13522 |
M |
0 |
|
13522 |
0 |
BKN-F7U034DR04-SLV.jpeg |
1000 |
1000 |
N |
11561 |
6142 |
product |
13523 |
M |
0 |
|
13523 |
0 |
BKN-F7U032BT04-BLK.jpeg |
372 |
371 |
N |
11562 |
6141 |
product |
13524 |
M |
0 |
|
13524 |
0 |
BKN-F8J144BT04-BLK_8bdfb25b-2c7d-4fa0-82bf-021c0c423a86.jpg |
385 |
385 |
N |
11563 |
6146 |
product |
13525 |
M |
0 |
|
13525 |
0 |
BKN-F8J144BT04-C00.jpg |
300 |
400 |
N |
11564 |
6147 |
product |
13526 |
M |
0 |
|
13526 |
0 |
BKN-F8J147BT04-BLK.jpg |
372 |
372 |
N |
11565 |
6148 |
product |
13527 |
M |
0 |
|
13527 |
0 |
BKN-F8J147BT04-BLU.jpg |
372 |
372 |
N |
11566 |
6149 |
product |
13528 |
M |
0 |
|
13528 |
0 |
BKN-F8J147BT04-WHT.jpg |
372 |
372 |
N |
11567 |
6150 |
product |
13529 |
M |
0 |
|
13529 |
0 |
BKN-F8J207BT04-BLK_LS.jpg |
800 |
800 |
N |
11568 |
6151 |
product |
13530 |
M |
0 |
|
13530 |
0 |
BKN-F8J207BT04-C00_LS.jpg |
800 |
800 |
N |
11569 |
6152 |
product |
13531 |
M |
0 |
|
13531 |
0 |
BKN-F8J207BT04-GLD_LS.jpg |
800 |
800 |
N |
11570 |
6153 |
product |
13532 |
M |
0 |
|
13532 |
0 |
BKN-F8J207BT04-SLV_LS.jpg |
800 |
800 |
N |
11571 |
6154 |
product |
13533 |
M |
0 |
|
13533 |
0 |
BKN-F8J125UK04-WHT_f6670307-c563-4fce-b3c0-924aa47853bd.jpg |
650 |
650 |
N |
11572 |
6166 |
product |
13534 |
M |
0 |
|
13534 |
0 |
F7U010DR06-SLV.jpg |
650 |
650 |
N |
11573 |
6163 |
product |
13535 |
M |
0 |
|
13535 |
0 |
BKN-F7U008DR05-WHT_dc0d98f6-a916-44ea-99da-1666e204b032.jpg |
650 |
650 |
N |
11574 |
6162 |
product |
13536 |
M |
0 |
|
13536 |
0 |
BKN-F3Y023BT2M_2.jpg |
350 |
350 |
N |
11575 |
6161 |
product |
13537 |
M |
0 |
|
13537 |
0 |
BKN-F2CU051BT04-BLK_3.jpeg |
1000 |
1000 |
N |
11576 |
6160 |
product |
13538 |
M |
0 |
|
13538 |
0 |
BKN-F2CU045BT2M-BLK.jpg |
1000 |
1000 |
N |
11577 |
6159 |
product |
13539 |
M |
0 |
|
13539 |
0 |
BKN-F2CU032BT06-WHT_3_c3fffaf0-c261-479c-a75c-312d81435104.jpg |
1000 |
1000 |
N |
11578 |
6158 |
product |
13540 |
M |
0 |
|
13540 |
0 |
BKN-F2CU032BT06-BLK_2_7dd366f1-3661-407e-9506-77856012b05b.jpg |
1000 |
1000 |
N |
11579 |
6157 |
product |
13541 |
M |
0 |
|
13541 |
0 |
BKN-F2CU029BT1M-BLK_2.jpeg |
1000 |
1000 |
N |
11580 |
6156 |
product |
13542 |
M |
0 |
|
13542 |
0 |
BKN-AV10172BT06-BLK_3.jpeg |
1000 |
1000 |
N |
11581 |
6155 |
product |
13543 |
M |
0 |
|
13543 |
0 |
BKN-F7U026BT04-BLK_5_4bb44c32-4488-4df2-a02f-5ad42162ed05.jpg |
291 |
291 |
N |
11582 |
6164 |
product |
13544 |
M |
0 |
|
13544 |
0 |
BKN-F8J050BT04-BLK_2.jpeg |
1000 |
1000 |
N |
11583 |
6165 |
product |
13545 |
M |
0 |
|
13545 |
0 |
2_fsum-p8.jpg |
640 |
626 |
N |
82863 |
6145 |
product |
84806 |
M |
0 |
|
84806 |
0 |
2_d605-ov.jpg |
640 |
626 |
N |
83059 |
6140 |
product |
85002 |
M |
0 |
|
85002 |