ORA-14104: RECOVERABLE/UNRECOVERABLE may not be specified for partitioned tables/indices

文档解释

ORA-14104: RECOVERABLE/UNRECOVERABLE may not be specified for partitioned tables/indices

Cause: CREATE TABLE/INDEX statement used to create a partitioned table/index contained RECOVERABLE or UNRECOVERABLE clause which is illegal

Action: Remove offending clause. [UN]RECOVERABLE is being deprecated in V8 and will be obsoleted in V9. To duplicate semantics of UNRECOVERABLE clause, create an object with NOLOGGING option and then ALTER it specifying LOGGING. To duplicate semantics of RECOVERABLE clause, create an object with LOGGING option.

ORA-14104是由Oracle引起的数据库错误,它说明没有为分区表/索引指定RECOVERABLE/UNRECOVERABLE参数。

RECOVERABLE文件使用恢复时可以从重做日志中恢复,而UNRECOVERABLE文件表明没有从重做日志的信息可以用于恢复。

官方解释

当创建分区表/索引时,RECOVERABLE/UNRECOVERABLE参数是不允许的。 您可以使用在非分区表/索引上使用RECOVERABLE/UNRECOVERABLE指示,但不允许在分区表/索引上这样做。

常见案例

此错误也可能是输入了错误的DDL语句导致的。 例如,如果有一个分区表/索引,试图创建它的SQL(已设置RECOVERABLE/UNRECOVERABLE参数)非法,则可能会引发此错误。

正常处理步骤

– 确认DDL语句中的参数是否正确

– 如果不正确,请移除RECOVERABLE/UNRECOVERABLE参数

– 如果已正确,则可能无法运行此DDL语句

你可能感兴趣的