oracle 11G undo表空间错误
错误信息的undo表空间的名字与数据库里面的名字不一至,此时要在init.orcl.ora文件中修改undo_tablespace的值, Oracle. All rights reserved. Connected to an idle instance. SQL startup mount pfile='/home/oracle/app/product/11.2.0/dbhome_1/dbs/initorcl.ora' ORACLE instance started. Total System Global Area 776646656 bytes Fixed Size 2217384 bytes Variable Size 557845080 bytes Database Buffers 213909504 bytes Redo Buffers 2674688 bytes Database mounted. SQL alter database open; Database altered. SQL create spfile='/home/oracle/app/product/11.2.0/dbhome_1/dbs/spfileorcl.ora' from pfile; File created. --pfile文件创建spfile文件 SQL shutdown immediate --重启数据库 Database closed. Database dismounted. ORACLE instance shut down. SQL startup ORACLE instance started. Total System Global Area 776646656 bytes Fixed Size 2217384 bytes Variable Size 557845080 bytes Database Buffers 213909504 bytes Redo Buffers 2674688 bytes Database mounted. Database opened. SQL , Oracle. All rights reserved. Connected to an idle instance. SQL startup mount ORACLE instance started. Total System Global Area 776646656 bytes Fixed Size 2217384 bytes Variable Size 557845080 bytes Database Buffers 213909504 bytes Redo Buffers 2674688 bytes Database mounted. SQL select name from v$datafile; NAME -------------------------------------------------------------------------------- /home/oracle/app/oradata/orcl/system01.dbf /home/oracle/app/oradata/orcl/sysaux01.dbf /home/oracle/app/oradata/orcl/undotbs01.dbf --undo表空间的数据文件 /home/oracle/app/oradata/orcl/users01.dbf /home/oracle/app/oradata/orcl/tong.dbf SQL show parameter undo NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ undo_management string AUTO undo_retention integer 900 undo_tablespace string UNDOTBS1 --undo表空间的名字 SQL select name from v$tablespace; NAME ------------------------------ SYSTEM SYSAUX UNDOTBS1 --undo表空间的名字 USERS TEMP TONG1 6 rows selected. SQL 思路:根据启动oracle的错误可以看出,用pfile文件启动数据库. [oracle@oracle ~]$ cd $ORACLE_HOME/dbs [oracle@oracle dbs]$ vim initorcl.ora *.undo_tablespace='UNDOTBS1' --修改这行的值 [oracle@oracle ~]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 24 10:26:06 2016 Copyright (c) 1982, 2009, 1.打开数据库时提示undo表空间不存在 SQL alter database open; alter database open * ERROR at line 1: ORA-01092: ORACLE instance terminated. Disconnection forced ORA-30012: undo tablespace 'UNDOTBS01' does not exist or of wrong type Process ID: 3236 Session ID: 1 Serial number: 5 解决方法: [oracle@oracle ~]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 24 10:22:24 2016 Copyright (c) 1982。
2009,。
相关热词:
本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供用于网络技术学习参考,学习中请遵循相关法律法规!
本文地址: https://v30.fanwenzhu.com/jiaob/net/9999.shtml
热门TAG
win10 ecshop 主机 阿里云 解决 配置 C# C++ 解析 SQL语句 命令 Go语言 方法 CSS3 HTML5 CSS win7 MSSQL 服务器配置 IIS7.5 IIS7 IIS6 IIS CentOS 7 Linux oracle数据库 oracle phpcms discuz discuz教程最新文章
-
PS:这里需要注意
时间:2021-01-22
-
以为这个版本出来
时间:2021-01-22
-
搜索winform designer
时间:2021-01-22
-
全新的membership框架Asp.ne
时间:2021-01-21
-
i dont know;18if (msg.Contains(
时间:2021-01-21
-
统筹管理路由规则.
时间:2021-01-21
-
根据switch-case语句来逐一判
时间:2021-01-21
-
EntityFramework 5.0 CodeFirst 教
时间:2021-01-21
热门文章
-
.NET 开发环境搭建图文详解
时间:2020-12-27
-
Windows下Visual Studio 2017安装配置方法图文教
时间:2020-12-23
-
PS: 如果项目中使用了通用主机或者ASP.
时间:2021-01-12
-
.Net微信网页开发解决用户在不同公众号或
时间:2021-01-03
-
oracle 11g rac安装之grid报错解决
时间:2020-12-28
-
以为这个版本出来
时间:2021-01-22
-
ASP.NET Core 3.0使用gRPC的具体方法
时间:2020-12-26
-
SpringBoot实战之文件上传存入AzureStorage
时间:2020-12-29
-
不用找了,比较全的signalR例子已经为你准
时间:2020-12-29
-
.NET Core3.1编写混合C++程序
时间:2020-12-26
