格式:在启动数据后修改
     
    
     
      ALTER SYSTEM SET parameter_name = parameter_value
     
    
     
      [COMMENT ‘text’] [SCOPE = MEMORY|SPFILE|BOTH]
     
    
     
      [SID= ‘sid’|’*’]
     
    
     
      parameter_name: Name of the parameter tobe changed
     
    
     
      parameter_value: Value the parameter is being changed to
     
    
     
      COMMENT: A comment to be added into the SPFILE next to the parameter being
     
    
     
      altered。是一个注释。
     
    
     
      SCOPE: Determines if change should be made in memory, SPFILE, or in both areas ,决定修改时在内存中还是在SPFILE中
     
    
     
      MEMORY: Changes the parameter value only in the currently running instance,只在内存中修改参数
     
    
     
      SPFILE: Changes the parametervalue in the SPFILE only,在SPFILE中修改参数
     
    
     
      BOTH: Changes the parameter value in the currently running instance and the SPFILE,这个是默认值,同时在内存中和SPFILE中修改
     
    
     
      SID: Identifies the ORACLE_SID for the SPFILE being used
     
    
     
      ‘sid’: Specific SID to be used in altering the SPFILE,也就是自己database的SID
     
    
     
      ‘*’: Uses the default SPFILE,使用默认值,就是适用于每个数据库的意思
     
    
     
      还有一个deferred参数,下次生效。
     
    
     
      下面是官方联机文档的图片
      
      
      
      这个就不给上机的图示了
      
     
    
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29840459/viewspace-1432160/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29840459/viewspace-1432160/
 
