在Oracle Linux 6.1 上安装Oracle 10.2.0.1, 在安装软件的时候就是很曲折的过程,在dbca 建instance的时候,又遇到了:ORA-27125:unable to create shared memory segment安装被中断。rac2:/u02> oerr ora 2712527125, 00000, "unable to create sharedmemory segment"// *Cause: shmget() call failed// *Action: contact Oracle support解决方法如下:[root@rac2 ~]# id oracleuid=500(oracle) gid=501(oinstall)groups=501(oinstall),502(dba),503(asmadmin),504(oper)[root@rac2 ~]# more/proc/sys/vm/hugetlb_shm_group0下面用root执行下面的命令,将dba组添加到系统内核中:[root@rac2 ~]# echo 502 >/proc/sys/vm/hugetlb_shm_group--这里的502 是上面的id 命令查看出来的。[root@rac2 ~]# more /proc/sys/vm/hugetlb_shm_group502然后重新DBCA,成功建立实例。 如果遇到实例名以存在的提示,删除/etc/oratab 中对应的记录即可。hugetlb_shm_group 说明:hugetlb_shm_group contains group id that isallowed to create SysV shared memory segment using hugetlb pageWhen a process uses some memory, the CPU ismarking the RAM as used by that process. For efficiency, the CPU allocate RAMby chunks of 4K bytes (it"s the default value on many platforms). Those chunksare named pages. Those pages can be swapped to disk, etc.Since the process address space are virtual, the CPU and the operating systemhave to remember which page belong to which process, and where it is stored.Obviously, the more pages you have, the more time it takes to find where thememory is mapped. When a process uses 1GB of memory, that"s 262144 entries to lookup (1GB / 4K). If one Page Table Entry consume 8bytes, that"s 2MB (262144 * 8)to look-up.Most current CPU architectures support bigger pages (so the CPU/OS have lessentries to look-up), those are named Huge pages (on Linux), Super Pages (onBSD) or Large Pages (on Windows), but it all the same thing.MySQL 利用多线程提升查询性能的一种思路Oracle 11g ORA-00845: MEMORY_TARGET not supported on this system 说明相关资讯 oracle linux oracle数据库教程
- Oracle Linux 7.2 安装截图 (12/04/2015 14:15:11)
- Oracle Linux 6.7 发布下载, (07/31/2015 07:40:32)
- Oracle Linux 6.6 发布,企业级 (10/23/2014 15:12:02)
| - Oracle Linux 7.2 发布下载 (11/27/2015 08:47:21)
- Oracle Linux 7.1 发布下载 (03/17/2015 19:29:55)
- Oracle Linux 5.11更新了其 (10/02/2014 21:41:29)
|
本文评论 查看全部评论 (0)