Oracle °²×°ÏµÁÐ ¾²Ä¬´´½¨Êý¾Ý¿â
ÉÏƪ½éÉÜÁ˾²Ä¬°²×°Êý¾Ý¿âÈí¼þ£¬ÏÂÃæ½éÉܾ²Ä¬´´½¨Êý¾Ý¿âµÄ·½·¨¡£
1. ÓÃDBCA¸ù¾ÝÖÖ×ÓÊý¾Ý¿â´´½¨Ò»¸öÄ£°å
£¨ÖÖ×ÓÊý¾Ý¿â¾ÍÊÇÔ´Êý¾Ý¿â£¬Èç¹ûûÓÐÔ´Êý¾Ý¿â£¬¿ÉÒÔÓÃDBCA´´½¨Ò»¸öеÄÄ£°æ»ò±à¼ÔÓеÄÄ£°æ£©
2. ½«Oracle DB°²×°ÅÌÀïÃæresponseĿ¼ÏµÄdbca.rsp¿½±´µ½±¾»úÉÏ
3. ÐÞ¸Ädbca.rspÎļþ£¬½«Ä£°åÃûºÍDBÃûÌí¼Ó½øÈ¥
GDBNAME=
SID=
TEMPLATENAME= //¸Ä²ÎÊý¾ÍÊÇÄ㽨¿âµÄÄ£°æ£¬¸ÃÄ£°æÒª´æ·ÅÔÚ$ORACLE_HOME/assistants/dbca/templates
Èç¹ûÐèҪʹÓÃOracle Enterprise Manager£¬Ôò»¹ÐèÒªÐÞ¸ÄÒÔϲÎÊýÈçÏ£º
EMCONFIGURATION="LOCAL"
SYSMANPASSWORD="password"
DBSNMPPASSWORD="password"
4. Ö´ÐÐÒÔÏÂÃüÁîʹÓÃDBCA¸ù¾ÝÄ£°å´´½¨ÐÂÊý¾Ý¿â
$./dbca -silent -createdatabase -responseFile /home/oracle/embed/dbca.rsp
Ò²¿ÉÒÔ²»ÊÇÓÃrspÏìÓ¦Îļþ£¬Ö±½ÓÊÇÓÃÄ£°æ¾²Ä¬°²×°
dbca -silent -createDatabase -templateName oraacc.dbt -gdbName oraacc -sid oraacc \
-sysDBAPassword oracleabcd -characterSet ZHS16GBK -nationalCharacterSet AL16UTF16
ASM:
dbca -silent -nodeList nodelist -configureASM -asmPassword asm_pwd [-diskList
disk_list] [-redundancy redundancy_option] [-diskGroupName dgname] [-diskString
disk_discovery_string] [-recoveryGroupName recovery_dgname] [-recoveryRedundancy
redundancy_option]
Ïà¹Ø²ÎÊý½âÊÍ£º
¡ö nodelist is a comma-delimited list of nodes and these are the nodes on which
you want to perform the ASM activities
¡ö asm_pwd is the password for the SYS account in the ASM instance
¡ö disk_list is a comma-delimited list of disks to be added to disk group
¡ö redundancy_option is NORMAL, HIGH, or EXTERNAL
¡ö dgname is either the name of an existing disk group, in which case the disk group
is mounted on all of the selected nodes, or dgname is the name of a new disk
group, in which case the disk group is created and started on all of the selected
nodes
¡ö disk_recovery_string identifies the location or identifier for the ASM-ready
disks
¡ö recovery_dgname is the name for a recovery disk group
5. ½¨ÒéÖ±½Óд.oraÎļþÅäÖÃlistener
6. ʹÓÃNetcaÅäÖÃlistenerµÄ·½·¨ÈçÏÂ
£¨1£© ½«Oracle DB°²×°ÅÌÀ
Ïà¹ØÎĵµ£º
oracle±í¿Õ¼ä²Ù×÷Ïê½â
1
2
3×÷Õߣº À´Ô´£º ¸üÐÂÈÕÆÚ£º2006-01-04
5
6
7½¨Á¢±í¿Õ¼ä
8
9CREATE TABLESPACE data01
10DATAFILE '/ora ......
Ç°ÑÔ£º
sql_trace ÊÇÎÒÔÚ¹¤×÷Öо³£ÒªÓõ½µÄµ÷ÓŹ¤¾ß£¬Ïà±È½Ïstatspack ÎÒ¸üÔ¸ÒâÓÃÕâ¸ö¹¤¾ß¡£
ÒòΪÊý¾Ý¿âÂýÔÒòµÄ85%ÒÔÉÏÊÇÓÉÓÚsqlÎÊÌâÔì³ÉµÄ£¬statspackûÓÐsqlµÄÖ´Ðмƻ®¡£ÏÔʾûÓÐËüÖ±¹Û£¬·½±ã£¬¶ÔÏëÒªÕë¶ÔÐÔ²»Ç¿£¬
1£¬½éÉÜÊý¾Ý¿âµ÷ÓÅÐèÒª¾³£»áÓõ½µÄ¹¤¾ß ......
Ëæ׿ÆËã»úµÄÆÕ¼°ÒÔ¼°ÍøÂçµÄ·¢Õ¹£¬Êý¾Ý¿âÒѾ²»ÔÙ½ö½öÊÇÄÇЩ³ÌÐòÔ±ËùרÓеĻ°Ìâ¡£¶øOracleÊý¾Ý¿â¸üÊÇƾ½èÆäÐÔÄÜ׿Խ£¬²Ù×÷·½±ãÁé»îµÄÌص㣬ÔÚÊý¾Ý¿âµÄÊг¡ÖÐÒѾռ¾ÝÁËһϯ֮µØ¡£µ«ÊÇͬÑùËæ×ÅÍøÂç¼¼ÊõµÄ²»¶Ï½ø²½£¬Êý¾ÝÐÅÏ¢µÄ²»¶ÏÔö¼Ó£¬Êý¾Ý°²È«ÒѾ²»ÔÙÊÇÒÔÇ°µÄ“ÀÏÉú³¤Ì¸”£¬Ò²¸ü²»ÊÇÒÔÇ°Êé±¾ÉÏÄÇЩ“¿ÉÍû² ......
ORACLE °²×°Ä¿Â¼½éÉÜ
ϵͳ»·¾³£º
1¡¢²Ù×÷ϵͳ£ºWindows 2000
2¡¢Êý¾Ý¿â£º¡¡Oracle 8i R2 (8.1.6) for NT ÆóÒµ°æ
3¡¢°²×°Â·¾¶£ºC:\ORACLE
½âÊÍ£º
Oracle 8i R2 (8.1.6) for NT ÆóÒµ°æĬÈÏ°²×°Íê±Ïºó»áÔÚËùÔÚÅÌ·û´´½¨ÒÔÏÂÈý¸öĿ¼
admin£º ¼Ç¼OracleʵÀýµÄÅäÖá¢ÔËÐÐÈÕÖ¾µÈÎļþ£¬Ã¿¸öʵÀýÒ»¸öĿ¼
Ora ......
ORA-00604 error occurred at recursive SQL level string
Cause:An error occurred while processing a recursive SQL statement (a statement applying to internal dictionary tables).
Action:If the situation described in the next error on the stack can be corrected, do so; otherwise contact Oracle Custome ......