Question
If you have SAP on Oracle, then do you have a standby database?
Yes, SAP with physical standby
Yes, SAP with logical standby
Yes, SAP with physical and logical standby
No standby database for SAP
No SAP running
No idea or not applicable
Answer and see the results
Download PLATO
The free tool for auditing and tuning your database
Version 52 now available
Jul 12, 2010
The DBA-Village forum
Forum as RSS
as RSS feed
DBA Top 10
1 M. Cadot 147200
2 F. Pachot 130900
3 B. Vroman 75950
4 A. Kavsek 63050
5 T. Boles 52750
6 P. Wisse 52700
7 Z. Hudec 42100
8 A. Chavan 25100
9 A. Deledda 23700
10 V. Swamy 20525
About
Site Statistics
Ever registered41892
Total active users26382
Act. users last 24h75
Act. users last hour7
Hits last week4657
Hits last month21775
Go up

which redolog file member is read
Next thread: how setting db_cache_size
Prev thread: mutating problem

Message Score Author Date
Hi all, I want to optimize i/o on my database... ...... Genaro Mendez Apr 15, 2005
Hi, You can get this information from alert.log...... malay maru Apr 15, 2005
thanks Malay, from alert.log i can get the sequen...... Genaro Mendez Apr 15, 2005
Hi, I think ARC always takes the first member o...... Score: 300 PtsScore: 300 PtsScore: 300 PtsScore: 300 PtsScore: 300 Pts Michel Cadot Apr 15, 2005
As you suspect, "it alternate between the first an...... Score: 200 PtsScore: 200 PtsScore: 200 PtsScore: 200 PtsScore: 200 Pts Yong Huang Apr 19, 2005
Hi, Never trust anyone, always make your own te...... Michel Cadot Apr 19, 2005
I agree. You said what I should have said. Anot...... Score: 100 PtsScore: 100 PtsScore: 100 PtsScore: 100 PtsScore: 100 Pts Yong Huang Apr 19, 2005
Good point. Michel ... Michel Cadot Apr 19, 2005
This question was asked before on the Chinese DBA ...... Score: 200 PtsScore: 200 PtsScore: 200 PtsScore: 200 PtsScore: 200 Pts Yong Huang Apr 19, 2005
Thanks every body, i am going to check the meta...... Genaro Mendez Apr 19, 2005
Hi, I made a test on Oracle 9.2.0.4/HP-UX with ...... Michel Cadot Apr 20, 2005

Follow up by mail Click here


Subject: which redolog file member is read
Author: Genaro Mendez, Costa Rica
Date: Apr 15, 2005, 1967 days ago
Os info: Unix
Oracle info: 8.1.7.4
Message: Hi all,
I want to optimize i/o on my database...
how to know which redolog member of a group xx the ARCn process read?
for example:
group 1
redo_01a.log
redo_01b.log

group 2
redo_02a.log
redo_02b.log

is allways the member redo_01a.log and redo_02a.log who are read or it may change the next time?
I know oracle can read the second member when a read problem happen but it alternate between the first and second member of the same group with no trouble?

thanks.

Goto: Reply - Top of page 
If you think this item violates copyrights, please click here

Subject: Re: which redolog file member is read
Author: malay maru, India
Date: Apr 15, 2005, 1967 days ago
Message: Hi,

You can get this information from alert.log file of your database.

Malay
Your rating?: This reply is Good Excellent
Goto: Reply - Top of page 
If you think this item violates copyrights, please click here

Subject: Re: which redolog file member is read
Author: Genaro Mendez, Costa Rica
Date: Apr 15, 2005, 1967 days ago
Message: thanks Malay,
from alert.log i can get the sequence and the group number and i want to know the name of group's member.

thanks again.
Your rating?: This reply is Good Excellent
Goto: Reply - Top of page 
If you think this item violates copyrights, please click here

Subject: Re: which redolog file member is read
Author: Michel Cadot, France
Date: Apr 15, 2005, 1967 days ago
Score:   Score: 300 PtsScore: 300 PtsScore: 300 PtsScore: 300 PtsScore: 300 Pts
Message: Hi,

I think ARC always takes the first member of the group but the best way to know that is to put each member of a group on a different disk and iostat the disks under a small workload (for instance with a switch every 10 minutes) then you see which disk ARC read.

Regards
Michel


Your rating?: This reply is Good Excellent
Goto: Reply - Top of page 
If you think this item violates copyrights, please click here

Subject: Re: which redolog file member is read
Author: Yong Huang, United States
Date: Apr 19, 2005, 1963 days ago
Score:   Score: 200 PtsScore: 200 PtsScore: 200 PtsScore: 200 PtsScore: 200 Pts
Message: As you suspect, "it alternate between the first and second member of the same group with no trouble".

