Query time 0.00262
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 ('9677','9678','9679','9680','9681','9682','9683','9684','9685','9686','9687','9688','9689','9690','9691','9692','9693','9694','9695','9696','9697','9698','9699','9700','9701','9702','9703','9704','9705','9706','9707','9708')))",
"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 |
MSHI-H-072531.jpg |
1400 |
1400 |
N |
20501 |
9677 |
product |
22463 |
M |
0 |
|
22463 |
0 |
MSHI-H-072532_2.jpg |
1600 |
1600 |
N |
20502 |
9678 |
product |
22464 |
M |
0 |
|
22464 |
0 |
Sensecover_ipx_brown_01_Front.jpg |
4000 |
4000 |
N |
20503 |
9679 |
product |
22465 |
M |
0 |
|
22465 |
0 |
Airfoil_iPhone_Edition_01_Ftont_copy.jpg |
1000 |
1000 |
N |
20504 |
9680 |
product |
22466 |
M |
0 |
|
22466 |
0 |
MSHI-H-085009_3.jpg |
1600 |
1600 |
N |
20507 |
9683 |
product |
22469 |
M |
0 |
|
22469 |
0 |
MSHI-H-085010.jpg |
1500 |
1500 |
N |
20508 |
9684 |
product |
22470 |
M |
0 |
|
22470 |
0 |
MSHI-H-086007_7.jpg |
800 |
800 |
N |
20509 |
9685 |
product |
22471 |
M |
0 |
|
22471 |
0 |
MSHI-H-088901_LS.jpg |
800 |
800 |
N |
20510 |
9686 |
product |
22472 |
M |
0 |
|
22472 |
0 |
Moshi_iPhone_8_Overture_-_Charcoal_Black_1.jpg |
225 |
225 |
N |
20511 |
9687 |
product |
22473 |
M |
0 |
|
22473 |
0 |
Moshi_iPhone_8_Plus_Overture_-_Charcoal_Black_2.jpg |
750 |
750 |
N |
20512 |
9688 |
product |
22474 |
M |
0 |
|
22474 |
0 |
Overture_iPhone_L_Black_05_Stand.jpg |
4000 |
4000 |
N |
20513 |
9689 |
product |
22475 |
M |
0 |
|
22475 |
0 |
MSHI-H-091010.jpg |
1600 |
1600 |
N |
20514 |
9690 |
product |
22476 |
M |
0 |
|
22476 |
0 |
MOSHI_Overture_for_iPhone_8_7_6S_6_Plus_Sahara_White.jpg |
1280 |
1280 |
N |
20515 |
9691 |
product |
22477 |
M |
0 |
|
22477 |
0 |
MSHI-H-091261_2.jpg |
700 |
700 |
N |
20516 |
9692 |
product |
22478 |
M |
0 |
|
22478 |
0 |
Moshi_iPhone_X_Ionglass_-_Black_1.jpg |
450 |
450 |
N |
20517 |
9693 |
product |
22479 |
M |
0 |
|
22479 |
0 |
iGlaze_Armour_Black_LS_01_copy.jpg |
1000 |
1000 |
N |
20520 |
9696 |
product |
22482 |
M |
0 |
|
22482 |
0 |
MSHI-H-101002.jpeg |
1600 |
1600 |
N |
20521 |
9697 |
product |
22483 |
M |
0 |
|
22483 |
0 |
moshi_vesta_iphone_x_Herringbone_Gray_1.jpg |
225 |
225 |
N |
20522 |
9698 |
product |
22484 |
M |
0 |
|
22484 |
0 |
MSHI-H-101032.jpg |
472 |
472 |
N |
20523 |
9699 |
product |
22485 |
M |
0 |
|
22485 |
0 |
iGlaze_iPhone_X_white_01_Front.jpg |
4000 |
4000 |
N |
20524 |
9700 |
product |
22486 |
M |
0 |
|
22486 |
0 |
iGlaze_iPhone_X_pink_01_Front_copy.jpg |
1000 |
1000 |
N |
20525 |
9701 |
product |
22487 |
M |
0 |
|
22487 |
0 |
Moshi_iPhone_X_Vesta_-_Blossom_Pink_2.jpg |
217 |
232 |
N |
20526 |
9702 |
product |
22488 |
M |
0 |
|
22488 |
0 |
Overture_for_iPhone_X_Luna_Pink_02_45deg_copy_1.jpg |
1000 |
1000 |
N |
20527 |
9703 |
product |
22489 |
M |
0 |
|
22489 |
0 |
MOSHI_Vestafor_iPhone_X_-_Bahama_Blue_1.jpg |
450 |
450 |
N |
20528 |
9704 |
product |
22490 |
M |
0 |
|
22490 |
0 |
MSHI-H-101751_2.jpg |
4000 |
4000 |
N |
20529 |
9705 |
product |
22491 |
M |
0 |
|
22491 |
0 |
MSHI-H-102021.jpg |
1500 |
1500 |
N |
20530 |
9706 |
product |
22492 |
M |
0 |
|
22492 |
0 |
MSHI-H-102301.jpg |
1500 |
1500 |
N |
20531 |
9707 |
product |
22493 |
M |
0 |
|
22493 |
0 |
MSHI-H-102302_2.jpg |
1600 |
1600 |
N |
20532 |
9708 |
product |
22494 |
M |
0 |
|
22494 |
0 |
vv.jpg |
1200 |
1200 |
N |
26406 |
9695 |
product |
28368 |
M |
0 |
|
28368 |
0 |
2_2hbx-m6.jpg |
640 |
626 |
N |
83243 |
9682 |
product |
85186 |
M |
0 |
|
85186 |
0 |
71AW7Xy-Q9L._SL1500_.jpg |
925 |
1500 |
N |
26386 |
9681 |
product |
28348 |
M |
1 |
|
28348 |
0 |
e_gklg-ze.jpg |
450 |
450 |
N |
26409 |
9694 |
product |
28371 |
M |
4 |
|
28371 |