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

  • Home
  • SEARCH
  • 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 495815
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T05:37:37+00:00 2026-05-13T05:37:37+00:00

The following query generates the error below in 10g: select DBMS_METADATA.GET_DDL(‘TABLE’,’TEST_TABLE’,’TEST’) from dual; Got:

  • 0

The following query generates the error below in 10g:

 select DBMS_METADATA.GET_DDL('TABLE','TEST_TABLE','TEST') from dual; 

Got:

ORA-04031: unable to allocate 128 bytes of shared memory ("shared pool","SELECT /*+rule*/ SYS_XMLGEN(...","sql area","qeeOpt: qeesCreateOpt")
ORA-06512: at "SYS.DBMS_METADATA", line 1546
ORA-06512: at "SYS.DBMS_METADATA", line 1583
ORA-06512: at "SYS.DBMS_METADATA", line 1901
ORA-06512: at "SYS.DBMS_METADATA", line 2792
ORA-06512: at "SYS.DBMS_METADATA", line 4333
ORA-06512: at line 1

from some reading, it appears this issue can be resolved by adjusting some of the shared memory parameters of Oracle.

However, can anyone give a little extra info on possible causes of the error? This is just a single table without about 10 columns, so I’d be surprised if the query itself was the source of the problem. Additionally, Toad can display all my DDL just fine.

What things should be I be looking for? Or should I just send this error to my DBA and say, “please fix?”

  • 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-13T05:37:37+00:00Added an answer on May 13, 2026 at 5:37 am

    DBMS_METADATA is a very large PL/SQL package and it needs to get loaded into the shared pool. If you want it to execute then you will need to get the DBA to increase the shared pool. Also you may (on 9i and maybe on 10i) need to increase the Java pool. It appears to me that they have changed the innards of the DBMS_METADATA and it no longer needs as much Java pool space.

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

Sidebar

Ask A Question

Stats

  • Questions 307k
  • Answers 307k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer mmm if i remember correctly the attach data from mail… May 13, 2026 at 9:32 pm
  • Editorial Team
    Editorial Team added an answer When you run $h{$2}!~/ә$/ In your if statement the contents… May 13, 2026 at 9:32 pm
  • Editorial Team
    Editorial Team added an answer For a clean re-usable solution, consider extending the jQuery.fn object… May 13, 2026 at 9:32 pm

Related Questions

I'm having some serious issues using Zend_Lucene and foreign characters like åäö. These issues
I've searched and am now at a loss as to the cause of my
I am having a bizare problem where I have a script that works elsewhere
I have a Joomla installation with search-friendly-urls at the root level of the domain,
I have a long-running script that seems to occasionally report the following NOTICE-level error:

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.