oracleÊý¾Ý¿âµÄÈÕÖ¾ÔÚÄÄ
oracle Êý¾Ý¿âÈÕÖ¾´æ´¢ÔÚÌض¨Î»Öã¬ÏêϸÈçÏ£ºÖØ×öÈÕÖ¾ÎļþÔÚÏßÖØ×öÈÕÖ¾Îļþ¹éµµÈÕÖ¾Îļþsql trace ÈÕÖ¾ÎļþÕï¶ÏÈÕÖ¾ÎļþÐèҪעÖØ£¬ÕâЩÈÕÖ¾ÎļþµÄλÖÿÉÄÜÒò×°ÖúÍÉèÖöøÒì¡£
Oracle Êý¾Ý¿âÈÕ־λÖÃ
Oracle Êý¾Ý¿âÈÕÖ¾¼Í¼ϵͳÔ˶¯ºÍÊý¾Ý¿âÊÂÎñ¡£ÒÔÏÂÊÇ Oracle Êý¾Ý¿âÈÕÖ¾µÄĬÈÏλÖãº
1. ÖØ×öÈÕÖ¾Îļþ
UNIX/Linux£º/opt/oracle/oradata/ORCL/redo01.log£¨ORCL ΪÊý¾Ý¿âÃû³Æ£©
Windows£ºC:\oracle\oradata\ORCL\redo01.log
2. ÔÚÏßÖØ×öÈÕÖ¾Îļþ
UNIX/Linux£º/opt/oracle/oradata/ORCL/onlinelog/o1_mf_1_1024.log
Windows£ºC:\oracle\oradata\ORCL\onlinelog\o1_mf_1_1024.log
3. ¹éµµÈÕÖ¾Îļþ
UNIX/Linux£º/opt/oracle/flash_recovery_area/ORCL/archivelog/2022_05_01/o1_mf_2_1_955963578.arc
Windows£ºC:\oracle\flash_recovery_area\ORCL\archivelog\2022_05_01\o1_mf_2_1_955963578.arc
4. SQL Trace ÈÕÖ¾Îļþ
UNIX/Linux£º/opt/oracle/admin/ORCL/udump/
Windows£ºC:\oracle\admin\ORCL\udump\
5. Õï¶ÏÈÕÖ¾Îļþ
UNIX/Linux£º/opt/oracle/diag/rdbms/ORCL/ORCL/trace/
Windows£ºC:\oracle\diag\rdbms\ORCL\ORCL\trace\
×¢ÖØ£º
ÕâЩÈÕÖ¾ÎļþµÄλÖÿÉÄÜ»áƾ֤ÄúµÄ Oracle ×°ÖúÍÉèÖöøÓÐËù²î±ð¡£
Äú¿ÉÒÔʹÓà ALTER SYSTEM SET LOG_FILE_NAME_CONVERT= ²ÎÊýÀ´¸üËûÈÕÖ¾ÎļþÃû³ÆµÄÃûÌá£
ÒÔÉϾÍÊÇoracleÊý¾Ý¿âµÄÈÕÖ¾ÔÚÄĵÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