1. 程式人生 > 資料庫 >ORACLE_OCP之oerr命令檢視報錯

ORACLE_OCP之oerr命令檢視報錯

ORACLE_OCP之oerr命令檢視報錯

  • oerr ORA 04031
  • 栗子:

    [oracle@oracle12 dbs]$ oerr ORA 04031
    04031, 00000, “unable to allocate %s bytes of shared memory (”%s","%s","%s","%s")"
    // *Cause: More shared memory is needed than was allocated in the shared
    // pool or Streams 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.
    // If the error is issued from an Oracle Streams or XStream process,
    // increase the initialization parameter STREAMS_POOL_SIZE or increase
    // the capture or apply parameter MAX_SGA_SIZE.
    [oracle@oracle12 dbs]$