1900w数据量执行时内存激增到8g

Viewed 7

PLAN FRAGMENT 0
OUTPUT EXPRS:
src_flag[#1894]
company_code[#1895]
fi_doc_no[#1896]
fi_year[#1897]
fi_doc_item_no[#1898]
company_name[#1899]
fi_period[#1900]
posting_date[#1901]
ref_doc_no[#1902]
ref_doc_item_no[#1903]
is_offset[#1904]
is_reversed[#1905]
offset_ref_fi_doc_no[#1906]
tcur_code[#1907]
lcur_code[#1908]
fi_account_code[#1909]
fi_account_name[#1910]
cost_center_code[#1911]
cost_center_name[#1912]
managed_center_name[#1913]
dept_name[#1914]
profit_center_code[#1915]
cost_center_func_scope_code[#1916]
tcur_amt[#1917]
lcur_amt[#1918]
basic_unit_code[#1919]
actual_qty[#1920]
move_avg_price[#1921]
standard_price[#1922]
stock_qty[#1923]
debit_credit_flag[#1924]
doc_date[#1925]
fi_doc_type_code[#1926]
posting_code[#1927]
assignment[#1928]
created_by[#1929]
created_date[#1930]
pur_order_no[#1931]
pur_order_item_no[#1932]
item_text[#1933]
sales_order_no[#1934]
sales_order_item_no[#1935]
material_code[#1936]
material_name[#1937]
plant_code[#1938]
plant_name[#1939]
vendor_code[#1940]
vendor_name[#1941]
customer_code[#1942]
customer_name[#1943]
special_gl_flag[#1944]
tax_code[#1945]
clear_date[#1946]
clear_fi_doc_no[#1947]
asset_no[#1948]
sub_asset_no[#1949]
asset_transaction_type_code[#1950]
asset_transaction_category_code[#1951]
asset_type_code[#1952]
cost_estimate_no[#1953]
price_control_code[#1954]
price_determination_code[#1955]
special_stock_flag[#1956]
price_unit[#1957]
object_no[#1958]
offset_account_code[#1959]
mbr_code[#1960]
activity_type_code[#1961]
object_type_code[#1962]
order_no[#1963]
order_type_code[#1964]
sales_invoice_type_code[#1965]
sales_org_code[#1966]
distribution_channel_code[#1967]
product_group_code[#1968]
product_group_name[#1969]
customer_group_code[#1970]
invoice_to_code[#1971]
ship_to_code[#1972]
material_group_code[#1973]
material_group_name[#1974]
sales_region_code[#1975]
mbr_name[#1976]
pay_order_no[#1977]
business_type_code[#1978]
cost_project_name[#1979]
cost_type_name[#1980]
PARTITION: UNPARTITIONED
""
HAS_COLO_PLAN_NODE: false
""
VRESULT SINK
MYSQL_PROTOCAL
""
38:VEXCHANGE
offset: 0
distribute expr lists:
""
PLAN FRAGMENT 1
""
PARTITION: HASH_PARTITIONED: company_code[#475]
""
HAS_COLO_PLAN_NODE: false
""
STREAM DATA SINK
EXCHANGE ID: 38
UNPARTITIONED
""
37:VHASH JOIN(575228)
| join op: LEFT OUTER JOIN(BROADCAST)[]
| equal join conjunct: (product_group_code[#1794] = product_group_code[#42])
" | cardinality=1,043,357,275"
| vec output tuple id: 39
| output tuple id: 39
| vIntermediate tuple ids: 38
| hash output slot ids: 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 43 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791
" | final projections: src_flag[#1812], company_code[#1813], fi_doc_no[#1815], fi_year[#1814], fi_doc_item_no[#1816], company_name[#1889], fi_period[#1817], posting_date[#1819], ref_doc_no[#1820], ref_doc_item_no[#1821], is_offset[#1822], is_reversed[#1823], offset_ref_fi_doc_no[#1825], tcur_code[#1826], lcur_code[#1827], fi_account_code[#1828], fi_account_name[#1829], cost_center_code[#1830], cost_center_name[#1891], managed_center_name[#1810], dept_name[#1806], profit_center_code[#1831], cost_center_func_scope_code[#1832], tcur_amt[#1833], lcur_amt[#1834], basic_unit_code[#1835], actual_qty[#1836], move_avg_price[#1837], standard_price[#1838], stock_qty[#1839], debit_credit_flag[#1840], doc_date[#1841], fi_doc_type_code[#1842], posting_code[#1843], assignment[#1844], created_by[#1845], created_date[#1846], pur_order_no[#1847], pur_order_item_no[#1848], item_text[#1849], sales_order_no[#1850], sales_order_item_no[#1851], material_code[#1852], material_name[#1818], plant_code[#1853], plant_name[#1890], vendor_code[#1854], vendor_name[#1811], customer_code[#1855], customer_name[#1807], special_gl_flag[#1856], tax_code[#1857], clear_date[#1858], clear_fi_doc_no[#1859], asset_no[#1860], sub_asset_no[#1861], asset_transaction_type_code[#1862], asset_transaction_category_code[#1863], asset_type_code[#1864], cost_estimate_no[#1865], price_control_code[#1866], price_determination_code[#1867], special_stock_flag[#1868], price_unit[#1869], object_no[#1870], offset_account_code[#1871], mbr_code[#1872], activity_type_code[#1873], object_type_code[#1874], order_no[#1875], order_type_code[#1876], sales_invoice_type_code[#1877], sales_org_code[#1878], distribution_channel_code[#1879], product_group_code[#1880], product_group_name[#1893], customer_group_code[#1881], invoice_to_code[#1882], ship_to_code[#1883], material_group_code[#1884], material_group_name[#1824], sales_region_code[#1885], mbr_name[#1886], pay_order_no[#1887], business_type_code[#1888], CASE WHEN ((((company_code[#1813] = '2000') AND (cost_center_func_scope_code[#1832] = 'Z001')) AND (object_type_code[#1874] = 'KS')) AND cost_project_name[#1808] IS NULL) THEN '新增项目' WHEN (cost_center_func_scope_code[#1832] != 'Z001') THEN '' ELSE CAST(cost_project_name[#1808] AS text) END, CASE WHEN ((((company_code[#1813] = '2000') AND (cost_center_func_scope_code[#1832] = 'Z001')) AND (object_type_code[#1874] = 'KS')) AND cost_type_name[#1809] IS NULL) THEN '变动费用' WHEN (cost_center_func_scope_code[#1832] != 'Z001') THEN '' ELSE CAST(cost_type_name[#1809] AS text) END"
| final project output tuple id: 39
| distribute expr lists:
| distribute expr lists:
|
|----4:VEXCHANGE
| offset: 0
" | distribute expr lists: product_group_code[#42], product_group_name[#43]"
|
36:VHASH JOIN(575206)
| join op: LEFT OUTER JOIN(BROADCAST)[]
| equal join conjunct: (customer_code[#1595] = customer_code[#44])
" | cardinality=132,489,812"
| vec output tuple id: 37
| output tuple id: 37
| vIntermediate tuple ids: 36
| hash output slot ids: 1546 1547 1548 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 45 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631
" | final projections: dept_name[#1632], customer_name[#1719], cost_project_name[#1633], cost_type_name[#1634], managed_center_name[#1636], vendor_name[#1637], src_flag[#1638], company_code[#1639], fi_year[#1640], fi_doc_no[#1641], fi_doc_item_no[#1642], fi_period[#1643], material_name[#1644], posting_date[#1645], ref_doc_no[#1646], ref_doc_item_no[#1647], is_offset[#1648], is_reversed[#1649], material_group_name[#1650], offset_ref_fi_doc_no[#1651], tcur_code[#1652], lcur_code[#1653], fi_account_code[#1654], fi_account_name[#1655], cost_center_code[#1656], profit_center_code[#1657], cost_center_func_scope_code[#1658], tcur_amt[#1659], lcur_amt[#1660], basic_unit_code[#1661], actual_qty[#1662], move_avg_price[#1663], standard_price[#1664], stock_qty[#1665], debit_credit_flag[#1666], doc_date[#1667], fi_doc_type_code[#1668], posting_code[#1669], assignment[#1670], created_by[#1671], created_date[#1672], pur_order_no[#1673], pur_order_item_no[#1674], item_text[#1675], sales_order_no[#1676], sales_order_item_no[#1677], material_code[#1678], plant_code[#1679], vendor_code[#1680], customer_code[#1681], special_gl_flag[#1682], tax_code[#1683], clear_date[#1684], clear_fi_doc_no[#1685], asset_no[#1686], sub_asset_no[#1687], asset_transaction_type_code[#1688], asset_transaction_category_code[#1689], asset_type_code[#1690], cost_estimate_no[#1691], price_control_code[#1692], price_determination_code[#1693], special_stock_flag[#1694], price_unit[#1695], object_no[#1696], offset_account_code[#1697], mbr_code[#1698], activity_type_code[#1699], object_type_code[#1700], order_no[#1701], order_type_code[#1702], sales_invoice_type_code[#1703], sales_org_code[#1704], distribution_channel_code[#1705], product_group_code[#1706], customer_group_code[#1707], invoice_to_code[#1708], ship_to_code[#1709], material_group_code[#1710], sales_region_code[#1711], mbr_name[#1712], pay_order_no[#1713], business_type_code[#1714], company_name[#1715], plant_name[#1716], cost_center_name[#1717]"
| final project output tuple id: 37
| distribute expr lists:
| distribute expr lists:
|
|----6:VEXCHANGE
| offset: 0
| distribute expr lists: customer_code[#44]
|
35:VHASH JOIN(575193)
| join op: LEFT OUTER JOIN(BROADCAST)[]
| equal join conjunct: (material_code[#1416] = material_code[#70])
" | cardinality=131,856,867"
| vec output tuple id: 35
| output tuple id: 35
| vIntermediate tuple ids: 34
| hash output slot ids: 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 71 76 1369 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407
" | final projections: dept_name[#1456], cost_project_name[#1460], cost_type_name[#1461], dept_name[#1462], managed_center_name[#1463], vendor_name[#1464], src_flag[#1465], company_code[#1466], fi_year[#1467], fi_doc_no[#1468], fi_doc_item_no[#1469], fi_period[#1470], material_name[#1544], posting_date[#1471], ref_doc_no[#1472], ref_doc_item_no[#1473], is_offset[#1474], is_reversed[#1475], material_group_name[#1545], offset_ref_fi_doc_no[#1476], tcur_code[#1477], lcur_code[#1478], fi_account_code[#1479], fi_account_name[#1480], cost_center_code[#1481], profit_center_code[#1482], cost_center_func_scope_code[#1483], tcur_amt[#1484], lcur_amt[#1485], basic_unit_code[#1486], actual_qty[#1487], move_avg_price[#1488], standard_price[#1489], stock_qty[#1490], debit_credit_flag[#1491], doc_date[#1492], fi_doc_type_code[#1493], posting_code[#1494], assignment[#1495], created_by[#1496], created_date[#1497], pur_order_no[#1498], pur_order_item_no[#1499], item_text[#1500], sales_order_no[#1501], sales_order_item_no[#1502], material_code[#1503], plant_code[#1504], vendor_code[#1505], customer_code[#1506], special_gl_flag[#1507], tax_code[#1508], clear_date[#1509], clear_fi_doc_no[#1510], asset_no[#1511], sub_asset_no[#1512], asset_transaction_type_code[#1513], asset_transaction_category_code[#1514], asset_type_code[#1515], cost_estimate_no[#1516], price_control_code[#1517], price_determination_code[#1518], special_stock_flag[#1519], price_unit[#1520], object_no[#1521], offset_account_code[#1522], mbr_code[#1523], activity_type_code[#1524], object_type_code[#1525], order_no[#1526], order_type_code[#1527], sales_invoice_type_code[#1528], sales_org_code[#1529], distribution_channel_code[#1530], product_group_code[#1531], customer_group_code[#1532], invoice_to_code[#1533], ship_to_code[#1534], material_group_code[#1535], sales_region_code[#1536], mbr_name[#1537], pay_order_no[#1538], business_type_code[#1539], company_name[#1540], plant_name[#1541], cost_center_name[#1542]"
| final project output tuple id: 35
| distribute expr lists:
| distribute expr lists:
|
|----8:VEXCHANGE
| offset: 0
| distribute expr lists: material_code[#70]
|
34:VHASH JOIN(575180)
| join op: LEFT OUTER JOIN(BROADCAST)[]
| equal join conjunct: (cost_center_code[#1212] = cost_center_code[#132])
" | cardinality=131,753,149"
| vec output tuple id: 33
| output tuple id: 33
| vIntermediate tuple ids: 32
| hash output slot ids: 133 134 135 136 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1274 1275 1276 1277 1278 1279
" | final projections: dept_name[#1366], fi_year[#1359], company_code[#1360], account_code[#1361], cost_project_name[#1362], cost_type_name[#1363], dept_name[#1367], managed_center_name[#1368], vendor_name[#1356], src_flag[#1280], company_code[#1281], fi_year[#1282], fi_doc_no[#1283], fi_doc_item_no[#1284], fi_period[#1285], posting_date[#1286], ref_doc_no[#1287], ref_doc_item_no[#1288], is_offset[#1289], is_reversed[#1290], offset_ref_fi_doc_no[#1291], tcur_code[#1292], lcur_code[#1293], fi_account_code[#1294], fi_account_name[#1295], cost_center_code[#1296], profit_center_code[#1297], cost_center_func_scope_code[#1298], tcur_amt[#1299], lcur_amt[#1300], basic_unit_code[#1301], actual_qty[#1302], move_avg_price[#1303], standard_price[#1304], stock_qty[#1305], debit_credit_flag[#1306], doc_date[#1307], fi_doc_type_code[#1308], posting_code[#1309], assignment[#1310], created_by[#1311], created_date[#1312], pur_order_no[#1313], pur_order_item_no[#1314], item_text[#1315], sales_order_no[#1316], sales_order_item_no[#1317], material_code[#1318], plant_code[#1319], vendor_code[#1320], customer_code[#1321], special_gl_flag[#1322], tax_code[#1323], clear_date[#1324], clear_fi_doc_no[#1325], asset_no[#1326], sub_asset_no[#1327], asset_transaction_type_code[#1328], asset_transaction_category_code[#1329], asset_type_code[#1330], cost_estimate_no[#1331], price_control_code[#1332], price_determination_code[#1333], special_stock_flag[#1334], price_unit[#1335], object_no[#1336], offset_account_code[#1337], mbr_code[#1338], activity_type_code[#1339], object_type_code[#1340], order_no[#1341], order_type_code[#1342], sales_invoice_type_code[#1343], sales_org_code[#1344], distribution_channel_code[#1345], product_group_code[#1346], customer_group_code[#1347], invoice_to_code[#1348], ship_to_code[#1349], material_group_code[#1350], sales_region_code[#1351], mbr_name[#1352], pay_order_no[#1353], business_type_code[#1354], company_name[#1355], plant_name[#1358], cost_center_name[#1365]"
| final project output tuple id: 33
| distribute expr lists:
| distribute expr lists:
|
|----13:VEXCHANGE
| offset: 0
| distribute expr lists: cost_center_code[#132]
|
33:VHASH JOIN(575154)
| join op: LEFT OUTER JOIN(BROADCAST)[]
| equal join conjunct: (company_code[#1027] = company_code[#147])
" | cardinality=131,753,149"
| vec output tuple id: 31
| output tuple id: 31
| vIntermediate tuple ids: 30
| hash output slot ids: 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 148 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1109
" | final projections: src_flag[#1110], company_code[#1111], fi_year[#1112], fi_doc_no[#1113], fi_doc_item_no[#1114], fi_period[#1115], posting_date[#1116], ref_doc_no[#1117], ref_doc_item_no[#1118], is_offset[#1119], is_reversed[#1120], offset_ref_fi_doc_no[#1121], tcur_code[#1122], lcur_code[#1123], fi_account_code[#1124], fi_account_name[#1125], cost_center_code[#1126], profit_center_code[#1127], cost_center_func_scope_code[#1128], tcur_amt[#1129], lcur_amt[#1130], basic_unit_code[#1131], actual_qty[#1132], move_avg_price[#1133], standard_price[#1134], stock_qty[#1135], debit_credit_flag[#1136], doc_date[#1137], fi_doc_type_code[#1138], posting_code[#1139], assignment[#1140], created_by[#1141], created_date[#1142], pur_order_no[#1143], pur_order_item_no[#1144], item_text[#1145], sales_order_no[#1146], sales_order_item_no[#1147], material_code[#1148], plant_code[#1149], vendor_code[#1150], customer_code[#1151], special_gl_flag[#1152], tax_code[#1153], clear_date[#1154], clear_fi_doc_no[#1155], asset_no[#1156], sub_asset_no[#1157], asset_transaction_type_code[#1158], asset_transaction_category_code[#1159], asset_type_code[#1160], cost_estimate_no[#1161], price_control_code[#1162], price_determination_code[#1163], special_stock_flag[#1164], price_unit[#1165], object_no[#1166], offset_account_code[#1167], mbr_code[#1168], activity_type_code[#1169], object_type_code[#1170], order_no[#1171], order_type_code[#1172], sales_invoice_type_code[#1173], sales_org_code[#1174], distribution_channel_code[#1175], product_group_code[#1176], customer_group_code[#1177], invoice_to_code[#1178], ship_to_code[#1179], material_group_code[#1180], sales_region_code[#1181], mbr_name[#1182], pay_order_no[#1183], business_type_code[#1184], company_name[#1195], vendor_name[#1193], plant_code[#1185], plant_name[#1186], fi_year[#1187], company_code[#1188], account_code[#1189], cost_project_name[#1190], cost_type_name[#1191]"
| final project output tuple id: 31
| distribute expr lists:
| distribute expr lists:
|
|----15:VEXCHANGE
| offset: 0
| distribute expr lists: company_code[#147]
|
32:VHASH JOIN(575141)
| join op: LEFT OUTER JOIN(BROADCAST)[]
| equal join conjunct: (vendor_code[#900] = vendor_code[#159])
" | cardinality=131,753,149"
| vec output tuple id: 29
| output tuple id: 29
| vIntermediate tuple ids: 28
| hash output slot ids: 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 159 928 160 929 930 931 932 933 934 935 936 937 938 939 940 941 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895
" | final projections: src_flag[#942], company_code[#943], fi_year[#944], fi_doc_no[#945], fi_doc_item_no[#946], fi_period[#947], posting_date[#948], ref_doc_no[#949], ref_doc_item_no[#950], is_offset[#951], is_reversed[#952], offset_ref_fi_doc_no[#953], tcur_code[#954], lcur_code[#955], fi_account_code[#956], fi_account_name[#957], cost_center_code[#958], profit_center_code[#959], cost_center_func_scope_code[#960], tcur_amt[#961], lcur_amt[#962], basic_unit_code[#963], actual_qty[#964], move_avg_price[#965], standard_price[#966], stock_qty[#967], debit_credit_flag[#968], doc_date[#969], fi_doc_type_code[#970], posting_code[#971], assignment[#972], created_by[#973], created_date[#974], pur_order_no[#975], pur_order_item_no[#976], item_text[#977], sales_order_no[#978], sales_order_item_no[#979], material_code[#980], plant_code[#981], vendor_code[#982], customer_code[#983], special_gl_flag[#984], tax_code[#985], clear_date[#986], clear_fi_doc_no[#987], asset_no[#988], sub_asset_no[#989], asset_transaction_type_code[#990], asset_transaction_category_code[#991], asset_type_code[#992], cost_estimate_no[#993], price_control_code[#994], price_determination_code[#995], special_stock_flag[#996], price_unit[#997], object_no[#998], offset_account_code[#999], mbr_code[#1000], activity_type_code[#1001], object_type_code[#1002], order_no[#1003], order_type_code[#1004], sales_invoice_type_code[#1005], sales_org_code[#1006], distribution_channel_code[#1007], product_group_code[#1008], customer_group_code[#1009], invoice_to_code[#1010], ship_to_code[#1011], material_group_code[#1012], sales_region_code[#1013], mbr_name[#1014], pay_order_no[#1015], business_type_code[#1016], plant_code[#1017], plant_name[#1018], fi_year[#1019], company_code[#1020], account_code[#1021], cost_project_name[#1022], cost_type_name[#1023], vendor_code[#1024], vendor_name[#1025]"
| final project output tuple id: 29
| distribute expr lists:
| distribute expr lists:
|
|----17:VEXCHANGE
| offset: 0
| distribute expr lists: vendor_code[#159]
|
31:VHASH JOIN(575128)
| join op: LEFT OUTER JOIN(BROADCAST)[]
| equal join conjunct: (company_code[#702] = company_code[#162])
| equal join conjunct: (fi_year[#703] = fi_year[#161])
| equal join conjunct: (fi_account_code[#715] = account_code[#163])
" | cardinality=131,753,149"
| vec output tuple id: 27
| output tuple id: 27
| vIntermediate tuple ids: 26
| hash output slot ids: 768 769 770 771 772 773 774 775 776 777 161 162 163 165 166 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767
" | final projections: src_flag[#778], company_code[#779], fi_year[#780], fi_doc_no[#781], fi_doc_item_no[#782], fi_period[#783], posting_date[#784], ref_doc_no[#785], ref_doc_item_no[#786], is_offset[#787], is_reversed[#788], offset_ref_fi_doc_no[#789], tcur_code[#790], lcur_code[#791], fi_account_code[#792], fi_account_name[#793], cost_center_code[#794], profit_center_code[#795], cost_center_func_scope_code[#796], tcur_amt[#797], lcur_amt[#798], basic_unit_code[#799], actual_qty[#800], move_avg_price[#801], standard_price[#802], stock_qty[#803], debit_credit_flag[#804], doc_date[#805], fi_doc_type_code[#806], posting_code[#807], assignment[#808], created_by[#809], created_date[#810], pur_order_no[#811], pur_order_item_no[#812], item_text[#813], sales_order_no[#814], sales_order_item_no[#815], material_code[#816], plant_code[#817], vendor_code[#818], customer_code[#819], special_gl_flag[#820], tax_code[#821], clear_date[#822], clear_fi_doc_no[#823], asset_no[#824], sub_asset_no[#825], asset_transaction_type_code[#826], asset_transaction_category_code[#827], asset_type_code[#828], cost_estimate_no[#829], price_control_code[#830], price_determination_code[#831], special_stock_flag[#832], price_unit[#833], object_no[#834], offset_account_code[#835], mbr_code[#836], activity_type_code[#837], object_type_code[#838], order_no[#839], order_type_code[#840], sales_invoice_type_code[#841], sales_org_code[#842], distribution_channel_code[#843], product_group_code[#844], customer_group_code[#845], invoice_to_code[#846], ship_to_code[#847], material_group_code[#848], sales_region_code[#849], mbr_name[#850], pay_order_no[#851], business_type_code[#852], plant_code[#853], plant_name[#854], fi_year[#855], company_code[#856], account_code[#857], cost_project_name[#858], cost_type_name[#859]"
| final project output tuple id: 27
| distribute expr lists:
| distribute expr lists:
|
|----19:VEXCHANGE
| offset: 0
| distribute expr lists: company_code[#162]
|
30:VHASH JOIN(575118)
| join op: LEFT OUTER JOIN(BROADCAST)[]
| equal join conjunct: (plant_code[#588] = plant_code[#167])
" | cardinality=131,753,149"
| vec output tuple id: 25
| output tuple id: 25
| vIntermediate tuple ids: 24
| hash output slot ids: 549 550 551 167 552 168 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623
" | final projections: src_flag[#624], company_code[#625], fi_year[#626], fi_doc_no[#627], fi_doc_item_no[#628], fi_period[#629], posting_date[#630], ref_doc_no[#631], ref_doc_item_no[#632], is_offset[#633], is_reversed[#634], offset_ref_fi_doc_no[#635], tcur_code[#636], lcur_code[#637], fi_account_code[#638], fi_account_name[#639], cost_center_code[#640], profit_center_code[#641], cost_center_func_scope_code[#642], tcur_amt[#643], lcur_amt[#644], basic_unit_code[#645], actual_qty[#646], move_avg_price[#647], standard_price[#648], stock_qty[#649], debit_credit_flag[#650], doc_date[#651], fi_doc_type_code[#652], posting_code[#653], assignment[#654], created_by[#655], created_date[#656], pur_order_no[#657], pur_order_item_no[#658], item_text[#659], sales_order_no[#660], sales_order_item_no[#661], material_code[#662], plant_code[#663], vendor_code[#664], customer_code[#665], special_gl_flag[#666], tax_code[#667], clear_date[#668], clear_fi_doc_no[#669], asset_no[#670], sub_asset_no[#671], asset_transaction_type_code[#672], asset_transaction_category_code[#673], asset_type_code[#674], cost_estimate_no[#675], price_control_code[#676], price_determination_code[#677], special_stock_flag[#678], price_unit[#679], object_no[#680], offset_account_code[#681], mbr_code[#682], activity_type_code[#683], object_type_code[#684], order_no[#685], order_type_code[#686], sales_invoice_type_code[#687], sales_org_code[#688], distribution_channel_code[#689], product_group_code[#690], customer_group_code[#691], invoice_to_code[#692], ship_to_code[#693], material_group_code[#694], sales_region_code[#695], mbr_name[#696], pay_order_no[#697], business_type_code[#698], plant_code[#699], plant_name[#700]"
| final project output tuple id: 25
| distribute expr lists:
| distribute expr lists:
|
|----21:VEXCHANGE
| offset: 0
| distribute expr lists: plant_code[#167]
|
29:VUNION(575108)
|
|----28:VEXCHANGE
| offset: 0
| distribute expr lists: fi_doc_no[#477]
|
26:VHASH JOIN(575092)
| join op: LEFT OUTER JOIN(PARTITIONED)[]
| equal join conjunct: (racct[#211] = fi_account_code[#190])
| equal join conjunct: (rbukrs[#192] = company_code[#189])
" | cardinality=131,752,403"
| vec output tuple id: 20
| output tuple id: 20
| vIntermediate tuple ids: 19
| hash output slot ids: 259 260 263 264 266 267 269 271 272 273 275 279 280 281 283 286 288 290 291 294 295 296 297 298 300 301 302 303 306 308 191 192 193 194 195 200 201 202 203 206 207 208 209 211 212 213 214 216 217 218 223 224 225 226 227 229 230 231 233 234 237 238 243 244 245 246 247 248 249 250 251 254 255
" | final projections: 'ACDOCA', rbukrs[#310], CAST(gjahr[#311] AS varchar(65533)), belnr[#312], docln[#313], poper[#333], budat[#334], awref[#314], awitem[#315], xreversing[#316], xreversed[#317], awref_rev[#318], rwcur[#319], rhcur[#320], racct[#322], CAST(fi_account_name[#384] AS text), rcntr[#323], prctr[#324], rfarea[#325], wsl[#326], hsl[#327], runit[#321], msl[#328], hpvprs[#329], hstprs[#330], lbkum[#331], drcrk[#332], CAST(bldat[#335] AS varchar(65533)), blart[#336], bschl[#338], zuonr[#337], usnam[#339], CAST(timestamp[#340] AS varchar(65533)), ebeln[#341], ebelp[#342], sgtxt[#343], kdauf[#344], kdpos[#345], matnr[#346], werks[#347], lifnr[#348], kunnr[#349], umskz[#350], mwskz[#351], CAST(augdt[#352] AS varchar(65533)), augbl[#353], anln1[#354], anln2[#355], anbwa[#356], movcat[#357], anlkl[#358], kalnr[#359], vprsv[#360], mlast[#361], sobkz[#362], CAST(hpeinh[#363] AS varchar(65533)), objnr[#364], gkont[#365], pernr[#366], ulstar[#367], accasty[#368], aufnr[#369], autyp[#370], fkart[#371], vkorg[#372], vtweg[#373], spart[#374], kdgrp[#375], kunre[#376], kunwe[#377], kmmakl_pa[#378], kmvkbu_pa[#379], zzfi03[#380], zzfi05[#381], ''"
| final project output tuple id: 20
| distribute expr lists: rbukrs[#192]
| distribute expr lists: company_code[#189]
|
|----23:VEXCHANGE
| offset: 0
| distribute expr lists: company_code[#189]
|
25:VEXCHANGE
offset: 0
distribute expr lists:
""
PLAN FRAGMENT 2
""
PARTITION: HASH_PARTITIONED: belnr[#460]
""
HAS_COLO_PLAN_NODE: false
""
STREAM DATA SINK
EXCHANGE ID: 28
HASH_PARTITIONED: company_code[#475]
""
27:VOlapScanNode(575096)
" TABLE: ods.ods_sap_zfit017_df(ods_sap_zfit017_df), PREAGGREGATION: ON"
" PREDICATES: (((xloek[#470] != 'X') AND stagr[#466] IN ('Z00001', 'Z00002', 'Z00003', 'Z00004')) AND (budat[#469] >= '2025-01-01'))"
partitions=1/1 (ods_sap_zfit017_df)
" tablets=1/1, tabletList=2317253"
" cardinality=6501, avgRowSize=0.0, numNodes=1"
pushAggOp=NONE
" final projections: 'ZFIT017', bukrs[#461], CAST(year(budat[#469]) AS varchar(65533)), belnr[#460], '', '', budat[#469], '', '', '', '', '', 'CNY', 'CNY', stagr[#466], CASE WHEN (stagr[#466] = 'Z00001') THEN '其他业务金额' WHEN (stagr[#466] = 'Z00002') THEN '减销售额费用' WHEN (stagr[#466] = 'Z00003') THEN '其他业务费用' WHEN (stagr[#466] = 'Z00004') THEN '销售风险坏账准备金' END, kostl[#462], '', '', dmbtr[#467], dmbtr[#467], '', 0.0000, 0.0000, 0.0000, 0.0000, '', '', '', '', '', '', '', '', '', sgtxt[#468], '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', pernr[#463], '', '', '', '', '', '', '', '', '', '', '', '', '', zzfi03[#465], '', ztype[#464]"
final project output tuple id: 22
""
PLAN FRAGMENT 3
""
PARTITION: RANDOM
""
HAS_COLO_PLAN_NODE: false
""
STREAM DATA SINK
EXCHANGE ID: 25
HASH_PARTITIONED: rbukrs[#192]
""
24:VOlapScanNode(575070)
" TABLE: ods.ods_sap_acdoca_di(ods_sap_acdoca_di), PREAGGREGATION: ON"
PREDICATES: (budat[#229] >= '2025-01-01')
" partitions=22/76 (p202501,p202502,p202503,p202504,p202505,p202506,p202507,p202508,p202509,p202510,p202511,p202512,p202601,p202602,p202603,p202604,p202605,p202606,p202607,p202608,p202609,p202610)"
" tablets=110/110, tabletList=2279212,2279216,2279220 ..."
" cardinality=19216723, avgRowSize=0.0, numNodes=1"
pushAggOp=NONE
""
PLAN FRAGMENT 4
""
PARTITION: HASH_PARTITIONED: company_code[#180]
""
HAS_COLO_PLAN_NODE: false
""
STREAM DATA SINK
EXCHANGE ID: 23
HASH_PARTITIONED: company_code[#189]
""
22:VOlapScanNode(575080)
" TABLE: dim.dim_md_fi_account_detail_df(dim_md_fi_account_detail_df), PREAGGREGATION: ON"
PREDICATES: (DORIS_DELETE_SIGN[#187] = 0)
partitions=1/1 (dim_md_fi_account_detail_df)
" tablets=1/1, tabletList=1837664"
" cardinality=5990, avgRowSize=0.0, numNodes=1"
pushAggOp=NONE
" final projections: company_code[#180], fi_account_code[#181], fi_account_name[#183]"
final project output tuple id: 17
""
PLAN FRAGMENT 5
""
PARTITION: HASH_PARTITIONED: plant_code[#167]
""
HAS_COLO_PLAN_NODE: false
""
STREAM DATA SINK
EXCHANGE ID: 21
UNPARTITIONED
""
20:VOlapScanNode(575109)
" TABLE: dim.dim_md_plant_detail_df(dim_md_plant_detail_df), PREAGGREGATION: ON"
partitions=1/1 (dim_md_plant_detail_df)
" tablets=1/1, tabletList=2381419"
" cardinality=22, avgRowSize=0.0, numNodes=1"
pushAggOp=NONE
""
PLAN FRAGMENT 6
""
PARTITION: HASH_PARTITIONED: company_code[#162]
""
HAS_COLO_PLAN_NODE: false
""
STREAM DATA SINK
EXCHANGE ID: 19
UNPARTITIONED
""
18:VOlapScanNode(575119)
" TABLE: ods.ods_manual_managed_cost_class_detail_mf(ods_manual_managed_cost_class_detail_mf), PREAGGREGATION: ON"
partitions=1/1 (ods_manual_managed_cost_class_detail_mf)
" tablets=1/1, tabletList=2168908"
" cardinality=264, avgRowSize=0.0, numNodes=1"
pushAggOp=NONE
""
PLAN FRAGMENT 7
""
PARTITION: HASH_PARTITIONED: vendor_code[#149]
""
HAS_COLO_PLAN_NODE: false
""
STREAM DATA SINK
EXCHANGE ID: 17
UNPARTITIONED
""
16:VOlapScanNode(575129)
" TABLE: dim.dim_mm_vendor_detail_df(dim_mm_vendor_detail_df), PREAGGREGATION: ON"
PREDICATES: (DORIS_DELETE_SIGN[#157] = 0)
partitions=1/1 (dim_mm_vendor_detail_df)
" tablets=1/1, tabletList=2369265"
" cardinality=11988, avgRowSize=0.0, numNodes=1"
pushAggOp=NONE
" final projections: vendor_code[#149], vendor_name[#150]"
final project output tuple id: 13
""
PLAN FRAGMENT 8
""
PARTITION: HASH_PARTITIONED: company_code[#137]
""
HAS_COLO_PLAN_NODE: false
""
STREAM DATA SINK
EXCHANGE ID: 15
UNPARTITIONED
""
14:VOlapScanNode(575142)
" TABLE: dim.dim_md_company_detail_df(dim_md_company_detail_df), PREAGGREGATION: ON"
PREDICATES: (DORIS_DELETE_SIGN[#145] = 0)
partitions=1/1 (dim_md_company_detail_df)
" tablets=1/1, tabletList=2380167"
" cardinality=38, avgRowSize=0.0, numNodes=1"
pushAggOp=NONE
" final projections: company_code[#137], company_name[#138]"
final project output tuple id: 11
""
PLAN FRAGMENT 9
""
PARTITION: HASH_PARTITIONED: cost_center_code[#113]
""
HAS_COLO_PLAN_NODE: false
""
STREAM DATA SINK
EXCHANGE ID: 13
UNPARTITIONED
""
12:VHASH JOIN(575174)
| join op: LEFT OUTER JOIN(BROADCAST)[]
| equal join conjunct: (dept_name[#126] = dept_name[#111])
| cardinality=393
| vec output tuple id: 9
| output tuple id: 9
| vIntermediate tuple ids: 8
| hash output slot ids: 112 124 125 126 111
" | final projections: cost_center_code[#127], cost_center_name[#128], dept_name[#129], dept_name[#130], managed_center_name[#131]"
| final project output tuple id: 9
| distribute expr lists: cost_center_code[#124]
| distribute expr lists:
|
|----10:VEXCHANGE
| offset: 0
| distribute expr lists:
|
11:VOlapScanNode(575158)
" TABLE: dim.dim_md_cost_center_detail_df(dim_md_cost_center_detail_df), PREAGGREGATION: ON"
PREDICATES: (DORIS_DELETE_SIGN[#122] = 0)
partitions=1/1 (dim_md_cost_center_detail_df)
" tablets=1/1, tabletList=2382648"
" cardinality=393, avgRowSize=0.0, numNodes=1"
pushAggOp=NONE
" final projections: cost_center_code[#113], cost_center_name[#114], dept_name[#119]"
final project output tuple id: 7
""
PLAN FRAGMENT 10
""
PARTITION: HASH_PARTITIONED: fi_year[#110]
""
HAS_COLO_PLAN_NODE: false
""
STREAM DATA SINK
EXCHANGE ID: 10
UNPARTITIONED
""
9:VOlapScanNode(575165)
" TABLE: ods.ods_manual_dept_center_detail_mf(ods_manual_dept_center_detail_mf), PREAGGREGATION: ON"
partitions=1/1 (ods_manual_dept_center_detail_mf)
" tablets=1/1, tabletList=2172832"
" cardinality=28, avgRowSize=0.0, numNodes=1"
pushAggOp=NONE
""
PLAN FRAGMENT 11
""
PARTITION: HASH_PARTITIONED: material_code[#70]
""
HAS_COLO_PLAN_NODE: false
""
STREAM DATA SINK
EXCHANGE ID: 08
UNPARTITIONED
""
7:VOlapScanNode(575184)
" TABLE: dim.dim_md_material_detail_df(dim_md_material_detail_df), PREAGGREGATION: ON"
partitions=1/1 (dim_md_material_detail_df)
" tablets=1/1, tabletList=2379739"
" cardinality=266975, avgRowSize=0.0, numNodes=1"
pushAggOp=NONE
""
PLAN FRAGMENT 12
""
PARTITION: HASH_PARTITIONED: customer_code[#44]
""
HAS_COLO_PLAN_NODE: false
""
STREAM DATA SINK
EXCHANGE ID: 06
UNPARTITIONED
""
5:VOlapScanNode(575197)
" TABLE: dim.dim_sd_customer_detail_df(dim_sd_customer_detail_df), PREAGGREGATION: ON"
partitions=1/1 (dim_sd_customer_detail_df)
" tablets=1/1, tabletList=2368426"
" cardinality=12978, avgRowSize=0.0, numNodes=1"
pushAggOp=NONE
""
PLAN FRAGMENT 13
""
" PARTITION: HASH_PARTITIONED: product_group_code[#40], product_group_name[#41]"
""
HAS_COLO_PLAN_NODE: true
""
STREAM DATA SINK
EXCHANGE ID: 04
UNPARTITIONED
""
3:VAGGREGATE (merge finalize)(575222)
" | group by: product_group_code[#40], product_group_name[#41]"
| cardinality=110
" | distribute expr lists: product_group_code[#40], product_group_name[#41]"
|
2:VEXCHANGE
offset: 0
distribute expr lists:
""
PLAN FRAGMENT 14
""
PARTITION: HASH_PARTITIONED: material_code[#0]
""
HAS_COLO_PLAN_NODE: false
""
STREAM DATA SINK
EXCHANGE ID: 02
" HASH_PARTITIONED: product_group_code[#40], product_group_name[#41]"
""
1:VAGGREGATE (update serialize)(575216)
| STREAMING
" | group by: product_group_code[#29], product_group_name[#30]"
| cardinality=110
| distribute expr lists:
|
0:VOlapScanNode(575210)
" TABLE: dim.dim_md_material_detail_df(dim_md_material_detail_df), PREAGGREGATION: ON"
partitions=1/1 (dim_md_material_detail_df)
" tablets=1/1, tabletList=2379739"
" cardinality=266975, avgRowSize=0.0, numNodes=1"
pushAggOp=NONE
""
""
Statistics
planed with unknown column statistics
这是我的执行计划,发现在首次join后数据从1900w估算到了10亿,导致内存激增,这种应该怎么处理

0 Answers