Query time 0.00058
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "22.97"
},
"ordering_operation": {
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_images_links",
"access_type": "ref",
"possible_keys": [
"object_id"
],
"key": "object_id",
"used_key_parts": [
"object_id",
"object_type",
"type"
],
"key_length": "81",
"ref": [
"const",
"const",
"const"
],
"rows_examined_per_scan": 7,
"rows_produced_per_join": 7,
"filtered": "100.00",
"cost_info": {
"read_cost": "6.94",
"eval_cost": "0.70",
"prefix_cost": "7.64",
"data_read_per_join": "672"
},
"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": "3",
"ref": [
"maniamall_cscart.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 7,
"filtered": "100.00",
"cost_info": {
"read_cost": "6.98",
"eval_cost": "0.70",
"prefix_cost": "15.33",
"data_read_per_join": "5K"
},
"used_columns": [
"image_id",
"image_path",
"image_x",
"image_y"
],
"attached_condition": "<if>(is_not_null_compl(cscart_images), (`maniamall_cscart`.`cscart_images_links`.`detailed_id` = `maniamall_cscart`.`cscart_images`.`image_id`), true)"
}
},
{
"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": [
"maniamall_cscart.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 7,
"filtered": "100.00",
"cost_info": {
"read_cost": "6.94",
"eval_cost": "0.70",
"prefix_cost": "22.97",
"data_read_per_join": "4K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
],
"attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), (`maniamall_cscart`.`cscart_common_descriptions`.`object_id` = `maniamall_cscart`.`cscart_images`.`image_id`), true)"
}
}
]
}
}
}
Result
| pair_id |
object_id |
object_type |
image_id |
detailed_id |
type |
position |
image_path |
alt |
image_x |
image_y |
images_image_id |
| 769392 |
480519 |
product |
0 |
769629 |
A |
0 |
super-windscreen-repair-kit-cars-accessories-smile-gadgets-yellow-plastic-technology-wing_582_4000x.progressive.jpg |
|
800 |
800 |
769629 |
| 769393 |
480519 |
product |
0 |
769630 |
A |
0 |
super-windscreen-repair-kit-white-cars-accessories-smile-gadgets_399_4000x.progressive.jpg |
|
640 |
640 |
769630 |
| 769394 |
480519 |
product |
0 |
769631 |
A |
0 |
super-windscreen-repair-kit-cars-accessories-smile-gadgets-motor-vehicle-car-windshield-glass-door-ecosystem-mode_976_4000x.progressive.jpg |
|
800 |
800 |
769631 |
| 769395 |
480519 |
product |
0 |
769632 |
A |
0 |
kit-pentru-reparatie-parbriz-sau-geam-auto-_hidm-kz.jpg |
|
800 |
675 |
769632 |
| 769396 |
480519 |
product |
0 |
769633 |
A |
0 |
diy-winscreen-chip-repair-kit-1000x1000.jpg |
|
1000 |
1000 |
769633 |
| 769397 |
480519 |
product |
0 |
769634 |
A |
0 |
chip_and_crack_repair_kit-1000x1000.jpg |
|
876 |
876 |
769634 |
| 769398 |
480519 |
product |
0 |
769635 |
A |
0 |
4-foots-Professional-DIY-Car-Windshield-Chip-Repair-Kit-tools-Auto-Glass-Windscreen-repair-set-Car_9d6fad2c-6734-489b-841d-b1b8b497fbb1__19148.1516046932.jpg |
|
700 |
686 |
769635 |