ORA-00212: block size string below minimum required size of string bytes
Cause: The block size specified was too small. Space for the system overhead is required.
Action: Specify a larger block size and retry the operation.
。
ORA-00212: 表示磁盘上的块大小小于系统所需要的最小块大小。
1.查看TableSpace块大小:
SELECT (initial_extent * sys_op_block_size) FROM DBA_DATA_FILES WHERE TABLESPACE_NAME = ‘MYTABLESPACE’;
2.查看Oracle所需的最小块大小:
SELECT value from V$PARAMETER WHERE name = ‘db_block_size’;
3.(可选)修改块大小:
ALTER DATABASE DATAFILE ‘/path/to/datafile’ RESIZE new_size;