韩饭评论张艺兴跳mym:informix数据库模式转换

来源:百度文库 编辑:九乡新闻网 时间:2024/07/04 23:00:05
 

informix数据库有六种模式:

 

  1:off_line:不运行状态

 

  2:Quiescent:静模式。在此模式下用户不能连接到数据库,但是可用onstat等命令查询数据库信息。主要用于对系统进行底层维护操作。

 

  3:on_line:运行状态

 

  4:read-only:只读模式

 

  5:recovery:恢复模式。是一种临时状态,存在于从离线模式到静模式之间。

 

  6:shutdown:关闭模式。是一种临时状态,存在于从在线模式到静模式或者离线模式之间。

 

(1):off_line ---- on-line

     oninit -v

 

(2):offline ---- Quiescent

     oninit -s

 

(3):Quiescent ---- on-line

     onmode -m

 

(4):Single_user ----on-line

     onmode -m

 

(5):on-line ---- Quiescent

     onmode -s / onmode -u 

 

(6):shutdown

     onmode -ky