Database reorganization through BRtools
Hi All,
Can you please tell me the procedure how to reorganise the total database using BRTools.
i have gone through the 646681note.
can you please provide me the steps how to do through brtools.
i have seen the above link ,but i cann ot find how to mention all the table spaces names.
can you tell me how to reorganise total database .
You cannot reorganise all the tablespaces in the same way.
System tablespace for example will need a special treatment. And most probably there will be no need to reorganise it.
But anyway, have a look at
SAP Note 748434 - New BRSPACE function "dbcreate" - recreate database
Similar Messages
-
Hi expert
I want to minimize the size of our current production server, so I delete 1 client (unused client)
Now I'm going to do database reorganization with BRTOOLS
my question is what table to reorganize ?
thanks
DellaHi,
If you have delete the client than you have to go for full DB reorg (As suggest by Jaun). I am giving you some idea , how we can reorg DB with BRtolls.
If you go through the SAP Note which has mention by Jaun,than you can find that in oracle 10g we can reorg full DB online.
1:- Reorg Table which do not have LONG field
2:- Convert Long field to LOB field & Reorg Table which have LONG field .
If you need detailed DB reorg steps than go throug the below link.
[I have given detailed steps here|Re: Table reorganization]
Thanks & Regards
Gopal Kaushik -
How to run a Database Reorganization in Background?
We are using a Windows Platform and we would like to run database reorganization in Background. How will we do this? Via a command? Can we do it via BRTOOLS? Can we schedule the running of Database reorganization via BRTOOLS? DB13 is out of the question so no need to indicate the solution to run the Database Reorganization in Background via DB13. Kindly advice. Thanks.
Actually, we do know the various approaches and the Hows on implementing them, we just need the how with regards to running DB reorganization in Background.
For instance, we will schedule the database reorganization on the evening, since there may come a time when there is nobody available at a certain schedule, we need to schedule it in background so that we could still meet the schedule without anybody, personally, checking on it. Another advantage for it is when there are very large objects that usually took lots of time to finish, we usually let it rest in weekends wherein there is a possibilty that no one is available, we could just schedule it in background without having the problems with regards to timeout in dialog sessions. Also, usually, due to location constraints, we cannot personally access the application server thus, we use remote desktop sessions so as to access the servers. Background session can prevent the risk of having failures with regards to network issues or any other factors that might affect the result of the continuity of the reorganization thus, we need way/s on how to implement it in background session.
Do anyone have a command in running brtools (specifically for reorganization) to run in background? -
Unable to Extend The Tablespace through Brtools
Hello Guru's
In Our Production Server we are not able to extend table space through BRtools while performing table space extend i am facing this error, please give me the solution so that this error is going to rectified
i am attaching the log for your reference :
BR0280I BRTOOLS time stamp: 2007-06-19 11.18.57
BR0657I Input menu 81 - please check/enter input values
BRSPACE options for tablespace extension
1 - BRSPACE profile (profile) ...... [initPBW.sap]
2 - Database user/password (user) .. [/]
3 ~ Tablespace name (tablespace) ... [PSAPODSD]
4 - Confirmation mode (confirm) .... [yes]
5 - Scrolling line count (scroll) .. [20]
6 - Message language (language) .... [E]
7 - BRSPACE command line (command) . [-p initPBW.sap -s 20 -l E -f tsextend -t
PSAPODSD]
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR0662I Enter your choice:
c
BR0280I BRTOOLS time stamp: 2007-06-19 11.19.02
BR0663I Your choice: 'c'
BR0259I Program execution will be continued...
BR0291I BRSPACE will be started with options '-p initPBW.sap -s 20 -l E -f tsext
end -t PSAPODSD'
BR0280I BRTOOLS time stamp: 2007-06-19 11.19.02
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
c
BR0280I BRTOOLS time stamp: 2007-06-19 11.19.05
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR1001I BRSPACE 7.00 (11)
BR0252E Function remove() failed for '/oracle/PBW/sapbackup/.user.pas' at locati
on global_set-5
BR0253E errno 13: Permission denied
BR0700E Fatal errors occurred - terminating processing...
BR1008I End of BRSPACE processing: sdvncsuh.log 2007-06-19 11.19.19
BR0280I BRSPACE time stamp: 2007-06-19 11.19.19
BR1007I BRSPACE terminated with errors
BR0292I Execution of BRSPACE finished with return code 3
BR0668I Warnings or errors occurred - you can continue to ignore them or go back
to repeat the last action
BR0280I BRTOOLS time stamp: 2007-06-19 11.19.19
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:Hi Shishir Bajpai
I have a problem it seems to be like the problem that you had! Tell me one thing, how can I know if I have permissions in brtools to extend a table space or for other tasks in there?
I have win 2003 server and Oracle 10.2.0.4!
I must to extend a set of table space on data base!!! Please help me how can I do that through br*tools!!
Best regards
João Dimas -
Hi,
Iam unable to login the system.my ora arch directory is full,i know how to take backup through db13.
iam unaware of how to take the back up through brtools.how to solve this problem.os is aix and db is oracle. guide me for same to solve problem.
ThankuHi Harshit,
Do the following to take archive log backup:-
On WIndows:-
Step 1:- Login with SIDadm
Step 2:- Open CMD prompt and use brtools command
Step 3:- It will open Brtools screen
Step 4:- Select option 4 backup and database copy
Step 5:- Next select 2 Archivelog backup
Step 6:- Then continue , continue and continue it will start archivelog backup.
On Unix:-
Step 1:- login with Ora<SID> user
Step 2:- Brtools
Step 3:- It will open Brtools screen
Step 4:- Select option 4 backup and database copy
Step 5:- Next select 2 Archivelog backup
Step 6:- Then continue , continue and continue it will start archivelog backup.
OR
you can use the following command
brarchive -c -sd -u
Best luck
Atil -
Is it worth skipping Indexes during Database reorganization?
Hi All,
we are planning for Database reorganization using ALTER TABLE...MOVE TABLESPACE. Can we skip the indexes or we need to perform the ALTER INDEX ...REBUILD TABLESPACE....
After going through the asktom post we decided to skip the indexes, we are looking for all your suggestion on this topic.
Ref: http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:6601312252730
Thanks in advance,
karvdepends on the version of the database also, you need to select appropriate method of defragmentation
if your db is 10g, not required to use move command. you can use shrink command which will give benefit to not rebuild indexes -
Oracle database reorganization (moving datafiles to new filesystems)
Hi All,
We are planning to perform a database reorganization (moving datafiles to new filesystems) in our Production environment using SAPDBA.
We had noticed in our recent performance reports that few datafiles in some of the SAPDATAxx filesystems are having higher I/O contention and are putting heavy load on those filesystems resulting in poor performance. So, we had identified the datafiles and planning to move them to new SAPDATA filesystems (uniformly distribute the datafiles to stabilize the I/O). Below are the version information.
SAP: 3.0F
Oracle: 9.2.0.8
OS: HP-UX 11.23
SAPDBA: 6.20
I'm going through SAP notes and Oracle documentation on this.Can you please share your experiences if similar activity was carried out by any of you and the documents relating to this.
Your inputs on this is very much appreciated.
Thanks,
VasuIf your goal is just to make use of new storage, it is fairly straightforward and quick to move the datafiles as others mentioned. However, moving the datafile will NOT reorganize tables/tablespaces.
You can optionally reorg tables/tablespaces in addition to the move of datafiles. This generally saves space and helps performance. If you decide to reorg, I would suggest you move the datafiles to faster storage then reorg (since reorg itself is highly IO intensive).
Some points to consider:
- perform the reorg when business use is least
- perform online reorg where possible
- online reorg creates temporary snaps, typically in the users default tablespace, make sure it has sufficient space
- start with small tables/tablespaces first to get throughput estimate and also estimate of reduction in size
- estimate the size of target tablespace (how small it is going to be compared to source) and build the target tablespace smaller to avoid wasting space
- watch the space usage of the target tablespace when the reorg is running
- if you are reorging individual tables, make sure the indexes are rebuilt
Hope this helps.
Regards,
Shan -
Alter Tablespace Through BRTOOLS
Hi,
How can we alter tablespace through BRTOOLS.
Regards,
NitinHi,
Choice menu 1 - please make a selection
BR*Tools main menu
1 = Instance management
2 - Space management
3 - Segment management
4 - Backup and database copy
5 - Restore and recovery
6 - Check and verification
7 - Database statistics
8 - Additional functions
9 - Exit program
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR0662I Enter your choice:
2
Your choice: '2'
Choice menu 5 - please make a selection
Database space management
1 = Extend tablespace
2 - Create tablespace
3 - Drop tablespace
4 - Alter tablespace
5 - Alter data file
6 - Move data file
7 - Additional space functions
8 - Reset program status
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR0662I Enter your choice:
4
Your choice: '4'
After this you can select the table space by selecting the options
Enter string value for "tablespace" []: Table name which you need to Alter
and select the options it will clearly mentioned
and followup the process
Thanks & regards
Sreedhar Reddy -
I want to connect a DataBase(oracle) through Tomcat5.
i want to connect a DataBase(oracle) through Tomcat5.
pls tell me the steps how can i do this .or pls give me any link
thanks previouslyThe bottom line is. If you can't figure this part out on your own then you have no business doing any JDBC programming anyway. Think of it as a minimal competency test to make sure it's safe for you to proceed. It isn't safe yet.
-
Problems doing an active Database duplication through RMAN
Hi,
I'm trying to do active Database duplication through RMAN (http://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmdupdb.htm#).
My OS is Sun Solaris 5
Oracle version: 11gR1 Database on a 11gR2 Grid.
I'm receiving the error
RMAN> connect auxiliary sys/sys@rac402
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-04006: error from auxiliary database: ORA-12528: TNS:listener: all appropriate instances are blocking new connections
I'm seeing the listeners are in blocked state as mt auxiliary Database is in nomount state.
Service "rac40" has 1 instance(s).
Instance "rac402", status BLOCKED, has 1 handler(s) for this service...
Service "rac40_XPT" has 1 instance(s).
Instance "rac402", status BLOCKED, has 1 handler(s) for this service...
If I connect directly, I'm able to connect ("connect auxiliary / " after setting ORACLE_SID)
But active RMAN is saying
RMAN-03002: failure of Duplicate Db command at 06/18/2012 01:37:14
RMAN-06217: not connected to auxiliary database with a net service name (I don't know why Oracle is so specific in connecting through net service name only!!!)
So, how could I move forward?? any help is greatly appreciated!!!
Thanks in advance.
Regards,
CSMHi ,
I have issue to active Database duplication issue and getting below error. Can someone suggest something on this error ?
RMAN> duplicate target database to 'ub305' from active database;
Starting Duplicate Db at 07-AUG-2012 13:33:22
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=2 device type=DISK
contents of Memory Script:
sql clone "create spfile from memory";
executing Memory Script
sql statement: create spfile from memory
contents of Memory Script:
shutdown clone immediate;
startup clone nomount;
executing Memory Script
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area 21512572928 bytes
Fixed Size 2235984 bytes
Variable Size 11005854128 bytes
Database Buffers 10468982784 bytes
Redo Buffers 35500032 bytes
contents of Memory Script:
sql clone "alter system set control_files =
''+DG_075_DATA01/ub305/controlfile/current.345.790692287'', ''+DG_075_FRA01/ub305/controlfile/current.292.790692289'' comment=
''Set by RMAN'' scope=spfile";
sql clone "alter system set db_name =
''UA305'' comment=
''Modified by RMAN duplicate'' scope=spfile";
sql clone "alter system set db_unique_name =
''UB305'' comment=
''Modified by RMAN duplicate'' scope=spfile";
shutdown clone immediate;
startup clone force nomount
backup as copy current controlfile auxiliary format '+DG_075_DATA01/ub305/controlfile/current.345.790692287';
restore clone controlfile to '+DG_075_FRA01/ub305/controlfile/current.292.790692289' from
'+DG_075_DATA01/ub305/controlfile/current.345.790692287';
sql clone "alter system set control_files =
''+DG_075_DATA01/ub305/controlfile/current.345.790692287'', ''+DG_075_FRA01/ub305/controlfile/current.292.790692289'' comment=
''Set by RMAN'' scope=spfile";
shutdown clone immediate;
startup clone nomount;
alter clone database mount;
executing Memory Script
sql statement: alter system set control_files = ''+DG_075_DATA01/ub305/controlfile/current.345.790692287'', ''+DG_075_FRA01/ub305/controlfile/current.292.790692289'' comment= ''Set by RMAN'' scope=spfile
sql statement: alter system set db_name = ''UA305'' comment= ''Modified by RMAN duplicate'' scope=spfile
sql statement: alter system set db_unique_name = ''UB305'' comment= ''Modified by RMAN duplicate'' scope=spfile
Oracle instance shut down
Oracle instance started
Total System Global Area 21512572928 bytes
Fixed Size 2235984 bytes
Variable Size 11005854128 bytes
Database Buffers 10468982784 bytes
Redo Buffers 35500032 bytes
Starting backup at 07-AUG-2012 13:34:11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=1333 instance=ua3051 device type=DISK
channel ORA_DISK_1: starting datafile copy
copying current control file
output file name=/u01/app/oracle/product/11.2.0/db_1/dbs/snapcf_ua3051.f tag=TAG20120807T133412 RECID=17 STAMP=790695252
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:03
Finished backup at 07-AUG-2012 13:34:15
Starting restore at 07-AUG-2012 13:34:15
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=2 device type=DISK
channel ORA_AUX_DISK_1: copied control file copy
Finished restore at 07-AUG-2012 13:34:16
sql statement: alter system set control_files = ''+DG_075_DATA01/ub305/controlfile/current.345.790692287'', ''+DG_075_FRA01/ub305/controlfile/current.292.790692289'' comment= ''Set by RMAN'' scope=spfile
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area 21512572928 bytes
Fixed Size 2235984 bytes
Variable Size 11005854128 bytes
Database Buffers 10468982784 bytes
Redo Buffers 35500032 bytes
database mounted
RMAN-05529: WARNING: DB_FILE_NAME_CONVERT resulted in invalid ASM names; names changed to disk group only.
contents of Memory Script:
set newname for datafile 1 to
"+dg_075_data01";
set newname for datafile 2 to
"+dg_075_data01";
set newname for datafile 3 to
"+dg_075_data01";
set newname for datafile 4 to
"+dg_075_data01";
set newname for datafile 5 to
"+dg_075_data01";
set newname for datafile 6 to
"+dg_075_data01";
set newname for datafile 7 to
"+dg_075_data01";
set newname for datafile 8 to
"+DG_075_DATA01/ub305/datafile/ts001_rsa.ora";
backup as copy reuse
datafile 1 auxiliary format
"+dg_075_data01" datafile
2 auxiliary format
"+dg_075_data01" datafile
3 auxiliary format
"+dg_075_data01" datafile
4 auxiliary format
"+dg_075_data01" datafile
5 auxiliary format
"+dg_075_data01" datafile
6 auxiliary format
"+dg_075_data01" datafile
7 auxiliary format
"+dg_075_data01" datafile
8 auxiliary format
"+DG_075_DATA01/ub305/datafile/ts001_rsa.ora" ;
sql 'alter system archive log current';
executing Memory Script
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting backup at 07-AUG-2012 13:34:46
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile copy
input datafile file number=00008 name=+DG_305_DATA01/ua305/datafile/ts001_rsa.ora
output file name=+DG_075_DATA01/ub305/datafile/ts001_rsa.ora tag=TAG20120807T133447
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:01:05
channel ORA_DISK_1: starting datafile copy
input datafile file number=00001 name=+DG_305_DATA01/ua305/datafile/system.256.788357663
output file name=+DG_075_DATA01/ub305/datafile/system.322.790695353 tag=TAG20120807T133447
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:07
channel ORA_DISK_1: starting datafile copy
input datafile file number=00002 name=+DG_305_DATA01/ua305/datafile/sysaux.257.788357663
output file name=+DG_075_DATA01/ub305/datafile/sysaux.321.790695359 tag=TAG20120807T133447
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:07
channel ORA_DISK_1: starting datafile copy
input datafile file number=00007 name=+DG_305_DATA01/ua305/datafile/ata_apm.271.788369355
output file name=+DG_075_DATA01/ub305/datafile/ata_apm.320.790695367 tag=TAG20120807T133447
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:07
channel ORA_DISK_1: starting datafile copy
input datafile file number=00003 name=+DG_305_DATA01/ua305/datafile/undotbs1.258.788357663
output file name=+DG_075_DATA01/ub305/datafile/undotbs1.319.790695373 tag=TAG20120807T133447
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:03
channel ORA_DISK_1: starting datafile copy
input datafile file number=00004 name=+DG_305_DATA01/ua305/datafile/users.259.788357663
output file name=+DG_075_DATA01/ub305/datafile/users.316.790695377 tag=TAG20120807T133447
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:03
channel ORA_DISK_1: starting datafile copy
input datafile file number=00005 name=+DG_305_DATA01/ua305/datafile/undotbs2.264.788357815
output file name=+DG_075_DATA01/ub305/datafile/undotbs2.315.790695381 tag=TAG20120807T133447
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:03
channel ORA_DISK_1: starting datafile copy
input datafile file number=00006 name=+DG_305_DATA01/ua305/datafile/ata_mds.270.788369353
output file name=+DG_075_DATA01/ub305/datafile/ata_mds.314.790695383 tag=TAG20120807T133447
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:01
Finished backup at 07-AUG-2012 13:36:24
sql statement: alter system archive log current
contents of Memory Script:
backup as copy reuse
archivelog like "+DG_305_FRA01/ua305/archivelog/2012_08_07/thread_1_seq_223.572.790694523" auxiliary format
"+DG_075_FRA01" archivelog like
"+DG_305_FRA01/ua305/archivelog/2012_08_07/thread_1_seq_224.573.790695385" auxiliary format
"+DG_075_FRA01" archivelog like
"+DG_305_FRA01/ua305/archivelog/2012_08_07/thread_2_seq_91.574.790695387" auxiliary format
"+DG_075_FRA01" ;
catalog clone recovery area;
switch clone datafile all;
executing Memory Script
Starting backup at 07-AUG-2012 13:36:30
using channel ORA_DISK_1
channel ORA_DISK_1: starting archived log copy
input archived log thread=1 sequence=223 RECID=311 STAMP=790694522
output file name=+DG_075_FRA01/ub305/archivelog/2012_08_07/thread_1_seq_223.299.790695391 RECID=0 STAMP=0
channel ORA_DISK_1: archived log copy complete, elapsed time: 00:00:01
channel ORA_DISK_1: starting archived log copy
input archived log thread=1 sequence=224 RECID=312 STAMP=790695384
output file name=+DG_075_FRA01/ub305/archivelog/2012_08_07/thread_1_seq_224.267.790695393 RECID=0 STAMP=0
channel ORA_DISK_1: archived log copy complete, elapsed time: 00:00:01
channel ORA_DISK_1: starting archived log copy
input archived log thread=2 sequence=91 RECID=313 STAMP=790695386
output file name=+DG_075_FRA01/ub305/archivelog/2012_08_07/thread_2_seq_91.283.790695393 RECID=0 STAMP=0
channel ORA_DISK_1: archived log copy complete, elapsed time: 00:00:01
Finished backup at 07-AUG-2012 13:36:34
searching for all files in the recovery area
List of Files Unknown to the Database
=====================================
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_1_seq_220.279.790692475
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_1_seq_221.312.790692477
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_1_seq_222.311.790692479
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_2_seq_89.310.790692479
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_2_seq_89.309.790694525
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_2_seq_90.261.790694527
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_1_seq_223.262.790694527
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_1_seq_223.299.790695391
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_1_seq_224.267.790695393
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_2_seq_91.283.790695393
File Name: +dg_075_fra01/UB305/CONTROLFILE/Current.289.790692289
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_1_seq_220.279.790692475
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_1_seq_221.312.790692477
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_1_seq_222.311.790692479
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_2_seq_89.310.790692479
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_2_seq_89.309.790694525
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_2_seq_90.261.790694527
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_1_seq_223.262.790694527
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_1_seq_223.299.790695391
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_1_seq_224.267.790695393
File Name: +dg_075_fra01/UB305/ARCHIVELOG/2012_08_07/thread_2_seq_91.283.790695393
List of Files Which Where Not Cataloged
=======================================
File Name: +dg_075_fra01/UB305/CONTROLFILE/Current.289.790692289
RMAN-07517: Reason: The file header is corrupted
datafile 1 switched to datafile copy
input datafile copy RECID=17 STAMP=790695395 file name=+DG_075_DATA01/ub305/datafile/system.322.790695353
datafile 2 switched to datafile copy
input datafile copy RECID=18 STAMP=790695395 file name=+DG_075_DATA01/ub305/datafile/sysaux.321.790695359
datafile 3 switched to datafile copy
input datafile copy RECID=19 STAMP=790695395 file name=+DG_075_DATA01/ub305/datafile/undotbs1.319.790695373
datafile 4 switched to datafile copy
input datafile copy RECID=20 STAMP=790695395 file name=+DG_075_DATA01/ub305/datafile/users.316.790695377
datafile 5 switched to datafile copy
input datafile copy RECID=21 STAMP=790695395 file name=+DG_075_DATA01/ub305/datafile/undotbs2.315.790695381
datafile 6 switched to datafile copy
input datafile copy RECID=22 STAMP=790695395 file name=+DG_075_DATA01/ub305/datafile/ata_mds.314.790695383
datafile 7 switched to datafile copy
input datafile copy RECID=23 STAMP=790695395 file name=+DG_075_DATA01/ub305/datafile/ata_apm.320.790695367
datafile 8 switched to datafile copy
input datafile copy RECID=24 STAMP=790695395 file name=+DG_075_DATA01/ub305/datafile/ts001_rsa.ora
contents of Memory Script:
set until scn 8950952;
recover
clone database
delete archivelog
executing Memory Script
executing command: SET until clause
Starting recover at 07-AUG-2012 13:36:35
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=191 device type=DISK
starting media recovery
archived log for thread 1 with sequence 224 is already on disk as file +DG_075_FRA01/ub305/archivelog/2012_08_07/thread_1_seq_224.267.790695393
archived log for thread 2 with sequence 91 is already on disk as file +DG_075_FRA01/ub305/archivelog/2012_08_07/thread_2_seq_91.283.790695393
archived log file name=+DG_075_FRA01/ub305/archivelog/2012_08_07/thread_1_seq_224.267.790695393 thread=1 sequence=224
archived log file name=+DG_075_FRA01/ub305/archivelog/2012_08_07/thread_2_seq_91.283.790695393 thread=2 sequence=91
media recovery complete, elapsed time: 00:00:01
Finished recover at 07-AUG-2012 13:36:38
Oracle instance started
Total System Global Area 21512572928 bytes
Fixed Size 2235984 bytes
Variable Size 11005854128 bytes
Database Buffers 10468982784 bytes
Redo Buffers 35500032 bytes
contents of Memory Script:
sql clone "alter system set db_name =
''UB305'' comment=
''Reset to original value by RMAN'' scope=spfile";
sql clone "alter system reset db_unique_name scope=spfile";
shutdown clone immediate;
startup clone nomount;
executing Memory Script
sql statement: alter system set db_name = ''UB305'' comment= ''Reset to original value by RMAN'' scope=spfile
sql statement: alter system reset db_unique_name scope=spfile
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area 21512572928 bytes
Fixed Size 2235984 bytes
Variable Size 11005854128 bytes
Database Buffers 10468982784 bytes
Redo Buffers 35500032 bytes
sql statement: CREATE CONTROLFILE REUSE SET DATABASE "UB305" RESETLOGS ARCHIVELOG
MAXLOGFILES 192
MAXLOGMEMBERS 3
MAXDATAFILES 1024
MAXINSTANCES 32
MAXLOGHISTORY 292
LOGFILE
GROUP 1 ( '+dg_075_fra01', '+dg_305_data01' ) SIZE 100 M REUSE,
GROUP 2 ( '+dg_075_fra01', '+dg_305_data01' ) SIZE 100 M REUSE
DATAFILE
'+DG_075_DATA01/ub305/datafile/system.322.790695353'
CHARACTER SET AL32UTF8
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 08/07/2012 13:37:18
RMAN-05501: aborting duplication of target database
RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE failed
ORA-00349: failure obtaining block size for '+dg_305_data01'
ORA-15001: diskgroup "DG_305_DATA01" does not exist or is not mounted -
Error Scenarios in Database Reorganization
I need to know what error scenarios may and will occur upon running Database Reorganization. For instance, the db reorg activity was halted in the middle. Some errors like that or something. Kindly provide error scenarios or worst case scenarios or any problematic scenario and kindly indicate the solution as well so that i could have ideas on what to expect and what to encounter during reorganization run.
Hello Jett,
what can happen during a reorganization?
Answer: All or nothing. All things that can occur at normal work can happen at a reorganization.
You need to think/clarify some things:
- Which kind of reorg is possible (online / offline) and which restrictions are on some tables
- How many disk space is needed by the reorg
- How do you monitor the reorg
- Look out for oracle bugs that corrupt the data while reorg
Which scenarios can occur at the reorg depends mostly on the type of rerorg and its objects (online / offline / LOB / LONG , and so on..)
Regards
Stefan -
Can i change the database connections through MAXL Scripts?
Hi,
just want to know whether i can change the database connections through MAXL Scripts. i am using essbase 9.3.1.Hi John,
I have built my rulefile by connecting to a database & now i want to change the database connections. I know i can change the database connections through frontend. ( File--> open file). I want to know whether i can change the database connections by writing any MAXL Scripts. -
Connecting to the database directly through OS login accont
Hi..
Could anyone explain me the steps for connecting to the database directly through OS login account.
Rgds
GeetaThese are the steps to authenticate the user using Operating system.But still i am not able to authenticate user using os.
Just try it out and let me know if you are able to authenticate.
1)create user ops$user1 identified by externally;
2)grant privileges.... to ops$user1;
3)In pfile edit the following parameter
os_authent_prefix=ops$
remote_os_authent=true
4)restart db;
5)#useradd -g dba -md /home/user1 user1
6)#su - user1
/home/user1/>$sqlplus
bash:command not found. -
Database Connection through Event Handler
Hi,
i wanted oim database connection through post event handlers . Any idea how to achieve this.
Thanks In Advance
Swati PandeyGot the solution.
- Swati Pandey -
Implementing RAC database backup through RMAN and grid control.
Hi...
plz... can any one give me good document (metalink documents id or else) to implement RAC database backup through RMAN. and also grid document...user8943492 wrote:
Hi...
plz... can any one give me good document (metalink documents id or else) to implement RAC database backup through RMAN. and also grid document...Read below links
http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/backup.htm#i443637
http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/rmanops.htm#i474611
http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/toc.htm
Maybe you are looking for
-
Download PDF file from APP server!
Hi! Has anyone tried uplaoding and downloding a PDF table from app server as I tried from a normal method by Open dataset, Transfer but it wont work. Please provide any inputs. Thanks.
-
Bapi for sfg dependent dem,snp planned order qty, and ppds planned orde qty
Hi Gurus, I am not much familiar with APO, so please help me, Input details: Field Value Planning Version 000 Source Location * 1001 Single/Multi Value Product * 1000061 Singl
-
Should i go for Windows 7 or 8 for rMBP mid 2012 model with BootCamp 5.0.1?
Hello! I recently got my 15'' rMBP 2.6Ghz with 8gb ram and 512gb SSD. (Manufactured on September 2012) Updated mac os x mountain lion to 10.8.2. Am in 'urgent' need of Windows OS to use ANSYS, and few of the high end CAD softwares like Solidworks, et
-
Word hyperlinks converted to PDF-open in new window???
I currently use Word 2007 to build indexes with hyperlinks and convert to PDF using Adobe Professional 9. I know how to set my Adobe preferences so that hyperlinks open in a new window, but I want to set this on the document level for each index I cr
-
After Restoring, not the same
I restored my iPod........when all the files were imported from iTunes, all the files are not in their playlist. The files are in very different play list in the iPod. How can I make sure they are in the same play list in the iPod as they are in iTun