• [SAP HANA] [AFL installation] SAP HANA Automated Predictive Library


    Extracting the Package Contents

    1. Login to the SAP Support websiteInformation published on SAP site 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

    每天进步一点点,多思考,多总结 版权声明:本文为CNblog博主「zaituzhong」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
  • 相关阅读:
    mysqlnd cannot connect to MySQL 4.1+ using old authentication
    nginx中查看关于php的配置和php-fpm的重启等操作
    nginx中查看关于php的配置和php-fpm的重启等操作
    linux面试题1
    linux笔试
    面试题
    shell脚本实例
    shell脚本
    mysql主从复制
    Discuz!NT静态文件缓存(SQUID)
  • 原文地址:https://www.cnblogs.com/tingxin/p/12431512.html
Copyright © 2020-2023  润新知