Undo tablespace resize error
The total space of the UNDO tablespace is: 3G and the space used for the tablespace UNDO is only 512M, so about 2.5 G space is free. But when I tried to resize the tablespace undo to 1 G, then its showing the error below:ORA-03297: file contains data beyond the requested value of RESIZING
but the size of the data used is 512 M only.
Kindly help me to resize the tablespace undo to 1 G.
Database: Oracle Database 10 g Enterprise Edition Release 10.2.0.2.0 - 64bi
Please suggest.
Thanks in advance!
You cannot resize the undo tablespace. If you try to reduce the size.
Then add that a tablespace unod can like undotbs2 then set undotbs2 as a default value in your database. Then, slide the previous undo tablespace
Anil Malkai
Tags: Database
Similar Questions
-
Unable to shrink/resize undo tablespace
Hi Experts,
I have the database Oracle 10.2.0.4 running on RHEL 4.7 in a production environment, my undo tablespace has grown to 32 GB, database is restarted, the tablespace is always full.
I would like to shrink, resize the undo tablespace, please help me
Little detail is as below
display the parameter undo_retention
VALUE OF TYPE NAME
------------------- ----------------- ----------------------
UNDO_RETENTION integer 10
Help, please
Thank you
Published by: user1687821 on July 9, 2010 09:27did you check the link I provided in my previous post? He answers most of your questions.
-
Hi all
OS: Solaris
DB: 10 G
My undotablespace had a lot, I should directly resize it or is there something else I should do first?
One last thing, if I take the bounce of the database, this will affect cancel it?
Kind regards
SphinxIf you have room for an other undo tablespace, why not make one you have more? Don't forget, one will not be removed until all transactions using this are made.
There are a few reasons you may need more to cancel the space: you have people leaving the open sessions, you have poor code that uses too or shot himself in the foot, stand too close, autoextend to cancel gourmand or you really need the space.
Tom Kyte has recommended to keep enough space around it for annual transactions of large batch if you have those. Unfortunately, this means that you do not have the other stuff stupid user. I take an intermediate point of view, keeping a great cancel (it is about half of my db), even though it is barely used most of the time and kill sessions where I can determine that they should not be left open (in other words, people who rarely run stuff from one day to the next day to ask, since most people don't).
What are the exact errors are you seeing? If this is the code that self-destructs in the foot, no matter how cancel it y a. search for ora-1555 on asktom if that's what you see. What's your retention, what is your guarantee?
-
Undo tablespace filled with 95%
Hi all
We have R12.1 Instance with RDBMS 11.1.0.7.0.
Undo table space here is got filled up to 95%, all the data files are not in AUTOEXTEND.
In this case, I need to add a data file?
If I add a file of data, is the performance database will be mediocre?
Please suggest...
Thank you
ShaikUndo tablespace full when data files are not in mode autoextend is normal. PL see this Doc MOS
UNDO tablespace full gr 10 2 [ID 413732.1]
If you stop seeing any error ORA-01555, you don't have to do anything.
HTH
Srini -
Cannot remove the old undo tablespace.
Hello friends,
I can't drop old undo tablespace. While dropping the old undo tablespace, we get an error
ERROR on line 1:
ORA-01548: active rollback segment "_SYSSMU77$" found, put an end to drop
tablespace
Help, please
Thank youHere's a blog that can help you:
http://davidalejomarcos.WordPress.com/2010/11/09/ora-01548-active-rollback-segment-syssmu1xxxx-found-terminate-dropping-tablespace-while-deleting-undotbs/ -
Hello
my version of the database is 11.2.0.1.0
My undo tablespace was approximately 36 GB and 4 GB was about free.
But now the size decreases and it is falling fast. What I would do. I increased it by another 2 GB. How to monitor it so that I can capture it without resizing again.
Please guide me.
Thanks in advance.to understand correctly read
http://blog.oracle48.nl/Oracle-database-undo-space-explained/ -
Undo tablespace continues to grow
Hello
My undotbs grows to 14g (even if I have my undotbs actul size 9g) I try to resize the data files, but
This may not work.
So, I guess for this task
>
-Create a new as undo tablespace:
SQL > create undo tablespace UNDOTBS2 datafile "< full file path >" size < small >;
-Change the parameter UNDO_TABLESPACE
SQL > alter system set UNDO_TABLESPACE = UNDOTBS2;
-Remove UNDOTBS1
SQL > drop tablespace UNDOTBS1 including content and data files; >
but my question is, is he worthy of delete the undotbs1 whose having a lot of data and if I deleted
These data (undotablespace), I won't be able to completely recover?
db_version:10.2.0 (Linux)There is procedure to drop undo tablespace. If you already increase first then I suggest you to study why his is growing? Check with developers, to monitor the database
-
Is it possible to have three Undo tablespace for a 2 RAC node?
Version: 11.2.0.2/RHEL 5.4
I was under the impression that you need only one UNDO Tablespace for each instance. But, for our 2 bow TIE, I see three Undo tablespace. No idea what is the third for?
SQL> select tablespace_name,status from dba_tablespaces where CONTENTS = 'UNDO'; TABLESPACE_NAME STATUS ------------------------------ --------- UNDOTBS1 ONLINE UNDOTBS2 ONLINE UNDOTBS3 ONLINE SQL> select distinct inst_id from gv$session; INST_ID ---------- 1 2 $ olsnodes -n thclst214 1 thclst215 2
I think it's possible, but a database instance is not able to use an undo tablespace. It is probably an error and you can try to drop the tablespace is not in the GV$ PARAMETER.
I ran the following on a 2 RAC 11.2.0.1 running node:
SQL> select inst_id, name, value from gv$parameter where name = 'undo_tablespace'; INST_ID NAME VALUE ---------- -------------------- -------------------- 1 undo_tablespace UNDOTBS1 2 undo_tablespace UNDOTBS2 SQL> create undo tablespace undotbs3; Tablespace created. SQL> select tablespace_name, status from dba_tablespaces where contents='UNDO'; TABLESPACE_NAME STATUS ------------------------------ --------- UNDOTBS1 ONLINE UNDOTBS2 ONLINE UNDOTBS3 ONLINE SQL> drop tablespace undotbs3; Tablespace dropped. SQL> select tablespace_name, status from dba_tablespaces where contents='UNDO'; TABLESPACE_NAME STATUS ------------------------------ --------- UNDOTBS1 ONLINE UNDOTBS2 ONLINE SQL>
-
Free tablespace on undo tablespace
I have a 8Gig tablespace on database 94Gig which is used for the statement (this is DSS database). Retention of cancellation is set too high (it is 1080 about 3 h). I don't know what is the reason, but it space table undo is full all the time, because of this it is ETL jobs that suppose to run each night fail.
I think bounce (restart database) to free up to undo tablespace.
Do you propose to increase the undo tablespace tablespace or database rebound must release undo tablespace? Please suggest.In an SSD long requests are expected. You need your UNDO retention to be longer than your long query, so the 'too long' claim is rather subjective.
Unless you have the cancellation retention set, Oracle will reuse space annulment, even crush UNDO for younger than retention committed transactions to meet the current requirements of the query.
Even if you restart the database (which is a horrible idea, from the pit of Redmond) conditions that are initially complete you the UNDO and get errors are likely to come immediately.
Refresh jobs fail with ORA-01555 or ORA-30036? For these solutions are very different.
I agree with the first line... allocate more space to CANCEL is probably the solution here, but we cannot say that for sure without knowing the error (and Oracle version would be helpful, too).
Relevant thread here...
http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:6894817116500 -
Hello world!
I used this sql to check the status of my storage space.
It shows that my undo tablespace has only 3% of space left.SELECT /* + RULE */ df.tablespace_name "Tablespace", df.bytes / (1024 * 1024) "Size (MB)", SUM(fs.bytes) / (1024 * 1024) "Free (MB)", Nvl(Round(SUM(fs.bytes) * 100 / df.bytes),1) "% Free", Round((df.bytes - SUM(fs.bytes)) * 100 / df.bytes) "% Used" FROM dba_free_space fs, (SELECT tablespace_name,SUM(bytes) bytes FROM dba_data_files GROUP BY tablespace_name) df WHERE fs.tablespace_name (+) = df.tablespace_name GROUP BY df.tablespace_name,df.bytes UNION ALL SELECT /* + RULE */ df.tablespace_name tspace, fs.bytes / (1024 * 1024), SUM(df.bytes_free) / (1024 * 1024), Nvl(Round((SUM(fs.bytes) - df.bytes_used) * 100 / fs.bytes), 1), Round((SUM(fs.bytes) - df.bytes_free) * 100 / fs.bytes) FROM dba_temp_files fs, (SELECT tablespace_name,bytes_free,bytes_used FROM v$temp_space_header GROUP BY tablespace_name,bytes_free,bytes_used) df WHERE fs.tablespace_name (+) = df.tablespace_name GROUP BY df.tablespace_name,fs.bytes,df.bytes_free,df.bytes_used ORDER BY 4 DESC;
I simply run this SQL command, but the result is always the same.
I mistakenly thought that the size of the existing file is less than 50 M.SQL> alter database datafile 'c:\ORACLE\DATA\PRODUCTION\DATAFILE\O1_MF_UNDO.DBF' autoextend on maxsize 50M; Database altered.
But then, realized the unused (3%) is 50 M.
How can I increase the size of the file now.
Please guide me.
The command that I published will have a negative impact?
Thanks in advance.
NithHello
What is your current undo tablespace now?
You can use the ALTER DATABASE statement. DATAFILE statement to resize or extend a data file
you issue this:SQL > alter database datafile ' c:\ORACLE\DATA\PRODUCTION\DATAFILE\O1_MF_UNDO. DBF' autoextend on maxsize 50 M;
If it stops when it reaches 50 m.
You can try below:
SQL > alter database datafile ' c:\ORACLE\DATA\PRODUCTION\DATAFILE\O1_MF_UNDO. DBF' autoextend on next 1 m maxsize unlimited;
You must set the maxsize value according to your availability of storage.
BR,
mrak -
Undo tablespace to recover without backup
Hello
I put one of my data file that contains in the undo tablespace. Now, my database is in the editing stage, when I tried to open the database, it gives me the following error:
SQL > alter database open;
change the database open
*
ERROR on line 1:
ORA-00376: 17 file cannot be read right now
ORA-01110: data file 17: ' / misc/live_tbs/undotbstest.dbf'
My database is in noarchive mode more I do not have a backup.
Thank you for your cooperation.
Kind regards
Adnan Hamdus Salam.Adnan says:
HelloI put one of my data file that contains in the undo tablespace. Now, my database is in the editing stage, when I tried to open the database, it gives me the following error:
SQL > alter database open;
change the database open
*
ERROR on line 1:
ORA-00376: 17 file cannot be read right now
ORA-01110: data file 17: ' / misc/live_tbs/undotbstest.dbf'My database is in noarchive mode more I do not have a backup.
NOarachivelog mode and having no backup are, in fact, a perfect recipe for disaster. What happens when you transfer the file online in the editing phase?
Aman...
-
Undo tablespace unable to grow beyond 31 GB.
Hello
ORACLE 11g
Solaris 10
BS.
Undo tablespace unable to grow beyond 31 GB. It gives the error message below when importing dump file that contain data of 45 GB.
ORA-30036: unable to extend segment by 8 in undo tablespace "UNDOTBS1.
with similar configuration machine, it works fine with the same dump file. is there something that we are missing?CREATE UNDO TABLESPACE undotbs_02 DATAFILE '+DATA/lims/hdb/undotbs02.dbf' SIZE 100M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED; SQL> show parameter undo NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ undo_management string AUTO undo_retention integer 900 undo_tablespace string UNDOTBS_02 % Tablespace Name KBytes Used Free Used ---------------- ------------ ------------ ------------ ------ *UNDOTBS_02 33,546,240 33,546,240 0 100.0 ------------ ------------ ------------ sum 33,546,240 33,546,240 0
concerning
SachinYou came to size max os for your data file. Add more data files to the undo tablespace.
-
recover missing (ORA-01092) UNDO tablespace
I got ORA-01092 when starting the database
SQL > startup
ORACLE instance started.
Total System Global Area 1367343104 bytes
Bytes of size 1292468 fixed
838862668 variable size bytes
520093696 of database buffers bytes
Redo buffers 7094272 bytes
Mounted database.
ORA-01092: ORACLE instance is complete. Disconnection forced
I discovered that the UNDO tablespace is missing
Alerts log shows this:
My Oct 04 13:54:45 2010
Setting the default value of the parameter parallel_max_servers
160-135 because of the value of the process parameters (150)
My Oct 04 13:54:45 2010
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Diagram of SNA picked latch-free 2
With the help of LOG_ARCHIVE_DEST_1 parameter value by default as D:\oracle\product\10.2.0\db_1\RDBMS
Autotune undo retention is enabled.
IMODE = BR
ILAT = 18
LICENSE_MAX_USERS = 0
SYS audit is disabled
ksdpec: called to the event 13740 before initialization of the event group
Commissioning ORACLE RDBMS Version: 10.2.0.3.0.
Parameters of the system with default values:
process = 150
__shared_pool_size = 813694976
__large_pool_size = 8388608
__java_pool_size = 8388608
__streams_pool_size = 8388608
SGA_TARGET = 1367343104
control_files = D:\ORACLE\PRODUCT\10.2.0\ORADATA\AXPHQ01\CONTROL01. CTL, D:\ORACLE\PRODUCT\10.2.0\ORADATA\AXPHQ01\CONTROL02. CTL, D:\ORACLE\PRODUCT\10.2.0\ORADATA\AXPHQ01\CONTROL03. CTL
DB_BLOCK_SIZE = 8192
__db_cache_size = 520093696
compatible = 10.2.0.3.0
db_file_multiblock_read_count = 16
UNDO_MANAGEMENT = AUTO
undo_tablespace = UNDOTBS1
Remote_login_passwordfile = EXCLUSIVE lock
db_domain =
dispatchers = (PROTOCOL = TCP) (SERVICE = AXPHQ01XDB)
JOB_QUEUE_PROCESSES = 10
audit_file_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\AXPHQ01\ADUMP
background_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\AXPHQ01\BDUMP
user_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\AXPHQ01\UDUMP
core_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\AXPHQ01\CDUMP
db_name = AXPHQ01
open_cursors = 300
pga_aggregate_target = 419430400
optimizerconnect_by_cost_based = FALSE
allowlevel_without_connect_by = TRUE
PMON started with pid = 2, OS id = 7988
PSP0 started with pid = 3, OS id = 7964
MA started with pid = 4, OS id = 6948
DBW0 started with pid = 5, OS id = 7332
LGWR started with pid = 6, OS id = 5128
CKPT started with pid = 7, OS id = 7148
SMON started with pid = 8, OS id = 5804
RECCE has started with pid = 9, OS id = 3604
CJQ0 started with pid = 10, OS id = 7084
MMON started with pid = 11, OS id = 8448
My Oct 04 13:54:46 2010
commissioning 1 dispatcher (s) for '(ADDRESS =(PARTIAL=YES) (PROTOCOL = TCP))' network address...
MMNL started with pid = 12, OS id = 4704
My Oct 04 13:54:46 2010
commissioning or shared server 1...
My Oct 04 13:54:47 2010
ALTER DATABASE MOUNT
My Oct 04 13:54:51 2010
Definition of embodiment of recovery target 2
My Oct 04 13:54:51 2010
Mount of redo thread 1, with mount id 4102419559
My Oct 04 13:54:51 2010
Database mounted in exclusive Mode
Completed: ALTER DATABASE MOUNT
My Oct 04 13:54:52 2010
ALTER DATABASE OPEN
My Oct 04 13:54:53 2010
Beginning of thread 1 crash recovery
parallel recovery started with 7 process
My Oct 04 13:54:53 2010
Scan again started
My Oct 04 13:54:53 2010
Complete scan again
1 blocks again read, 0 data blocks need recovery
My Oct 04 13:54:53 2010
Request for reinstatement has started
Thread 1: logseq 10520, block 2, CHN 8758774026015
My Oct 04 13:54:53 2010
Online Redo Log recovery: thread 1 mem Group 11 Seq 10520 reading 0
Mem # 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\AXPHQ01\REDO11. JOURNAL
My Oct 04 13:54:54 2010
Completed request
My Oct 04 13:54:55 2010
Finished in crash recovery
Thread 1: logseq 10520, block 3, RCS 8758774046017
redo the 0 data blocks read, 1 0 written data blocks, blocks read
My Oct 04 13:54:58 2010
Thread 1 Advanced to record the sequence 10521
Thread 1 is open to the sequence of journal 10521
Currently journal # 12 seq # 10521 mem # 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\AXPHQ01\REDO12. JOURNAL
Opening of redo thread 1
My Oct 04 13:54:58 2010
View MTTR is disabled, because FAST_START_MTTR_TARGET is not defined
My Oct 04 13:54:58 2010
SMON: enabling cache recovery
My Oct 04 13:54:58 2010
Errors in the d:\oracle\product\10.2.0\admin\axphq01\udump\axphq01_ora_1024.trc file:
ORA-30012: undo tablespace "UNDOTBS1" there is not, or of the wrong type
My Oct 04 13:54:58 2010
Error 30012 happened during db open, close the database
USER: termination litigation because of the error 30012
My Oct 04 13:55 2010
Errors in the d:\oracle\product\10.2.0\admin\axphq01\bdump\axphq01_pmon_7988.trc file:
ORA-30012: undo tablespace "is not or of the wrong type
My Oct 04 13:55 2010
Errors in the d:\oracle\product\10.2.0\admin\axphq01\bdump\axphq01_reco_3604.trc file:
ORA-30012: undo tablespace "is not or of the wrong type
My Oct 04 13:55 2010
Errors in the d:\oracle\product\10.2.0\admin\axphq01\bdump\axphq01_smon_5804.trc file:
ORA-30012: undo tablespace "is not or of the wrong type
My Oct 04 13:55 2010
Errors in the d:\oracle\product\10.2.0\admin\axphq01\bdump\axphq01_ckpt_7148.trc file:
ORA-30012: undo tablespace "is not or of the wrong type
My Oct 04 13:55 2010
Errors in the d:\oracle\product\10.2.0\admin\axphq01\bdump\axphq01_lgwr_5128.trc file:
ORA-30012: undo tablespace "is not or of the wrong type
My Oct 04 13:55:01 2010
Errors in the d:\oracle\product\10.2.0\admin\axphq01\bdump\axphq01_mman_6948.trc file:
ORA-30012: undo tablespace "is not or of the wrong type
My Oct 04 13:55:01 2010
Errors in the d:\oracle\product\10.2.0\admin\axphq01\bdump\axphq01_dbw0_7332.trc file:
ORA-30012: undo tablespace "is not or of the wrong type
My Oct 04 13:55:01 2010
Errors in the d:\oracle\product\10.2.0\admin\axphq01\bdump\axphq01_psp0_7964.trc file:
ORA-30012: undo tablespace "is not or of the wrong type
Instance of stopped by USER, pid = 1024
ORA-1092 marked during: ALTER DATABASE OPEN...Hello
Do as suggested by Chinar or
1. after installation of startup
2. create spfile from pfile;
3. immediate shu
4. startup mount
Then do all the steps as stated in my previous post.
Anand
-
ORA-30036: unable to extend segment by string in undo tablespace 'string. '
Hi hussein/helios,
EBS 11i
RHEL 4.6
Our users in inventory - order management Module, tried to enter and save transactions, but they encounter this error ORA-30036:
After your experience how you adjust this package for a CANCELLATION appropriate? What is the right size for my RETURN? I allow itUnable to extend segment by 8 in undo tablespace 'APPS_UNDOTS1' in Package OE_ORDER_WF_UTIL Procedure Start_Flow
to autoextend? or simply allocate enough space.
Thank you very much
Ms. KHello
accrding to the temp of query operation is not necessary to listen to so.u can add just a data file with the correct measurement value I guess...
Add more space should be sufficient (as mentioned earlier).
Thank you
Hussein -
Block in the Undo tablespace corruption
Dear all,
I'm using oracle 10.1.0.2.0. Today because of the abnormal termination block corrouption in undo tablespace found and database will not open.
In the alert log file
Errors in the e:\oracle\product\10.1.0\admin\orc1\udump\orc1_ora_3188.trc file:
ORA-01578: block ORACLE (corrupted file # 37, block # 25) data
ORA-01110: data file 37: ' E:\ORACLE\PRODUCT\10.1.0\ORADATA\ORC1\UNDOTBS0. DBF'
Sea Jul 07 10:18:42 2010
1578 error happened during db open, close the database
USER: termination litigation because of the 1578 error
Sea Jul 07 10:18:43 2010
Errors in the e:\oracle\product\10.1.0\admin\orc1\bdump\orc1_arc3_3900.trc file:
ORA-01578: ORACLE data block corrupted (file #, block #)
Sea Jul 07 10:18:43 2010
Errors in the e:\oracle\product\10.1.0\admin\orc1\bdump\orc1_arc3_3900.trc file:
ORA-01578: ORACLE data block corrupted (file #, block #)
Sea Jul 07 10:18:43 2010
Arc0: Assessment of the archive log 2 sequence of thread 1 479
Sea Jul 07 10:18:43 2010
Errors in the e:\oracle\product\10.1.0\admin\orc1\bdump\orc1_dbw0_3692.trc file:
ORA-01578: ORACLE data block corrupted (file #, block #)
Sea Jul 07 10:18:43 2010
Errors in the e:\oracle\product\10.1.0\admin\orc1\bdump\orc1_ckpt_1552.trc file:
ORA-01578: ORACLE data block corrupted (file #, block #)
Sea Jul 07 10:18:43 2010
Errors in the e:\oracle\product\10.1.0\admin\orc1\bdump\orc1_mman_3912.trc file:
ORA-01578: ORACLE data block corrupted (file #, block #)
Sea Jul 07 10:18:44 2010
Newspapers archived by another process
Sea Jul 07 10:18:44 2010
Errors in the e:\oracle\product\10.1.0\admin\orc1\bdump\orc1_pmon_3744.trc file:
ORA-01578: ORACLE data block corrupted (file #, block #)
Sea Jul 07 10:18:44 2010
Errors in the e:\oracle\product\10.1.0\admin\orc1\bdump\orc1_arc1_3668.trc file:
ORA-01578: ORACLE data block corrupted (file #, block #)
Sea Jul 07 10:18:44 2010
Errors in the e:\oracle\product\10.1.0\admin\orc1\bdump\orc1_arc1_3668.trc file:
ORA-01578: ORACLE data block corrupted (file #, block #)
Sea Jul 07 10:18:45 2010
Errors in the e:\oracle\product\10.1.0\admin\orc1\bdump\orc1_reco_1076.trc file:
ORA-01578: ORACLE data block corrupted (file #, block #)
Sea Jul 07 10:18:45 2010
Errors in the e:\oracle\product\10.1.0\admin\orc1\bdump\orc1_smon_2660.trc file:
ORA-01578: ORACLE data block corrupted (file #, block #)
Sea Jul 07 10:18:45 2010
Errors in the e:\oracle\product\10.1.0\admin\orc1\bdump\orc1_lgwr_1796.trc file:
ORA-01578: ORACLE data block corrupted (file #, block #)
Instance of stopped by USER, pid = 3188
ORA-1092 marked during: ALTER DATABASE OPEN...
ConcerningErrors in the e:\oracle\product\10.1.0\admin\orc1\udump\orc1_ora_3188.trc file:
ORA-01578: block ORACLE (corrupted file # 37, block # 25) data
ORA-01110: data file 37: ' E:\ORACLE\PRODUCT\10.1.0\ORADATA\ORC1\UNDOTBS0. DBF'You have rman or backup to hot/cold? If so try like:
* 1.*sqlplus "/as sysdba" shutdown immediate; startup mount; /*restore undo datafile then*/ recover datafile 37; alter database open;
* 2 If you have backup rman, then try
rman terget / blockrecover datafile 37 block 25;
* 3.* If you don't have a backup, you can start your database without this undo tablespace.
1. backup current database;
2. change pfile (parameter file) change undo_tablespace and undo_management as:
undo_management=manual undo_tablespace=UNDOTBS2
If you do not use pfile create pfile from spfile as:
sqlplus "/as sysdba" create pfile='pfilelocation' from spfile='spfilelocation';
3. then start database as:
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production With the Partitioning, OLAP and Data Mining options SQL> shutdown immediate; Database closed. Database dismounted. ORACLE instance shut down. SQL> startup mount pfile D:\oracle\product\10.2.0\admin\TEST\pfile\init.ora.5162 010113556 SP2-0714: invalid combination of STARTUP options SQL> startup mount pfile= D:\oracle\product\10.2.0\admin\TEST\pfile\init.ora.516 2010113556 ORACLE instance started. Total System Global Area 138412032 bytes Fixed Size 1288172 bytes Variable Size 62916628 bytes Database Buffers 67108864 bytes Redo Buffers 7098368 bytes Database mounted. SQL> alter database open; alter database open * ERROR at line 1: ORA-01157: cannot identify/lock data file 2 - see DBWR trace file ORA-01110: data file 2: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\UNDOTBS01.DBF' SQL> select name from v$datafile; NAME -------------------------------------------------------------------------------- D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\SYSTEM01.DBF D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\UNDOTBS01.DBF D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\SYSAUX01.DBF D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\USERS01.DBF SQL> alter database datafile 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\UNDOTBS01.DBF' offline drop; Database altered. SQL> alter database open; Database altered. SQL> create undo tablespace UNDOTBS2 datafile 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST\UNDOTBS2' size 200M; Tablespace created. SQL> create spfile from pfile; File created. SQL>
Maybe you are looking for
-
Problem with the seizure of power play xbox games to xbox 360 arcade
http://www.Microsoft.com/download/en/details.aspx?displaylang=en&ID=12129#system-requirements I followed above link to see how to make my Xbox 360 arcade able to play xbox games. I did what he said, but it does not work. I have downloaed the file cal
-
I lost the cd for vista backup
I lost my cd of solfware vista how to do it on my laptop
-
HP 2500 works with XP with Windows 7
My HP 2500 works fine with XP drivers, but not with the new Windows 7 drivers - ideas?
-
BlackBerry smartphones which is BING
I turned on my BB Curve this am and there is an icon on the screen titled BING. I did not here or download it, I don't know what it is. All I know is that I would like to uninstall completely from my BB because since it appeared my emails take much
-
Windows 8 kernal in data page error
Hello I get the blue screen that says "kernal in page data error." I pulled all the files in the minidump and downloaded here: https://www.dropbox.com/s/h0cfmd0h6arfad6/minidump.zip?DL=0 If anyone can help understand me what the problem is, it would