• [SAP BASIS]brtool 日常工作应用


    1. 扩展表空间
    2. 删除表空间
    3. 表空间重组
    4. 表空间重命名
    5. 表的信息统计更新

    1.扩展表空间

    brspace -c force -function tscreate -tablespace PSAPES750X -class none -data both -size 8000 -compress yes -autoextend no
    brspace -c force -function tsextend -tablespace PSAPES750X -size 8000 -autoextend no

     2.删除表空间

    brspace -c force -f tsdrop -t PSAPP01750
    brspace -u / -c force -f tsdrop -t PSAPEL731

    3.表空间重组

    select TABLE_NAME from dba_tables where TABLESPACE_NAME='PSAPES740';
    brspace -c force -f tbreorg -s psapes740 -t "*" -n psapes750x

    4.表空间重命名

    brspace -u // -c force -f tsalter -a rename -t PSAPCBTAB -n PSAPBTAB -f

    5.表的信息统计更新

    brconnect -u // -c -f stats -force collect,allsel -t USH02
    brconnect -u // -c -f stats -force collect,allsel -t PCL2
    brconnect -u // -c -f stats -force collect,allsel -t PPDIX
    brconnect -u // -c -f stats -t system_stats
    brconnect -u // -c -f stats -t  oradict_stats
    每天进步一点点,多思考,多总结 版权声明:本文为CNblog博主「zaituzhong」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
  • 相关阅读:
    网站结构之扁平结构与树形结构的区分
    如何提高网站的访问速度
    CSS透明度大汇总
    Microsoft.AlphaImageLoader滤镜讲解
    浏览器的渲染原理简介
    ACM思维题训练 Section A
    CF--思维练习--CodeForces
    CF--思维练习--CodeForces
    CF--思维练习--CodeForces
    CF思维联系--CodeForces
  • 原文地址:https://www.cnblogs.com/tingxin/p/12172640.html
Copyright © 2020-2023  润新知