数据库启动时有莫名的提示map size mismatch; abort

原帖在这里:http://t.askmaclean.com/thread-1397-1-1.html

今天帮网友(centos 6.3   ora 10g)处理一个问题,处理方法如下,另外再多说一句不要违反官方的认证要求,否者就会出现一些奇怪的问题。低于11203的db 不能安装在rhel 6 and ol6上(可以强制安装,但是官方不支持,也不认证)

1#

 
发表于 2012-7-10 12:27:05 | 查看: 1360 | 回复: 11
系统环境:DELL的机器,安装的是linux6.2版本。需要在上面安装oracle 10g数据库。安装好包后,在启动数据库时,有如下提示:
SQL> startup nomount
map size mismatch; abort
: Success
map size mismatch; abort
: Success
map size mismatch; abort
: Success
map size mismatch; abort
: Success
ORACLE instance started.
Total System Global Area 2.1139E+10 bytes
Fixed Size     2220024 bytes
Variable Size  3296403464 bytes
Database Buffers  1.7834E+10 bytes
Redo Buffers     6488064 bytes
---------------------------------------------------------------------------------------下面附上sysctl的参数配置------------------------------------------------------
kernel.shmall = 4294967296
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=262144
net.core.wmem_default=262144
net.core.rmem_max=262144
net.core.wmem_max=262144
在线等待,请大师分析分析。
 

回复
分享0
 
 
 
最后登录
2013-8-24
在线时间
1149 小时
威望
2135
金钱
37288
注册时间
2011-10-12
阅读权限
200
帖子
3851
精华
27
积分
2135
UID
2
 

2#

 

发表于 2012-7-10 12:41:55

上传 alert.log 为附件
 

 
   
 
yiyufeng1986
当前离线

注册会员

 
注册会员, 积分 73, 距离下一级还需 127 积分

最后登录
2013-8-19
在线时间
29 小时
威望
73
金钱
556
注册时间
2012-6-26
阅读权限
50
帖子
41
精华
1
积分
73
UID
534
 

3#

 

发表于 2012-7-10 12:53:15

回复2#

目前,我只需要利用参数文件启动到nomount状态。,现在倒是能启动到nomount,但就是搞不懂那些提示会不会有什么影响。

alert_db1.txt

2012-7-10 12:53 上传

点击文件名下载附件

 

3.43 KB, 下载次数: 106

 

 
   
 
yiyufeng1986
当前离线

注册会员

 
注册会员, 积分 73, 距离下一级还需 127 积分

最后登录
2013-8-19
在线时间
29 小时
威望
73
金钱
556
注册时间
2012-6-26
阅读权限
50
帖子
41
精华
1
积分
73
UID
534
 

4#

 

发表于 2012-7-10 12:57:00

回复 2# 的帖子

大师,我上传了aler.log
 

 
   
 
最后登录
2013-8-24
在线时间
1149 小时
威望
2135
金钱
37288
注册时间
2011-10-12
阅读权限
200
帖子
3851
精华
27
积分
2135
UID
2
 

5#

 

发表于 2012-7-10 13:11:58

startup nomount 之后查一下以下信息 并贴出来

col name for a40
col value for a40
col describ for a40
set linesize 130

SELECT x.ksppinm NAME, y.ksppstvl VALUE, x.ksppdesc describ
FROM SYS.x$ksppi x, SYS.x$ksppcv y
WHERE x.inst_id = USERENV ('Instance')
AND y.inst_id = USERENV ('Instance')
AND x.indx = y.indx
AND upper(x.ksppinm) like '%NUMA%';

 

 
   
 
yiyufeng1986
当前离线

注册会员

 
注册会员, 积分 73, 距离下一级还需 127 积分

最后登录
2013-8-19
在线时间
29 小时
威望
73
金钱
556
注册时间
2012-6-26
阅读权限
50
帖子
41
精华
1
积分
73
UID
534
 

