Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: [beginner] application with large sorts

Re: [beginner] application with large sorts

From: <sybrandb_at_yahoo.com>
Date: 8 Mar 2004 07:05:04 -0800
Message-ID: <a1d154f4.0403080705.608e0bce@posting.google.com>


"Francesco" <FrancescoNOSPAM_at_libero.it> wrote in message news:<G5Y2c.55364$Kc3.1740749_at_twister2.libero.it>...
> Hi all !
> I'm going to write an application that make uses of lots of sorts
> in its queries. I don't have a deep knowdledge of Oracle Administration
> but I'm aware that an init parameter (SORT_AREA_SIZE if I remember well)
> states how much space to reserve for sorts. So I wonder, what if that space
> won't be enough : the segments reserved will "explode" like rollback
> segments do,
> or Oracle will enlarge it by itself ?
> One more question : How do I monitor if this space is going to be exausted ?
> Thanks a lot
> Francesco

When sort_area_size is exceeded, a temporary segment will automatically be created in your temporary tablespace. For those segments the size of your drives is the limit ;-) You can monitor sorts by using v$sort_usage.

Sybrand Bakker
Senior Oracle DBA Received on Mon Mar 08 2004 - 09:05:04 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US