Class F1 Configuration File Error

F1000

情况名称

tablespace_is_offline

中文含义

表空间离线

产生原因

表空间状态为离线,无法进行相关的表空间操作

示例

create user u1;
    create tablespace t1 owner u1 location '/home/zhanghaowen/tsp1/';
    alter tablespace t1 offline;
    警告:  tablespace mode switch from ONLINE READONLY to OFFLINE READONLY!
    ALTER TABLESPACE
    alter tablespace t1 read only;
    错误: Tablespace(t1) you specify in offline mode, does not allow alter operation!

解决方法

将表空间状态修改为在线。

F1001

情况名称

tablespace_is_readonly

中文含义

表空间是只读的

产生原因

表空间状态是只读的,不能再次修改为只读状态或者修改为写状态

示例

create user u1;
    create tablespace t1 owner u1 location '/home/zhanghaowen/tsp1/';
    alter tablespace t1 read only;
    警告:  tablespace mode switch from OFFLINE READONLY to ONLINE READONLY!
    ALTER TABLESPACE
    alter tablespace t1 read only;
    错误:  Tablespace(t1) you specify is not in read write mode, does not allow switch to read only mode!

解决方法

先查明表空间当前状态再操作。

F1002

情况名称

tablespace_is_write

中文含义

表空间可写

产生原因

表空间状态为可写状态

示例

create user u1;
    create tablespace t1 owner u1 location '/home/zhanghaowen/tsp1/';
    alter tablespace t1 read write;
    警告:  tablespace mode switch from ONLINE READONLY to ONLINE READWRITE!
    ALTER TABLESPACE
    alter tablespace t1 read write;
    错误:  Tablespace(t1) you specify is not in read write mode, does not allow switch to read only mode!

解决方法

先查明表空间当前状态再操作。

F1003

情况名称

tablespace_operation_notsupport

中文含义

表空间行为不支持

产生原因

表空间模式禁止的操作被触发,如修改表空间模式等

示例

alter tablespace sys_default offline;
    错误:  System tablespace's mode cannot be changed!

解决方法

不允许对系统表空间进行操作