Oracle 10GÊý¾Ý¿âÖÐ"ORA
£±¡¢ÔÚ¼ÆËã»ú ¿ªÊ¼--->¹ÜÀí-->·þÎñÖÐûÓп´µ½ OracleOraHome92TNSListener ·þÎñ£¬µ«·þÎñÒѾÆô¶¯
£²¡¢C:\>lsnrctl start¡¡Ö´ÐÐÍêºó±¨open service error¡£È»ºóÔÚ¼ÆËã»ú ¿ªÊ¼--->¹ÜÀí-->·þÎñÖп´µ½¡¡¡¡ÁË OracleOraHome92TNSListener ·þÎñ
£³¡¢ÔËÐÐregedit.exeÆô¶¯×¢²á±í±à¼Æ÷£¬ÔÚHKEY_LOCAL_MACHINE/SYSTEM/ControlSet002/ϵÄServicesºÍCurrentControlSet/ServicesÏÂÕÒµ½OracleOraHome92TNSListenerÏÔÚÓұߴ°¿Ú°´ÓÒ¼ü£¬Ð½¨/×Ö·û´®£¬È¡ÃûImagePath¡£
Ë«»÷мûµÄ½¨£¬ÔÚ“ÊýÖµÊý¾Ý”ÏîÊäÈëD:\oracle\ora92\bin\TNSLSNR.EXE£¨¸ù¾ÝÄã×Ô¼ºµÄʵ¼ÊÇé¿ö½øÐÐÐ޸ģ©£¬È·¶¨Íê³É¡£
ÔÙ´ÎÔÚ·þÎñÖÐË«»÷´ò¿ªOracleOraHome92TNSListenerµÄ·þÎñ¿´µ½Æä“¿ÉÖ´ÐÐÎļþµÄ·¾¶”Ò»À¸ÒѾÏÔʾÁËÆäÕýÈ·µÄÖµ¡£ÕâʱÄã¿ÉÒÔÆô¶¯¼àÌýÁË¡£
£´¡¢C:>tnsping Êý¾Ý¿âSID¡£¿´¿´tns·þÎñûÓÐÆðÀ´¡£Èç¹ûûÓÐÆðÀ´£¬ÓÃÏÂÃæµÄÃüÁî
c:\>lsnrctl
lsnrctl>start°ÑÕâ¸ö·þÎñÆð¶¯ÆðÀ´¡£
c:\>lsnrctl start¡¡ºóopen service error´íÎóÏûʧ£¬µ«Àý³ÌÖÐÓÐÒ»¸ö״̬ΪUNKNOWN£¬ÁíÒ»¸öΪREADY.ÃüÁîÖ´Ðгɹ¦¡£
Ïà¹ØÎĵµ£º
FORALLÓï¾äµÄÒ»¸ö¹Ø¼üÐԸĽø£¬Ëü¿É´ó´ó¼ò»¯´úÂ룬²¢ÇÒ¶ÔÓÚÄÇЩҪÔÚPL/SQL³ÌÐòÖиüкܶàÐÐÊý¾ÝµÄ³ÌÐòÀ´Ëµ£¬Ëü¿ÉÏÔÖøÌá¸ßÆäÐÔÄÜ¡£
1:
ÓÃFORALLÀ´ÔöÇ¿DMLµÄ´¦ÀíÄÜÁ¦
OracleΪOracle8iÖеÄPL/SQLÒýÈëÁËÁ½¸öеÄÊý¾Ý²Ù×ÝÓïÑÔ£¨DML£©Óï¾ä£ºBULK COLLECTºÍFORALL¡£ÕâÁ½¸öÓï¾äÔÚPL/SQLÄÚ²¿½øÐÐÒ»ÖÖÊý×é´¦Àí
£»BULK COLLE ......
Oracle Database 10g ÌṩÁËÒ»¸öÏÔÖø¸Ä½øµÄ¹¤¾ß£º×Ô¶¯¹¤×÷¸ºÔØÐÅÏ¢¿â (AWR:Automatic Workload Repository)¡£Oracle ½¨ÒéÓû§ÓÃÕâ¸öÈ¡´ú Statspack¡£AWR ʵÖÊÉÏÊÇÒ»¸ö Oracle µÄÄÚÖù¤¾ß£¬Ëü²É¼¯ÓëÐÔÄÜÏà¹ØµÄͳ¼ÆÊý¾Ý£¬²¢´ÓÄÇЩͳ¼ÆÊý¾ÝÖе¼³öÐÔÄÜÁ¿¶È£¬ÒÔ¸ú×ÙDZÔÚµÄÎÊÌâ¡£Óë Statspack ²»Í¬£¬¿ìÕÕÓÉÒ»¸ö³ÆÎª MMON µÄеĺó ......
RMAN> startup nomount;
RMAN> sql 'alter session set nls_date_format=''yyyy-mm-dd hh24:mi:ss''";
--ÒòΪrmanĬÈÏÒÔ»·¾³±äÁ¿À´¶Áȡʱ¼ä¸ñʽ£¬ÓësqlplusµÄ¹Ì¶¨¸ñʽ²»Í¬£¬ËùÒÔ£¬´Ë´¦ÒªÉ趨ʱ¼ä¸ñʽ±äÁ¿¡£
RMAN> restore controlfile from autobackup until time '2009-03-10 18:15:00';
×¢Ò⣬ÈÔÈ»ÐèÒªÊʵ±µ ......
Ô´´ÓÚ2007Äê04ÔÂ12ÈÕ£¬2009Äê10ÔÂ15ÈÕÇ¨ÒÆÖÁ´Ë¡£
windows xp£¬Êý¾Ý¿âoracle 10.2.0¡£1
ûÓб¸·Ý£¬»ù±¾ÉÏÊÇĬÈϰ²×°£¬ºÃÏñ»¹²»Êǹ鵵ģʽ
Ö¢×´£ºsqlplusÖ»ÓÐsysdbaÓû§ÄܽøÈ¥£¬ÆäËûÓû§½øÈ¥Ò»¸Å±¨£ºora-01033£ºoracleÕýÔÚ³õʼ»¯»ò¹Ø±Õ
¶øÇÒsysdbaÓû§½øÈ¥Ö®ºóÄÜÖ´ÐÐselect sysdate from dual£¬µ«ÊÇÖ´ÐÐselect use ......