Home » RDBMS Server » Server Utilities » "kfed read" online log outdated, while asmcmd cp is right (11.2.0.3.0 64bit)
"kfed read" online log outdated, while asmcmd cp is right [message #588392] Tue, 25 June 2013 08:59 Go to next message
51dunk
Messages: 8
Registered: August 2007
Junior Member
I'm testing to read online redo log directly from ASM disk.

While reading archived logs, my program works fine, but when I tested online log, I found it has error.
Then I found the file content of current online log is outdated, which means some blocks of redo log is updated.

And more, when I use "kfed read /dev/... aun=.. blkn=.. " to read specific allocation units, the bytes are also outdated.
But when I copy the file to file system using "asmcmd>cp ", the file is alright, it is updated.

I'm trying to find where asmcmd>cp is reading, but didn't find elsewhere till now.


So might need the guru in this forum to help.

Thank you.
Re: "kfed read" online log outdated, while asmcmd cp is right [message #588395 is a reply to message #588392] Tue, 25 June 2013 09:15 Go to previous messageGo to next message
Michel Cadot
Messages: 68624
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
OS?

Regards
Michel
Re: "kfed read" online log outdated, while asmcmd cp is right [message #588398 is a reply to message #588395] Tue, 25 June 2013 09:42 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
http://www.orafaq.com/usenet/comp.databases.oracle.server/2005/04/05/0229.htm
Re: "kfed read" online log outdated, while asmcmd cp is right [message #588452 is a reply to message #588398] Wed, 26 June 2013 00:37 Go to previous messageGo to next message
51dunk
Messages: 8
Registered: August 2007
Junior Member
TO Michel : OS: CentOS 6.3, 64bit version, kernel 2.6.32

TO BlackSwan : According to you link, what are you trying to say?
Re: "kfed read" online log outdated, while asmcmd cp is right [message #588456 is a reply to message #588452] Wed, 26 June 2013 01:12 Go to previous messageGo to next message
Michel Cadot
Messages: 68624
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Quote:
According to you link, what are you trying to say?


Maybe just adding some useful information to the topic?

I have one question, why do you need this?

Regards
Michel
Re: "kfed read" online log outdated, while asmcmd cp is right [message #588461 is a reply to message #588456] Wed, 26 June 2013 01:58 Go to previous messageGo to next message
51dunk
Messages: 8
Registered: August 2007
Junior Member
I wrote a program to extract information from redo log, so I need to get online log file content from ASM disk.

[EDITED by LF: removed unnecessary quote of the whole previous message]

[Updated on: Wed, 26 June 2013 01:59] by Moderator

Report message to a moderator

Re: "kfed read" online log outdated, while asmcmd cp is right [message #588474 is a reply to message #588461] Wed, 26 June 2013 02:38 Go to previous messageGo to next message
gazzag
Messages: 1118
Registered: November 2010
Location: Bedwas, UK
Senior Member

You seem to be trying to reinvent the wheel: http://docs.oracle.com/cd/B19306_01/server.102/b14215/logminer.htm


[EDITED by MC: removed unnecessary quote of the whole previous message]

[Updated on: Wed, 26 June 2013 02:51] by Moderator

Report message to a moderator

Re: "kfed read" online log outdated, while asmcmd cp is right [message #588481 is a reply to message #588474] Wed, 26 June 2013 03:01 Go to previous messageGo to next message
51dunk
Messages: 8
Registered: August 2007
Junior Member
Not exactly, more power over logminer, just like Oracle GoldenGate and Quest Shareplex

[EDITED by LF: removed unnecessary quote of the whole previous message]

[Updated on: Wed, 26 June 2013 05:28] by Moderator

Report message to a moderator

Re: "kfed read" online log outdated, while asmcmd cp is right [message #588482 is a reply to message #588481] Wed, 26 June 2013 03:03 Go to previous messageGo to next message
Michel Cadot
Messages: 68624
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
So you are trying to reinvent the wheel: GoldenGate or Quest Shareplex?

Regards
Michel

[Updated on: Wed, 26 June 2013 03:04]

Report message to a moderator

Re: "kfed read" online log outdated, while asmcmd cp is right [message #588493 is a reply to message #588482] Wed, 26 June 2013 03:57 Go to previous messageGo to next message
51dunk
Messages: 8
Registered: August 2007
Junior Member
Naturally, it is, and it was done while the redo logs resides in File System.

Now I am working on ASM situation, and archived logs was fetched correctly, but the online log is very strange.


[EDITED by LF: removed unnecessary quote of the whole previous message]

[Updated on: Wed, 26 June 2013 05:29] by Moderator

Report message to a moderator

Re: "kfed read" online log outdated, while asmcmd cp is right [message #588513 is a reply to message #588493] Wed, 26 June 2013 05:28 Go to previous messageGo to next message
Littlefoot
Messages: 21806
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
@51dunk, there's no need to quote the whole previous message. Post an ordinary reply (unless there's a reason for using quotes).

[Updated on: Wed, 26 June 2013 05:29]

Report message to a moderator

Re: "kfed read" online log outdated, while asmcmd cp is right [message #588693 is a reply to message #588513] Thu, 27 June 2013 07:49 Go to previous messageGo to next message
51dunk
Messages: 8
Registered: August 2007
Junior Member
Thank you for your advice lilfoot.


Finally, I worked out this problem by myself, it is a little tricky of online log in ASM.
Re: "kfed read" online log outdated, while asmcmd cp is right [message #588697 is a reply to message #588693] Thu, 27 June 2013 08:30 Go to previous messageGo to next message
Michel Cadot
Messages: 68624
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
How did you achieve it?
Can you explain.

Regards
Michel
Re: "kfed read" online log outdated, while asmcmd cp is right [message #588744 is a reply to message #588697] Thu, 27 June 2013 21:02 Go to previous messageGo to next message
51dunk
Messages: 8
Registered: August 2007
Junior Member
Which part do you interested in? The internal disk structure of ASM or the internal file structure of online redo log?
They both need a long paragraph to describe.
Re: "kfed read" online log outdated, while asmcmd cp is right [message #588751 is a reply to message #588744] Fri, 28 June 2013 00:24 Go to previous message
Michel Cadot
Messages: 68624
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Both.
I'm not in hurry, you can take all the time and lines you want to describe them. Smile

Regards
Michel
Previous Topic: want to perform impdp command for specific function
Next Topic: restore a package only with original import utility
Goto Forum:
  


Current Time: Thu Mar 28 08:02:18 CDT 2024