Query time 0.08471
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "73.25"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "14.00"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_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": 14,
"rows_produced_per_join": 14,
"filtered": "100.00",
"index_condition": "((`maniamall_cscart`.`cscart_images_links`.`object_type` = 'product') and (`maniamall_cscart`.`cscart_images_links`.`type` = 'M') and (`maniamall_cscart`.`cscart_images_links`.`object_id` in (1002681,1002498,1232020,1232123,1232132,1231691,1231444,1232130,1232131,1231700,1232118,1232128,1232127,1231692)))",
"cost_info": {
"read_cost": "28.03",
"eval_cost": "1.40",
"prefix_cost": "29.43",
"data_read_per_join": "1K"
},
"used_columns": [
"pair_id",
"object_id",
"object_type",
"image_id",
"detailed_id",
"type",
"position"
]
}
},
{
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"image_id"
],
"key_length": "3",
"ref": [
"maniamall_cscart.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 14,
"filtered": "100.00",
"cost_info": {
"read_cost": "13.71",
"eval_cost": "1.40",
"prefix_cost": "44.54",
"data_read_per_join": "10K"
},
"used_columns": [
"image_id",
"image_path",
"image_x",
"image_y"
],
"attached_condition": "<if>(is_not_null_compl(cscart_images), (`maniamall_cscart`.`cscart_images_links`.`detailed_id` = `maniamall_cscart`.`cscart_images`.`image_id`), true)"
}
},
{
"table": {
"table_name": "cscart_common_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"lang_code",
"object_holder"
],
"key_length": "107",
"ref": [
"maniamall_cscart.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 14,
"filtered": "100.00",
"cost_info": {
"read_cost": "13.31",
"eval_cost": "1.40",
"prefix_cost": "59.25",
"data_read_per_join": "8K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
],
"attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), (`maniamall_cscart`.`cscart_common_descriptions`.`object_id` = `maniamall_cscart`.`cscart_images`.`image_id`), true)"
}
}
]
}
}
}
Result
| pair_id |
object_id |
object_type |
image_id |
detailed_id |
type |
position |
image_path |
alt |
image_x |
image_y |
images_image_id |
| 1552566 |
1002498 |
product |
0 |
1552803 |
M |
0 |
fir-motocoasa--blister---patrat-30mm--15m-profi-tools.jpg |
|
800 |
800 |
1552803 |
| 1552753 |
1002681 |
product |
0 |
1552990 |
M |
0 |
fir-motocoasa-20mm--15m-profi-tools.jpg |
|
450 |
450 |
1552990 |
| 1991169 |
1231444 |
product |
0 |
1991421 |
M |
0 |
tambur-mtc-h-buton-albastru-.png |
|
682 |
455 |
1991421 |
| 1991556 |
1231691 |
product |
0 |
1991808 |
M |
0 |
fir-trimer-rotund-16mm-x-15m-.jpg |
|
682 |
454 |
1991808 |
| 1991561 |
1231692 |
product |
0 |
1991813 |
M |
0 |
fir-trimer-rotund-20mm-x-15m-.jpg |
|
682 |
454 |
1991813 |
| 1991586 |
1231700 |
product |
0 |
1991838 |
M |
0 |
fir-trimer-stea-20mm-x-15m-.jpg |
|
682 |
454 |
1991838 |
| 1992039 |
1232020 |
product |
0 |
1992291 |
M |
0 |
cultivator-28mm9t-pentru-motocositoare-.png |
|
682 |
455 |
1992291 |
| 1992188 |
1232118 |
product |
0 |
1992440 |
M |
0 |
fir-trimermtc-patrat-27mm-x-15m-.jpg |
|
376 |
501 |
1992440 |
| 1992215 |
1232123 |
product |
0 |
1992467 |
M |
0 |
fir-trimermtc-helix-2mm-x-15m-.jpg |
|
682 |
454 |
1992467 |
| 1992237 |
1232127 |
product |
0 |
1992489 |
M |
0 |
fir-trimermtc-helix-33mm-x-15m-.jpg |
|
682 |
454 |
1992489 |
| 1992241 |
1232128 |
product |
0 |
1992493 |
M |
0 |
fir-trimermtc-helix-35mm-x-15m-.jpg |
|
1200 |
1200 |
1992493 |
| 1992255 |
1232130 |
product |
0 |
1992507 |
M |
0 |
fir-trimermtc-cu-insertie-metalica-10m-24mm-.jpg |
|
682 |
454 |
1992507 |
| 1992257 |
1232131 |
product |
0 |
1992509 |
M |
0 |
fir-trimermtc-cu-insertie-metalica-10m-27mm-.jpg |
|
682 |
454 |
1992509 |
| 1992259 |
1232132 |
product |
0 |
1992511 |
M |
0 |
fir-trimermtc-cu-insertie-metalica-10m-3mm-.jpg |
|
682 |
454 |
1992511 |