把init.ora里面的shared_pool_size的参数值调大一些
重新启动数据库
试试

解决方案 »

  1.   

    我把shared_pool_size = 79912960 增大了1倍
    db_block_buffers = 29265 增大了1倍 可是问题还是一样
      

  2.   


    ORA-04031 unable to allocate string bytes of shared memory ("string","string","string","string")Cause: More shared memory is needed than was allocated in the shared pool.Action: If the shared pool is out of memory, either use the DBMS_SHARED_ POOL package to pin large packages, reduce your use of shared memory, or increase the amount of available shared memory by increasing the value of the initialization parameters SHARED_POOL_RESERVED_SIZE and SHARED_ POOL_SIZE. If the large pool is out of memory, increase the initialization parameter LARGE_POOL_SIZE.