DataGuard - 备用数据库方案中举足轻重的一个操作系统参数
2004-08-12 18:42
351 查看
如果TCP/IP KeepAlive 设置过长,那么在Pirmary意外down机之后,Standby上的partially filled archived log 无法被正常register,会报ORA-332错误。
修改操作系统的TCP/IP KeepAlive值就可以了。
以下总结了几种操作系统中修改TCP/IP KeepAlive值的方法。
Problem Description:
====================
How to implement Solaris TCP/IP KeepAlive mechanism.
To change the keepalive interval on Solaris (SPARC) servers you have to use the maintenance command ndd.
It is not possible to configure this information in the /etc/system file.
To find out the current value of the TCP/IP keepalive interval use the following command:
ndd /dev/tcp tcp_keepalive_interval
The value returned is in units of milliseconds, eg.
% ndd /dev/tcp tcp_keepalive_interval
7200000
Which in this case works out to 2 hours.
To change this value you use ndd with the '-set' flag, eg:
# ndd -set /dev/tcp tcp_keepalive_interval 1200000
Problem Description:
====================
How to implement Windows NT TCP/IP KeepAlive mechanism.
Problem Explanation:
====================
It is important to implement the Windows NT TCP/IP KeepAlive mechanism to prevent dead sessions from accumulating when SQL*Net/Net8 Dead Connection Detection [SQLNET.EXPIRE_TIME] is set to zero or unset in the SQLNET.ORA file.
Solution Description:
=====================
To implement the Windows NT TCP/IP KeepAlive mechanism, click:
Start > Run > Regedit.exe
In the Registry,navigate to:
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Tcpip/Parameters
Edit - Add value: KeepAliveTime (REG_DWORD)
Decimal -> 180000 (for example = 3 minutes)
The parameter will not be present the first time you modify the parameter,
so you will need to add it. The default value is 2 hours.
Problem Description:
====================
How to implement Linux TCP/IP KeepAlive mechanism.
修改/proc/sys/net/ipv4/tcp_keepalive_time
# echo 120 > /proc/sys/net/ipv4/tcp_keepalive_time
修改操作系统的TCP/IP KeepAlive值就可以了。
以下总结了几种操作系统中修改TCP/IP KeepAlive值的方法。
Problem Description:
====================
How to implement Solaris TCP/IP KeepAlive mechanism.
To change the keepalive interval on Solaris (SPARC) servers you have to use the maintenance command ndd.
It is not possible to configure this information in the /etc/system file.
To find out the current value of the TCP/IP keepalive interval use the following command:
ndd /dev/tcp tcp_keepalive_interval
The value returned is in units of milliseconds, eg.
% ndd /dev/tcp tcp_keepalive_interval
7200000
Which in this case works out to 2 hours.
To change this value you use ndd with the '-set' flag, eg:
# ndd -set /dev/tcp tcp_keepalive_interval 1200000
Problem Description:
====================
How to implement Windows NT TCP/IP KeepAlive mechanism.
Problem Explanation:
====================
It is important to implement the Windows NT TCP/IP KeepAlive mechanism to prevent dead sessions from accumulating when SQL*Net/Net8 Dead Connection Detection [SQLNET.EXPIRE_TIME] is set to zero or unset in the SQLNET.ORA file.
Solution Description:
=====================
To implement the Windows NT TCP/IP KeepAlive mechanism, click:
Start > Run > Regedit.exe
In the Registry,navigate to:
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Tcpip/Parameters
Edit - Add value: KeepAliveTime (REG_DWORD)
Decimal -> 180000 (for example = 3 minutes)
The parameter will not be present the first time you modify the parameter,
so you will need to add it. The default value is 2 hours.
Problem Description:
====================
How to implement Linux TCP/IP KeepAlive mechanism.
修改/proc/sys/net/ipv4/tcp_keepalive_time
# echo 120 > /proc/sys/net/ipv4/tcp_keepalive_time
相关文章推荐
- DataGuard - 备用数据库方案中举足轻重的一个操作系统参数
- 一个简单的数据库持久方案
- 将数据库中的数据通过 client 控件显示 (一个asp和javascript传参数的列子)
- 根据数据库连接,登录操作系统的一个方法
- asp.net 自己封装数据库操作一个类中一个自定义方法Execute(),非常实用,省去了麻烦的中间过程,动态参数
- dataguard ora-06172需要一个备用数据库目标的最小值
- 一个数据库设计方案
- 跨机房问题一直都是一个老大难的问题,先看传统数据库的跨机房方案
- ORACLE DATAGUARD 数据库---创建逻辑备用数据库
- 一个项目的一个参数,如分页数,颜色等,不用Global 怎么可以只读一次数据库后所有的页面都可以用这次读出来的值呢
- [原创]RMAN备用数据库(逻辑dataguard)
- 用隐含参数强制打开了一个损坏的数据库!
- 做dataguard犯了一个低级错误修改参数报错ORA-16187: LOG_ARCHIVE_CONFIG contains duplicate, conflicting or invalid att
- 梆定一个方法并把数据库中的值作为参数
- 双系统搭配卸载方案 双系统的电脑中完美系统其中一个操作系统
- 一个可以把配置参数保存到数据库的函数
- 将数据库中的数据通过 client 控件显示 (一个asp和javascript传参数的列子)
- 从数据库查询的数据作为参数去查另外一个数据库
- 将数据库中的数据通过 client 控件显示 (一个asp和javascript传参数的列子)
- 将数据库中的数据通过 client 控件显示 (一个asp和javascript传参数的列子)