Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: how does oracle store cursors in memory?
Ryan,
If your comment about hash maps relates to hash joins, the datablocks are NOT stored in the PGA, some columns from some of the rows in the 'first' table's data blocks are copied into the PGA.
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
Next public appearances:
March 2004 Hotsos Symposium - The Burden of Proof
March 2004 Charlotte NC OUG - CBO Tutorial
April 2004 Iceland
One-day tutorials:
http://www.jlcomp.demon.co.uk/tutorial.html
Three-day seminar:
see http://www.jlcomp.demon.co.uk/seminar.html
____UK___February
____UK___June
The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/faq/ind_faq.html
I know that data blocks are stored in the sga in linked lists. When hash
maps are created the data blocks are stored in the pga as part of the hash
map in arrays/linked lists.
How are cursors stored? Now the data for the cursors is going to be in the
SGA. Is a cursor just a pointer to the memory location of the data in the
SGA? Now I know a 'REF' cursor is basically a named pointer. Am I correct?
What data structure does oracle use to store cursors?
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Sat Feb 14 2004 - 03:48:40 CST
![]() |
![]() |