controlfile to trace; translate the control file into a script for creating the control file. The path is in the directory of the user warning file (you can view it through show parameter user_dump;) with the suffix trc.
Or find the following method:
SELECT d. VALUE| '/'| LOWER (RTRIM (I. INSTANCE, CHR (0 )))| '_ Ora _'| P. spid| '. Trc' trace_file_nameFROM (SELECT p. spidFROM v $ mystat m, v $ session s,
. The background trace file is generated based on the running status of the background process. The background trace file is also saved in the directory specified by the BACKGROUND_DUMP_DEST parameter. The file format is siddbwr. trc and sidsmon. trc.
Another type is the user trace file generated by the user process connected to Oracle. These files are generated only when errors occur during user sessions.
-hFilesystem Size Used Avail Use % Mounted on/dev/sda1 981 M 203 M 729 M 22%/none 16G 0 16G 0%/dev/shm/dev/sda9 2.9G 37 M 2.7G 2%/tmp/dev/sda7 4.9G 1.9G 2.7G 42%/usr/dev/sda8 2.9G 145 M 2.6G 6%/var/dev/mapper/vghome-lvhome20G 19G 11 M 100%/home/dev/mapper/vgoradata-lvoradata144G 48G 90G 35%/u01/oradata/dev/mapper/vgbackup-lvbackup193G 7.8G 175G 5%/u01/backup via the following command find useless files, then delete [root @ ticketb ~] # Find/home/oracle/admin/dbticb/udump/-name "dbticb _*.
A friend encountered a problem with ORA-04031. Although this error is very common, the Case here is also a little shocking!
A friend encountered a problem with ORA-04031. Although this error is very common, the Case here is also a little shocking!
A friend encountered a problem with ORA-04031. Although this error is very common, the Case here is also a little shocking!
Tue Aug 26 11:51:13 2014Errors in file/Oracle/app/oracle/diag/rdbms/xx/xx1/trace/xx1_p485_28873.
Record A ORA-600 [13013] processing process and an alert Log with a ORA-600 [13013] error found after a database exception is completed
Record A ORA-600 [13013] processing process and an alert Log with a ORA-600 [13013] error found after a database exception is completed
Record one ORA-600 [13013] Process
A ORA-600 [13013] error was found in the alert Log after a database exception was completed
Thu Mar 08 23:29:37 2012
Errors infile/opt/Oracle/diag/rdbms/chf/trace/chf_smon_24137.
Basic Elementsthe day before yesterday finally successfully to the user to export the entire database, and today the user also told the export data can not be imported, first asked the user what error, to my answer is a ' job ' SYSTEM. " Sys_import_full_03 "Because of fatal error in XXXX elapsed 0 03:01:06 Stop", no other hints, the amount of information is too little, this processing is quite troublesome. Problem AnalysisStep One: First or add tracking informationstill have to rely on their own
A customer told me today that the logs of the slave database of a core database are increasing rapidly. Through checking, alert logs continuously report errors, as shown below: The code is as follows:Copy code Fri Dec 11 20:48:37 2015Incomplete read from log member '/arch2/2_82548_864474703.dbf'. Trying next member.Incomplete read from log member '/arch2/2_82548_864474703.dbf'. Trying next member. Archived Log entry 101817 added for thread 2 sequence 82548 ID 0xedd14d2a dest
slave machine.
I went to work on Monday. I didn't remotely check the performance of this xx production center database and set anything because of other issues that need to be handled. This is also the case during the morning peak.
In the afternoon, suddenly, RTX blinks the busy avatar, Y's. Click it, the testing department, the quality check department, the ETL department, and the xx data production department are shouting. How can we not connect to it? I also hurry to remotely look at this xx
Symptom:An error is reported in the alert Log when the Oracle database is started:SUCCESS: diskgroup DATADG was mountedErrors in file/oracle/app/11gR1/diag/rdbms/rac/rac2/trace/rac2_mmon_1_6.trc (incident = 240612 ):ORA-00600: internal error code, arguments: [kmgs_parameter_update_timeout_1], [17510], [], [], [], [], [], [], [], [], [], [], []ORA-17510: Attempt to do I/o beyond file sizeIncident details in:/oracle/app/11gR1/diag/rdbms/rac/rac2/inciden
/mapper/vgoradata-lvoradata144G 48G 90G 35%/u01/oradata/dev/mapper/vgbackup-lvbackup193G 7.8G 175G 5%/u01/backup via the following command find useless files, then delete [root @ ticketb ~] # Find/home/oracle/admin/dbticb/udump/-name "dbticb _*. trc "-mtime + 50 | xargs rm-rf. Then, check the disk space usage and find that no/home space has changed. [root @ ticketb ~] # Df-hFilesystem Size Used Avail Use % Mounted on/dev/sda1 981 M 203 M 729 M 22%/non
useless files. When I delete the files, I find that the available space has not changed OS: centos4.7: I found the current disk space usage: [root @ ticketb ~] # Df-hFilesystem Size Used Avail Use % Mounted on/dev/sda1 981 M 203 M 729 M 22%/none 16G 0 16G 0%/dev/shm/dev/sda9 2.9G 37 M 2.7G 2%/tmp/dev/sda7 4.9G 1.9G 2.7G 42%/usr/dev/sda8 2.9G 145 M 2.6G 6%/var/dev/mapper/vghome- lvhome 20G 19G 11 M 100%/home/dev/mapper/vgoradata-lvoradata 144G 48G 90G 35%/u01/oradata/dev/mapper/vgbackup-lvbackup
The control file is a very important data structure for the database and is usually necessary for data recovery.
Oracle provides two ways to back up control files:
1. Generate scripts that can reconstruct control files2. Backup binary control files
Let's take a look at how to get the script to rebuild the control file.
Oracle provides the following command:
ALTER DATABASE backup Controlfile to trace;
actual operation:
[Oracle@standby tools]$ Sqlplus "/As SYSD
[Oracle@guoyj ~]$ Sqlplus/as SYSDBA
sql> alter system dump DATAFILE 6 block 135;
Eight, find the file dump
Sql> Show parameter Dump
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
Background_core_dump string Partial
Background_dump_dest String/u01/app/oracle/diag/rdbms/bxo
Cp/bxocp/trace
Open a new window again
[Oracle@guoyj ~]$ Cd/u01/app/oracle/diag/rdbms/bxocp/bxocp/trace
[Oracle@guoyj trace]$ Ls-lftr
The following trace log is the
; 1234,serial_num => 56789,waits => true,binds true);
EXEC dbms_monitor.session_trace_disable (session_id => 1234,serial_num => 56789);
You can also set the 10046 event by using the Oradebug tool
First, the session's OS process ID is obtained through v$process.
Select S.username, P.spid os_process_id, P.pid oracle_process_id
From V$session S, v$process p
where s.paddr = p.addr and s.username = Upper (' Trace_username ');
Or
Today found a pair of core files in the Cdump directory in the database.
View alert log found all the
..... Wed Oct 09:58:51
Restarting dead background process CJQ0 Wed Oct-09:58:52 CJQ0 with
pi d=43, OS id=5247
Exception [TYPE:SIGSEGV, Address not mapped to object] [addr:0x130000001e] [Pc:0x6e678e4, Kslgetl () + Errors in
file/home/oracle/diag/rdbms/orarpt/orarpt/trace/orarpt_cjq0_5247.trc (incident=276255):
ora-07445:exception Enco
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.