su - oracle
startup nomount
startup mount dbname
startup open dbname
startup nomount alter database mount alter database open
startup restrict
startup force
startup pfile=E:Oracleadminoradbpfileinit.ora
shutdown normal
shutdown immediate
shutdown abort
[oracle@node1 dbs]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.1.0 Production on Sun Mar 17 16:38:03 2013 Copyright (c) 1982, 2009, Oracle. All rights reserved. Connected to an idle instance SQL> startup nomount ORA-00845: MEMORY_TARGET not supported on this system
[root@node1 ~]# df -h /dev/shm Filesystem Size Used Avail Use% Mounted on tmpfs 1000M 0 1000M 0% /dev/shm SQL> show parameter memory_target NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ memory_target big integer 1G
[root@node1 ~]# vim /etc/fstab # tmpfs /dev/shm tmpfs defaults 0 0 tmpfs /dev/shm tmpfs defaults,size=2048M 0 0 [root@node1 ~]# umount /dev/shm [root@node1 ~]# mount /dev/shm [root@node1 ~]# df -h /dev/shm Filesystem Size Used Avail Use% Mounted on tmpfs 2.0G 0 2.0G 0% /dev/shm
SQL> show parameter sga NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ lock_sga boolean FALSE pre_page_sga boolean FALSE sga_max_size big integer 1G sga_target big integer 0 SQL> alter system set sga_max_size=768M scope=spfile; System altered. SQL> shutdown immediate ORA-01507: database not mounted ORACLE instance shut down. SQL> startup nomount ORACLE instance started. Total System Global Area 801701888 bytes Fixed Size 2217632 bytes Variable Size 348129632 bytes Database Buffers 444596224 bytes Redo Buffers 6758400 bytes SQL> show parameter sga NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ lock_sga boolean FALSE pre_page_sga boolean FALSE sga_max_size big integer 768M sga_target big integer 0
SQL> show parameter memory_target NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ memory_target big integer 1G SQL> alter system set memory_target=768M scope=spfile; System altered. SQL> shutdown immediate ORA-01507: database not mounted ORACLE instance shut down. SQL> startup nomount; ORACLE instance started. Total System Global Area 801701888 bytes Fixed Size 2217632 bytes Variable Size 469764448 bytes Database Buffers 322961408 bytes Redo Buffers 6758400 bytes SQL> SQL> SQL> show parameter memory_target NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ memory_target big integer 768M
SQL> startup nomount ORA-00844: Parameter not taking MEMORY_TARGET into account ORA-00851: SGA_MAX_SIZE 1073741824 cannot be set to more than MEMORY_TARGET 805306368.
[oracle@node1 dbs]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.1.0 Production on Sun Mar 17 17:14:38 2013 Copyright (c) 1982, 2009, Oracle. All rights reserved. Connected to an idle instance. SQL> create pfile from spfile; File created. SQL> exit
[oracle@node1 dbs]$ vim initoranode1.ora oranode1.__db_cache_size=444596224 oranode1.__large_pool_size=4194304 oranode1.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment *.audit_file_dest='/u01/app/oracle/admin/oranode1/adump' *.audit_trail='db' *.compatible='11.2.0' *.control_files='/u01/oradata/ora_control1','/u01/fast_recovery_area/ora_control 2' *.db_block_size=8192 *.db_domain='node1.example.com' *.db_name='oranode1' *.db_recovery_file_dest='/u01/fast_recovery_area' *.db_recovery_file_dest_size=2G *.diagnostic_dest='/u01/app/oracle' *.dispatchers='(PROTOCOL=TCP) (SERVICE=ORCLXDB)' *.memory_target=805306368 *.open_cursors=300 *.processes=150 *.remote_login_passwordfile='EXCLUSIVE' *.sga_max_size=805306368 *.undo_tablespace='UNDOTBS1'
[oracle@node1 dbs]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.1.0 Production on Sun Mar 17 17:15:28 2013 Copyright (c) 1982, 2009, Oracle. All rights reserved. Connected to an idle instance. SQL> create spfile from pfile; File created. SQL> startup nomount; ORACLE instance started. Total System Global Area 801701888 bytes Fixed Size 2217632 bytes Variable Size 469764448 bytes Database Buffers 322961408 bytes Redo Buffers 6758400 bytes SQL> SQL> SQL> show parameter memory_target NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ memory_target big integer 768M
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有