OracleÊý¾ÝÎļþǨÒÆÖª¶àÉÙ£¿
±¾ÈËÒÔÇ°ÕûÀíµÄÊý¾Ý¿âÎļþǨÒƹý³Ì£¬Ï£ÍûÄܹ»¶Ô´ó¼ÒÓÐËù°ïÖú
1¡¢sqlplus "sys/sys@·þÎñÃû as sysdba"
2¡¢Ð޸ĿØÖÆÎļþ:
alter system set control_files='E:\oracle\oradata\myOracle_1\control01.ctl',
'E:\oracle\oradata\myOracle_1\control02.ctl','E:\oracle\oradata\myOracle_1\control03.ctl'
scope=spfile;
3¡¢±¸·Ý¿ØÖÆÎļþ
alter database backup controlfile to 'E:\oracle\oradata\testdb.ctl' reuse;
4¡¢±¸·Ýµ½¸ú×ÙÎļþ, ·½±ãÖؽ¨¿ØÖÆÎļþ
alter database backup controlfile to trace;
6¡¢²é¿´´æ·Å·¾¶
show parameter user_dump_dest
6¡¢Êý¾ÝÎļþ¿½±´µ½¶ÔÓ¦µÄĿ¼:
7¡¢µ½¶ÔÓ¦µÄORACLEµÄÊý¾ÝĿ¼ user_dump_des,ÕÒµ½¶ÔÓ¦µÄ×îеÄTRACEÎļþ£¬¿½±´¶ÔÓ¦µÄÊý¾Ý³öÀ´£º
ÄÚÈÝÈçÏ£º
1¡¢ÖØ×öÈÕÖ¾Îļþ¿ÉÓõÄÇé¿ö
STARTUP NOMOUNT;
CREATE CONTROLFILE REUSE DATABASE "MYORACLE" NORESETLOGS NOARCHIVELOG
-- SET STANDBY TO MAXIMIZE PERFORMANCE
MAXLOGFILES 3
MAXLOGMEMBERS 3
MAXDATAFILES 20
MAXINSTANCES 1
MAXLOGHISTORY 226
LOGFILE
GROUP 1 'E:\ORACLE\ORADATA\MYORACLE_1\REDO01.LOG' SIZE 30M,
GROUP 2 'E:\ORACLE\ORADATA\MYORACLE_1\REDO02.LOG' SIZE 30M,
GROUP 3 'E:\ORACLE\ORADATA\MYORACLE_1\REDO03.LOG' SIZE 30M
-- STANDBY LOGFILE
DATAFILE
'E:\ORACLE\ORADATA\MYORACLE_1\SYSTEM01.DBF',
'E:\ORACLE\ORADATA\MYORACLE_1\UNDOTBS01.DBF',
'E:\ORACLE\ORADATA\MYORACLE_1\DRSYS01.DBF',
'E:\ORACLE\ORADATA\MYORACLE_1\INDX01.DBF',
'E:\ORACLE\ORADATA\MYORACLE_1\TOOLS01.DBF',
'E:\ORACLE\ORADATA\MYORACLE_1\USERS01.DBF',
'E:\ORACLE\ORADATA\MYORACLE_1\XDB01.DBF',
'E:\ORACLE\ORADATA\MYORACLE_1\PERFSTAT.ORA'
CHARACTER SET ZHS16GBK;
alter database rename file 'E:\ORACL
Ïà¹ØÎĵµ£º
¡¡¡¡¡¡
һֱûÓÐÍæ¹ýͨ¹ýÃüÁîÔÚDOSÏÂÖ´ÐÐoracleÊý¾Ý¿â,ËäÈ»¸ã¿ª·¢2ÄêÁË£¬»òÐíÕâƪÎÄÕÂдµÃ±È½Ï·ôdz£®µ«»òÐí¶ÔÄÄЩ¸Õ¸ÕѧORACLEµÄÅóÓÑ»¹ÊÇÓÐÒ»¶¨°ïÖúµÄ£®
¡¡¡¡¡¡Í¨¹ýÃüÁîÄܹ»ºÜºÃµÄÖ´ÐдóÅúÁ¿Êý¾Ý½Å±¾£§½Å±¾£®sql£§£®±ÜÃâͨ¹ýPLSQL DeveloperÖ´ÐÐÅúÁ¿Êý¾ÝÔì³ÉµÄËÀ»úÇé¿ö£®
¶þ ......
ÔÚʵ¼ÊµÄÊý¾Ý¿âÓ¦ÓÃÖУ¬ÎÒÃǾ³£Óöµ½ÕâÑùÒ»¸öÎÊÌ⣬Á¬½Óµ½OracleÊý¾Ý¿âµÄÓû§ÔÚ×÷ÁËÒ»´Î²Ù×÷ºó£¬ÔÙҲûÓкóÐø²Ù×÷£¬µ«È´³¤Ê±¼äûÓкÍÊý¾Ý¿â¶Ï¿ªÁ¬½Ó¡£¶ÔÓÚÒ»¸öСÐ͵ÄÓ¦ÓÃϵͳÀ´½²£¬±¾ÉíµÄÁ¬½ÓÊýÄ¿¾ÍÓÐÏÞ£¬ÕâºÃÏñûÓÐʲôÑÏÖصĺó¹û£¬µ«Èç¹û¶ÔÓÚÒ»¸ö´óÐ͵ÄÊý¾Ý¿âÓ¦Óá£ÈçË°Îñ¡¢¹¤É̵ȣ¬Èç¹ûÊý¾Ý¿âµÄÁ¬½ÓÊýÄ¿ºÜ¶à£¬¶ÔÓÚÊý¾Ý¿â ......
¾³£ÓÐͬÊÂ×ÉѯoracleÊý¾Ý¿â×Ö·û¼¯Ïà¹ØµÄÎÊÌ⣬ÈçÔÚ²»Í¬Êý¾Ý¿â×öÊý¾ÝǨÒÆ¡¢Í¬ÆäËüϵͳ½»»»Êý¾ÝµÈ£¬³£³£ÒòΪ×Ö·û¼¯²»Í¬¶øµ¼ÖÂǨÒÆʧ°Ü»òÊý¾Ý¿âÄÚÊý¾Ý±ä³ÉÂÒÂë¡£ÏÖÔÚÎÒ½«oracle×Ö·û¼¯Ïà¹ØµÄһЩ֪ʶ×ö¸ö¼òµ¥×ܽᣬϣÍû¶Ô´ó¼Ò½ñºóµÄ¹¤×÷ÓÐËù°ïÖú¡£
¡¡¡¡Ò»¡¢Ê²Ã´ÊÇoracle×Ö·û¼¯
¡¡¡¡Oracle×Ö·û¼¯ÊÇÒ»¸ö×Ö½ÚÊý¾ÝµÄ½âÊ͵ķûºÅ¼¯ ......
Èç¹û²»ÊÇÒòΪÕâ´Î»»hisµÄ·þÎñÆ÷£¬¹À¼ÆÎÒÒ»Ö±Ò²²»»áÓöµ½Õâ¸öÎÊÌ⣬һֱ¾õµÃoracleºÜ¸ßÉ¶ÔËüҲûÓÐÑо¿£¬¿ÉÕâ´Î»»·þÎñÆ÷£¬Æ«Æ«ÈÃÎÒÓöµ½ÁËÒ»¸öÎÊÌ⣬ÕÛÄ¥ÁËÕûÕûÁ½Ì죬ÖÕÓÚÔÚ×òÌì½â¾öµôÁË£¬¼Ç¼ÏÂÀ´£¬ÒÔ±¸ÒÔºóËùÓá£
ÖÜÎåÍíÉÏ»»ÁË·þÎñÆ÷£¬ÖÜÒ»ÔçÉÏ·¢ÏÖ³¬ÉùµÄ¹¤×÷Õ ......
1. ÔÚoracle Ï´´½¨±í
t_user(
ID varchar(20),
Name varchar(20)
)
2. Ìí¼ÓÊý¾Ý
&nb ......