One of RAC instance doesnt generate awr snapshot
Hi,
I have a problem about awr snapshots. One of RAC instance doesn t generate awr snapshot.
When I look over alert.log. I couldn t see any error message
is there anybody to have idea about this issue?
OS Level HP-UX ITANIUM 11.23
DB version Oracle RAC 10.2.0.4
Regards,
hi JohnWatson
thanks for your reply
I have run dbms_workload_respository.create_snapshot on both of two nodes.it has finished succesfully and I saw this record in the dba_hist_snapshot view
I haven t seen any error record in alert log and there isn t any trace file occured.
In other words, when I run this create snapshot command in working node, the snapshot of other node doesn t generate in the dba_hist_snapshot view
but when I run this command broken node (so it doesn t generate awr snapshot) manually , other node isn t triggered to generate awr snapshot,
SQL> exec dbms_workload_repository.create_snapshot ;
PL/SQL procedure successfully completed.
select instance_number,begin_interval_time,end_interval_time from dba_hist_snapshot where snap_id in(40274);
INSTANCE_NUMBER BEGIN_INTERVAL_TIME END_INTERVAL_TIME
1 16-JAN-13 01.00.54.450 AM 18-JAN-13 03.51.19.951 PM
2 18-JAN-13 03.43.02.430 PM 18-JAN-13 03.51.20.103 PM
regards,
Edited by: dataseven on 18.Oca.2013 06:19
Similar Messages
-
Can I create another RAC instance on the machines already have one.
Hi:
I already have an 2 nodes RAC(10.2) ,I want to Know can I create another RAC instance on the same machines. if not why?
thanks.913926 wrote:
I already have an 2 nodes RAC(10.2) ,I want to Know can I create another RAC instance on the same machines. if not why? Yes - you can run into brick walls too. At high speeds. But heck, is that a good idea? Why would you want to?
Oracle RAC scales how? By adding more servers (RAC cluster nodes) to the single RAC database.
What do you want to do? Add more databases to a single server.
How does that make sense ito performance, scalability, redundancy, availability, management and so on?
Also consider that a SQL-Server/mySQL database in the Oracle context is a schema. An Oracle schema can be a logical database. Fully self-contained. Fully separated from other logical databases in that physical database. A second or third or one hundredth logical database in Oracle means a second or third or one hundredth new database schema. Not instance. Not physical database. -
Cannot generate AWR/ADDM reports in Oracle 10g
Hi,
We are running 10.2.0.3.0 and troublshooted the performance problem for some queries. But when tried to run AWR/ADDM reports from OEM and got the following messages:
Insufficient Data in Interval. For displaying data on this page, two historical snapshots are needed. Make sure that two snapshots are present in the target database instance. In addition modify the interval so that it is contained within two available snapshots
I checked the scheduled jobs in this DB,
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Oracle Label Security and Data Mining options
SQL> select JOB_NAME from dba_scheduler_jobs;
JOB_NAME
PURGE_LOG
FGR$AUTOPURGE_JOB
GATHER_STATS_JOB
AUTO_SPACE_ADVISOR_JOB
Has anyone anyidea why AWR/ADDM reports cannot be run? Thanks
LizHi,
If you want you can execute snapshot at your required time as suggested by people.
However Oracle 10g by default take snap at every one hour.
To check
select snap_id, to_char(BEGIN_INTERVAL_TIME,'DD-MON-YYYY HH24:MI') BEGIN_INTERVAL_TIME,
to_char(END_INTERVAL_TIME,'DD-MON-YYYY HH24:MI') END_INTERVAL_TIME
from dba_hist_snapshot
You can generate AWR Report by executing following SQL, Connect as SYS
SQL> @$ORACLE_HOME/rdbms/admin/awrrpt.sql
Input required details it asks, you can get AWR report in HTML or text format.
ADDM Report:
@$ORACLE_HOME/rdbms/admin/addmrpt.sql -
Hi All,
DB - 10.2.0.4.0
I ned to generate AWR report for 30 minute time intervel. For expample, if I need to generate AWR report for the timmig 03:00 PM to 03:30 PM, DO I need to create snapshot manually at 3 pm and 3:30 pm.
exec dbms_workload_repository.create_snapshot(); at 03:00 PM
exec dbms_workload_repository.create_snapshot(); at 03:30 PM
Also, is there any way, if the current time is 01:00 pm and can we create snapshot for 03:00PM and 03:30 PM?
hare krishnaHi Hare,
http://www.dba-oracle.com/oracle10g_tuning/t_generating_awr_report.htm
The final AWR report can be built by using the PL/SQL API provided in the dbms_workload_repository package.
Two procedures that generate AWR reports are awr_report_text and awr_report_html . These procedures generate the AWR report for the specified snapshot range in TEXT or HTML formats, respectively. The following script shows one way of retrieving the AWR text report for the particular snapshot range:
SELECT
output
FROM
TABLE
(dbms_workload_repository.awr_report_text
(37933856,1,2900,2911 )
If you want complete working scripts to generate AWR reports, I have them in the code depot of my Oracle Tuning book:
http://www.rampant-books.com/t_oracle_tuning_book.htm
Hope this helps . . .
Donald K. Burleson
Oracle Press author -
Communication between RAC instances
Hi,
I see different answers for this Communication between RAC instances in google.
1. UDP
2.Distributed Lock Manager (DLM)
which one of is correct?both of them are correct on different layers. The IP protocol used over the interconnect is udp and one of the protocols/mechanism implemented above that is DLM.
-
Communication between RAC instances in google.
Hi,
I see different answers for this Communication between RAC instances in google.
1. UDP
2.Distributed Lock Manager (DLM)
which one of is correct?Pl do not post duplicate threads - Communication between RAC instances
Srini -
Transactional Replication - Generate a snapshot for a new art only
I will apreciate any help on this, thanks ahead!
We are running the below script that works well for us at dev and other environments but when running on prod the generated snapshot is for all articles in the publication rather than the desired results, for the new art only.
I have copied below the code being used.
SET NOCOUNT ON; SET TRANSACTION ISOLATION LEVEL READ COMMITTED;
DECLARE @rc int, @publication sysname, @article sysname, @subscriber sysname, @destination_db sysname
,@delete_article_from_replication_configuration bit ,@debug bit = 1;
SELECT @publication = N'MyPub'
,@destination_db = N'dest_database'
,@subscriber = N'MyServer'
SELECT @article = N'MyArt'
-- SET immediate_sync and allow_anonymous to false
EXEC sp_changepublication
@publication = @publication,
@property = N'immediate_sync',
@value = N'false';
EXEC sp_changepublication
@publication = @publication,
@property = N'allow_anonymous',
@value = N'false';
-- add article
DECLARE @error_message nvarchar(4000);
IF NOT EXISTS (SELECT * FROM dbo.sysarticles a INNER JOIN dbo.syspublications p ON a.pubid = p.pubid WHERE a.name = @article AND p.name = @publication)
BEGIN;
EXEC @rc = sp_addarticle
@publication = @publication
,@article = @article
,@source_owner = N'dbo'
,@source_object = @article
,@destination_table = @article
,@type = N'logbased'
,@creation_script = null
,@description = null
,@pre_creation_cmd = N'none'
,@schema_option = 0x000000000803100D /* 0x000000000803FFDF */
,@status = 16 /* 8 */
,@vertical_partition = N'false'
,@ins_cmd = N'SQL'
,@del_cmd = N'SQL'
,@upd_cmd = N'SQL'
,@filter = null
,@sync_object = null
,@auto_identity_range = N'false'
,@identityrangemanagementoption = N'manual';
IF ( (@@ERROR <> 0) OR (@rc <> 0) )
BEGIN;
SELECT @error_message = ERROR_MESSAGE(); RAISERROR(@error_message, 16, 1);
IF (@@TRANCOUNT > 0) ROLLBACK TRAN; RETURN;
END;
PRINT 'The article ''' + @article + ''' has been added to publication ''' + @publication + '''';
END;
-- add subscription
IF NOT EXISTS (SELECT * from syssubscriptions WHERE dest_db NOT LIKE 'virtual' AND srvname LIKE @subscriber AND artid IN
(SELECT artid FROM dbo.sysarticles a INNER JOIN dbo.syspublications p ON a.pubid = p.pubid WHERE a.name = @article AND p.name = @publication ))
BEGIN;
EXEC @rc = sp_addsubscription
@publication = @publication
,@subscriber = @subscriber
,@destination_db = @destination_db
,@subscription_type = N'Pull'
,@sync_type = N'automatic'
--,@sync_type = N'replication support only'
,@article = @article
,@update_mode = N'read only'
,@subscriber_type = 0
,@subscriptionstreams = 4;
IF ( (@@ERROR <> 0) OR (@rc <> 0) )
BEGIN;
SELECT @error_message = ERROR_MESSAGE(); RAISERROR(@error_message, 16, 1);
IF (@@TRANCOUNT > 0) ROLLBACK TRAN; RETURN;
END;
PRINT 'The subscription ''' + @subscriber + ''' for article ''' + @article + ''' has been created''';
END;
EXEC sp_changepublication
@publication = @publication
,@property = N'sync_method'
,@value = N'native'
,@force_invalidate_snapshot = 0
,@force_reinit_subscription = 0;
-- create snapshot
EXEC sp_addpublication_snapshot
@publication = @publication
,@frequency_type = 1
,@frequency_interval = 1
,@frequency_relative_interval = 0
,@frequency_recurrence_factor = 0
,@frequency_subday = 0
,@frequency_subday_interval = 0
,@active_start_time_of_day = 0
,@active_end_time_of_day = 235959
,@active_start_date = 0
,@active_end_date = 0;
Yaniv Etrogi
site |
blog | linked in |
mail
Please click the Mark as Answer button if a post solves your problem! or
Vote As HelpfulHello,
1. Verify if you are using CONCURRENT or NATIVE method for synchronization by running the following command.
Use yourdb
select sync_method from syspublications
If the value is 3 or 4 then it is CONCURRENT and if it is 0 then it is NATIVE.
For more information check
http://msdn.microsoft.com/en-us/library/ms189805.aspx
2) Then add the subscription for this new article using the following command
EXEC sp_addsubscription @publication = 'yourpublication', @article = 'test',
@subscriber =‘subs_servername', @destination_db = 'subs_DBNAME',
@reserved='Internal'
If you are using the NATIVE method for synchronization then the parameter
@reserved=’Internal’ is optional but there is no harm in using it anyways. But if it is CONCURRENT then you have to use that parameter. Else the next time you run the snapshot agent it is going to generate a snapshot for all the articles.
Lastly start the SNAPSHOT AGENT job from the job activity monitor. To find
the job name follow these steps.
· select * from msdb..sysjobs where name like '%yourpublication%'
· Right click on each of those jobs and find which one contains the step
‘Snapshot Agent startup message’. This is the job that you want to
start from the first step.
3. Verify that the snapshot was generated for only one article.
Regards, Pradyothana DP. Please Mark This As Answer if it solved your issue. Please Mark This As Helpful if it helps to solve your issue. ========================================================== http://www.dbainhouse.blogspot.in/ -
Multiple databases in one single RAC cluster
Hi, I would like to know if one can have multiple databases running on a single RAC cluster, we have several databases in our shop and would like to consolidate all of them into a single 3-4 node RAC cluster running databases with 10.2 and 11.1 versions.
I am newbie to RAC and would like to get some clarification if anyone has done this, google search comes up with few hits on this topic, so obviously this is not doable.
In our case we have one database supporting critical applications and few other not so critical but are used very extensively between 9-5, so what is the use of RAC if I cannot consolidate all my databases into one cluster, or if I need a separate cluster for each of these critical databases?
I have been all the Oracle docs that keep repeating one database multiple instances and one instance-one machine-one node, they don't even advise running multiple instances on a single node?.
I appreciate any insight.
Thanks.ora-sql-dba wrote:
Can you give more details on how you would setup multiple databases running different versions on a single RAC cluster, I am yet to find any documentation that supports or even elaborates on this topic.You can configure a cluster with 12 nodes. Then, using dbca, configure a dev instance for nodes 1 and 2, a prod1 instance for nodes 3 to 6 and a prod2 instance for nodes 7 to 12.
You also can configure each of these instances for all 12 nodes. And use it on all 12 nodes.
Or, after configuring it for all 12 nodes, you can start the dev instance on nodes 1 and 2, prod1 on 3 - 6 and prod2 on the remaining nodes. If dev needs more power, you can for example shutdown prod2 on node 12 and start another dev instance there.
My issue is with the 2nd option - running more than one instance on the same node or server. Why? Each instance has a basic resource footprint ito shared memory needed, system processes required (like db writer, log writer, sys monitor) etc. It does not make sense to pay for that same footprint more than once on a server. Each time you do, you need to reduce the amount of resources that can be used by each instance.
So instead of using (for example) 60% of that server's memory as the SGA for a single instance, if you use 2 instances on that server you now have to reduce the SGA of each to 30% of system memory. Effectively crippling those instances by 50% - they will now have smaller buffer caches, require more physical I/O and be more limited in what they can do.
So unless you have very sound technical reasons for running more than one instance on a server (RAC or non-RAC), do not. -
We have Oracle Databases 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production running on Linux x86 64-bit
It is a two instance RAC running on servers, let's say - node1 and node2 . We are using ASM
Node 1 has an ASM instance ASM1 and Node 2 has an ASM instance ASM2.
There are 3 11g rdbms databases running on these nodes.
Instances db11,db21,db31 are running on node 1 and corresponding RAC instances db12,db22,db32 are running on node 2
The listeners are configured exactly the same on both nodes.
On Node 2, when I do
[oracle@node2 admin]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 19-NOV-2010 14:34:34
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 15-NOV-2010 13:33:49
Uptime 4 days 1 hr. 0 min. 44 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/oracle/product/11.2.0/grid/network/admin/listener.ora
Listener Log File /opt/app/oracle/diag/tnslsnr/node2/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.7.42)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.7.52)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM2", status READY, has 1 handler(s) for this service...
Service "db1" has 2 instance(s).
Instance "db11", status READY, has 1 handler(s) for this service...
Instance "db12", status READY, has 2 handler(s) for this service...
Service "db2" has 2 instance(s).
Instance "db21", status READY, has 1 handler(s) for this service...
Instance "db22", status READY, has 2 handler(s) for this service...
Service "db3" has 2 instance(s).
Instance "db31", status READY, has 1 handler(s) for this service...
Instance "db32", status READY, has 2 handler(s) for this service...
The command completed successfullyThe above looks good which is what should be the case.
Now, if I try doing the same on node 1 (and this is where I am concerned)
[oracle@node1 admin]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 19-NOV-2010 14:41:45
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 19-NOV-2010 03:20:44
Uptime 0 days 11 hr. 21 min. 1 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/oracle/product/11.2.0/grid/network/admin/listener.ora
Listener Log File /opt/app/oracle/diag/tnslsnr/node1/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.7.41)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.7.51)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
Service "db1" has 1 instance(s).
Instance "db11", status READY, has 2 handler(s) for this service...
Service "db2" has 1 instance(s).
Instance "db21", status READY, has 2 handler(s) for this service...
Service "db3" has 1 instance(s).
Instance "db31", status READY, has 2 handler(s) for this service...
The command completed successfullyThe node 1 does not seem to report the fact that each of these 3 databases have 2 instances and also does not list its other instances besides the ones running on it. Any ideas or suggestions as to where to look?One problem is here
The listeners are configured exactly the same on both nodes.This is incorrect, as the listeners need to have different names.
They need to have different names as listener_node1 is the remote_listener for node 2 and vice versa.
The correct set up is:
The listener name is node dependent.
The listener definition
listener_<node>=(host=)(protocol=)(port=)
is included in tnsnames.ora
the remote_listener parameter is set to the listener of the other node.
Using hardcoded IPs in listener.ora and tnsnames.ora is a bad idea.
Not sure why you don't ask this question in the RAC forum.
Sybrand Bakker
Senior Oracle DBA -
Dear all,
My version is 11.2.0.2.5 one of my rac instance crashes with message ORA-00240: control file enqueue held for more than 120 seconds. Received an instance abort message from instance 1.
here are the contents of alert log file
IPC Send timeout detected. Receiver ospid 27423 [[email protected] (LMON)]
2013-03-22 22:30:05.644000 -07:00
Errors in file /u01/app/oracle/diag/rdbms/lfgoimdb/LFGoimdb2/trace/LFGoimdb2_lmon_27423.trc:
2013-03-22 22:31:08.734000 -07:00
Errors in file /u01/app/oracle/diag/rdbms/lfgoimdb/LFGoimdb2/trace/LFGoimdb2_arc2_27691.trc (incident=15905):
ORA-00240: control file enqueue held for more than 120 seconds
Incident details in: /u01/app/oracle/diag/rdbms/lfgoimdb/LFGoimdb2/incident/incdir_15905/LFGoimdb2_arc2_27691_i15905.trc
2013-03-22 22:31:13.409000 -07:00
Received an instance abort message from instance 1
Please check instance 1 alert and LMON trace files for detail.
LMS0 (ospid: 27427): terminating the instance due to error 481
System state dump requested by (instance=2, osid=27427 (LMS0)), summary=[abnormal instance termination].
System State dumped to trace file /u01/app/oracle/diag/rdbms/lfgoimdb/LFGoimdb2/trace/LFGoimdb2_diag_27413.trc
2013-03-22 22:31:18.376000 -07:00
Dumping diagnostic data in directory=[cdmp_20130322223113], requested by (instance=2, osid=27427 (LMS0)), summary=[abnormal instance termination].
ORA-1092 : opitsk aborting process
Instance terminated by LMS0, pid = 27427Thanks for reply,
My redo logs size is default 50mb.There is currently no load on the system since we are not using this environment for time being.The log switches are averaged to be 8 per day.I think Increasing the size of redo will further cause the problems since the archiver may again hold lock for more time.
Since there is no dedicated connection between the nodes and storage ,So increasing the hardware and network configuration is only solution to this? Or I am still missing something...
As far as configuration is considered i cannot add more resources to this environment.How can I solve this issue? -
Multiple Orchestration instances getting generated
I had a orchestration which query's for a particular WCF Service, If this service is live, then no issue, let's say a scenario where the
service is down, then control will goto my exception block, inside exception block i had a suspended shape, just to suspend the instance, so that when the service the up, the Biz Admin will again resume the service.
The issue we are facing is when service is down, Multiple Orchestration instances keep on generating, to talk to the service we are using a
dynamic port, we are setting the properties of the port inside expression shape "TransportType" "Address".
any pointers on resolving the issue(we just want one suspended orchestration instance) not multiple instances being generated,It a normal behavior and happens when your receive location is being triggered by messages and your service is down .The service will give a exception and you are getting suspended messages inside your BizTalk.
Better way is to have a sequential convoy working for your Scenario having delay shape .You can also have a loop shape which will be used to auto trigger the service after the delay time specified in delay shape.
Another approach is to use ping pong tool to validate the web service . What you need to do is to add the ping pong assembly in your Orchestration and send request to web service.
https://gallery.technet.microsoft.com/WebService-PingPong-f734800e
Thanks
Abhishek -
AWR snapshot not generatedand how to compare statistics with a baseline
01. AWR snapshot not being generated even after setting looks fine
02. compare a captured set of statistics with a baseline.
i m not much clear on this, please help as i have this requirement at hand.
Thanks a lot in advance.01.
SQL> show parameter statis
NAME TYPE VALUE
statistics_level string TYPICAL
I explicitly run and did cntl^C as it looks running endless... (waited almost 2-3 hours).
SQL> exec dbms_workload_repository.create_snapshot;
^CBEGIN dbms_workload_repository.create_snapshot; END;
ERROR at line 1:
ORA-01013: user requested cancel of current operation
looks like job_name is enabled.
GATHER_STATS_JOB TRUE WEEKNIGHT_WINDOW
freq=daily;byday=MON,TUE,WED,THU,FRI;byhour=22;byminute=0; bysecond=0
GATHER_STATS_JOB TRUE WEEKEND_WINDOW
freq=daily;byday=SAT;byhour=0;byminute=0;bysecond=0
anything else can be checked, i dont have access to OEM..must be done at SQL prompt.
02. thanks for info. i understand.. how do we compare set of snapshots with baseline(which is actually pair/range of snapshot kept for further comparison)
no access to OEM. must be done at SQL prompt.
please help in both. thanks ... -
RAC instance, trying to recover UNDO datafile, RMAN gives RMAN-06054
Hello all,
This has been a troublesome instance..a quick bit of background. This was created awhile back by someone else, I inherited this 3 mode RAC clusterof instance1.
I'm exporting out of one database (10G) into this instance1 (11G). When I was about to start the import..I found this instance wouldn't start. Turned out no backup had been going on of this empty instance. I backed up the archive logs to tape to free up the FRA..and things fired up.
I began the import, and found a bunch of errors...basically tellling me that I couldn't access one of the undo tablespaces...datafile problems.
I went to look and saw:
SQL> select a.file_name, a.file_id, b.status, a.tablespace_name
2 from dba_data_files a, v$datafile b
3 where a.file_id = b.file#
4 order by a.file_name;
FILE_NAME FILE_ID STATUS TABLESPACE_NAME
+DATADG/instance1/datafile/sysaux.270.696702269 2 ONLINE SYSAUX
+DATADG/instance1/datafile/system.263.696702253 1 SYSTEM SYSTEM
+DATADG/instance1/datafile/undotbs1.257.696702279 3 ONLINE UNDOTBS1
+DATADG/instance1/datafile/undotbs2.266.696702305 4 ONLINE UNDOTBS2
+DATADG/instance1/datafile/undotbs3.269.696702313 5 RECOVER UNDOTBS3
+DATADG/instance1/datafile/users.268.696702321 6 ONLINE USERS
+DATADG/instance1/l_data_01_01 11 ONLINE L_DATA_01
+DATADG/instance1/s_data_01_01 7 ONLINE S_DATA_01
+DATADG/instance1/s_data_01_02 8 ONLINE S_DATA_01
+INDEXDG/instance1/l_index_01_01 12 ONLINE L_INDEX_01
+INDEXDG/instance1/s_index_01_01 9 ONLINE S_INDEX_01
FILE_NAME FILE_ID STATUS TABLESPACE_NAME
+INDEXDG/instance1/s_index_01_02 10 ONLINE S_INDEX_01
There is is, file #5.
So, I went into RMAN to try to restore/recover:
RMAN> restore datafile 5;
Starting restore at 06-APR-10
allocated channel: ORA_SBT_TAPE_1
channel ORA_SBT_TAPE_1: SID=222 instance=instance1 device type=SBT_TAPE
channel ORA_SBT_TAPE_1: NMO v4.5.0.0
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=222 instance=instance1 device type=DISK
creating datafile file number=5 name=+DATADG/instance1/datafile/undotbs3.269.696702313
restore not done; all files read only, offline, or already restored
Finished restore at 06-APR-10
RMAN> recover datafile 5;
Starting recover at 06-APR-10
using channel ORA_SBT_TAPE_1
using channel ORA_DISK_1
starting media recovery
RMAN-06560: WARNING: backup set with key 343546 will be read 2 times
available space of 8315779 kb needed to avoid reading the backup set multiple times
unable to find archived log
archived log thread=1 sequence=1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 04/06/2010 14:33:07
RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 1 and starting SCN of 16016
This is all on ASM, and am a bit of a newb with that. I bascially have no data I'm worried about losing, I just need to get everything 'on the air' so I can import successfully, and let users on this instance. I've set up the backups in GRID now....so, it will be backed up on the future, but what is the quickest, most efficient way to get this UNDO tablespace datafile recovered?
Thank you,
cayenneHemant K Chitale wrote:
SET UNTIL SEQUENCE 27wouldn't work if the Recovery requires Sequence 1 and it is missing.
Hemant K ChitaleOops...meant to have start and set until both to "1"
However, I see what you mean. It seems I cannot find the file on tape.
Since the RAC instance hasn't yet had any data put into it, I'm thinking it might be best to just blow it away, and recreate everything.
Trouble is, I'm a bit new at RAC and ASM. I was thinking the best route might be to use DBCA to remove the database...? Would this not take care of removing all the datafiles from all the ASM instances on the RAC..as well as all the other directories, etc on all 3x nodes?
I've already used the dbca to create templates of this instance, so recreation shouldn't be too difficult (although it will be my first RAC creation)...
Thank you in advance for the advice so far,
cayenne -
Getting error while starting the RAC instance through SRVCTL utility
Hi DBA's,
We are getting the below error while starting the Orcale 10g RAC instance on one of the node thru SRVCTL:
oracle:/home/oracle]>srvctl start instance -d SQLTSTM2 -i SQLTSTM21
PRKP-1001 : Error starting instance SQLTSTM21 on node r1racd
CRS-1028: Dependency analysis failed because of:
CRS-0223: Resource 'ora.SQLTSTM2.SQLTSTM21.inst' has placement error.
:oracle:/home/oracle]>
srvctl status database -d SQLTSTM2
PRKO-2015 : Error in checking condition of instance on node: r1racd
Instance SQLTSTM22 is running on node r2racd
oracle:/opt/oracle/product/10.2.0/db]>
NOTE: but i am able to start the instance thru SQLPLUS.
After starting the instance thru SQLPLUS i checked the CRS_STAT -t . It shows the status offline... Please find the details below:
Name Type Target State Host
ora....21.inst application OFFLINE OFFLINE
ora....22.inst application ONLINE ONLINE r2racd
ora....VLM2.db application ONLINE ONLINE r2racd
ora....21.inst application ONLINE ONLINE r1racd
ora....22.inst application ONLINE ONLINE r2racd
ora....STM2.db application ONLINE ONLINE r2racd
ora....SM1.asm application ONLINE ONLINE r1racd
ora....CD.lsnr application ONLINE ONLINE r1racd
ora.r1racd.gsd application ONLINE ONLINE r1racd
ora.r1racd.ons application ONLINE ONLINE r1racd
ora.r1racd.vip application ONLINE ONLINE r1racd
ora....SM2.asm application ONLINE ONLINE r2racd
ora....CD.lsnr application ONLINE ONLINE r2racd
ora.r2racd.gsd application ONLINE ONLINE r2racd
ora.r2racd.ons application ONLINE ONLINE r2racd
ora.r2racd.vip application ONLINE ONLINE r2racd
Thanks in advance...
AnilUse the 'srvctl config database -d ' command to check if the instance has been configured in the Oracle Cluster Registry; make sure that the GSDs are running on each node in the cluster.
Also refere to Metalink note 295328.1 -
Max Connections to Oracle 10g RAC Instance
Hi,
We have IBM Websphere Application Server on one unix server which is connecting to a Oracle 10g RAC Instance which is on a different unix server through JDBC connection. They(Application Team) are doing stress tests, please tell me how many connections can a Oracle Database Allow simultaneously. They tested for 2000 connections simultaneously. It failed...This is urgent, they are on call please reply ASAP
Thanks,Use Oracle Shared Server (the default is Dedicated Server),
I've shown JBOSS app developers how a little Dell desktop (256MB RAM, 1.7Ghz P4) can accept a 1000 app server connections (using Shared Server). While a big HP-UX server failed to accept 200 connections (using Dedicated Server).
Oracle RAC should easily be able to handle 100+ concurrent client OLTP connections per RAC node using Shared Server - assuming that each of the concurrent sessions are actually doing stuff and not just sitting there idle. (if 99.99% of the connections are idle, then even a little desktop Oracle database can handle well over a 1000)
Bottomline - you must have your primary focus and expertise on Oracle. On the the data tier. Not the app tier. The data tier is what scales the app tier. Not vice versa. Adding an extra app tier server does not enable the data tier platform to suddenly be able to run more SQLs, The app tier does not scale the data tier.
If you want performance and scalability, you must get the data tier right. App tier be damned as that is neither here nor there ito performance and scalability. This means Oracle expertise is required first and foremost.
Maybe you are looking for
-
Hi, i have a doubt, can i have my pdf files on my sd, edit them while in class with no internet connection and when back online they will sync, all i want is to able to open my files without wifi and edit them but when back online sync their changes
-
How to do Subsitution of Tables
I need to looking for every tables that have one column with the same name. (Select table_name from dba_tab_columns where column_name like 'ACCOUNTING') After, I need to looking for each one tables a value into that column. But my problem is how to d
-
Message missing from alert box & Can you disable everything until user selects an answer?
Question 1 - My alert box window is working, and the title and buttons function as they should, but does anyone know why my message is not showing up? Question 2 - How do you program the alert box window so that no other buttons on your application w
-
I cant find my Airport Express any longer under Wi Fi in my iPhone but it works in ipad and my imac? I also get a message that I cant listen to music from itunes in my speakers in the other room that have been worked before?
-
I got a iPod nano about a month ago, and installed iTunes on my PC. All is well so far... until I try to shut down. The computer restarts instead. After installing and unistalling iTunes from the cd and apple.com nothing changes. I've tried shuting d