select * from user_scheduler_job_log select * from user_scheduler_job_run_details select * from user_scheduler_running_jobs select * from dba_scheduler_running_jobs…
1.Oracle log 每次切换会记录到告警日志中 设想写个方案来查看log切换频率来判断Oracle log是否应该更改大小. 2.sql a.查看redo日志信息 select * from v$log b.查看日志切换频率 )*,) and b.THREAD#= order by a.SEQUENCE# desc; 或者 )*,) diff ) order by sequence# desc;…
一.第一种方法 1.切换到oracle用户 su - oracle 2.进入sqlplus窗口 sqlplus / as sysdba 3.执行sql命令,查看trace文件位置:background_dump_dest就是后台日志 show parameter dump; 4.切换到trace目录下 cd /u01/app/oracle/diag/rdbms/prod/PROD/trace 5.查看带有alert关键字的文件,alert_INSTANCENAME.ora即是alert日志的名字…
1.查看当前数据库中的所有用户:select username from dba_users; 2.查看当前会话登录的用户:show user或select username from user_users; 3.查看某用户的所有表:select * from dba_tables where owner='用户名';--用户名要大写或select table_name from dba_tables where owner='NETFOLDER'; 4.查看控制文件的位置等信息:select…
--linux下查看alert日志文件的两种方法: --方法1: SQL> show parameter background_dump_dest; NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ background_dump_dest string /home/oracle/admin/ora125/bdump SQL> ho ls /home/o…