Linux数据库管理:操作与交互指南
1. 准备工作
在使用任何Linux数据库管理系统(DBMS)之前,需要做好以下准备:
- 理解并运用有效的模式设计,这需要对规范化理论有一定的了解。
- 清楚目标平台的资源状况,以及为了适应不断增长的数据库,这些资源可能需要扩展的程度。
- 掌握并能正确使用安装Linux DBMS所需的基本Linux概念和命令,如 chmod 和 groupadd 。
- 仔细阅读特定供应商的安装说明。
2. 配置Oracle环境
以下是配置Oracle环境的相关代码及说明:
# Set ORA_HOME to the location of dbshut
# Set ORA_OWNER to the user id of the owner of the Oracle database
ORA_HOME=/u01/app/oracle/product/8.0.5
ORA_OWNER=oracle
# Test for the presence of the script dbstart in ORA_HOME
if [ ! -f $ORA_HOME/bin/dbstart -o ! -d $ORA_HOME ]; then
echo "Oracle startup: cannot start"
exit
fi
# Assuming dbstart is in the right place
case "$1" in
start)
#
超级会员免费看
订阅专栏 解锁全文
2069

被折叠的 条评论
为什么被折叠?



