ORA-03212: Temporary Segment cannot be created in locally-managed tablespace ORACLE 报错 故障修复 远程处理
文档解释
ORA-03212: Temporary Segment cannot be created in locally-managed tablespace
Cause: Attempt to create a temporary segment for sort/hash/lobs in in permanent tablespace of kind locally-managed
Action: Alter temporary tablespace of user to a temporary tablespace or a dictionary-managed permanent tablespace
ORA-03212: Temporary Segment不能够在locally-managed tablespace中创建
SQL查询尝试在本地管理tablespace中创建暂时段,但tablespace对控制的存储信息过时,所以抛出ORA-03212错误。
官方解释
ORA-03212: “Temporary Segment cannot be created in locally-managed tablespace %s”
Cause: The specified tablespace is configured as a locally-managed tablespace and cannot be used as a temporary tablespace.
Action: Use a dictionary-managed tablespace or change the tablespace to be a dictionary-managed tablespace.
常见案例
当使用本地管理空间而不由字典管理空间作为暂时表空间时,会出现ORA-03212警告。
正常处理方法及步骤
1. 检查是否指定本地管理表空间,如果是,将其修改为字典管理表空间。
2. 在实例级别重新启动数据库;
3. 重新运行SQL查询;
4. 重新监视更新的表空间。