Query time 0.00096
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "1.70"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "1.00"
},
"nested_loop": [
{
"table": {
"table_name": "a",
"access_type": "ALL",
"possible_keys": [
"c_status"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.25",
"eval_cost": "0.10",
"prefix_cost": "0.35",
"data_read_per_join": "2K"
},
"used_columns": [
"option_id",
"product_id",
"company_id",
"option_type",
"regexp",
"required",
"multiupload",
"allowed_extensions",
"max_file_size",
"missing_variants_handling",
"status",
"position",
"value"
],
"attached_condition": "((`nuie_scalesta_net`.`a`.`product_id` in (89844,89845,89916,89917,91483,91484,85283,85284,85380,85381,85431,85432,85482,85483,82712,83301,84496,84562,89749,85281,85378,85429,85480,86466,86742,90013,82713,83302,85278,85279,89750,85282,85379,85430,85481,85276,82583,83018,83019,83570,83572,84515,84581,85050,85136,85182,85228,90852,90854,90931,90933,91092,91093,91178,91179,91233,91234,83016,83567,90849,90928,89742,89743,85277,85048,85049,85134,85135,85180,85181,85226,85227,85044,83017,83568,90850,90929,91069,86463,86464,86739,86740,89740,89741,86605,86606,86674,86675,83458,85042,85043,86603,86672,85280,85377,85428)) and (`nuie_scalesta_net`.`a`.`status` = 'A'))"
}
},
{
"table": {
"table_name": "b",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"option_id",
"lang_code"
],
"key_length": "9",
"ref": [
"nuie_scalesta_net.a.option_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.25",
"eval_cost": "0.10",
"prefix_cost": "0.70",
"data_read_per_join": "3K"
},
"used_columns": [
"option_id",
"lang_code",
"option_name",
"internal_option_name",
"option_text",
"description",
"comment",
"inner_hint",
"incorrect_message"
]
}
}
]
}
}
}