oracle初始化参数设置

邢运臣12

邢运臣12

2016-01-29 14:47

oracle初始化参数设置,oracle初始化参数设置
ALTER DATABASE DATAFILEd:ORANTDATABASEUSER1ORCL.ORA RESIZE 1000M;
CREATE TABLESPACE INDEX_DATA DATAFILEd:ORANTDATABASEINDEX_DATA SIZE 500M;
ALTER DATABASE DATAFILEd:ORANTDATABASERBS1ORCL.ORA RESIZE 300M;
ALTER DATABASE DATAFILEd:ORANTDASTABASETMP1ORCL.ORA RESIZE 300M;

alter rollback segment "RB1" offline;
alter rollback segment "RB2" offline;
alter rollback segment "RB3" offline;
alter rollback segment "RB4" offline;
alter rollback segment "RB5" offline;
alter rollback segment "RB6" offline;
alter rollback segment "RB7" offline;
alter rollback segment "RB8" offline;
alter rollback segment "RB9" offline;
alter rollback segment "RB10" offline;
alter rollback segment "RB11" offline;
alter rollback segment "RB12" offline;
alter rollback segment "RB13" offline;
alter rollback segment "RB14" offline;
alter rollback segment "RB15" offline;
alter rollback segment "RB16" offline;

drop rollback segment "RB1";
drop rollback segment "RB2";
drop rollback segment "RB3";
drop rollback segment "RB4";
drop rollback segment "RB5";
drop rollback segment "RB6";
drop rollback segment "RB7";
drop rollback segment "RB8";
drop rollback segment "RB9";
drop rollback segment "RB10";
drop rollback segment "RB11";
drop rollback segment "RB12";
drop rollback segment "RB13";
drop rollback segment "RB14";
drop rollback segment "RB15";
drop rollback segment "RB16";

create rollback segment "RB1" tablespace "ROLLBACK_DATA" storage (initial 1m next 1m);
create rollback segment "RB2" tablespace "ROLLBACK_DATA" storage (initial 1m next 1m);
create rollback segment "RB3" tablespace "ROLLBACK_DATA" storage (initial 1m next 1m);
create rollback segment "RB4" tablespace "ROLLBACK_DATA" storage (initial 1m next 1m);
create rollback segment "RB5" tablespace "ROLLBACK_DATA" storage (initial 1m next 1m);
create rollback segment "RB6" tablespace "ROLLBACK_DATA" storage (initial 1m next 1m);

(本文来源于图老师网站,更多请访问http://m.tulaoshi.com)


alter rollback segment "RB1" online;
alter rollback segment "RB2" online;
alter rollback segment "RB3" online;
alter rollback segment "RB4" online;
alter rollback segment "RB5" online;
alter rollback segment "RB6" online;


alter database add logfile c:orantdatabaselog1.ora size 10m;
alter database add logfile c:orantdatabaselog2.ora size 10m;
alter database add logfile c:orantdatabaselog3.ora size 10m;
alter database add logfile c:orantdatabaselog4.ora size 10m;
alter database drop logfile c:orantdatabaselog1orcl.ora;
alter database drop logfile c:orantdatabaselog2orcl.ora;
alter database drop logfile c:orantdatabaselog3orcl.ora;
alter database drop logfile c:orantdatabaselog4orcl.ora;

(本文来源于图老师网站,更多请访问http://m.tulaoshi.com)


INITORAL.ORA配置:
SGA=db_block_buffers*db_block_size+share_pool_size+log_buffers+sort_arer_size+1m
=1/3--1/2
以128M为例:

DB_BLOCK_BUFFERS=16000(db_block_size=2k)
SHARE_POOL_SIZE=30720000(服务器要增大10倍)
LOG_BUFFERS=655360
SORT_AREA_SIZE=327680(服务器要增大100倍)----------添加
GLOBAL_NAME=FALSE
ROLLBACK_SEGEMENTS=(RB1,RB2)//一般大型数据库要建立6-8个回滚段

添加:
DML_LOCKS=1000
OPEN_CURSORS=200

展开更多 50%)
分享

猜你喜欢

oracle初始化参数设置

电脑网络
oracle初始化参数设置

Oracle 9i初始化参数文件

编程语言 网络编程
Oracle 9i初始化参数文件

s8lol主宰符文怎么配

英雄联盟 网络游戏
s8lol主宰符文怎么配

Oracle9i初始化参数中文说明

编程语言 网络编程
Oracle9i初始化参数中文说明

初始化类对象

C语言教程 C语言函数
初始化类对象

lol偷钱流符文搭配推荐

英雄联盟 网络游戏
lol偷钱流符文搭配推荐

windows通信端口初始化失败

电脑入门
windows通信端口初始化失败

TQuery的参数设置

编程语言 网络编程
TQuery的参数设置

lolAD刺客新符文搭配推荐

英雄联盟
lolAD刺客新符文搭配推荐

ORACLE的客户端如何连接到数据库

ORACLE的客户端如何连接到数据库

PHP聊天室技术

PHP聊天室技术
下拉加载更多内容 ↓