Query time 0.00227
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "63.44"
},
"nested_loop": [
{
"table": {
"table_name": "fvd",
"access_type": "ALL",
"possible_keys": [
"PRIMARY"
],
"rows_examined_per_scan": 141,
"rows_produced_per_join": 14,
"filtered": "10.00",
"cost_info": {
"read_cost": "39.60",
"eval_cost": "2.82",
"prefix_cost": "42.42",
"data_read_per_join": "42K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
],
"attached_condition": "(`atulecarter_atul_demo2`.`fvd`.`lang_code` = 'en')"
}
},
{
"table": {
"table_name": "fv",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"feature_id"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id"
],
"key_length": "3",
"ref": [
"atulecarter_atul_demo2.fvd.variant_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "9.22",
"cost_info": {
"read_cost": "14.10",
"eval_cost": "0.26",
"prefix_cost": "59.34",
"data_read_per_join": "1K"
},
"used_columns": [
"variant_id",
"feature_id",
"position"
],
"attached_condition": "(`atulecarter_atul_demo2`.`fv`.`feature_id` in (549,553,548))"
}
},
{
"table": {
"table_name": "pfv",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"fl",
"variant_id",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id"
],
"key_length": "3",
"ref": [
"atulecarter_atul_demo2.fv.feature_id"
],
"rows_examined_per_scan": 9,
"rows_produced_per_join": 0,
"filtered": "1.28",
"using_index": true,
"cost_info": {
"read_cost": "1.76",
"eval_cost": "0.03",
"prefix_cost": "63.44",
"data_read_per_join": "118"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
],
"attached_condition": "((`atulecarter_atul_demo2`.`pfv`.`variant_id` = `atulecarter_atul_demo2`.`fvd`.`variant_id`) and (`atulecarter_atul_demo2`.`pfv`.`product_id` in (466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510,511,512,513,514,515)) and (`atulecarter_atul_demo2`.`pfv`.`lang_code` = 'en'))"
}
}
]
}
}
Result
| feature_id |
product_id |
variant_id |
position |
variant |
| 553 |
486 |
1212 |
4 |
Brand 4 |
| 553 |
487 |
1212 |
4 |
Brand 4 |
| 553 |
488 |
1212 |
4 |
Brand 4 |
| 553 |
489 |
1212 |
4 |
Brand 4 |
| 553 |
490 |
1212 |
4 |
Brand 4 |
| 553 |
511 |
1212 |
4 |
Brand 4 |
| 553 |
512 |
1212 |
4 |
Brand 4 |
| 553 |
513 |
1212 |
4 |
Brand 4 |
| 553 |
514 |
1212 |
4 |
Brand 4 |
| 553 |
515 |
1212 |
4 |
Brand 4 |
| 553 |
466 |
1213 |
0 |
Brand 5 |
| 553 |
467 |
1213 |
0 |
Brand 5 |
| 553 |
468 |
1213 |
0 |
Brand 5 |
| 553 |
469 |
1213 |
0 |
Brand 5 |
| 553 |
470 |
1213 |
0 |
Brand 5 |
| 553 |
491 |
1213 |
0 |
Brand 5 |
| 553 |
492 |
1213 |
0 |
Brand 5 |
| 553 |
493 |
1213 |
0 |
Brand 5 |
| 553 |
494 |
1213 |
0 |
Brand 5 |
| 553 |
495 |
1213 |
0 |
Brand 5 |
| 553 |
481 |
1211 |
3 |
Brand 3 |
| 553 |
482 |
1211 |
3 |
Brand 3 |
| 553 |
483 |
1211 |
3 |
Brand 3 |
| 553 |
484 |
1211 |
3 |
Brand 3 |
| 553 |
485 |
1211 |
3 |
Brand 3 |
| 553 |
506 |
1211 |
3 |
Brand 3 |
| 553 |
507 |
1211 |
3 |
Brand 3 |
| 553 |
508 |
1211 |
3 |
Brand 3 |
| 553 |
509 |
1211 |
3 |
Brand 3 |
| 553 |
510 |
1211 |
3 |
Brand 3 |
| 553 |
476 |
1210 |
2 |
Brand 2 |
| 553 |
477 |
1210 |
2 |
Brand 2 |
| 553 |
478 |
1210 |
2 |
Brand 2 |
| 553 |
479 |
1210 |
2 |
Brand 2 |
| 553 |
480 |
1210 |
2 |
Brand 2 |
| 553 |
501 |
1210 |
2 |
Brand 2 |
| 553 |
502 |
1210 |
2 |
Brand 2 |
| 553 |
503 |
1210 |
2 |
Brand 2 |
| 553 |
504 |
1210 |
2 |
Brand 2 |
| 553 |
505 |
1210 |
2 |
Brand 2 |
| 553 |
471 |
1209 |
1 |
Brand 1 |
| 553 |
472 |
1209 |
1 |
Brand 1 |
| 553 |
473 |
1209 |
1 |
Brand 1 |
| 553 |
474 |
1209 |
1 |
Brand 1 |
| 553 |
475 |
1209 |
1 |
Brand 1 |
| 553 |
496 |
1209 |
1 |
Brand 1 |
| 553 |
497 |
1209 |
1 |
Brand 1 |
| 553 |
498 |
1209 |
1 |
Brand 1 |
| 553 |
499 |
1209 |
1 |
Brand 1 |
| 553 |
500 |
1209 |
1 |
Brand 1 |
| 549 |
491 |
1201 |
4 |
White |
| 549 |
492 |
1201 |
4 |
White |
| 549 |
493 |
1201 |
4 |
White |
| 549 |
494 |
1201 |
4 |
White |
| 549 |
495 |
1201 |
4 |
White |
| 549 |
496 |
1201 |
4 |
White |
| 549 |
497 |
1201 |
4 |
White |
| 549 |
498 |
1201 |
4 |
White |
| 549 |
499 |
1201 |
4 |
White |
| 549 |
500 |
1201 |
4 |
White |
| 549 |
501 |
1201 |
4 |
White |
| 549 |
502 |
1201 |
4 |
White |
| 549 |
503 |
1201 |
4 |
White |
| 549 |
504 |
1201 |
4 |
White |
| 549 |
505 |
1201 |
4 |
White |
| 549 |
506 |
1201 |
4 |
White |
| 549 |
507 |
1201 |
4 |
White |
| 549 |
508 |
1201 |
4 |
White |
| 549 |
509 |
1201 |
4 |
White |
| 549 |
510 |
1201 |
4 |
White |
| 549 |
511 |
1201 |
4 |
White |
| 549 |
512 |
1201 |
4 |
White |
| 549 |
513 |
1201 |
4 |
White |
| 549 |
514 |
1201 |
4 |
White |
| 549 |
515 |
1201 |
4 |
White |
| 549 |
466 |
1200 |
3 |
Black |
| 549 |
467 |
1200 |
3 |
Black |
| 549 |
468 |
1200 |
3 |
Black |
| 549 |
469 |
1200 |
3 |
Black |
| 549 |
470 |
1200 |
3 |
Black |
| 549 |
471 |
1200 |
3 |
Black |
| 549 |
472 |
1200 |
3 |
Black |
| 549 |
473 |
1200 |
3 |
Black |
| 549 |
474 |
1200 |
3 |
Black |
| 549 |
475 |
1200 |
3 |
Black |
| 549 |
476 |
1200 |
3 |
Black |
| 549 |
477 |
1200 |
3 |
Black |
| 549 |
478 |
1200 |
3 |
Black |
| 549 |
479 |
1200 |
3 |
Black |
| 549 |
480 |
1200 |
3 |
Black |
| 549 |
481 |
1200 |
3 |
Black |
| 549 |
482 |
1200 |
3 |
Black |
| 549 |
483 |
1200 |
3 |
Black |
| 549 |
484 |
1200 |
3 |
Black |
| 549 |
485 |
1200 |
3 |
Black |
| 549 |
486 |
1200 |
3 |
Black |
| 549 |
487 |
1200 |
3 |
Black |
| 549 |
488 |
1200 |
3 |
Black |
| 549 |
489 |
1200 |
3 |
Black |
| 549 |
490 |
1200 |
3 |
Black |
| 548 |
469 |
1197 |
5 |
X Large |
| 548 |
474 |
1197 |
5 |
X Large |
| 548 |
479 |
1197 |
5 |
X Large |
| 548 |
484 |
1197 |
5 |
X Large |
| 548 |
489 |
1197 |
5 |
X Large |
| 548 |
494 |
1197 |
5 |
X Large |
| 548 |
499 |
1197 |
5 |
X Large |
| 548 |
504 |
1197 |
5 |
X Large |
| 548 |
509 |
1197 |
5 |
X Large |
| 548 |
514 |
1197 |
5 |
X Large |
| 548 |
470 |
1196 |
6 |
XX Large |
| 548 |
475 |
1196 |
6 |
XX Large |
| 548 |
480 |
1196 |
6 |
XX Large |
| 548 |
485 |
1196 |
6 |
XX Large |
| 548 |
490 |
1196 |
6 |
XX Large |
| 548 |
495 |
1196 |
6 |
XX Large |
| 548 |
500 |
1196 |
6 |
XX Large |
| 548 |
505 |
1196 |
6 |
XX Large |
| 548 |
510 |
1196 |
6 |
XX Large |
| 548 |
515 |
1196 |
6 |
XX Large |
| 548 |
468 |
1195 |
3 |
Medium |
| 548 |
473 |
1195 |
3 |
Medium |
| 548 |
478 |
1195 |
3 |
Medium |
| 548 |
483 |
1195 |
3 |
Medium |
| 548 |
488 |
1195 |
3 |
Medium |
| 548 |
493 |
1195 |
3 |
Medium |
| 548 |
498 |
1195 |
3 |
Medium |
| 548 |
503 |
1195 |
3 |
Medium |
| 548 |
508 |
1195 |
3 |
Medium |
| 548 |
513 |
1195 |
3 |
Medium |
| 548 |
467 |
1194 |
2 |
Large |
| 548 |
472 |
1194 |
2 |
Large |
| 548 |
477 |
1194 |
2 |
Large |
| 548 |
482 |
1194 |
2 |
Large |
| 548 |
487 |
1194 |
2 |
Large |
| 548 |
492 |
1194 |
2 |
Large |
| 548 |
497 |
1194 |
2 |
Large |
| 548 |
502 |
1194 |
2 |
Large |
| 548 |
507 |
1194 |
2 |
Large |
| 548 |
512 |
1194 |
2 |
Large |
| 548 |
466 |
1193 |
1 |
Small |
| 548 |
471 |
1193 |
1 |
Small |
| 548 |
476 |
1193 |
1 |
Small |
| 548 |
481 |
1193 |
1 |
Small |
| 548 |
486 |
1193 |
1 |
Small |
| 548 |
491 |
1193 |
1 |
Small |
| 548 |
496 |
1193 |
1 |
Small |
| 548 |
501 |
1193 |
1 |
Small |
| 548 |
506 |
1193 |
1 |
Small |
| 548 |
511 |
1193 |
1 |
Small |