Query time 0.00157
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "107.21"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "19.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": 19,
"rows_produced_per_join": 19,
"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 ('8439','8440','8441','8442','8443','8444','8445','8446','8464','8465','8466','8467','8468','8469','8470','8471')))",
"cost_info": {
"read_cost": "38.81",
"eval_cost": "3.80",
"prefix_cost": "42.61",
"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": 19,
"filtered": "100.00",
"cost_info": {
"read_cost": "19.00",
"eval_cost": "3.80",
"prefix_cost": "65.41",
"data_read_per_join": "14K"
},
"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": 19,
"filtered": "100.00",
"cost_info": {
"read_cost": "19.00",
"eval_cost": "3.80",
"prefix_cost": "88.21",
"data_read_per_join": "11K"
},
"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 |
25159L-1-item_XL_39414117_153410326.jpg |
600 |
600 |
N |
17828 |
8439 |
product |
19790 |
A |
10 |
|
19790 |
0 |
25159L-2-item_XL_39414130_153410484.jpg |
600 |
600 |
N |
17831 |
8440 |
product |
19793 |
A |
10 |
|
19793 |
0 |
25159L-3-item_XL_39414144_153410605.jpg |
600 |
600 |
N |
17834 |
8441 |
product |
19796 |
A |
10 |
|
19796 |
0 |
25159L-4-item_XL_39414155_153410727.jpg |
600 |
600 |
N |
17837 |
8442 |
product |
19799 |
A |
10 |
|
19799 |
0 |
25159L-5-item_XL_39414167_153410828.jpg |
600 |
600 |
N |
17840 |
8443 |
product |
19802 |
A |
10 |
|
19802 |
0 |
25159L-6-item_XL_39414180_153410943.jpg |
600 |
600 |
N |
17843 |
8444 |
product |
19805 |
A |
10 |
|
19805 |
0 |
25159L-7-item_XL_39414191_153411091.jpg |
600 |
600 |
N |
17846 |
8445 |
product |
19808 |
A |
10 |
|
19808 |
0 |
25159L-8-item_XL_39414204_153411224.jpg |
600 |
600 |
N |
17849 |
8446 |
product |
19811 |
A |
10 |
|
19811 |
0 |
25157L-1-item_XL_39414077_153409892.jpg |
600 |
600 |
N |
17912 |
8464 |
product |
19874 |
A |
10 |
|
19874 |
0 |
25157L-3-item_XL_39414098_153410148.jpg |
600 |
600 |
N |
17915 |
8466 |
product |
19877 |
A |
10 |
|
19877 |
0 |
25157L-4-item_XL_39414108_153410263.jpg |
600 |
600 |
N |
17918 |
8467 |
product |
19880 |
A |
10 |
|
19880 |
0 |
25157L-5-item_XL_39414121_153410405.jpg |
600 |
600 |
N |
17921 |
8468 |
product |
19883 |
A |
10 |
|
19883 |
0 |
25157L-6-item_XL_39414134_153410540.jpg |
600 |
600 |
N |
17924 |
8469 |
product |
19886 |
A |
10 |
|
19886 |
0 |
25157L-7-item_XL_39414149_153410661.jpg |
600 |
600 |
N |
17927 |
8470 |
product |
19889 |
A |
10 |
|
19889 |
0 |
25157L-8-item_XL_39414161_153410779.jpg |
600 |
600 |
N |
17930 |
8471 |
product |
19892 |
A |
10 |
|
19892 |
0 |
25159L-1-item_XL_39414117_153410346.jpg |
600 |
600 |
N |
17829 |
8439 |
product |
19791 |
A |
20 |
|
19791 |
0 |
25159L-2-item_XL_39414130_153410506.jpg |
600 |
600 |
N |
17832 |
8440 |
product |
19794 |
A |
20 |
|
19794 |
0 |
25159L-3-item_XL_39414144_153410622.jpg |
600 |
600 |
N |
17835 |
8441 |
product |
19797 |
A |
20 |
|
19797 |
0 |
25159L-4-item_XL_39414155_153410752.jpg |
600 |
600 |
N |
17838 |
8442 |
product |
19800 |
A |
20 |
|
19800 |
0 |
25159L-5-item_XL_39414167_153410846.jpg |
600 |
600 |
N |
17841 |
8443 |
product |
19803 |
A |
20 |
|
19803 |
0 |
25159L-6-item_XL_39414180_153410959.jpg |
600 |
600 |
N |
17844 |
8444 |
product |
19806 |
A |
20 |
|
19806 |
0 |
25159L-7-item_XL_39414191_153411119.jpg |
600 |
600 |
N |
17847 |
8445 |
product |
19809 |
A |
20 |
|
19809 |
0 |
25159L-8-item_XL_39414204_153411239.jpg |
600 |
600 |
N |
17850 |
8446 |
product |
19812 |
A |
20 |
|
19812 |
0 |
25157L-1-item_XL_39414077_153409916.jpg |
600 |
600 |
N |
17913 |
8464 |
product |
19875 |
A |
20 |
|
19875 |
0 |
25157L-3-item_XL_39414098_153410180.jpg |
600 |
600 |
N |
17916 |
8466 |
product |
19878 |
A |
20 |
|
19878 |
0 |
25157L-4-item_XL_39414108_153410292.jpg |
600 |
600 |
N |
17919 |
8467 |
product |
19881 |
A |
20 |
|
19881 |
0 |
25157L-5-item_XL_39414121_153410439.jpg |
600 |
600 |
N |
17922 |
8468 |
product |
19884 |
A |
20 |
|
19884 |
0 |
25157L-6-item_XL_39414134_153410565.jpg |
600 |
600 |
N |
17925 |
8469 |
product |
19887 |
A |
20 |
|
19887 |
0 |
25157L-7-item_XL_39414149_153410690.jpg |
600 |
600 |
N |
17928 |
8470 |
product |
19890 |
A |
20 |
|
19890 |
0 |
25157L-8-item_XL_39414161_153410794.jpg |
600 |
600 |
N |
17931 |
8471 |
product |
19893 |
A |
20 |
|
19893 |