Query time 0.00326
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "1.00"
},
"ordering_operation": {
"using_filesort": false,
"nested_loop": [
{
"table": {
"table_name": "cscart_attachments",
"access_type": "system",
"possible_keys": [
"object_type",
"type"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.10",
"prefix_cost": "0.00",
"data_read_per_join": "1K"
},
"used_columns": [
"attachment_id",
"object_type",
"object_id",
"type",
"position",
"filename",
"filesize",
"usergroup_ids",
"status",
"url",
"on_server"
]
}
},
{
"table": {
"table_name": "cscart_attachment_descriptions",
"access_type": "const",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"attachment_id",
"lang_code"
],
"key_length": "9",
"ref": [
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.10",
"prefix_cost": "0.00",
"data_read_per_join": "784"
},
"used_columns": [
"attachment_id",
"lang_code",
"description"
]
}
}
]
}
}
}
Result
attachment_id |
object_type |
object_id |
type |
position |
filename |
filesize |
usergroup_ids |
status |
url |
on_server |
description |
1 |
product |
275040 |
M |
1 |
SOLAR_DCDB.pdf |
2002724 |
0 |
A |
|
Y |
Solar DCDB Brochure |