Error
Error Code:
ORA-28662
ORA-28662: Inconsistent Logging Attributes
Description
This error occurs in Oracle Database when creating or altering an Index-Organized Table (IOT). It indicates that the LOGGING attribute is inconsistently specified between the IOT index segment and its overflow segment.
Error Message
ORA-28662: IOT index and overflow segments must share the same LOGGING attribute
Known Causes
3 known causesMismatched LOGGING Clauses
The `LOGGING` clause was specified for the index segment but `NOLOGGING` was specified for the overflow segment, or vice versa. This inconsistency is not allowed.
Implicit LOGGING Defaults Differ
The table or tablespace default logging setting differs from the explicitly set logging setting of the index or overflow segment, causing an implicit mismatch.
Altering Index Logging Inconsistently
An attempt to alter the logging attribute of either the index or overflow segment without altering the other, leading to a mismatch.
Solutions
Coming SoonGeneral Troubleshooting Tips
- Check the error message carefully for specific details
- Review recent changes that might have caused the error
- Search for the exact error code in the official documentation
- Check log files for additional context
- Try restarting the application or service