Home » RDBMS Server » Server Administration » sort_area_size too small
sort_area_size too small [message #64599] Fri, 11 February 2005 21:05 Go to next message
ramya
Messages: 87
Registered: August 2002
Member
Hi
i am using 8i database in solaris 8.Whenever a batch jobs runs i found the sorting is happening in disk more( the temporary tablespace is using very heavily) the value of the parameter sort_Area_size is 64 k.SO how much i can increase the value of this parameter.How can i determine a optiomal value for this to improve the performance(we have 2 1 gb ram)
with regards
ramya
icon13.gif  Re: sort_area_size too small [message #112624 is a reply to message #64599] Mon, 28 March 2005 06:33 Go to previous messageGo to next message
kumar_dba
Messages: 16
Registered: March 2005
Location: chandigarh
Junior Member

It will b not more than 2m bcoz it will b for per session
OK
Re: sort_area_size too small [message #112655 is a reply to message #64599] Mon, 28 March 2005 10:43 Go to previous messageGo to next message
smartin
Messages: 1803
Registered: March 2005
Location: Jacksonville, Florida
Senior Member
sort_area_size is the amount of memory to use for sorting purposes for each session that is connected to the db. So if you you have a large DSS type system with only say 10 people at most connecting at any time, and you have 500 mb you can allocate to sort in total for the db, then you can make it around 50mb. But if you have lots of concurrent users it will be less. And if you upgrade db version you can not worry about it near as much with pga_agg_target.

Oh and don't forget to have memory for hash_area_size and shared_pool.
Re: sort_area_size too small [message #112731 is a reply to message #64599] Tue, 29 March 2005 00:18 Go to previous message
d.c.b.a
Messages: 44
Registered: March 2005
Location: China
Member

If you want to build an large index, just using alter session set sort_area_size=50m or 100m, before you issue the create index command.

For normal operation 1m is enough.
Previous Topic: SQL Server 2000 db migration to Oracle 9i
Next Topic: Insufficient Privileges
Goto Forum:
  


Current Time: Fri Jan 10 03:28:12 CST 2025