1G内存
shared_pool_size 设置100M左右
data buffer 设置 500M 左右另外可以考虑:
8i CURSOR_SHARING=FORCE
9i CURSOR_SHARING=SIMILAR

解决方案 »

  1.   

    同意楼上。shared_pool_size+databuffer一般小于内存的60%,最多不能大于70%。
      

  2.   

    1G内存
    shared_pool_size 设置100M左右
    data buffer 设置 600M 左右
      

  3.   

    shared pool不宜设置过大~更重要的要去研究绑定变量,来避免占用共享池太过~
      

  4.   

    怎么改不了呢,明明系统内存只用了500多兆,但它会报没有足够内存。
    另外data buffer怎么改的呢,谢谢各位了
    SQL> show parameter shared_pool_size;NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    shared_pool_size                     big integer 50331648
    SQL> alter system set shared_pool_size=104857600;
    alter system set shared_pool_size=104857600
    *
    ERROR at line 1:
    ORA-02097: parameter cannot be modified because specified value is invalid
    ORA-04033: Insufficient memory to grow pool
      

  5.   

    直接以sysdba登录用OEM改吧。很方便的。
      

  6.   

    直接去该初始化文件,这些参数是不能 alter system 的.
      

  7.   

    谢谢大家的回复。
    对,用OEM确实方便,但还是那个问题,会弹出对话框说内存不够,改小倒是可以,怎么会呢。
    ORA-02097: parameter cannot be modified because specified value is invalid
    ORA-04033: Insufficient memory to grow pool
    但事实上只用了六百多兆,一共1G呢。
      

  8.   

    你最好去www.eygle.com
    还是研究一下pfile/spfie
    还有sga/pga