返回首页

gbase数据、南大通用产品文档:GBase8a配置客户端用户的bash_profile 文件

更新日期:2024年09月11日

用户还需要修改客户端用户下“.bash_profile”文件的配置信息,将下面的配置信息
添加到.bash_profile 文件中。
export ORACLE_HOME=/home/oracli
export SQLPATH=/home/oracli/network/admin
export TNS_ADMIN=/home/oracli/network/admin
export LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib:$LD_LIBRARY_PATH
export PATH=$PATH:$ORACLE_HOME:$LD_LIBRARY_PATH

GBase 8a MPP Cluster 产品手册
4 管理员指南
文档版本953(2022-04-10)
南大通用数据技术股份有限公司
522
示例
$ cd /home/oracli
$ vi .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
export ORACLE_HOME=/home/oracli
export SQLPATH=/home/oracli/network/admin
export TNS_ADMIN=/home/oracli/network/admin
export LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib:$LD_LIBRARY_PATH
export PATH=$PATH:$ORACLE_HOME:$LD_LIBRARY_PATH
~
~
~
".bash_profile" 20L, 488C 已写入
保存退出后,使用source 命令使配置文件生效。
$ source .bash_profile

取值0 或者1。
该参数仅用于节点替换场景,默认值为0。
值为1 时,节点替换过程中rebalance 忽略镜像表,不对镜像表操作;
值为0 时,rebalance 同时操作主表和镜像表。

称是CPU 使用率。