4096dec1101:02racgdrwxr-x---2gridoinstall4096dec 1101:02srvmdrwxrwxr-x2gridoinstall4096dec1101:02 xag[[emailprotected]rac1]$However, in the 12c, there is still the above directory structure, but there is nothing in the content. Since 12c, the log structure of the RAC has changed.There are two types of RAC in 12c:1. Standard ClusterName of Alert Log:alert.logLocation of alert log: $ORACLE _base/diag/crs/host01/crs/trace2. Flex ClusterName of Alert Log:alertLocation of alert log: $ORACLE _home/lo
Http://www.eygle.com/archives/2007/05/script_gettrcname.htmlA lot of friends have recently asked a script in "Gettrcname.sql Oracle".This script is used to get the name of the trace file and can be used in the Linux/unix environment, which is already included in the book's script package.The contents are as follows:SELECT D.value|| ‘/‘|| LOWER (RTRIM (i.instance, CHR (0)))|| ' _ora_ '|| P.spid|| '. TRC ' Trace_file_nameFrom (SELECT p.spidFrom V$mystat
What is the tracking document used for? The trace file contains a large amount of detailed diagnostic and debugging information. Through the interpretation and analysis of the tracking file, we can locate the problem, analyze the problem and solve the problem. From the source of trace files, trace files can be divided into two categories: one is the database operators intentionally generated, and the other is due to an exception error, generated automatically by the database. For the latter cate
I went to a customer for database inspection last Friday. It was a 10 Gb NC System database on Windows and configured with DG. However, during inspection, I found the database error: TueNov1110: 13: 572014LNS: pushed.
Last Friday, I went to a customer to perform database inspection. It was a 10 Gb NC System database on Windows 2008 and configured with DG. However, during the inspection, I found the database error: Tue Nov 11 10:13:57 2014LNS: standby redo logfile selected for thread 1 sequence 3
Where is the script wrong? -- Linux general technology-Linux technology and application information. For details, refer to the following section. From = 111
T1. = 222
To = 333
Upday = 'date -- date = "$ datestr + % y % m % d "'
For daemon in $ lists; do
Trcfile =/var/log/cabal/"$ daemon" _ "$ upday". trc
Backfile =/trc/$ upday/"$ daemon" _ "$ uphour". trc
procedure successfully completed.
5. the SQL trace tool collects the performance status data of the SQL statements executed in this process and records the data in a trace file. this trace file provides a lot of useful information, such as the number of resolutions. number of executions, CPU usage time, and so on.
6. At this time, you can use the following statement to obtain the directory of the generated trace file.SQL> select value from v $ parameter where name = 'user _ dump_dest ';
VALUE
-
as the number of resolutions. number of executions, CPU usage time, and so on.
6. At this time, you can use the following statement to obtain the directory of the generated trace file.
SQL> select value from v $ parameter where name = 'user _ dump_dest ';
VALUE
--------------------------------------------------------------------------------
/Opt/oracle/admin/ocn/udump
7. Locate yzoracle_ora_9497.trc under/opt/oracle/admin/ocn/udump. 9497 is the spid
view the cause of tnsping failure:
Create a sqlnet. ora File:
# Sqlnet. ora Network Configuration File:/opt/oracle/102/network/admin/sqlnet. ora
# Generated by Oracle configuration tools.
NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)
Trace_level_client = 16
Trace_directory_client =/opt/app/ora11g/product/11.2.0/dcsopen/network/admin
Trace_unique_client = on
Trace_timestamp_client = on
Diag_adr_enabled = off
Tnsping. trace_directory =/opt/app/ora11g/product/11.2.0/dcsopen/network/admin
Tnsping.
First, log on to sqlplus.
SQL> sqlplus Scott/Tiger
We can add the suffix 'look _ for_me 'After the trace file to facilitate searching for the trace file. We do not add any of the following examples.
SQL>AlterSessionSetTracefile_identifier='Look_for_me';
Step 1: view the path and file name of the trail File
SQL>Show parameter user_dump_dest; -- path of the trace file
SQL > Select C. Value | ' / ' | D. instance_name | ' _ Ora _ ' | 2 A. spid | ' .
system. When running read80trace, I usually use the following command line:
Read80trace-F-dmydb-imytrace. TRC
The-F switch does not generate rml files because I do not need the replay function. The generated rml file is large. We recommend that you use the-F switch if you do not need to replay the file.
The-D switch tells read80trace to save the trace file processing result to the mydb database. The stored procedure we created later accesses th
logic for arranging and allocating hardware resources is similar. Therefore, to switch from PC to Xbox, you only need to use a similar idea to arrange it. However, pS2 differs greatly from PC systems in both hardware planning and firmware, there will be more places to adapt. ◆ Final big test: technical certification requirements (tcrs) iron Phoenix is now "developed" and is conducting the final "TRC review ". What is
systemswitch logfile;
System altered.
-- In my habits, switch logs before shutting down the database.
Sys @ xezf (qs-xezf-db1)> shutdownimmediate
-- Always hangs on this
-- Trace log:
[Oracle @ qs-xezf-db1 bdump] $ tail-falert_xezf.log
Stopping background process qmnc
Thu Mar 29 13:24:08 CST 2012
Stopping background process cjq0
Thu Mar 29 13:24:10 CST 2012
Stopping background process mmnl
Thu Mar 29 13:24:11 CST 2012
Stopping background process mmon
License high water mark = 201
Thu Mar 29 1
by all SQL statements, but does not include records returned by subqueries.For the SELECT statement, the return value is in the fetch step.For DML statements, the returned result is in the execute step.
4 steps for using tkprof
(1) set timed_statistic = true at the instance levelSQL> show parameter timed_statisticName_col_plus_show_p type value_col_plus_show _--------------------------------------------------------------Timed_statistics Boolean true(2) use various tools to obtain the
here;Next, I want to see what causes the fault and continue;7. view the alarm log and view a large number of Process m000 died alarms in the log;
Wed Apr 29 21:27:31 2015
Ksvcreate: Process (m000) creation failed
Wed Apr 29 21:28:32 2015
Process m000 died, see its trace file
Wed Apr 29 21:28:32 2015
Ksvcreate: Process (m000) creation failed
Wed Apr 29 21:29:33 2015
Process m000 died, see its trace fileEighth, find the trace file corresponding to the time and see the "ORA-00020: maximum number o
Database ORA-00600 of a provincial telecommunications industry company [15160]
Systems: HP-UX B .11.31
RAC: YES
Database Version: 10.2.0.4
1. Background
: 39dbrac database Node 2, found a lot of ORA-600 errors in the alert Log, the analysis is the table test_wait statistical information error caused, re-analyze the statistical information of the table, eliminate errors.2. DBRAC database error handling process
1. view the alert Log as follows:
Wed Feb 26 10:11:18 2014
Errors in file/Oracle/admin/
Check found that a set of rac two instances Using ASM basically reported a ORA-32701 error every hour, the error message in the capture alert Log is as follows:
Check found that a set of rac two instances Using ASM basically reported a ORA-32701 error every hour, the error message in the capture alert Log is as follows:
I. Version Information
Operating system version: AIX 61009
Oracle Database Version: 11.2.0.3.11 (RAC)
Ii. Error description
Check found that a set of rac two instances Using
. You can view the control file through dump.
2.1 direct dump controlfile
Alter system set events 'immediate trace name controlf level 10'
2.2. Use alter database backup controlfile to filename
The dump file generated by the preceding two methods is unreadable and garbled. It is readable only after the trace is generated.
2.2. Use alter database backup controlfile to trace
The generated trace file is in the udump directory and can be determined by date.
SQL> show parameteruser_dump_dest
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.