DMP是什么文件?有什么用?

DMP是什么文件?有什么用?,第1张

dmp文件是系统错误的内存转储文件。当电脑蓝屏或系统崩溃时,Windows会将错误报告存储在一个后缀名为“.DMP”的文件里。该文件记录了系统错误的详细信息,技术人员可以分析它找到系统崩溃的原因,从而解决问题。分析dmp文件的步骤如下:

1、首先我们要找到dump文件,dump文件则是记录了蓝屏之前数据在内存中的情况。

/iknow-pic.cdn.bcebos.com/8b82b9014a90f60308e1d59f3712b31bb151ed91"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/8b82b9014a90f60308e1d59f3712b31bb151ed91?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/8b82b9014a90f60308e1d59f3712b31bb151ed91"/>

2、然后在“我的电脑”图标上右键“属性”打开系统属性,可在启动和故障恢复中找到dmp文件。

/iknow-pic.cdn.bcebos.com/7c1ed21b0ef41bd5e6faa12c5fda81cb38db3db8"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/7c1ed21b0ef41bd5e6faa12c5fda81cb38db3db8?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/7c1ed21b0ef41bd5e6faa12c5fda81cb38db3db8"/>

3、dump文件需要微软专门的分析工具,需要自行下载安装,下载后,点击下载的文件运行安装。

/iknow-pic.cdn.bcebos.com/960a304e251f95caff6edb6ec7177f3e6609524a"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/960a304e251f95caff6edb6ec7177f3e6609524a?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/960a304e251f95caff6edb6ec7177f3e6609524a"/>

4、一直点“下一步”默认安装即可。安装后,在启动菜单找到启动程序,运行起来。

/iknow-pic.cdn.bcebos.com/8601a18b87d6277f12ba7be026381f30e824fcba"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/8601a18b87d6277f12ba7be026381f30e824fcba?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/8601a18b87d6277f12ba7be026381f30e824fcba"/>

5、然后运行分析工具

/iknow-pic.cdn.bcebos.com/6a63f6246b600c3338f89710144c510fd8f9a161"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/6a63f6246b600c3338f89710144c510fd8f9a161?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/6a63f6246b600c3338f89710144c510fd8f9a161"/>

6、在分析前我们先要做个简单的设置

/iknow-pic.cdn.bcebos.com/5366d0160924ab18c334a9ef3bfae6cd7a890bc3"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/5366d0160924ab18c334a9ef3bfae6cd7a890bc3?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/5366d0160924ab18c334a9ef3bfae6cd7a890bc3"/>

7、会d出如下提示,我们在文本框输入:srv*D:mwin7symbolsx86*http://msdl.microsoft.com/download/symbols,按ok就设置完毕。

/iknow-pic.cdn.bcebos.com/42166d224f4a20a4f6b5751f9e529822730ed0bb"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/42166d224f4a20a4f6b5751f9e529822730ed0bb?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/42166d224f4a20a4f6b5751f9e529822730ed0bb"/>

8、然后点击File菜单目录下的点击OpenCrashDump菜单项,选择你所要分析的dmp文件。

/iknow-pic.cdn.bcebos.com/b58f8c5494eef01f31be511deefe9925bd317dbb"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/b58f8c5494eef01f31be511deefe9925bd317dbb?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/b58f8c5494eef01f31be511deefe9925bd317dbb"/>

9、然后就会对dmp文件进行分析了。

/iknow-pic.cdn.bcebos.com/9922720e0cf3d7cacd8077aefc1fbe096a63a9f0"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/9922720e0cf3d7cacd8077aefc1fbe096a63a9f0?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/9922720e0cf3d7cacd8077aefc1fbe096a63a9f0"/>

dmp是数据库导出的文件,用以备份数据库用,一般会用exp命令来导出,用imp命令来导入也就是恢复数据库。\x0d\x0a\x0d\x0a导出数据库备份dmp文件\x0d\x0aexp user/password@orcl file=d:\dataBak\oracle.dmp log=e:\log.txt full=y\x0d\x0a导入数据库备份dmp文件\x0d\x0aimp user/password@orcl file=d:\dataBak\oracle.dmp log=e:\log.txt ignore=y full=y\x0d\x0a\x0d\x0a基本就用这些就可以了,我每次导出导入就只用了这些参数,都能满足需求的。\x0d\x0a\x0d\x0afull=y就是全部,把表、存储过程、函数等一起导出,导入时也一样,导入中的ignore=y是忽略重复表,就是原来你存在这些表中的某个的话,会报错误信息,加上这个就不会了。


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/sjk/6701463.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-03-27
下一篇 2023-03-27

发表评论

登录后才能评论

评论列表(0条)

保存