Tracefile的命名规则和存放路径是什么

Trace file的命名规则和存放路径是什么,针对这个问题,这篇文章详细介绍了相对应的分析和解答,希望可以帮助更多想解决这个问题的小伙伴找到更简单易行的方法。

成都创新互联是一家专注于成都网站设计、成都网站建设、外贸网站建设与策划设计,繁昌网站建设哪家好?成都创新互联做网站,专注于网站建设10年,网设计领域的专业建站公司;建站业务涵盖:繁昌等地区。繁昌做网站价格咨询:028-86922220

Trace file names are platform-dependent. Typically, database background process trace file names contain the Oracle SID, the background process name, and the operating system process number, while server process trace file names contain the Oracle SID, the string "ora", and the operating system process number. The file extension is .trc. An example of a server process trace file name is orcl_ora_344.trc. Trace files are sometimes accompanied by corresponding trace map (.trm) files, which contain structural information about trace files and are used for searching and navigation.
跟踪文件名是平台相关的。通常,数据库后台进程跟踪文件名称包含Oracle SID、后台进程名称和操作系统进程编号,而服务器进程跟踪文件名包含Oracle SID、字符串“ora”和操作系统进程号。文件扩展名是.trc。服务器进程跟踪文件名的一个示例是orcl_ora_344.trc。跟踪文件有时会附带相应的跟踪映射(.trm)文件,其中包含有关跟踪文件的结构信息,并用于搜索和导航。

Trace file的存放路径
SQL> show parameter user_dump_dest
USER_DUMP_DEST specifies the pathname for a directory where the server will write debugging trace files on behalf of a user process.
--user_dump_dest参数指定的目录就是trace file的目录

To find the trace file for your current session:
SQL>SELECT VALUE FROM V$DIAG_INFO WHERE NAME = 'Default Trace File';

To find all trace files for the current instance:
SQL>SELECT VALUE FROM V$DIAG_INFO WHERE NAME = 'Diag Trace';

To determine the trace file for each Oracle Database process:
SQL>SELECT SPID,PROGRAM,TRACEFILE FROM V$PROCESS;

关于Trace file的命名规则和存放路径是什么问题的解答就分享到这里了,希望以上内容可以对大家有一定的帮助,如果你还有很多疑惑没有解开,可以关注创新互联行业资讯频道了解更多相关知识。


当前标题:Tracefile的命名规则和存放路径是什么
浏览地址:http://bzwzjz.com/article/pediej.html

其他资讯

Copyright © 2007-2020 广东宝晨空调科技有限公司 All Rights Reserved 粤ICP备2022107769号
友情链接: 营销网站建设 成都网站制作 网站建设公司 网站建设 app网站建设 成都网站制作 LED网站设计方案 定制级高端网站建设 成都品牌网站设计 成都网站建设 成都定制网站建设 成都网站制作 H5网站制作 成都网站建设 营销型网站建设 成都网站设计 成都网站设计 重庆手机网站建设 企业网站制作 成都网站设计 成都网站制作 响应式网站设计方案