博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
oracle中Alter system 命令的总结
阅读量:6231 次
发布时间:2019-06-22

本文共 3107 字,大约阅读时间需要 10 分钟。

it is from

this is a good personal blog website!

Alter system archive log [start|stop|all|...]

alter system archive log all;alter system archive log next;alter system archive log sequence 104;alter system archive log current;alter system archive log current noswitch;
The following command can be used to stop .
alter system archive log stop
Similarly, arch is started with
alter system archive log start
However, changing the archiver this way doesn't last when the database is restarted. When the database is started, it consults in the initialization file to determine if is started.

Alter system archive log all

This command is used to .

alter system disconnect session

alter system kill session

alter system kill session 'session-id,session-serial'
This command kills a . The
session-id and
session-serial parameters are found in the view (columns
sid and
serial#.

alter system checkpoint

Performs a
alter system checkpoint

alter system dump datafile

This command can be used in order to of a . The following command dumps blocks 50 through 55 of file 5. Which file 5 is can be found out with
alter system dump datafile 5 block min 50 block max 55;
Note: are only readable by the Oracle account. If you want to change this, set the undocumented initialization parameter to true. Doing so will, however, cause a
big security risk.

alter system flush buffer_cache

alter system flush buffer_cache;
This command is not available prior to . It flushes the in the .
9i had an undocumented command to flush the buffer cache:
set events = 'immediate trace name flush_cache';

alter system flush shared_pool

alter system flush shared_pool;
This command flushed the .

alter system quiesce restricted

alter system suspend|resume

alter system switch logfile

Causes a .
alter system switch logfile;
If the database is in , but the process hasn't been startedm, the command might hang, because it waits for the archiving of the 'next' .

alter system register

Forces the of database information with the .
alter system register

Alter system set timed_statistics

Setting timed_statistics=true might be usefule when using .

Alter system set sql_trace

Setting sql_trace=true is a prerequisite when using .

Alter system set .... deferred

Alter system can be used to change on system level. However, some parameters, when changed with alter system don't affect sessions that are already opened at the time when the statement is executet; it only affects sessions started later. These parameters must be changed with
alter system set <initialization parameter> DEFERRED, otherwise a
ORA-02096: specified initialization parameter is not modifiable with this option error is returned.
These parameters can be identified as they have a DEFERRED in the
isses_modifiable column of .

Alter system reset <parameter_name>

a parameter.
alter system reset some_param scope=both sid='*';

scope

scope=memory

Changes the parameter's value for the running instance only. As soon as the instance is stopped and started, this change will be lost.

scope=spfile

Alters an in the

scope=both

Alters an in the as well as in the running instance.

转载地址:http://nehna.baihongyu.com/

你可能感兴趣的文章
学习笔记(4.21)
查看>>
解决Echarts中多条markLine的Label重叠问题
查看>>
用 Unity 做个游戏(七) - TCP Socket 客户端
查看>>
npm安装vue-cli报错 -4058 的解决方法
查看>>
2019年首发,有耐心且多思考
查看>>
ios UIWindow swift
查看>>
阿里云态势感知服务相关概念
查看>>
PHP 字符串中的 Heredoc 和 Nowdoc
查看>>
京东淘宝始料未及,小程序将是未来首选购物渠道
查看>>
js事件冒泡和传播详细解释
查看>>
笔试题
查看>>
[番外篇]k位精巧数
查看>>
Spring Security实战 - 短信登录
查看>>
(九)企业级java springcloud b2bc商城系统开源源码二次开发:配置中心和消息总线(配置中心终结版)...
查看>>
Redis 数据采样
查看>>
ELK搭建以及使用大全
查看>>
本地HOSTS测试管理工具
查看>>
httpwatch使用技巧
查看>>
视图的with check option解释
查看>>
我的友情链接
查看>>