Unix Technical Forum

External library not being pinned in cache...

This is a discussion on External library not being pinned in cache... within the Oracle Database forums, part of the Database Server Software category; --> Hi, all. Running 9i (don't have a version number) on Solaris. A stored procedure is calling an external C ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-16-2008, 06:44 AM
BD
 
Posts: n/a
Default External library not being pinned in cache...

Hi, all.

Running 9i (don't have a version number) on Solaris.

A stored procedure is calling an external C library.

I'm looking to confirm whether or not this C library is being held in
memory after it's called. The user is theorizing that it is not, and
that it's being retrieved from disk each time it's called.

I'm not sure whether I can expect that kind of external routine to
stay pinned in the library cache or not. And if not, what the best way
to ensure that it *does* stay pinned...

Comments appreciated...

BD
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 08-18-2008, 07:22 PM
joel garry
 
Posts: n/a
Default Re: External library not being pinned in cache...

On Aug 15, 2:53*pm, BD <robert.d...@gmail.com> wrote:
> Hi, all.
>
> Running 9i (don't have a version number) on Solaris.
>
> A stored procedure is calling an external C library.
>
> I'm looking to confirm whether or not this C library is being held in
> memory after it's called. The user is theorizing that it is not, and
> that it's being retrieved from disk each time it's called.
>
> I'm not sure whether I can expect that kind of external routine to
> stay pinned in the library cache or not. And if not, what the best way
> to ensure that it *does* stay pinned...
>
> Comments appreciated...
>
> BD


I'm thinking this is a feature, see metalink Note:302485.1 . The
feature being:

"The function execution occurs in a seperate address space other than
the Oracle servers address space , and this totally isolates the
server from the effects of external procedure execution."

I'm guessing you could pin the package that calls the function, but
that doesn't address your user's worry, since the library is outside
of Oracle. On the other hand, I think buffering on the Solaris side
might make it moot, so you should be careful with how you interpret
system statistics. "See your System Administrator."

jg
--
@home.com is bogus.
BNAFH: http://www.infoworld.com/article/08/...ockout_1..html

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:57 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com