首页 > 其他 > 详细

[hana admin] [AFL installation] SAP HANA Automated Predictive Library

时间:2020-03-07 00:47:19      阅读:87      评论:0      收藏:0      [点我收藏+]

Extracting the Package Contents

  1. Login to the SAP Support website技术分享图片 and click the Download Software icon.
  2. Search for APL in the Downloads option of the drop-down list.
  3. Select and download the package of your choice.
  4. unzip <file_name>.ZIP

Installing SAP HANA APL Using the Command Line

--SAP HANA 1.0 SP12 revision 122.04 and SAP HANA 2.0 and onwards:
./hdblcm --action=update_components --component_dirs=<Extracted_APL_folder_path>/installer --SAP HANA 1.0 SP12 revision 122.07: ./hdblcm --action=update --component_dirs=<Extracted_APL_folder_path>/installer

Upgrading SAP HANA APL

  • Stopping the SAP HANA database
  • Installing SAP HANA APL
  • Restarting the SAP HANA database
  • Deploying the delivery unit
Note

    Use the resident lifecycle management tool of SAP HANA hdblcm or hdblcmgui.
    Purge the cache after reinstallation or upgrade.

Purging the Cache

call "SAP_PA_APL"."sap.pa.apl.base::CLEANUP"(1,?);

Checking the Installation

Run the following SQL statements to check that the tables contain SAP HANA APL entries.

-- check that APL functions are there

select * from "SYS"."AFL_AREAS";
select * from "SYS"."AFL_PACKAGES";
select * from "SYS"."AFL_FUNCTIONS" where AREA_NAME=APL_AREA;
select "F"."SCHEMA_NAME", "A"."AREA_NAME", "F"."FUNCTION_NAME", "F"."NO_INPUT_PARAMS", "F"."NO_OUTPUT_PARAMS", "F"."FUNCTION_TYPE", "F"."BUSINESS_CATEGORY_NAME"     
from "SYS"."AFL_FUNCTIONS_" F,"SYS"."AFL_AREAS" A  where "A"."AREA_NAME"=APL_AREA and "A"."AREA_OID" = "F"."AREA_OID";
select * from "SYS"."AFL_FUNCTION_PARAMETERS" where AREA_NAME=APL_AREA;

refer to https://help.sap.com/viewer/7223667230cb471ea916200712a9c682/1909/en-US/7fa8b3b2ef70404480dac49753d7b179.html

 

[hana admin] [AFL installation] SAP HANA Automated Predictive Library

原文:https://www.cnblogs.com/tingxin/p/12431512.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!