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

Related Questions

I'm trying to understand why the following is failing and I'm not able to
I am trying to get a month range to insert into a CAML query,
In my LAMP application (using CodeIgniter), I have a call to $this->db->update... that generates
I have a tiny problem with NHibernate and I can't figure out why. Every
Some days ago I asked a question about my problem and I was advised
I am attempting to grab a date supplied via POST, then generate a list
I am using YouTube API to perform simple searches on YouTube. Here's my code
I'm hoping to display a list of all of the products ordered. I can
I have an action method that looks like this: public ActionResult DoSomething(string par, IEnumerable<string>
I have an interesting problem, and my logic isn't up to the task. We

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.