Oracle18c单实例安装

本文档详细介绍了在CentOS 6.5上安装Oracle18c的步骤,包括环境检查、操作系统配置、用户与组的设定,以及数据库软件的安装。内容涵盖硬件需求、操作系统版本、禁用透明大页、创建Oracle用户和组,以及设置Oracle环境变量等关键环节。
摘要由CSDN通过智能技术生成

安装环境:

CentOS release 6.5 (Final)  RAM:2GB  SWAP:4GB DISK:40GB

一. 安装环境检查

1. 服务器硬件 

Minimum RAM
  • At least 1 GB RAM for Oracle Database installations. 2 GB RAM recommended.

  • At least 8 GB RAM for Oracle Grid Infrastructure installations.

[root@orcl ~]# grep MemTotal /proc/meminfo
MemTotal:        1907580 kB

2. 操作系统

Red Hat Enterprise Linux 6.4:2.6.32-358.el6.x86_64或更高版本

--建议关闭透明大页

禁用透明HugePages

Oracle建议您禁用Transparent HugePages并使用标准HugePages来提高性能。

Oracle建议禁用Transparent HugePages,因为它们可能会导致访问内存的延迟,从而导致Oracle RAC环境中的节点重新启动,或Oracle Database单实例的性能问题或延迟。建议使用标准的HugePages for Linux。 

 3. 服务器配置

--/tmp目录

Disk space allocated to the /tmp directory

At least 1 GB of space in the /tmp directory.

 

[root@orcl ~]# df -h /tmp
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda3        36G   11G   24G  32% /

 --swap

Swap space allocation relative to RAM (Oracle Database)

Between 1 GB and 2 GB: 1.5 times the size of the RAM
Between 2 GB and 16 GB: Equal to the size of the RAM
More than 16 GB: 16 GB
Note: If you enable HugePages for your Linux servers, then you should deduct the memory allocated to HugePages from the available RAM before calculating swap space.

Swap space allocation relative to RAM

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值