about v$librarycache [message #265275] |
Wed, 05 September 2007 23:50  |
alantany
Messages: 115 Registered: July 2007
|
Senior Member |
|
|
Hello,all!
SQL> select namespace,pins,pinhits,reloads,invalidations from v$librarycache order by namespace;
NAMESPACE PINS PINHITS RELOADS INVALIDATIONS
--------------- ---------- ---------- ---------- -------------
SQL AREA 526476359 3817291641 24827833 244755
I noticed that the PINS<>PINHITS+RELOADS+INVALIDATIONS
even more,the PINHITS is much larger then the PIN
Why?
Regards!
Alan
|
|
|
|
|
Re: about v$librarycache [message #265321 is a reply to message #265278] |
Thu, 06 September 2007 02:19   |
alantany
Messages: 115 Registered: July 2007
|
Senior Member |
|
|
Thanks,Arju!
But I still confuzed with PINS and PINHITS?
I think if a pin was get successfully,PINHITS will plus 1,otherwise,reloads will plus 1,please kindly correct me.
Regards!
Alan
|
|
|
|
Re: about v$librarycache [message #265355 is a reply to message #265326] |
Thu, 06 September 2007 03:05   |
alantany
Messages: 115 Registered: July 2007
|
Senior Member |
|
|
Michel Cadot wrote on Thu, 06 September 2007 02:24 | The first load is not a reload, for instance.
Regards
Michel
|
Thanks,Michel!
But of my case,the reloads is much larger than PINs.
NAMESPACE PINS PINHITS RELOADS INVALIDATIONS
--------------- ---------- ---------- ---------- -------------
SQL AREA [B]526476359 3817291641[/B] 24827833 244755
Why?
Regards!
Alan
|
|
|
|
|
Re: about v$librarycache [message #265390 is a reply to message #265366] |
Thu, 06 September 2007 04:21   |
alantany
Messages: 115 Registered: July 2007
|
Senior Member |
|
|
Arju wrote on Thu, 06 September 2007 03:26 | Quote: | But of my case,the reloads is much larger than PINs.
NAMESPACE PINS PINHITS RELOADS INVALIDATIONS
--------------- ---------- ---------- ---------- -------------
SQL AREA 552647639 3817291641 24827833 244755
|
I don't see.
In your example RELOAD=24827833
and PINS=526476359
Which is larger?
|
I am very sorry for my stupid.
I just want to say here the PINHITS is much large than the PINS,I think when there is a pin,the PIN will plus 1,if it success,PINHITS plus 1,so PINs will always >= PINHITs,YES?
But ,here,the PINS=552647639 and PINHITS=3817291641
Why?
Regards!
Alan
|
|
|
|
Re: about v$librarycache [message #265508 is a reply to message #265326] |
Thu, 06 September 2007 08:36   |
alantany
Messages: 115 Registered: July 2007
|
Senior Member |
|
|
Thanks!Michel:
Yes,I think it is the answer!
But could you kindly give a explain on my first qustion:
Does PINs=PINHITs+RELOADS+ INVALIDATIONS?
If not,what the relationships of them?
Regards!
Alan
|
|
|
|
|