Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Oracle 10G R2 RAC ÈÕ³£¹ÜÀí

Ò»¡¢Ê¹ÓÃsrvctl¹ÜÀíRACÊý¾Ý¿â
[root@NODE01 bin]# pwd
/orac/crs/bin   # srvctlÔÚ$CRS_HOME/binĿ¼Ï£¬Ëü¿ÉÒÔÔÚÈκνڵãÉÏά»¤¡£
[root@NODE01 bin]# ./srvctl
Usage: srvctl <command> <object> [<options>]
    command: enable|disable|start|stop|relocate|status|add|remove|modify|getenv|setenv|unsetenv|config
    objects: database|instance|service|nodeapps|asm|listener
For detailed help on each command and object and its options use:
    srvctl <command> <object> -h
³£ÓõÄÃüÁîÖ÷ÒªÈçÏÂ:
 
1¡¢Ê¹ÓÃsrvctl statusÃüÁî
²é¿´Êý¾Ý¿âµÄ״̬£º
[root@NODE01 bin]# ./srvctl status database -d racdb
Instance RACDB1 is running on node node01
Instance RACDB2 is running on node node02
²é¿´Êý¾Ý¿âʵÀýµÄ״̬£º
[root@NODE01 bin]# ./srvctl status instance -d racdb -i racdb1,racdb2
Instance racdb1 is running on node node01
Instance racdb2 is running on node node02
²é¿´ASMʵÀýµÄ״̬£º
[root@NODE01 bin]# ./srvctl status asm -n node01
ASM instance +ASM1 is running on node node01.
[root@NODE01 bin]# ./srvctl status asm -n node02
ASM instance +ASM2 is running on node node02.
²é¿´½ÚµãÓ¦ÓóÌÐò£¨VIP¡¢GSD¡¢Listener¡¢ONS£©µÄ״̬£º
[root@NODE01 bin]# ./srvctl status nodeapps -n node01
VIP is running on node: node01
GSD is running on node: node01
Listener is running on node: node01
ONS daemon is running on node: node01
[root@NODE01 bin]#
[root@NODE01 bin]# ./srvctl status nodeapps -n node02
VIP is running on node: node02
GSD is running on node: node02
Listener is running on node: node02
ONS daemon is running on node: node02
ÒÔÉϵÄÃüÁîÔÚÈκνڵãÉ϶¼¿ÉÒÔÖ´ÐС£ÆäÖÐ-d±íʾÊý¾Ý¿âµÄÃû×Ö£¬-i±íʾinstanceÃû³Æ£¬-n±íʾ½ÚµãµÄÖ÷»úÃû¡£
 
2¡¢Ê¹ÓÃsrvctl start/stopÃüÁî
srvctl start asm –n node01               # to start the ASM instance
srvctl stop asm –n node01         &nb


Ïà¹ØÎĵµ£º

Oracle °²×°ÏµÁÐ ¾²Ä¬°²×°Êý¾Ý¿âÈí¼þ

ÔںܶàÆóÒµ¼¶°²×°Êý¾Ý¿âʱ£¬³£³£Óдó¹æÄ£µÄ°²×°ÈÎÎñ£¬ÕâʱʹÓÃÏìÓ¦ÎļþÀ´ÅúÁ¿°²×°¿ÉÒÔÌá¸ß¹¤×÷ЧÂÊ£¬ÏÂÃæ½éÉÜÊý¾Ý¿âÈí¼þµÄ¾²Ä¬°²×°·½Ê½¡£
Ò»¡¢Êý¾Ý¿â·þÎñÆ÷¶Ë°²×°
1. Éú³É°²×°ÏìÓ¦Îļþ
$./runInstaller -record -destinationFile /tmp/install_database_10g.rsp
Õâʱ»áÆô¶¯Í¼ÐνçÃæÀ´Â¼ÖÆÎÒÃÇÐèÒªµÄÏìÓ¦Îļþ¡£
×¢Ò⣺ ......

oracle ³£Óú¯Êý

SQLÖеĵ¥¼Ç¼º¯Êý
1.ASCII
·µ»ØÓëÖ¸¶¨µÄ×Ö·û¶ÔÓ¦µÄÊ®½øÖÆÊý;
SQL> select ascii(’A’) A,ascii(’a’) a,ascii(’0’) zero,ascii(’ ’) space from dual;
A A ZERO SPACE
--------- --------- --------- ---------
65 97 48 32
2.CHR
¸ø³öÕûÊý,·µ»Ø¶ÔÓ¦µÄ× ......

½¨Á¢OracleÈ«ÎÄË÷Òý

×î½üÒª×öËÑË÷£¬ËùÒÔѧÆðOracleÈ«ÎÄË÷ÒýÀ´ÁË¡£
²Î¿¼ÎÄÕ£ºhttp://www.eygle.com/archives/2005/06/ecieoaoracleeia.html
ÈçºÎʹÓÃOracleÈ«ÎļìË÷¹¦ÄÜ?
×÷Õß:eygle
³ö´¦:http://www.eygle.com/blog
ÈÕÆÚ:June 11, 2005
ä¯ÀÀ´ÎÊý:
890
±¾ÎÄÁ´½Ó:http://www.eygle.com/archives/2005/06/ecieoaoracleeia.html
±¾ÎļòÒª ......

oracle ÈÕÆÚº¯Êý

sqlÓï¾äÈçÏÂ:
select * from userdb40.numservice  where ServiceNumber =88880068
 and applytime <= to_date('2009-12-26 10:41:44','yyyy-MM-dd HH24:mi:ss')
select to_date('2007-06-28 19:51:20.0','yyyy-MM-dd HH24:mi:ss') from dual; ......

ORACLEÈ«±¸·ÝºÍ0¼¶ÔöÁ¿±¸·ÝµÄÇø±ð

±È½Ï¹Ù·½µÄ˵·¨
Full
A backup of a datafile that includes every allocated block in the file being backed up. A full backup of a datafile can be an image copy, in which case every data block is backed up. It can also be stored in a backup set, in which case datafile blocks not in use may be skipped, ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