Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 17314 invoked from network); 7 Jul 2008 17:15:12 -0500
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by air964.startdedicated.com with SMTP; 7 Jul 2008 17:15:10 -0500
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 4911B86E19F;
 Mon,  7 Jul 2008 18:11:57 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 07510-08; Mon, 7 Jul 2008 18:11:57 -0400 (EDT)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id C139F87BEC8;
 Mon,  7 Jul 2008 18:11:56 -0400 (EDT)
Received: with ECARTIS (v1.0.0; list oracle-l); Mon, 07 Jul 2008 18:09:39 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 11B0687BC99
 for <oracle-l@freelists.org>; Mon,  7 Jul 2008 18:09:39 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 06425-10 for <oracle-l@freelists.org>;
 Mon, 7 Jul 2008 18:09:39 -0400 (EDT)
Received: from webmail3.sd.dreamhost.com (sd-green-dreamhost-133.dreamhost.com [208.97.187.133])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 6FE6987BC8E
 for <oracle-l@freelists.org>; Mon,  7 Jul 2008 18:09:37 -0400 (EDT)
Received: from webmail.dannorris.com (localhost [127.0.0.1])
 by webmail3.sd.dreamhost.com (Postfix) with ESMTP id C689114128
 for <oracle-l@freelists.org>; Mon,  7 Jul 2008 15:09:33 -0700 (PDT)
Received: from 208.177.140.5
        (SquirrelMail authenticated user dannorris@dannorris.com)
        by webmail.dannorris.com with HTTP;
        Mon, 7 Jul 2008 15:09:33 -0700 (PDT)
Message-ID: <10049.208.177.140.5.1215468573.squirrel@webmail.dannorris.com>
Date: Mon, 7 Jul 2008 15:09:33 -0700 (PDT)
Subject: received more blocks than served?
From: dannorris@dannorris.com
To: oracle-l@freelists.org
User-Agent: SquirrelMail/1.4.10a
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
X-archive-position: 9343
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: dannorris@dannorris.com
Precedence: normal
Reply-to: dannorris@dannorris.com
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain

I have a 3-node 10.2.0.3 RAC cluster on RH4. I was looking for
verification that I hadn't dropped any blocks between instances during GC
operations. So, I wanted to get a sum of all blocks sent, a sum of all
blocks received and they should be very close to equal.

What I see below has me perplexed. How can there be more blocks received
than served? That is, how can an instance receive more information than
was sent? Can a single block be served to multiple destinations? I don't
think so, but maybe that's where the magical block synthesis is coming
from?

It's a 3-node cluster, so there's no easy 1-to-1 mapping to be done.

I'm open for ideas...

  1  select sum(b2.value) "GCS CURR BLOCKS RECEIVED",
  2  sum(b1.value) "GCS CURR BLOCKS SERVED",
  3  (sum(b1.value)-sum(b2.value)) "SERVED - RECEIVED"
  4  from gv$sysstat b1, gv$sysstat b2
  5  where b1.name = 'gc current blocks served'
  6  and   b2.name = 'gc current blocks received'
  7* and   b1.inst_id = b2.inst_id

GCS CURR BLOCKS RECEIVED GCS CURR BLOCKS SERVED    SERVED - RECEIVED
------------------------ ---------------------- --------------------
	       628072519	      622037942 	    -6034577

Dan



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


