Oracle学习笔记:详细研究影响oracle数据库status的基本设置alter database

alter database

  1. flashbackup {on|off}--mount--是否打开database的数据库闪回功能
  2. {begin|end}backup----是否打开database的备份模式
  3. {mount|open}--started、nomount--数据库的加载模式:mounted、open
  4. open {read only|read write}--started、nomount、mount--数据库的打开模式:只读、读写。对于standby 为read only ,primary为read write
  5. open {read only|read write}{resetlogs|noresetlogs}--started、nomount、mount--数据库的打开时是否重置online redo file
  6. set default {samllfile|bigfile} tablespace ----数据库默认的文件类型:bigfile、smallfile
  7. default tablespace tbs  ----数据库默认的永久表空间
  8. default temporary tablespace {temptbs|temptbs group}  ----数据库默认的临时表空间
  9. rename global_name to db_global_name  ----数据库的global_name
  10. {enable|disable} block change tracking  ----数据库是否打开 块 变化 跟踪
  11. set time_zone = { {+|-} hh:mi | time_zone_region}  ----设置数据库的默认时区。必须重启数据库才能起作用
  12. guard {none|standby|all}  ----设置数据库的安全级别。可以被alte session改变
  13. {archivelog|noarchivelog}  --mount--设置数据库的是否归档
  14. no force|force} logging  --mount--设置数据是否处于force logging模式
  15. tablespace、file操作
  16. recover操作
  17. stanby操作

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值