Query time 0.00173
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "50.20"
},
"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": 17,
"rows_produced_per_join": 17,
"filtered": "100.00",
"index_condition": "((`db_emaika1`.`cscart_images_links`.`object_id` <=> '5') and (`db_emaika1`.`cscart_images_links`.`object_type` <=> 'product') and (`db_emaika1`.`cscart_images_links`.`type` <=> 'A'))",
"cost_info": {
"read_cost": "6.00",
"eval_cost": "3.40",
"prefix_cost": "9.40",
"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": [
"db_emaika1.cscart_images_links.detailed_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 17,
"filtered": "100.00",
"cost_info": {
"read_cost": "17.00",
"eval_cost": "3.40",
"prefix_cost": "29.80",
"data_read_per_join": "13K"
},
"used_columns": [
"image_id",
"image_path",
"image_x",
"image_y",
"is_high_res"
],
"attached_condition": "<if>(is_not_null_compl(cscart_images), (`db_emaika1`.`cscart_images_links`.`detailed_id` = `db_emaika1`.`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": [
"db_emaika1.cscart_images.image_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 17,
"filtered": "100.00",
"cost_info": {
"read_cost": "17.00",
"eval_cost": "3.40",
"prefix_cost": "50.20",
"data_read_per_join": "10K"
},
"used_columns": [
"object_id",
"description",
"lang_code",
"object_holder"
],
"attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), (`db_emaika1`.`cscart_common_descriptions`.`object_id` = `db_emaika1`.`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 |
ruchnaya_002.jpg |
1094 |
900 |
N |
152 |
5 |
product |
1494 |
A |
3 |
Технология крашения одежды и тканей "Ручная варка" |
1494 |
0 |
ruchnaya_003.jpg |
1037 |
900 |
N |
154 |
5 |
product |
1496 |
A |
5 |
Технология крашения одежды и тканей "Ручная варка" |
1496 |
0 |
ruchnaya_004.jpg |
1114 |
900 |
N |
156 |
5 |
product |
1498 |
A |
7 |
Технология крашения одежды и тканей "Ручная варка" |
1498 |
0 |
ruchnaya_005.jpg |
1173 |
900 |
N |
158 |
5 |
product |
1500 |
A |
9 |
Технология крашения одежды и тканей "Ручная варка" |
1500 |
0 |
ruchnaya_006.jpg |
1106 |
900 |
N |
160 |
5 |
product |
1502 |
A |
11 |
Технология крашения одежды и тканей "Ручная варка" |
1502 |
0 |
ruchnaya_007.jpg |
1113 |
900 |
N |
162 |
5 |
product |
1504 |
A |
13 |
Технология крашения одежды и тканей "Ручная варка" |
1504 |
0 |
ruchnaya_008.jpg |
1038 |
900 |
N |
164 |
5 |
product |
1506 |
A |
15 |
Технология крашения одежды и тканей "Ручная варка" |
1506 |
0 |
ruchnaya_009.jpg |
1107 |
839 |
N |
167 |
5 |
product |
1510 |
A |
16 |
|
1510 |
0 |
ruchnaya_010.jpg |
979 |
863 |
N |
168 |
5 |
product |
1511 |
A |
17 |
|
1511 |
0 |
ruchnaya_011.jpg |
1009 |
840 |
N |
169 |
5 |
product |
1512 |
A |
18 |
|
1512 |
0 |
ruchnaya_012.jpg |
1051 |
900 |
N |
170 |
5 |
product |
1513 |
A |
19 |
|
1513 |
0 |
ruchnaya_013.jpg |
940 |
856 |
N |
171 |
5 |
product |
1514 |
A |
20 |
|
1514 |
0 |
ruchnaya_014.jpg |
860 |
819 |
N |
172 |
5 |
product |
1515 |
A |
21 |
|
1515 |
0 |
ruchnaya_015.jpg |
972 |
900 |
N |
173 |
5 |
product |
1516 |
A |
22 |
|
1516 |
0 |
ruchnaya_016.jpg |
1074 |
864 |
N |
174 |
5 |
product |
1517 |
A |
23 |
|
1517 |
0 |
ruchnaya_017.jpg |
826 |
848 |
N |
175 |
5 |
product |
1518 |
A |
24 |
|
1518 |
0 |
ruchnaya_018.jpg |
973 |
871 |
N |
176 |
5 |
product |
1519 |
A |
25 |
|
1519 |
0 |
ruchnaya_019.jpg |
1074 |
852 |
N |
177 |
5 |
product |
1520 |
A |
26 |
|
1520 |
0 |
ruchnaya_020.jpg |
909 |
844 |
N |
178 |
5 |
product |
1521 |
A |
27 |
|
1521 |
0 |
ruchnaya_021.jpg |
909 |
856 |
N |
179 |
5 |
product |
1522 |
A |
28 |
|
1522 |
0 |
ruchnaya_022.jpg |
904 |
805 |
N |
180 |
5 |
product |
1523 |
A |
29 |
|
1523 |
0 |
ruchnaya_023.jpg |
947 |
825 |
N |
181 |
5 |
product |
1524 |
A |
30 |
|
1524 |
0 |
ruchnaya_024.jpg |
1138 |
900 |
N |
182 |
5 |
product |
1525 |
A |
31 |
|
1525 |
0 |
ruchnaya_025.jpg |
1032 |
868 |
N |
183 |
5 |
product |
1526 |
A |
32 |
|
1526 |
0 |
ruchnaya_026.jpg |
1014 |
852 |
N |
184 |
5 |
product |
1527 |
A |
33 |
|
1527 |
0 |
ruchnaya_027.jpg |
1011 |
864 |
N |
185 |
5 |
product |
1528 |
A |
34 |
|
1528 |
0 |
ruchnaya_028.jpg |
1000 |
881 |
N |
186 |
5 |
product |
1529 |
A |
35 |
|
1529 |
0 |
ruchnaya_029.jpg |
1018 |
877 |
N |
187 |
5 |
product |
1530 |
A |
36 |
|
1530 |
0 |
ruchnaya_030.jpg |
929 |
824 |
N |
188 |
5 |
product |
1531 |
A |
37 |
|
1531 |
0 |
ruchnaya_031.jpg |
900 |
1200 |
N |
193 |
5 |
product |
1536 |
A |
38 |
Покраска одежды в ручную. |
1536 |
0 |
ruchnaya_032.jpg |
875 |
900 |
N |
194 |
5 |
product |
1537 |
A |
39 |
Крашение одежды. |
1537 |
0 |
ruchnaya_033.jpg |
900 |
900 |
N |
195 |
5 |
product |
1538 |
A |
40 |
Покраска маек. |
1538 |
0 |
ruchnaya_034.jpg |
900 |
900 |
N |
196 |
5 |
product |
1539 |
A |
41 |
Покраска майки в ручную. |
1539 |
0 |
ruchnaya_035.jpg |
929 |
900 |
N |
197 |
5 |
product |
1540 |
A |
42 |
Покраска майки ручным способом. |
1540 |