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操作
原文地址:https://www.cnblogs.com/jinzhenshui/p/1407806.html