(How many people have spent hundreds of hours reading Rama Velpuri's under-appreciated backup and recovery book, other than the chapter of case studies? In this case, you can read p.75 of his Oracle8 edition.)

Yong Huang
Your rating?: This reply is Good Excellent
Goto: Reply - Top of page 
If you think this item violates copyrights, please click here

Subject: Re: which redolog file member is read
Author: Michel Cadot, France
Date: Apr 19, 2005, 1963 days ago
Message: Hi,

Never trust anyone, always make your own tests.
This is the only way to get the truth.

Btw, the behaviour may change between version.

Regards
Michel
Your rating?: This reply is Good Excellent
Goto: Reply - Top of page 
If you think this item violates copyrights, please click here

Subject: Re: which redolog file member is read
Author: Yong Huang, United States
Date: Apr 19, 2005, 1963 days ago
Score:   Score: 100 PtsScore: 100 PtsScore: 100 PtsScore: 100 PtsScore: 100 Pts
Message: I agree. You said what I should have said.

Another way to test is to simply run process trace on ARC process. For instance, on Solaris, we can try truss -t read -p <ARC pid>. The first argument of read() calls shown in output tells you what file it's reading. Combined with pfiles output (or better yet, lsof -p), you know which file it's reading.

Yong Huang
Your rating?: This reply is Good Excellent
Goto: Reply - Top of page 
If you think this item violates copyrights, please click here

Subject: Re: which redolog file member is read
Author: Michel Cadot, France
Date: Apr 19, 2005, 1963 days ago
Message:
Good point.

Michel
Your rating?: This reply is Good Excellent
Goto: Reply - Top of page 
If you think this item violates copyrights, please click here

Subject: Re: which redolog file member is read
Author: Yong Huang, United States
Date: Apr 19, 2005, 1963 days ago
Score:   Score: 200 PtsScore: 200 PtsScore: 200 PtsScore: 200 PtsScore: 200 Pts
Message: This question was asked before on the Chinese DBA forum but I didn't do real research. I just searched on Metalink. Note:45042.1 "Archiver Best Practices" has been cited multiple times by Oracle support analysts, particularly the paragraph beginning with

Having multiple members to a logfile group is also advisable. If there are multiple members, all members in a group are used to perform the archive process...

The note is last revised on 29-OCT-2002 so it may be outdated.

However, here's something that really got me interested. In thread 448634.999 in Mar 2003, and thread 370101.995 in May 2003, Melissa Holman questioned about that "round robin" mechanism in normal cases. Basically, she stated the same as Michel, i.e. ARC only reads the first member unless there's an error. Since the conclusion came from the development group, it's hard to disqualify it. She also said it's stated in Admin Guide. Unfortunately, she's the only analyst that says this. Others including Ken Robinson all quote "Archiver Best Practices" without the correction.

I'll do some test later and also check Admin Guide.

Yong Huang
Your rating?: This reply is Good Excellent
Goto: Reply - Top of page 
If you think this item violates copyrights, please click here

Subject: Re: which redolog file member is read
Author: Genaro Mendez, Costa Rica
Date: Apr 19, 2005, 1963 days ago
Message: Thanks every body,

i am going to check the metalink's notes and threads.
Your rating?: This reply is Good Excellent
Goto: Reply - Top of page 
If you think this item violates copyrights, please click here

Subject: Re: which redolog file member is read
Author: Michel Cadot, France
Date: Apr 20, 2005, 1962 days ago
Message: Hi,

I made a test on Oracle 9.2.0.4/HP-UX with tusc (ie truss) on 4 switch/archive logs. I had only 1 archiver process to make it easier to trace. 3 log groups with 2 members in each.

Conclusion : only the first member is read.

The process is the following one (skipping some lines):
- receiving a signal on semaphore
- writing into alert.log
- checking status and opening first member (stat, open, close, open, fcntl)
- checking status and opening second member
- reading second 1K of first member (lseek, read)
- reading second 1K of second member
- checking archived log directory and creating archived log
- writing into alert.log
- reading first 1M after 1K from first member (lseek, read)
- writing 1M to archived log
- reading next 1M from first member
- writing 1M to archived log
... until end of redo log
- closing archived log
- closing first member
- closing second member
- writing into alert.log
- waiting on semaphore

I can send tusc file to each one that is interesting in.

Regards
Michel
Your rating?: This reply is Good Excellent
Goto: Reply - Top of page 
If you think this item violates copyrights, please click here