DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: Ora-04031

  1. #1
    Join Date
    May 2004

    Smile Ora-04031

    Hi All,

    I got an error message like below.

    Failed to connect to database instance: ORA-04031: unable to allocate 32 bytes of shared memory ("shared pool","DATABASESYS","trigger inform","kglhin: temp").

    I understand that this is because more shared memory is needed than was allocated in the shared pool.

    Could someone please advise how to increase shared memory?


  2. #2
    Join Date
    Sep 2002
    are you using bind variables?

  3. #3
    Join Date
    Mar 2007
    Ft. Lauderdale, FL
    You have got a bad case of shared pool fragmentation.

    As a temporary workaround you can flush the shared pool, which would act like an aspirin.

    For a more lasting solution you have to bounce the instance, which would act as antibiotic.

    Vaccines are a little more complicated and involve proper SGA setup as well as good quality coding.

    For how long has been that instance up-and-running?
    Oracle version and O/S version?
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.