Query time 0.00125
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "27.00"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"cost_info": {
"sort_cost": "1.04"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_ult_objects_sharing",
"access_type": "index",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"share_object_id",
"share_company_id",
"share_object_type"
],
"key_length": "159",
"rows_examined_per_scan": 104,
"rows_produced_per_join": 1,
"filtered": "1.00",
"using_index": true,
"cost_info": {
"read_cost": "23.26",
"eval_cost": "0.21",
"prefix_cost": "23.47",
"data_read_per_join": "166"
},
"used_columns": [
"share_company_id",
"share_object_id",
"share_object_type"
],
"attached_condition": "((`satishecarter_march_003`.`cscart_ult_objects_sharing`.`share_company_id` = 1) and (`satishecarter_march_003`.`cscart_ult_objects_sharing`.`share_object_type` = 'product_options'))"
}
},
{
"table": {
"table_name": "a",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"c_status"
],
"key": "PRIMARY",
"used_key_parts": [
"option_id"
],
"key_length": "3",
"ref": [
"satishecarter_march_003.cscart_ult_objects_sharing.share_object_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"index_condition": "(`satishecarter_march_003`.`cscart_ult_objects_sharing`.`share_object_id` = `satishecarter_march_003`.`a`.`option_id`)",
"cost_info": {
"read_cost": "1.04",
"eval_cost": "0.21",
"prefix_cost": "24.71",
"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": "((`satishecarter_march_003`.`a`.`product_id` in (278,280,282,247,248,241,244,245,246,240,6,66,166,214,219,221,223,192,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,215,217,218,220,222,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,242,243,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114)) and (`satishecarter_march_003`.`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": [
"satishecarter_march_003.a.option_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.04",
"eval_cost": "0.21",
"prefix_cost": "25.96",
"data_read_per_join": "3K"
},
"used_columns": [
"option_id",
"lang_code",
"option_name",
"internal_option_name",
"option_text",
"description",
"comment",
"inner_hint",
"incorrect_message"
]
}
}
]
}
}
}