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: What's the difference between pins and gets

Re: What's the difference between pins and gets

From: Anjali R <anjali_r_1999_at_yahoo.co.uk>
Date: Wed, 8 Nov 2000 12:33:35 +0300
Message-Id: <10674.121406@fatcity.com>


To find whether a statement is already cached, the Oracle server: 1 Reduces the statement to the numeric value of the ASCII text 2 Uses a hash function of this number

HTH,

> Hi Steve,
>
> how does Oracle determine that a needed object was previously located in
the
> library cache before it would be pinned ? Does Oracle use some information
> in the library cache or it firstly tries to 'get' the object ?
>
> Thanks in advance
>
> Ed
>
>
> >
> >
> > Hi Alex,
> >
> > A get is an attempt to locate an object in the library
> > cache. If it is not
> > found, it is loaded. Database object definitions are loaded
> > from the data
> > dictionary via the dictionary cache. Cursors are loaded by
> > parsing the statement
> > text.
> >
> > A pin is an attempt to use a previously located object in
> > the library cache. If
> > it has been aged out, then it must be reloaded.
> >
> > @ Regards,
> > @ Steve Adams
> > @ http://www.ixora.com.au/
> > @ http://www.christianity.net.au/
> >
> >
> > -----Original Message-----
> > Sent: Wednesday, 8 November 2000 16:20
> > To: Multiple recipients of list ORACLE-L
> >
> >
> > Hi Listers,
> >
> > Could anybody please explain about what is the difference
> > between gets
> > and pins and correspondingly between gethits and pinhits in the
> > v$librarycache view?
> >
> > Thank you,
> > AlexP
> >
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > --
> > Author: AlexP
> > INET: apot_at_canadawired.com
> >
> > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> > San Diego, California -- Public Internet access /
> > Mailing Lists
> > --------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from). You may
> > also send the HELP command for other information (like subscribing).
> >
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > --
> > Author: Steve Adams
> > INET: steve.adams_at_ixora.com.au
> >
> > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> > San Diego, California -- Public Internet access /
> > Mailing Lists
> > --------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from). You may
> > also send the HELP command for other information (like subscribing).
> >
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Shevtsov, Eduard
> INET: EShevtsov_at_flagship.ru
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).


Received on Wed Nov 08 2000 - 03:33:35 CST

Original text of this message

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