RE: RAC CR REQUEST RETRY - Which node is holding the data block?

  • From: Herring Dave - dherri <Dave.Herring@xxxxxxxxxx>
  • To: "Christopher.Taylor2@xxxxxxxxxxxx" <Christopher.Taylor2@xxxxxxxxxxxx>, "oracle-l@xxxxxxxxxxxxx" <oracle-l@xxxxxxxxxxxxx>
  • Date: Wed, 14 Nov 2012 17:03:30 +0000

Yes, that makes sense.  I assume that question is in the context of historical 
checking, so depending on cache size and activity the blocks may be already 
flushed by the time you check.  Ideally you could use 
X$OBJECT_AFFINITY_STATISTICS and GV$GCSPFMASTER_INFO to check on stats at the 
object-level in terms of where it's opened and any DRM activity, but like I 
mentioned those are object-level, not block level like what you're interested 
in.

DAVID HERRING
DBA
Acxiom Corporation
EML   dave.herring@xxxxxxxxxx
TEL    630.944.4762
MBL   630.430.5988 
1501 Opus Pl, Downers Grove, IL 60515, USA
WWW.ACXIOM.COM  

-----Original Message-----
From: Christopher.Taylor2@xxxxxxxxxxxx 
[mailto:Christopher.Taylor2@xxxxxxxxxxxx] 
Sent: Wednesday, November 14, 2012 10:51 AM
To: Herring Dave - dherri; oracle-l@xxxxxxxxxxxxx
Subject: RE: RAC CR REQUEST RETRY - Which node is holding the data block?

Thanks!

I would assume this needs to be run during the interval when the block request 
failures are occuring?

Chris

-----Original Message-----
From: Herring Dave - dherri [mailto:Dave.Herring@xxxxxxxxxx] 
Sent: Wednesday, November 14, 2012 10:49 AM
To: Taylor Christopher - Nashville; oracle-l@xxxxxxxxxxxxx
Subject: RE: RAC CR REQUEST RETRY - Which node is holding the data block?

Chris,

I've got a query I pulled from a paper by Riyaj Shamsudeen on DRM that may be 
of use:

SET NUMWIDTH 10
COL kjblname2 FORMAT A22
COL kjblowner HEADING 'Inst Owner|of Block'
COL kjblmaster HEADING 'Inst Master|of Block'
COL fl FORMAT 99999
COL blk FORMAT A10

SELECT kj.*, le.le_addr
  FROM (SELECT kjblname, kjblname2, kjblowner, kjblmaster, kjbllockp
             , SUBSTR(kjblname2, INSTR(kjblname2, ',') + 1, 
                                 INSTR(kjblname2, ',' , 1, 2) - 
INSTR(kjblname2, ',', 1, 1) - 1) / 65536 fl
             , SUBSTR(kjblname2, 1, INSTR(kjblname2, ',') - 1) blk 
          FROM x$kjbl) kj
     , x$le le
 WHERE le.le_kjbl = kj.kjbllockp
   AND (fl = <file# for block> AND blk = <block# in question>)  ORDER by 
le.le_addr;

The instance master keeps track of a block's state whereas the instance owner 
has the actual block in it's cache.

DAVID HERRING
DBA
Acxiom Corporation
EML   dave.herring@xxxxxxxxxx
TEL    630.944.4762
MBL   630.430.5988
1501 Opus Pl, Downers Grove, IL 60515, USA WWW.ACXIOM.COM  

-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On 
Behalf Of Christopher.Taylor2@xxxxxxxxxxxx
Sent: Tuesday, November 13, 2012 10:26 AM
To: oracle-l@xxxxxxxxxxxxx
Subject: RAC CR REQUEST RETRY - Which node is holding the data block?

Setup:
10.2.0.4 64-bit
RHEL 3 node RAC
node1 is requesting blocks for a transaction - either node2 or node3 is holding 
the block(s) that are being requested.
How can I determine which node(s) of the cluster are holding the requested 
block(s)?

Regards,

Chris Taylor
Oracle DBA
Parallon IT&S
christopher.taylor2@xxxxxxxxxxxx<mailto:christopher.taylor2@xxxxxxxxxxxx>
www.parallon.net



--
//www.freelists.org/webpage/oracle-l


***************************************************************************
The information contained in this communication is confidential, is intended 
only for the use of the recipient named above, and may be legally privileged.

If the reader of this message is not the intended recipient, you are hereby 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited.

If you have received this communication in error, please resend this 
communication to the sender and delete the original message or any copy of it 
from your computer system.

Thank You.
****************************************************************************

--
//www.freelists.org/webpage/oracle-l


Other related posts: