alter system set  去修改

解决方案 »

  1.   


    修改参数文件:1.创建 pfileCREATE PFILE='/app/oracle/product/10.2.0/db_1/admin/ora10/pfile/init.ora.test' FROM SPFILE='/app/oracle/product/10.2.0/db_1/dbs/spfileora10.ora';
    2.修改pfile
    3.用修改后的pfile来启动数据库
    4.更改spfile.
    create spfile from pfile...
      

  2.   

    命令模式下:
    alter system set  xxxx = xxx;
    alter system reset xxxx;
      

  3.   

    open_cursors=3000,session_cached_cursors=3000   我就需要修改这个  这段语句直接在SQL下执行可以吗?
      

  4.   

    dba用户执行
    alter system set open_cursors = 3000;
    alter system set session_cached_cursors=3000;
    执行完成后可能需要重启数据库服务才能生效
      

  5.   

    plsql 下,你可以试 command window 试试,不过基本上没有这样做,都在 sql plus中运行。
      

  6.   

    先确定一下当前启动是pfile还是spfile。
    只有spfile 启动才能够sql语句修改。 pfile的情况下去修改init文件,然后重启动。 
    修改命令为 alter system set xxx=  scope=spfile;
      

  7.   

    alter system set open_cursors = 3000 scope=spfile
    alter system set session_cached_cursors=3000 scope=spfile
    这个两个参数是静态参数修改时必须要加上scope=spfile  需要重启数据库才能生效
    shutdown immedaite;
    startup;
      

  8.   

    建议楼主参考一下http://bbs.landingbj.com/f-0-OTL-1-0.html