6#

 

发表于 2012-7-10 13:15:57

回复 5# 的帖子

SQL> set pages 9999;
SQL> SELECT x.ksppinm NAME, y.ksppstvl VALUE, x.ksppdesc describ
FROM SYS.x$ksppi x, SYS.x$ksppcv y
WHERE x.inst_id = USERENV ('Instance')
AND y.inst_id = USERENV ('Instance')
AND x.indx = y.indx
AND upper(x.ksppinm) like '%NUMA%';  2    3    4    5    6

NAME                                         VALUE                                          DESCRIB
---------------------------------------- ---------------------------------------- ----------------------------------------
_rm_numa_sched_enable                         FALSE                                          Is Resource Manager (RM) related NUMA sc
                                                                                  heduled policy enabled

_NUMA_pool_size                          Not specified                                  aggregate size in bytes of NUMA pool
_enable_NUMA_optimization                 TRUE                                          Enable NUMA specific optimizations
_NUMA_instance_mapping                         Not specified                                  Set of nodes that this instance should r
                                                                                  un on

_rm_numa_simulation_pgs                  0                                          number of PGs for numa simulation in res
                                                                                  ource manager

_rm_numa_simulation_cpus                 0                                          number of cpus per PG for numa simulatio
                                                                                  n in resource manager

_db_block_numa                                 2                                          Number of NUMA nodes

7 rows selected.

 

 
   
 
最后登录
2013-8-24
在线时间
1149 小时
威望
2135
金钱
37288
注册时间
2011-10-12
阅读权限
200
帖子
3851
精华
27
积分
2135
UID
2
 

7#

 

发表于 2012-7-10 13:18:02

alter system set "_enable_NUMA_optimization"= false scope=spfile;
alter system set "_db_block_numa"=1 scope=spfile;

startup force nomount;

 

 
   
 
yiyufeng1986
当前离线

注册会员

 
注册会员, 积分 73, 距离下一级还需 127 积分

最后登录
2013-8-19
在线时间
29 小时
威望
73
金钱
556
注册时间
2012-6-26
阅读权限
50
帖子
41
精华
1
积分
73
UID
534
 

8#

 

发表于 2012-7-10 13:30:20

回复 7# 的帖子

太牛了,没有那个提示了。对了,这是准备上线的库。不知道这样改会不会有什么影响。
 

 
   
 
yiyufeng1986
当前离线

注册会员

 
注册会员, 积分 73, 距离下一级还需 127 积分

最后登录
2013-8-19
在线时间
29 小时
威望
73
金钱
556
注册时间
2012-6-26
阅读权限
50
帖子
41
精华
1
积分
73
UID
534
 

9#

 

发表于 2012-7-10 13:35:20

回复刘总#

哪里能找到那两个参数的说明呢,学习一下。
 

 
   
 
最后登录
2013-8-24
在线时间
1149 小时
威望
2135
金钱
37288
注册时间
2011-10-12
阅读权限
200
帖子
3851
精华
27
积分
2135
UID
2
 

10#

 

发表于 2012-7-10 13:42:16

Description

Oracle NUMA (Non Uniform Memory Architecture) support can be used with large SMP multiprocessor environments with NUMA hardware. When enabled Oracle NUMA support facilitates efficient use of underlying NUMA hardware and may improve database performance.

Oracle NUMA support needs the right combination of hardware, operating system and Oracle version.

With 10.2.0.4 and 11.1.0.7 patchsets, Oracle NUMA support can be enabled on common Operating Systems like AIX, HP-UX, Solaris, Linux and Windows if the underlying hardware characteristic is NUMA.

When running an Oracle database with NUMA support in a NUMA capable environment, Oracle will by default detect if the hardware and operating system are NUMA capable and enable Oracle NUMA support.

