| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Do triggers cause a context switch between SQL & PL/SQL
But that's begging the question.
What actually occurs that allows you to
say that there is a "context switch" ?
I know that one of the advertised performance enhancements in v9 was the 'more efficient context switching between SQL and PL/SQL' (or some such thing) - but a name is not a thing.
Does the Oracle process run as a virtual machine, and build two completely independent top-level heaps/stacks and maintain a set of virtual registers - one for an SQL environment and one for a PL/SQL environment ? Do you get multiple "contexts" if SQL calls a pl/sql function that opens a cursor that calls a pl/sql function ?
Can anyone put a description under the name ?
Regards
Jonathan Lewis
http://www.jlcomp.demon.co.uk
The educated person is not the person
who can answer the questions, but the
person who can question the answers -- T. Schick Jr
One-day tutorials:
http://www.jlcomp.demon.co.uk/tutorial.html
____UK_______April 8th ____UK_______April 22nd ____Denmark__May 21-23rd ____USA_(FL)_May 2nd
Three-day seminar:
see http://www.jlcomp.demon.co.uk/seminar.html
____UK_(Manchester)_May ____Estonia___June (provisional) ____USA_(CA, TX)_August
The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/faq/ind_faq.html
> Jonathan
>
> it is switching from SQL context to PL/SQL context and vice versa.
>
> Raj
> --------------------------------------------------------------------
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Jonathan Lewis INET: jonathan_at_jlcomp.demon.co.uk Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- 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 Fri Apr 04 2003 - 16:14:19 CST
![]() |
![]() |