Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6005645
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:25:36+00:00 2026-05-23T01:25:36+00:00

I am working on a data warehouse system which was upgraded about a year

  • 0

I am working on a data warehouse system which was upgraded about a year ago to Oracle 10g (now 10.2.0.5).

The database is set up with workarea_size_policy=auto and pga_aggregate_target=1G. Most of the ETL process is written in PL/SQL and this code generally sets workarea_size_policy=manual and sets the SORT_AREA_SIZE and HASH_AREA_SIZE for particular sessions when building specific parts of the warehouse.

The values chosen for the SORT_AREA_SIZE and HASH_AREA_SIZE are different for different parts of the build. These sizes are probably based on the expected amount of data that will be processed in each area.

The problem I am having is that this code is starting to cause a number of ORA-600 errors to occur. It is making me wonder if we should even be overriding the automatic settings at all.

The code that sets the manual settings was written many years ago by a developer who is no longer here. It was probably originally written for Oracle 8 with an amendment for Oracle 9 to set the workarea_size_policy to manual. No one really knows how the values used for HASH_AREA_SIZE and SORT_AREA_SIZE were found. They could be completely inappropriate for all I know.

After that long preamble, I’ve got a few questions.

  1. How do I know when (if ever) I should be overriding the manual settings with workarea_size_policy=manual?
  2. How do I find appropriate values for HASH_AREA_SIZE, SORT_AREA_SIZE, etc?
  3. How do I benchmark that particular settings are actually providing any sort of benefit?

I’m aware that this is a pretty broad question but help would be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T01:25:37+00:00Added an answer on May 23, 2026 at 1:25 am

    I suggest you comment out the manual settings and do a test run only with automatic (dynamic) settings, like PGA_AGGREGATE_TARGET.
    Management of Sort and Hash memory areas has improved a lot since Oracle 8!

    It’s hard to predetermine the memory requirements of your procedures, so the best is to test them with representative volumes of data and see how it goes.
    You can then create an AWR report covering the timeframe of the execution of the procedures. There’s a section in the report named PGA Memory Advisory. That will tell you if you need more memory assigned to PGA_AGGREGATE_TARGET, based on your current data volumes.

    See sample here:

    PGA Memory Advisory sample

    In this case you can clearly see that there’s no need to go over the current 103 MB assigned, and you could actually stay at 52 MB without impacting the application.

    Depending on the volumes we’re talking about, if you can’t assign more memory, some Sort or Hash operations might spill to a TEMPORARY tablespace, so make sure you have a properly sized one and possibly spread across as many disks / volumes as possible (see SAME configuration, also here).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a Data Warehouse which, in the end, will require me to
I'm currently working on a project where we have a large data warehouse which
I'm working on a data warehouse project and would like to know how to
I'm working on a data distribution application which receives data from a source and
Working on a Data Warehouse project, the guy that gave us the tutorial advised
I am working on a data warehouse and looking for an ETL solution that
I've been successfully using bitmap indexes for years in Oracle environment. Now I'm working
I'm working on data migration from an old IBM Universe-based system to a new
I am working with database data that manipulates college students exam results. Basically, I
I am working on importing data from an Excel sheet to database. The Excel

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.