Some OS upgrades/patches may enable NUMA (For example on Linux NUMA is enabled with kernel release 2.6.9-67). Care should be taken before enabling NUMA support or leaving it on by default. Please see below under the “Recommendation” section. Contact your hardware vendor for recommendation and information on your system and operating system NUMA capabilities
Likelihood of Occurrence

The symptoms described in the following section generally occur when:

Oracle database NUMA support is enabled
    Both operating system and hardware are NUMA capable.

And :

Database workload is memory constrained (or apply too much memory pressure on a given NUMA memory pool)
    Dynamic reconfiguration events change the characteristics of the hardware or partition (e.g number of CPUs, memory available).

Some issues are OS/hardware specific. See bugs caused by NUMA section below.

Dynamic reconfiguration events removing resources from NUMA system such as an entire cell and all its processors are not supported (Please review Note:761065.1)
Possible Symptoms

The problems manifest usually with crashes with internal errors including:

ORA-4031
    ORA-600 with argument KSKRECONFIGNUMA2
    ORA-600 with argument KSBASEND_INTERNAL
    ORA-600 with argument KSMHEAP_ALLOC1
    ORA-27302: FAILURE OCCURRED AT: SSKGXPCRE3

Workaround or Resolution
Recommendation

Customers who have their SLA’s unaffected with NUMA enabled can continue to run with no changes.
    It is strongly recommended to customers who want to enable NUMA do sufficient testing before going into production.
    Apply all the bug fixes or patchset required for your Oracle database version. Fixes for all known NUMA issues in the Oracle database is available for download. Please review the known bugs section.

To disable NUMA consult the section "Steps to disable NUMA" covering the instructions to disable NUMA at the Oracle database level. To disable NUMA at the operating system or hardware level contact your hardware vendor.

Please review the "Caution" section below when disabling NUMA.
Caution

Disabling or enabling NUMA can change application performance.
    It is strongly recommended to evaluate the performance after disabling or before enabling NUMA in a test environment.
    Operating system and/or hardware configuration may need to be tuned or reconfigured when disabling Oracle NUMA support. Consult your hardware vendor for more information or recommendation

Steps to disable NUMA

Customers can download and apply patch for Bug 8199533 to disable NUMA support. This is a database patch and should be applied to the Database home. This patch is available for common platforms on 10.2.0.4 and 11.1.0.7 releases.
    If you apply patch for Bug 8199533 then Oracle will no longer enabled NUMA support by default even if it detects a NUMA capable environment.
    Oracle support does not recommended using init.ora parameter "_enable_NUMA_optimization" to disable NUMA. Customers should apply fix for Patch 8199533 to disable NUMA . The patch is rolling upgradeable.
    This patch does not need to be applied to the ASM home. However if the same Oracle home is used for both RDBMS and ASM instances then this patch can be applied to the Oracle home.

To enable NUMA optimization after applying patch 8199533, set init.ora parameter _enable_NUMA_optimization=TRUE

上面的参数禁用了 NUMA , NUMA的介绍可以参考 上面的文档,  不推荐 使用 Linux 6.2 + 10gR2这样的组合, 如果使用的话 本质上我也建议禁用NUMA

