Query time 0.00126
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` = 'M') and (`portal`.`q_images_links`.`object_id` in ('9693','9694','9695','9696','9697','9698','9699','9700','9701','9702','9703','9704','9705','9706','9707','9708')))",
"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 |
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 |
e_gklg-ze.jpg |
450 |
450 |
N |
26409 |
9694 |
product |
28371 |
M |
4 |
|
28371 |