Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: ideas to use ora hash

Re: ideas to use ora hash

From: Jared Still <jkstill_at_gmail.com>
Date: Wed, 22 Mar 2006 12:20:38 -0800
Message-ID: <bf46380603221220x28a29ce6vd955931cd70d9e5e@mail.gmail.com>


Comments inline:

On 3/22/06, Glenn Santa Cruz <glenn.santacruz_at_gmail.com> wrote:
>
> At first glance, I'd guess this is much more CPU intensive than the
> table comparison technique Tom Kyte pointed out at
> http://www.oracle.com/technology/oramag/oracle/05-jan/o15asktom.html

Undoubtedly so. I've used that method a few times to compare table comments.

The question was whether get_hash_value could be used to do that, so that is what I did. Which was much more fun than a boring, simple, fast SQL statement. ;)

Both techniques would full-scan the tables, but the HASH_VALUE would
> have plenty of SQL to PL/SQL context switches. Of course, this is
> merely an opinion, and I'd certainly be interested in the results (may
> have to try this one on my own, later tonight.)
>
>

Hmmm. Define 'context switch', as that is not occurring, at least in the traditional sense of the term. (push registers onto stack, load new process, reload old process when done)

Jared

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Mar 22 2006 - 14:20:38 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US