MAXDATAFILES, MAXLOGFILES, MAXLOGMEMBERS, MAXINSTANCES and MAXLOGHISTORY

(原文地址)http://tolywang.itpub.net/post/48/315039

All questions are related to Oracle for z/OS (OS/390), and the answers are
valid for Oracle8, Orale8i, Oracle9i and Oracle10g.

CONTENTS
--------
1. What are the maximun number of datafiles ? MAXDATAFILES
2. What are the maximun number of redolog groups ? MAXLOGFILES
3. What are the maximun number of members for a redolog group ? MAXLOGMEMBERS
4. What are the maximun number of instances that can access a database concurrently? MAXINSTANCES
5. What are the maximun number of redo log files that can be recorded in the log history of the
control file? MAXLOGHISTORY


1. MAXDATAFILE

Maxdatafiles can be defined when the database is created or when the controlfile is recreated.
The default valueis 32, the maximun value is 4096 per tablespace

In 8.0 and 8i, the limit on datafiles per database is around 40,000. This limit is
imposed by the limit on control file size (20,000 blocks) with a 4K block size.

In 9i and 10g, larger block sizes are supported, thus with DB_BLOCK_SIZE=8192 there can be
up to 65,534 datafiles (same limit as other platforms).

However, there is an issue with the maximum number of files the server can have
open simultaneously. In both the OSDI and MPM implementations the server is
limited to approximately 3000 distinct simultaneously open files across all
sessions. This limit is removed in Oracle9i 9.2.


2. MAXLOGFILES

MaxLogFiles can be defined when the database is created or when the controlfile is recreated.
The default value, if not especified, is 32, and the maximun value is 256.


3. MAXLOGMEMBERS

MaxLogMembers can be defined when the database is created or when the controlfile is recreated.
The default value, if not especified, is 2, and the maximun value is 5.


In Oracle10g, now you can also specify the following parameters:

4. MAXINSTANCES

The MAXINSTANCES option of CREATE DATABASE limits the number of instances that can access a database concurrently.
The default value for this option under z/OS is 15. Set MAXINSTANCES to a value greater than the
maximum number of instances you expect to run concurrently.


5. MAXLOGHISTORY

The MAXLOGHISTORY option of CREATE DATABASE specifies the maximum number of redo log files that can be recorded in the log
history of the control file. The log history is used for automatic media recovery of
Oracle Real Application Clusters.
For Oracle Real Application Clusters, set MAXLOGHISTORY to a large value, such
as 100. The control file can then store information about this number of redo log
files. When the log history exceeds this limit, the Oracle server overwrites the oldest
entries in the log history.
Setting the MAXLOGHISTORY to 0 (zero), disables log history.


Here is what you can find in Oracle8, 8i and 9i System Administration guide manual for Oracle for OS/390.

Parameter Default Maximum Valid Range
MAXDATAFILES 32 4094 N/A
MAXINSTANCES N/A N/A N/A
MAXLOGFILES 32 256 2 - 256
MAXLOGMEMBERS 2 5 N/A
MAXLOGHISTORY N/A N/A N/A

Here is what you can find in Oracle10g System Administration guide manual for Oracle for z/OS (OS/390).

Parameter Default Maximum Valid Range
MAXDATAFILES 32 655342 N/A
MAXINSTANCES 1 15 N/A
MAXLOGFILES 32 256 N/A
MAXLOGMEMBERS 2 5 N/A
MAXLOGHISTORY 100 65534 N/A

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/16405897/viewspace-620386/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/16405897/viewspace-620386/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值