Solved

I am receiving    "Invalid value for sort area size. The minimum value is: 48 KB." error when I am using OEM

Posted on 2009-05-10
5
764 Views
Last Modified: 2012-05-06
I am getting this error "Invalid value for sort area size. The minimum value is: 48 KB."  which I am using OEM to reorganize database objects.

I do not know the database utilities so I could circumvent OEM error.  Please help
0
Comment
Question by:arunasri01
5 Comments
 
LVL 3

Accepted Solution

by:
jagmohan_gunwant earned 168 total points
ID: 24348857
Hello Friend
Check this question already answered similar to you

SORT_AREA_SIZE ERROR when trying to REORGANIZE an index

hope this helps you
0
 
LVL 40

Assisted Solution

by:mrjoltcola
mrjoltcola earned 166 total points
ID: 24350209
Minimum area for sort_area_size is 6 blocks, so your DB must have an 8k blocksize, this is normal, sounds like your DB is misconfigured.

If you are the DBA you need to fix sort_area_size in the parameter file or init.ora, but...

You can set this at the session level even if you don't have db admin access, as long as there is available memory in the PGA

In SQLPLUS you can do:
   alter session set sort_area_size = 131072;

But this only affects the SQLPLUS session.  If you must use OEM, then you need to set sort_area_size larger and restart the instance.

If using spfile, then do:

-- 16 x 8k blocks
alter system set sort_area_size = 131072 scope = spfile;
-- Restart
shutdown immediate;
startup open;

If not using spfile, edit your init.ora and set the same parameter
0
 
LVL 47

Assisted Solution

by:schwertner
schwertner earned 166 total points
ID: 24352332
This is a known bug in Oracle 10.2.0.1

Reorganize tables through the command line utilities.

1. Set the WORKAREA_SIZE_POLICY to MANUAL for the reorganization
2. Set the sort_area_size in the session parameters to something appropriate.
3. Generate and run the reorg script.
4. Change WORKAREA_SIZE_POLICY back to AUTO after reorg.

0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PLSQL procedure help with decode and null input params 5 57
Wrap Oraccle SQL*Plus executable Command 4 83
PL/SQL Display based on value 4 26
SQL query question 8 73
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question