on 09-11-2009 5:53 AM
Dear All,
One file system of my server had crashed due to hardware failure.
so i have restored the databse by full online + redolog backup. Now,
after successfully restoration of database with upto online redolog, my
databse is ok. But i am getting two problems.
First one is that its temporary tablespace PSAPTEMP is not showing any
datafile in Db02 which is physically avaliable on hardisk. So, i have
added one more datafile in that but tell me what should i do now with
old datafile.
Second one is that my redolog number is now started from 1. Is there
any issue in that as previously it was ended upto 30478.
Please help.
Thanks with Regards,
Ankit Kr. Gupta
Hello Ankit,
> Second one is that my redolog number is now started from 1. Is there any issue in that as previously it was ended upto 30478.
That's normal. You have performed an incomplete recovery and opened your database with RESETLOGS.
As the word "RESETLOGS" says .. it resets the online redolog files and starts from 1.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ankit,
> But why these didn't added automatically. What may be the reason ?
This depends on the way how you have performed the recovery. Did you use brrecover or RMAN? Normally these tools should do such stuff automatically.
If you have done a manual recovery with SQL*Plus - you have to do it on your own.
> And may i delete the old temp files as i have already added a new one temp file of the required size.
As you have said .. your PSAPTEMP was empty after the restore .. yes you can delete that file on OS level.
Regards
Stefan
Hi,
Execute the below query on SQL prompt to reuse the temporary data file.
ALTER TABLESPACE PSAPTEMP ADD TEMPFILE '<TEMP_DATA_FILE_PATH>' SIZE <2120M> REUSE AUTOEXTEND ON NEXT <20971520> MAXSIZE <10000M>;
Check the size values in < > applicable for your scenario
OR
You can find this statement in generated Control file.
Thanks,
Shambo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.