.DMP file of logical dump is an OS file or Database file
Dear All,
I attended an interview yesterday and they asked me weather
.DMP file of logical dump is an OS file or Database file????
Can anybody give me some gud explananation on this
Sure, its not a datafile.
Its OS file that can only understood by the export and import utilities.
Export and Import are external utilities (Oracle provided).
Jaffar
Similar Messages
-
Is it possible to read an Oracle dump (.dmp file) on the Web
Hello,
I was wondering if it is possible to interact with an Oracle dump
(.dmp file) via a web application (Java or Coldfusion). Does
anyone know?
Thanks in advance.
Drew
nullhttp://lmgtfy.com/?q=open+ost+files+on+mac
-
Crash reporter often generates empty (0 kb) dump (dmp) files
My Firefox crashes quite often, but that's not the topic of this question. The problem is that often when it crashes, an empty dmp file is generated which causes the crash reporter not to submit the crash report. I have used the about:crashes page to submit pending reports that had non-empty dmp files, but not one report with an empty one got submitted.
I think this (generating empty dmp files) is a bug that needs to be solved to better solve other bugs. Can anyone give me any information about this bug (preferably how to fix it)? Should I post a bug report to Bugzilla?
== This happened ==
A few times a week
== oldest empty dmp file is Nov. 5 2009Hi,
Event ID: 1000; Source: Application Error; please refer to:
http://www.eventid.net/display-eventid-1000-source-Application%20Error-eventno-1475-phase-1.htm
I would recommend you try
some general steps about troubleshooting explorer.exe crash Issues.
Bug Check 0xC5, please refer to:
http://msdn.microsoft.com/en-us/library/windows/hardware/ff560192(v=vs.85).aspx
Hope this helps.
Regards.
Spencer
TechNet Community Support -
Restore DMP file in Oracle 10G - URGENT!
hello, Oracle forum. I am a sql dba crossing over and need some help ASAP! Since I am new at 10G, I received some DMP files from a client and need to restore them ASAP!. Can you please provide EXACT steps on how to do this? I prefer to use the OEM gui, but need step-by-step. Await reply...Many thanks!
Hi..
There are few questions to be answered:--
1. What does that dump contain. Is it a table level or a schema level or a full database dump
2. If its a table level who is the owner of the table
3. If its a schema level , whats the schema name.
4. was the export taken with exp or expdp utility.
5. Is the database in which the export dump is to be imported have that schema or is that the data has to be imported to some other schema.
After all this information you can use imp or impdp utility it import the data in 10g database.
For imp [http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#i1023560]
for impdp [http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_import.htm#g1025464]
HTH
Anand -
Hello,
i have some problems with the import of data in dmp-files. As a reference i have the book "pro oracle spatial" and there i try to do the sample in chapter 11 and view the sample-data with mapviewer. i have downloaded the demodata on harddisc, created the user "spatial2" (i have already a user spatial) and now i can't get further. i have never imported data with this command (imp ...). where do i have do save the dump-files? and where are the dump-files that are listed in the book? i am really a little bit confused. maybe somebody can help. i have oracle database 10.1.0.3 on a sles9.
with kind regards
katrinKatrin,
Go to the directory where you've downloaded the dump files.
Assuming you have a user called spatial2 with password spatial2, and your dumpfile is foo.dmp, something like this would work:
imp spatial2/spatial2 file=foo.dmp full=y
See the oracle utilities guide for more information about import/export. -
Reading Large Memory.dmp files
I'm got a 2003 servers and I got the error below. I've found how you can read the small memory.dmp files, but this file is 1.5GB. Can anyone tell me how I can read this? Or what this error is? The system unexpectedly shut down.
The computer has rebooted from a bugcheck. The bugcheck was: 0x0000007e (0xc0000005, 0xb96de1d1, 0xb69e9240, 0xb69e8f3c). A dump was saved in: C:\WINDOWS\MEMORY.DMP.
Thanks,
ScottHi,
I would like to suggest you update the BIOS and the hardware drivers first.
If it does not work, you may also analyze them with Debugging Tools by yourself. You can install it and it’s Symbol Packages from the following
link:
http://www.microsoft.com/whdc/Devtools/Debugging/default.mspx
WinDbg will tell you the possible cause. For more information, please read Microsoft KB article below:
How to read the small memory dump files that Windows creates for debugging
http://support.microsoft.com/kb/315263
If no clue can be found, you may contact Microsoft Customer Service and Support (CSS) via telephone so that a dedicated Support Professional can assist
with your request. To troubleshoot this kind of kernel crash issue, we need to debug the crashed system dump. Unfortunately, debugging is beyond what we can do in the forum. Please be advised that contacting phone support will be a charged call.
To obtain the phone numbers for specific technology request please take a look at the web site listed below:
http://support.microsoft.com/default.aspx?scid=fh;EN-US;OfferProPhone#faq607
Regards,
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
Good Afternoon,
I need to import a .dmp file. Could someone please give me a brief step-by-step procedure that I can work with to get started with this task. Also, where might I find information regarding this so that I'll have the guidance to do this on my own. I have recently begun to dive into 10g administration.
Thanks for the helpcheck oracle doc,
http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/toc.htm
find out if this is original export dump or data pump dump. -
Hi
My Oracle version is , oracle 9i , i wanted to import a dump file which has taken by same version of oracle.when i executed the imp command for that dump file , i'm getting following error message.
Export file created by EXPORT:V09.02.00 via conventional path
import done in UTF8 character set and UTF8 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
export client uses US7ASCII character set (possible charset conversion)
export server uses AL16UTF16 NCHAR character set (possible ncharset conversion)
IMP-00017: following statement failed with ORACLE error 4068:
"BEGIN "
"sys.dbms_logrep_imp.instantiate_schema(schema_name=>'Hotels', export_db_na"
"me=>'Hotels.US.ORACLE.COM', inst_scn=>'1363425837');"
"COMMIT; END;"
IMP-00003: ORACLE error 4068 encountered
ORA-04068: existing state of packages has been discarded
ORA-04063: package body "SYS.DBMS_LOGREP_UTIL" has errors
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at "SYS.DBMS_LOGREP_IMP", line 271
How can i solve this ? can some body help me plz ?
Thank you
Luke
Edited by: user2975888 on Jul 10, 2009 7:36 AMHi
Sorry for delayed reply with results.
SQL> select count(*) from dba_objects where status like '%INVALID%';
COUNT(*)
29
OWNER OBJECT_NAME OBJECT_TYPE
SYS DBA_LOGSTDBY_LOG VIEW
SYS DBA_LOGSTDBY_PROGRESS VIEW
SYS DBMS_ASYNCRPC_PUSH PACKAGE BODY
SYS DBMS_CAPTURE_ADM_INTERNAL PACKAGE BODY
SYS DBMS_CAPTURE_PROCESS PACKAGE BODY
SYS DBMS_DEFER_QUERY PACKAGE BODY
SYS DBMS_DEFER_SYS PACKAGE BODY
SYS DBMS_DEFER_SYS_PART1 PACKAGE BODY
SYS DBMS_INTERNAL_LOGSTDBY PACKAGE BODY
SYS DBMS_LOGMNR_D PACKAGE BODY
SYS DBMS_LOGMNR_FFVTOLOGMNRT PROCEDURE
SYS DBMS_LOGMNR_INTERNAL PACKAGE BODY
SYS DBMS_LOGMNR_LOGREP_DICT PACKAGE BODY
SYS DBMS_LOGMNR_OCTOLOGMNRT PROCEDURE
SYS DBMS_LOGMNR_SESSION PACKAGE BODY
SYS DBMS_LOGREP_UTIL PACKAGE BODY
SYS DBMS_LOGSTDBY PACKAGE BODY
SYS DBMS_REPCAT_MAS PACKAGE BODY
SYS DBMS_REPCAT_SNA_UTL PACKAGE BODY
SYS DBMS_REPCAT_UTL PACKAGE BODY
SYS DBMS_SNAPSHOT PACKAGE BODY
SYS DBMS_STREAMS_ADM_UTL PACKAGE BODY
SYS LOGMNR_DICT_CACHE PACKAGE BODY
SYS LOGMNR_GTLO3 PROCEDURE
SYS LOGMNR_KRVRDA_TEST_APPLY PROCEDURE
SYS LOGMNR_KRVRDLUID3 PROCEDURE
SYS LOGMNR_KRVRDREPDICT3 PROCEDURE
GATEWAY AB_TRIGGER TRIGGER
GATEWAY APPLETINFO_TRIGGER TRIGGER
29 rows selected
This is the error i'm getting when i'm importing the dmp file .
Import: Release 9.2.0.7.0 - Production on Sat Jul 11 18:48:37 2009
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to: Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
With the Partitioning option
JServer Release 9.2.0.7.0 - Production
Export file created by EXPORT:V09.02.00 via conventional path
import done in UTF8 character set and UTF8 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
export client uses US7ASCII character set (possible charset conversion)
export server uses AL16UTF16 NCHAR character set (possible ncharset conversion)
IMP-00017: following statement failed with ORACLE error 4068:
"BEGIN "
"sys.dbms_logrep_imp.instantiate_schema(schema_name=>'GATEWAY', export_db_na"
"me=>'GATEWAY.US.ORACLE.COM', inst_scn=>'1363425837');"
"COMMIT; END;"
IMP-00003: ORACLE error 4068 encountered
ORA-04068: existing state of packages has been discarded
ORA-04063: package body "SYS.DBMS_LOGREP_UTIL" has errors
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at "SYS.DBMS_LOGREP_IMP", line 271
ORA-06512: at line 2
Thanks
Luke -
Possiblity to import any particular table from the full dmp file
Hi,
I am using Oracle 10G database.
I a have dmp file.
I need to import only a particular from that dmp file.
Is there any possiblity to import a particular table from the whole dump.
Thanks and Regards,
Ansaf.Ansaf wrote:
Hi,
I am using Oracle 10G database.
I a have dmp file.
I need to import only a particular from that dmp file.
Is there any possiblity to import a particular table from the whole dump.
Thanks and Regards,
Ansaf.
You can specify like below example
impdp hr TABLES=employees, xxx, xxxCheers -
Regarding Import .dmp files to Oracle
I have GosalesDw.dmp files. I need to import these files to Oracle database.
I am loging to system/admin . Then I issues 'host cmd' and then i am using ' imp' command for import. But i am unable to import.
I think I am giving wrong information for path . so suggested me how i will give the path.
can you please explain me with Example.
Thanks,
MohanaKrishna KPost Operating System (OS) name & version for DB server system.
Post results of
SELECT * from v$version
I am loging to system/admin why
imp help=yes
Import: Release 10.2.0.1.0 - Production on Wed Mar 3 09:47:46 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
You can let Import prompt you for parameters by entering the IMP
command followed by your username/password:
Example: IMP SCOTT/TIGER
Or, you can control how Import runs by entering the IMP command followed
by various arguments. To specify parameters, you use keywords:
Format: IMP KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
Example: IMP SCOTT/TIGER IGNORE=Y TABLES=(EMP,DEPT) FULL=N
or TABLES=(T1:P1,T1:P2), if T1 is partitioned table
USERID must be the first parameter on the command line.
Keyword Description (Default) Keyword Description (Default)
USERID username/password FULL import entire file (N)
BUFFER size of data buffer FROMUSER list of owner usernames
FILE input files (EXPDAT.DMP) TOUSER list of usernames
SHOW just list file contents (N) TABLES list of table names
IGNORE ignore create errors (N) RECORDLENGTH length of IO record
GRANTS import grants (Y) INCTYPE incremental import type
INDEXES import indexes (Y) COMMIT commit array insert (N)
ROWS import data rows (Y) PARFILE parameter filename
LOG log file of screen output CONSTRAINTS import constraints (Y)
DESTROY overwrite tablespace data file (N)
INDEXFILE write table/index info to specified file
SKIP_UNUSABLE_INDEXES skip maintenance of unusable indexes (N)
FEEDBACK display progress every x rows(0)
TOID_NOVALIDATE skip validation of specified type ids
FILESIZE maximum size of each dump file
STATISTICS import precomputed statistics (always)
RESUMABLE suspend when a space related error is encountered(N)
RESUMABLE_NAME text string used to identify resumable statement
RESUMABLE_TIMEOUT wait time for RESUMABLE
COMPILE compile procedures, packages, and functions (Y)
STREAMS_CONFIGURATION import streams general metadata (Y)
STREAMS_INSTANTIATION import streams instantiation metadata (N)
VOLSIZE number of bytes in file on each volume of a file on tape
The following keywords only apply to transportable tablespaces
TRANSPORT_TABLESPACE import transportable tablespace metadata (N)
TABLESPACES tablespaces to be transported into database
DATAFILES datafiles to be transported into database
TTS_OWNERS users that own data in the transportable tablespace set
Import terminated successfully without warnings. -
Restore a .DMP file in Oracle XE
Hello,
I am new to Oracle and I downloaded the XE version for testing purposes. Can anyone tell how I restore a .dmp file? I got the file from a cient and need to run some queries on it. Any help on this would be great.
Thanks.
AnilI wish I can tell you how it was created. I got this
file from my client site and I have been unable to
find out how it was created as yet. Is there a place
where I can get step by step instruction about how I
could import this file? Well, that's the dilema. The 'import' steps depend on how the 'export' was taken. Indeed, it it possible that the dump was created with non-Oracle tools.
Anyway, I created a couple of 'normal' exports from my Windows-based XE, one using exp and one using expdp. Then I opened the resulting dump files (with Cream/Vim) just to see what I could see.
exp test/test file=exp.dmp tables=testresulting in a file wit the first lines reading:
^C^@+EXPORT:V10.02.01
UTEST
RTABLES
2048
0
20
0and
expdp test/test directory=tempdir dumpfile=expdp.dmp tables=testcontained the following around the middle of line 2
TEST"."SYS_EXPORT_TABLE_01 -
Is it possible to read a corrupted or incomplete dmp file?
I hava an export file but while export operation an error was raised and the export finished with errors. However, until the problem, a lot of tables were exported. I can see from logfile.
Now, is there any way to read this broken dmp file?
when i want to import, the error says:
ORA-39246: cannot locate master table within provided dump files
ORA-39059: dump file set is incomplete
is there anything like DUL for this?source database and target database are same
Oracle Linux x86 64 and Oracle Version 11.2.0.1
export log error lines:_
ORA-39097: Veri Pompasý iþi beklenmeyen -1423 hatasý ile karþýlaþtý
ORA-39065: MAIN içinde beklenmeyen ana iþlem istisnasý
ORA-01423: kesin okuma içinde fazla satýrlarý kontrol ederken hata ile karþýlaþýldý
ORA-04030: 123404 bayt ayrýlmaya çalýþýlýrken iþlem belleði tükendi (QERHJ hash-joi, kllcqas:kllsltba)
"SYSTEM"."SYS_EXPORT_SCHEMA_18" iþi 06:20:02 konumunda tehlikeli hata nedeniyle durduruldu
import log error lines:_
Import: Release 11.2.0.1 - Production on Sat May 18 01:30:23 2013
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39246: cannot locate master table within provided dump files
ORA-39059: dump file set is incomplete
first lines of export log
Export: Release 11.2.0.1.0 - Production on Çar Mar 20 23:00:00 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Baðlanýlan: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
"SYSTEM"."SYS_EXPORT_SCHEMA_18" baþlatýlýyor: system/******** directory=yedek dumpfile=full.dmp logfile=full.log network_link=yedek schemas=kecdh
BLOCKS yöntemi kullanýlarak devam eden oran tahmini...
SCHEMA_EXPORT/TABLE/TABLE_DATA nesne türü iþleniyor
BLOCKS yöntemi kullanýlarak yapýlan toplam tahmin: 53.79 GB
SCHEMA_EXPORT/USER nesne türü iþleniyor
SCHEMA_EXPORT/SYSTEM_GRANT nesne türü iþleniyor
SCHEMA_EXPORT/ROLE_GRANT nesne türü iþleniyor
SCHEMA_EXPORT/DEFAULT_ROLE nesne türü iþleniyor
SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA nesne türü iþleniyor
SCHEMA_EXPORT/SEQUENCE/SEQUENCE nesne türü iþleniyor
SCHEMA_EXPORT/TABLE/TABLE nesne türü iþleniyor
SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT nesne türü iþleniyor
SCHEMA_EXPORT/TABLE/INDEX/INDEX nesne türü iþleniyor
SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT nesne türü iþleniyor
SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS nesne türü iþleniyor
SCHEMA_EXPORT/TABLE/COMMENT nesne türü iþleniyor
SCHEMA_EXPORT/FUNCTION/FUNCTION nesne türü iþleniyor
SCHEMA_EXPORT/FUNCTION/ALTER_FUNCTION nesne türü iþleniyor
SCHEMA_EXPORT/VIEW/VIEW nesne türü iþleniyor
SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT nesne türü iþleniyor
SCHEMA_EXPORT/TABLE/TRIGGER nesne türü iþleniyor
SCHEMA_EXPORT/TABLE/INDEX/FUNCTIONAL_AND_BITMAP/INDEX nesne türü iþleniyor
SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_AND_BITMAP/INDEX_STATISTICS nesne türü iþleniyor
SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS nesne türü iþleniyor
. . "KECDH"."HISFSAT" 4.200 GB 13587111 satýr dýþa aktarýldý
. . "KECDH"."IMAGE" 4.327 GB 15270389 satýr dýþa aktarýldý
. . "KECDH"."HLABS" 3.743 GB 35061336 satýr dýþa aktarýldý
. . "KECDH"."KLINIKGIRISIMGONDERILEN" 3.097 GB 24307580 satýr dýþa aktarýldý
. . "KECDH"."MV3ISLEM" 2.813 GB 19920143 satýr dýþa aktarýldý
. . "KECDH"."HFISKAL" 2.769 GB 27210951 satýr dýþa aktarýldý
. . "KECDH"."MV3LOGLAR" 1.362 GB 321743 satýr dýþa aktarýldý
. . "KECDH"."EPIKRIZYAZ" 1.800 GB 244 satýr dýþa aktarýldý
. . "KECDH"."HBILGI" 1.018 GB 4223836 satýr dýþa aktarýldý
. . "KECDH"."ICMESAJEK" 1.276 GB 38554 satýr dýþa aktarýldý
. . "KECDH"."AUDHPISLEM" 805.4 MB 4537386 satýr dýþa aktarýldý
. . "KECDH"."MV3HASTAKABUL" 712.3 MB 3860875 satýr dýþa aktarýldý
. . "KECDH"."HPISLEM" 613.6 MB 3931673 satýr dýþa aktarýldý
. . "KECDH"."ETABSAT" 592.1 MB 5241158 satýr dýþa aktarýldý
. . "KECDH"."HFATURA" 563.4 MB 4634831 satýr dýþa aktarýldý
. . "KECDH"."SNETNOTHL7SOAP" 393.6 MB 79635 satýr dýþa aktarýldý
. . "KECDH"."MV3LOGDETAY" 495.3 MB 3743301 satýr dýþa aktarýldý
. . "KECDH"."SAGLIKNETHATALAR" 450.4 MB 2202541 satýr dýþa aktarýldý
Edited by: 983327 on May 18, 2013 9:02 AM
Edited by: 983327 on May 18, 2013 9:03 AM
Edited by: 983327 on May 18, 2013 9:04 AM
Edited by: 983327 on May 18, 2013 9:06 AM -
How to make a dmp file for a table contains encrypted column/s?
Hi All,
I've created a table with encrypted columns using TDE (Wallet). When I tried to make a dmp file by this command:
exp system/password file=<path>\ex.dmp owner=ex
the command pormpt gives this error: Feature (COLUMN ENCRYPTION) of column EMP_SSN in table EX.EMPLOYEES is not supported. the table will not be exported.
How to solve this problem?
I want to make a dmp file which export data of encrypted column in an encrypted format not clear format. How?
Note:
there is a parameter: ENCRYPTED_COLUMNS_ONLY: Encrypted columns are written to the dump file set in encrypted formatStart by reading the manual :-
http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_overview.htm#SUTIL100
Or you can run in interactive mode :-
[oracle@dev-oranode-221 ~]$ expdp
Export: Release 11.2.0.1.0 - Production on Mon Nov 23 13:08:00 2009
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Username: a
Password:
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining, Oracle Database Vault
and Real Application Testing options
FLASHBACK automatically enabled to preserve database integrity.
Starting "A"."SYS_EXPORT_SCHEMA_01": a/********
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 192 KB
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/TABLESPACE_QUOTA
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/COMMENT
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/POST_TABLE_ACTION
Processing object type SCHEMA_EXPORT/MATERIALIZED_VIEW
Processing object type SCHEMA_EXPORT/TABLE/MATERIALIZED_VIEW_LOG
Processing object type SCHEMA_EXPORT/POST_SCHEMA/PROCACT_SCHEMA
. . exported "A"."EMP" 5.421 KB 1 rows
. . exported "A"."EMP_MV" 5.429 KB 1 rows
. . exported "A"."TEST" 5.023 KB 1 rows
. . exported "A"."MLOG$_EMP" 0 KB 0 rows
. . exported "A"."SOURCE" 0 KB 0 rows
Master table "A"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
Dump file set for A.SYS_EXPORT_SCHEMA_01 is:
/opt/oracle/product/admin/db1122/dpdump/expdat.dmp
Job "A"."SYS_EXPORT_SCHEMA_01" successfully completed at 13:09:23 -
How to extract Exadata .dmp files into older versions of Oracle
Hi, Our customer has provided exadata .dmp files ( HCC compressed) and I don't have access to Oracle Exadata - are there ways or utiltiies to extract these dumps to Older versions of Oracle? or even Oracle Express.
Thanks/PrasadHi,
To Export form Exadata (DB 11g R2) and Import into Older versions of Oracle (Ex. 10g)
You have to use exp utility which is version 10g and imp by utility 10g
Ex. use oracle 10 client to connect to Exadata and run exp cmd then imp.
BR
Sami -
Showing DMP file information in my application
I would also like to be able to show information on the .DMP files located in C:\Windows\MiniDump or c:\windows\memory.dmp - i.e. in same sort of way as
http://www.nirsoft.net/utils/blue_screen_view.html and
http://www.resplendence.com/whocrashed do it
I have managed to do it for .WER files as per other forum post - but it is not so simple with .DMP files as you cannot simply see lines of information inside them - but it must be possible as the above tool Blue Screen View is only small/simple and somehow
can show you information like in screenshot below - I would like to achieve something similar to that - so basically you can see list of the dmp files with date and at least information such as error (bug check string) and faulting module
Any thoughts/ideas/guidance on how I could do this??
Many thanks
Darren RoseI have worked out how to achieve my requirements using files from the debugging tools download - still not sure how above programs do it without, but perhaps they have just integrated the files in their apps
My code is below for anyone who is interested - probably not best code in world, but it does what I need
It requires the following files from the standalone debugging tools (https://msdn.microsoft.com/en-US/windows/hardware/gg454513):-
dbgeng.dll
dbghelp.dll
kd.exe
symsrv.dll
triage/triage.ini
winext/ext.dll
winext/kext.dll
Imports System.IO
Public Class Form1
Dim ListViewDMPlog As ListViewItem = Nothing
Dim arrayDMPlog(6) As String
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
End Sub
Private Sub btnScanDMPFiles_Click(sender As Object, e As EventArgs) Handles btnScanDMPFiles.Click
' disables scan button
btnScanDMPFiles.Enabled = False
' create listview for showing dmp file details
lvwDMP.View = View.Details
' Clear existing items from listview
lvwDMP.Clear()
' Create columns and set width
lvwDMP.Columns.Add("Crash Time", 120)
lvwDMP.Columns.Add("File Name", 150)
lvwDMP.Columns.Add("Caused By", 100)
lvwDMP.Columns.Add("Error", 220)
lvwDMP.Columns.Add("System Uptime", 100)
lvwDMP.Columns.Add("Full Path", 250)
lvwDMP.FullRowSelect = True
Try
' Code to collect all .dmp files in c:\windows\minidump and add them to a list - courtesy of Frank L Smith :)
Dim DMPFileList As New List(Of String)
Dim dirPath As String = "C:\Windows\MiniDump"
Dim di As New IO.DirectoryInfo(dirPath)
If Directory.Exists(dirPath) Then
Dim qry As IOrderedEnumerable(Of String) = From fi As IO.FileInfo In di.EnumerateFiles("*.dmp") Select fi.FullName Order By FullName
If qry IsNot Nothing AndAlso qry.Count > 0 Then
DMPFileList = qry.ToList
End If
End If
' checks for memory.dmp in c:\windows and if exists then adds it to list
If File.Exists("C:\windows\memory.dmp") Then
DMPFileList.Add("C:\windows\memory.dmp")
End If
For Each Path As String In DMPFileList
' working cmd when run from cmd prompt to analyze dmp files (or can use cdb)
' kd -z C:\Windows\MiniDump\042414-24632-01.dmp -c "!analyze -v;q"
' alternative version which downloads symbols (not used as very slow, not reliable and often gives no more information anyway)
' kd -z C:\Windows\MiniDump\042414-24632-01.dmp -y "srv*Symbols*http://msdl.microsoft.com/download/symbols" -c "!symfix!analyze -v;q"
' N.B. for some reason -v was being interpreted as ûv - so replaced - with Chr(45)
Dim myprocess As New Process()
myprocess.StartInfo.FileName = My.Application.Info.DirectoryPath & "\DMP\kd"
myprocess.StartInfo.Arguments = "-z " & Path & " -c ""!analyze " & Chr(45) & "v;q"""
' below version includes symbol download
' myprocess.StartInfo.Arguments = "-z " & Path & " -y ""srv*Symbols*http://msdl.microsoft.com/download/symbols"" -c ""!symfix!analyze " & Chr(45) & "v;q"""
myprocess.StartInfo.UseShellExecute = False
myprocess.StartInfo.RedirectStandardOutput = True
myprocess.StartInfo.CreateNoWindow = True
myprocess.Start()
Dim output As String = myprocess.StandardOutput.ReadToEnd()
Dim causedby As String = ""
Dim bucketID As String = ""
Dim bugcheckstr As String = ""
Dim uptime As String = ""
' get date of .dmp file
Dim filedate As String = System.IO.File.GetLastWriteTime(Path)
arrayDMPlog(0) = filedate
' gets filename of .dmp file by extracting it from dump file path
Dim filePath As String = Path
Dim slashPosition As Integer = filePath.LastIndexOf("\")
Dim filenameOnly As String = filePath.Substring(slashPosition + 1)
arrayDMPlog(1) = filenameOnly
' get name of file which caused crash
' changed from Probably caused by to IMAGE_NAME as more accurate??!
' causedby = GetStringFromDMPFile(output, "Probably caused by")
causedby = GetStringFromDMPFile(output, "IMAGE_NAME")
arrayDMPlog(2) = causedby.Trim
' get default bucket ID or bugcheck string - if bugcheck contains a 0x value rather than a string then show bucket ID instead
bucketID = GetStringFromDMPFile(output, "DEFAULT_BUCKET_ID")
bugcheckstr = GetStringFromDMPFile(output, "BUGCHECK_STR")
If bugcheckstr.Contains("0x") Then
arrayDMPlog(3) = bucketID.Trim
Else
arrayDMPlog(3) = bugcheckstr.Trim
End If
' get system uptime
uptime = GetStringFromDMPFile(output, "System Uptime")
arrayDMPlog(4) = uptime.Trim & " hours"
' adds full path of dump file
arrayDMPlog(5) = Path
'add items to listview
ListViewDMPlog = New ListViewItem(arrayDMPlog)
lvwDMP.Items.Add(ListViewDMPlog)
Next
' enables scan button
btnScanDMPFiles.Enabled = True
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
' Function to retrieve selected string (information) from chosen log file
Private Function GetStringFromDMPFile(DMPFile As String, Text As String) As String
Dim lines As String() = DMPFile.Split(New String() {vbLf}, StringSplitOptions.RemoveEmptyEntries)
Dim value = ""
For Each line As String In lines
If line.StartsWith(Text) Then
Dim infos As String() = line.Split(":")
value = infos(1)
End If
Next
Return value
End Function
Private Sub lvwDMP_ItemSelectionChanged(sender As Object, e As ListViewItemSelectionChangedEventArgs) Handles lvwDMP.ItemSelectionChanged
tbDMPDetails.Clear()
' N.B. using more switches here so can show more detailed report i.e. ;r;kv;lmnt
If Me.lvwDMP.SelectedItems.Count > 0 Then
Dim myprocess As New Process()
myprocess.StartInfo.FileName = My.Application.Info.DirectoryPath & "\DMP\kd"
myprocess.StartInfo.Arguments = "-z " & Me.lvwDMP.SelectedItems(0).SubItems(5).Text & " -c ""!analyze " & Chr(45) & "v;r;kv;lmnt;q"""
myprocess.StartInfo.UseShellExecute = False
myprocess.StartInfo.RedirectStandardOutput = True
myprocess.StartInfo.CreateNoWindow = True
myprocess.Start()
Dim lines As String() = myprocess.StandardOutput.ReadToEnd().Split(New String() {vbLf}, StringSplitOptions.RemoveEmptyEntries)
Dim value = ""
For Each line As String In lines
tbDMPDetails.AppendText(line & vbCrLf)
Next
End If
' scrolls back to top of text box
tbDMPDetails.SelectionStart = 0
tbDMPDetails.ScrollToCaret()
End Sub
End Class
Darren Rose
Maybe you are looking for
-
Hi experts, While user making outgoing payment through T code : F-53,they want to put more words in text block.So that they can see the details of expenses incurred from text block.Now user can accomodate upto 50 words in that text block and they wan
-
I have a external TrackPad for my MacbookPro with 10.6.8. My trackpad on my MacBook has 2 finger scroll working great. I am trying to replicate it on my external trackpad with no success. I have read through other threads on this topic with no succ
-
How can I dynamically change the Application Date Format?
Hi everyone... In my application (v 3.2) I let the user set the application date format dynamically through a "preference" value they can change on the go. I then take the format they pick and assign their value (ie: DD-MON-YYYY) and pad 'HH:MI' to i
-
How to read an html file and replace a text using text_io
hi, i want ro read an html file using text_io and replace a particular text with a new text eg: i want to replace a text called "data.js" and with "maps.js" how do i do this?
-
Dear All, We have ERP-sr2 softawre. we want to install a non unicode system. but here by default is unicode. please let me know is it possible to install non unicode system. if yes then how i ll proceed. Regards Deepak