map size mismatch; abort的更多相关文章

  1. paramiko错误信息:Paramiko error: size mismatch in put

    在使用paramiko的put往远处服务器上传资源的时候,出现类似下面的错误信息 The code in paramiko's sftp_client.py:putfo() reads at the ...

  2. Convolutional Neural Networks(4):Feature map size,Padding and Stride

    在CNN(1)中,我们用到下图来说明卷积之后feature maps尺寸和深度的变化.这一节中,我们讨论feature map size, padding and stride. 首先,在Layer1 ...

  3. Uva 12124 Uva Live 3971 - Assemble 二分, 判断器, g++不用map.size() 难度:0

    题目 https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_pr ...

  4. 在使用ICSharpCode.SharpZipLib进行目录压缩后,再解压缩是提示这个错误Size mismatch: 4294967295;126976 70202;126976

    在压缩代码中加入entry.CompressionMethod = CompressionMethod.Stored

  5. 集成容联:Warning! ivar size mismatch in PSUICollectionView_ - can't change the superclass.解决办法

    这个警报其实是无影响的. 解决方案: PSTCollectionView.m  的  char filler[200]   替换成char filler[300]

  6. 诡异之--map clear 之后可能导致size != 0的操作

    map<char, int>mp; charMp[; charMp['b'] ++; cout<<charMp['a']<<endl; cout<<ch ...

  7. 09--STL关联容器(map/multimap)

    一:map/multimap的简介 map是标准的关联式容器,一个map是一个键值对序列,即(key,value)对.它提供基于key的快速检索能力. map中key值是唯一的.集合中的元素按一定的顺 ...

  8. 容器之分类与各种测试(四)——map

    map和set的区别在于,前者key和value是分开的,前者的key不会重复,value可以重复:后者的key即为value,后者的value不允许重复.还有,map在插入时可以使用 [ ]进行(看 ...

  9. c++ map 使用

    . 包含头文件: #include <map> 2. 构造函数: std::map<char,int> first; first[; first[; first[; first ...

随机推荐

  1. SQL之概念

    SQL即结构化查询语言,是一个功能强大的数据库语言,可以分为: 1.DML即数据操作语言,用于检索或者修改数据: 2.DDL即数据定义语言,用于定义数据的结构,如创建.修改.删除等: 3.DCL即数据 ...

  2. 令牌桶在数据通信QoS流量监管中的应用

    令牌桶(Tocken Bucket,以下简称TB)在流量监管(以下简称CAR)功能中完成对流量进行限速的作用.流量监管主要是应用与网络边缘,从而保证核心设备的正常数据处理. 在流量监管的处理过程中,首 ...

  3. Eclipse一个打开文件夹目录插件——Open In Explorer

    MyEclipse开发的都常用到其中一个"Open In Explorer"的小插件,可以直接在Windows资源管理器中打开选中文件所在的目录,工具虽小,但我们经常需要用到它 由 ...

  4. MFC 只启动一个程序实例

    问题描述: 我们开发过程中可能会经常遇到,只启动一个程序实例.即一个程序启动之后,如果再次执行该程序,将会恢复之前打开的程序,而不是打开一个新的程序. 实现原理:利用FindWindow/FindWi ...

  5. 监听手机晃动(摇一摇)SensorEventListener

    import android.content.Context; import android.hardware.Sensor; import android.hardware.SensorEvent; ...

  6. <转载>使CSS文字图片div元素居中方法之水平居中的几个方法

    文字居中,文字垂直居中水平居中,图片居中,图片水平居中垂直居中,块元素垂直居中?当我们在做前端开发是时候关于css居中的问题是很常见的.情 况有很多种,不同的情况又有不同的解决方式.水平居中的方式解决 ...

  7. mysql-5.6.13在windows平台下的安装、使用(图解)

    本文同步至:http://www.waylau.com/mysql-5-6-13-windows-platform-installation-use-graphic/ 一. 首先电脑要具备.Net F ...

  8. [置顶] 关于本博客 http://www.imobilebbs.com

    由于时间上的关系,本博客不再和引路蜂移动软件博客同步更新,    请直接访问 http://www.imobilebbs.com 谢谢您的支持,再见   引路蜂博客

  9. Java 实现观察者(Observer)模式

    1. Java自带的实现 类图 /** * 观察目标 继承自 java.util.Observable * @author stone * */ public class UpdateObservab ...

  10. Fedora Linux 下安装配置C开发环境Code::Blocks

    一.提前的话要说C语言和Linux的关系大家应该都不会陌生,Linux系统内核就是用C语言开发的,所以所有的Linux系统下面 都会有C的编译调试工具,不过这些工具都是命令式的,正式开发的话会很不方便 ...