Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Help on Sort_Area_Size and Direct_Sort_Writes
I am trying to understand the implications of Sort Area Size, Sort Area
Retained Size and Direct Sort Writes. I have the following definitions from
three different books.
Book 1
Sort_Area_Retained_Size
The minimum amount of space in bytes that a user process will ever have
available.
Book 2
Book 3
I have ran a sort query with varying Sort_Area_Size and look at the sorts (disk/memory) in V$Sesstat. So I do know that if the Sort_Area_Size is below a certain threshold it'll sort in disk and write to the TEMP segment.
Questions:
1. Which of this definition best describes the parameters
Sort_Area_Size/Retained_size?
2. What is an in-memory sort as described in Book 3?
3. What is Sort Extent Pool and where is it located?
4. I know Sort_Direct_Writes bypasses the SGA buffers by assigning it's own sort buffers. When do I use it? Do I perform Direct_Writes when I have lots of RAM or limited RAM? Is it true that Direct_write is only benificial when you are sorting to a tempory segment? Are Direct_writes and in-memory sorts mutually exclusive? Please clarify. Received on Mon Jun 01 1998 - 22:15:32 CDT