ORA-39311: Cannot alter tablespace blocksize.

文档解释

ORA-39311: Cannot alter tablespace blocksize.

Cause: DBMS_METADATA_DIFF was comparing two tablespaces with different blocksizes. There is no SQL ALTER statement to change the blocksize of a tablespace.

Action: The difference cannot be eliminated with an SQL ALTER statement.

ORA-39311:不能更改表空间块大小。

官方解释

常见案例

一般处理方法及步骤

1、查看块大小是否已经更新:用 SELECT BLOCKSIZE FROM DBA_DATA_FILES;

2、若不存在,则需要重建表空间,存储更新后的块大小:DROP TABLESPACE 某表空间名;

CREATE TABLESPACE 某表空间名 DATAFILE ‘路径及文件名’ SIZE 尺寸

BLOCKSIZE 块大小 EXTENT MANAGEMENT LOCAL AUTOALLOCATE SEGMENT SPACE MANAGEMENT

AUTO;

3、当表空间重建完成后,查看一下:SELECT BLOCKSIZE FROM DBA_DATA_FILES;

希望上述步骤能够帮助用户解决更改表空间块大小失败的问题。

你可能感兴趣的