Query time 0.00076
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "19.13"
},
"ordering_operation": {
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_images_links",
"access_type": "ref",
"possible_keys": [
"object_id",
"idx_object_type_type_position"
],
"key": "object_id",
"used_key_parts": [
"object_id",
"object_type",
"type"
],
"key_length": "81",
"ref": [
"const",
"const",
"const"
],
"rows_examined_per_scan": 11,
"rows_produced_per_join": 11,
"filtered": "100.00",
"cost_info": {
"read_cost": "5.13",
"eval_cost": "1.10",
"prefix_cost": "6.23",
"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": "4",
"ref": [
"cscart_db.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 11,
"filtered": "100.00",
"cost_info": {
"read_cost": "6.00",
"eval_cost": "1.10",
"prefix_cost": "13.33",
"data_read_per_join": "8K"
},
"used_columns": [
"image_id",
"image_path",
"image_x",
"image_y",
"is_high_res"
]
}
},
{
"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": [
"cscart_db.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 11,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.70",
"eval_cost": "1.10",
"prefix_cost": "19.13",
"data_read_per_join": "6K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
],
"attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), (`cscart_db`.`cscart_common_descriptions`.`object_id` = `cscart_db`.`cscart_images`.`image_id`), true)"
}
}
]
}
}
}
Result
| image_id |
image_path |
image_x |
image_y |
is_high_res |
pair_id |
object_id |
object_type |
detailed_id |
type |
position |
alt |
images_image_id |
| 0 |
VitE_FM_product_back.png |
2000 |
2000 |
N |
159908 |
37096 |
product |
161260 |
A |
1 |
|
161260 |
| 0 |
1.2_Vitamin_E_FM_HTU.png |
300 |
300 |
N |
159909 |
37096 |
product |
161261 |
A |
3 |
|
161261 |
| 0 |
1.3_Vitamin_E_FM_HTU.png |
300 |
300 |
N |
159910 |
37096 |
product |
161262 |
A |
4 |
|
161262 |
| 0 |
2.1_ING_avocado.png |
220 |
220 |
N |
159911 |
37096 |
product |
161263 |
A |
5 |
|
161263 |
| 0 |
2.2_ING_white_haldi.png |
220 |
220 |
N |
159912 |
37096 |
product |
161264 |
A |
6 |
|
161264 |
| 0 |
2.3_ING_shea_butter.png |
220 |
220 |
N |
159913 |
37096 |
product |
161265 |
A |
7 |
|
161265 |
| 0 |
2.4_ING_Kokum_butter.png |
220 |
220 |
N |
159914 |
37096 |
product |
161266 |
A |
8 |
|
161266 |
| 0 |
2.5_ING_Licorise_oil.png |
220 |
220 |
N |
159915 |
37096 |
product |
161267 |
A |
9 |
|
161267 |
| 0 |
2.6_ING_Vitmain_E.png |
220 |
220 |
N |
159916 |
37096 |
product |
161268 |
A |
10 |
|
161268 |
| 0 |
Vitamin_E_FM_A_Mainbanner.png |
970 |
600 |
N |
159917 |
37096 |
product |
161269 |
A |
13 |
|
161269 |
| 0 |
Vitamin_E_FM_benefits.png |
970 |
600 |
N |
159918 |
37096 |
product |
161270 |
A |
14 |
|
161270 |