the master database, create a tablespace in the master database, and check whether the tablespace is created in the alert log of the slave database.
Master database:
SYS @ ORCL> create tablespace test
2 datafile '/u01/app/oracle/oradata/ORCL/test01.dbf' size 5 m;
Tablespace created.
SYS @ ORCL> alter system archive log current;
System altered.
SYS @ ORCL>
View alert logs in the slave Database
[Oracle @ edbjr2p2 ~] $ Cd $ ORACLE_HOME/dbs
[Oracle @ edbjr2p2 dbs] $ ls
InitAUX1.ora initdw. ora init
Starting from oracle11.2.0.2.0, the snapshot file of the control file must be accessible to data instances of all nodes and placed in a shared location. Otherwise, run RMAN.
Starting from oracle 11.2.0.2.0, the snapshot file of the control file must be accessible to data instances of all nodes and placed in a shared location. Otherwise, run RMAN.
Today, we can see the following problems in the daily response of data centers A and B:
Renewal point 1 day:
Tue Jul 31 03:02:50 2012
Errors in fi
/sfc3db2_ora_2756730.trc:ORA-00600: internal error code, arguments: [15764], [], [], [], [], [], [], []
I asked my friend if there were any other errors, and they said they were the only ones.
Some Trace information is as follows:
/Apps/oracle/admin/sfc3db/udump/sfc3db2_ora_5054706.trc: CILS aborted: 0, num est exec limit hit: 0/Apps/oracle/admin/sfc3db/udump/sfc3db2_ora_5054706.trc: name = update seq $ set
Today, we can see the following problems in the daily response of data centers A and B:
Renewal point 1 day:
Tue Jul 31 03:02:50 2012
Errors in file/soft/Oracle/diag/rdbms/a1qzdb/a1qzdb1/trace/a1qzdb1_ora_5374100.trc:
ORA-00245: control file backup operation failed
Tue Jul 31 09:08:37 2012
Thread 1 advanced to log sequence 346 (LGWRswitch)
Current log #1 seq #346 mem #0: + DATA/a1qzdb/onlinelog/group_1.259.786961989
Tue Jul 31 09:08:37 2012
LNS: Stan
->/s01/rac10g/admin/PROD/bdump/alert_prod.Lrwx ------ 1 maclean oinstall 64 Jul 26 16: 38 7->/s01/rac10g/dbs/lkinstPROD (deleted)Lrwx ------ 1 maclean oinstall 64 Jul 26 16: 38 8->/s01/rac10g/dbs/hc_PROD.datL-wx ------ 1 maclean oinstall 64 Jul 26 :38 9->/s01/rac10g/admin/PROD/bdump/alert_PROD.log
/* You can see that the trace file related to the lgwr process is/s01/rac10g/admin/PROD/bdump/prod_lgwr_7289.trc. The file descriptor is 2 */
[Maclean @ rh2
than 5 seconds time Ah! It's going to take a look at the execution of SQL!
A lot of information was searched on the internet. Finally, make sure to view the SQL execution trace file. SQL execution is a good session,oracle database to support sesion tracking, lock table, and so on. Consider to operate a raw
Production database. You cannot track sessions in large numbers. So you choose to track the way you specify sesion, only to see the SQL execution plan that you execute! In the following way
trace file/u01/app/oracle/diag/rdbms/oa/oa/trace/oa_dbw2_4158.trcCorrupt block relative dba:0x00816ad9 (file 2, block 92889)Bad header found during preparing blocks for writeData in bad block:type:0 format:0 rdba:0x6ad90000Last Change scn:0x0000.00c6a052 seq:0x1 flg:0x00spare1:0x6 Spare2:0xa2 spare3:0x5d7eConsistency value in tail:0xa0520001Check value in block header:0x0Block checksum disabledMon Mar 02 16:09:28 2015Errors in File/u01/app/oracle/diag/rdbms/oa/oa/trace/oa_p007_4196.
information about shared server mode, see note 1005259.6 shared Server (MTS) diagnosticsIn order to locate the Oracle Net server trace file generated by Dblink, search for the Dblink name or the error code generated when using DblinkSqlplus Scott/tigerSql*plus:release 10.2.0.4.0-production on Mon Nov 3 12:33:39 2008Copyright (c) 1982, 2005, Oracle. All rights reserved.Connected to:Oracle Database 10g Enterprise Edition Release 10.2.0.4.0-64bit ProductionWith the partitioning and Data Mining opt
, insert a row of data, and make a full checkpoint. You can find the position of the segment header from dba_segments.header_block, blocks 1-4 and 127-131 of the DUMP test4 tablespace.BYS @ bys3> create table test4 (aa int) tablespace test4;
Table created.
BYS @ bys3> insert into test4 values (99889 );
1 row created.
BYS @ bys3> commit;
Commit complete.
BYS @ bys3> select segment_name, header_block, header_file, blocks from dba_segments where segment_name = 'test4 ';
SEGMENT_NAME HEADER_BLOCK HE
bytesVariable Size6777997344 bytesDatabase Buffers6576668672 bytesRedo Buffers4960256 bytesDatabase mounted. ORA-00600: internal error code, arguments: [kcratr_nab_less_than_odr], [1], [6], [301353], [301354], [], [], [], [], [], [], [], [], []
2: first, recover the database and then try to pull the database. The problem persists.SQL> recover database; Media recovery complete. SQL> alter database open; alter database open * ERROR at line 1: ORA-00600: internal error code, arguments: [kcratr_nab
)---------- ---------------- 6 0000000081dae000
In dump buffer_cache, run the following command:
[emailprotected]> alter session set events‘immediate trace name buffers level 1‘;Session altered.[emailprotected]> col value for a85[emailprotected]> select * from v$diag_info where name=‘Default Trace File‘; INST_ID NAME VALUE---------- -------------------------------------------------- --------------------------------------------------------
See Oracle BUG: error message about the alert of Rman backup.Symptom:During database backup, the alert Log prompts an error message and provides a trc file with detailed error information.
Recommended reading:
RMAN: Configure an archive log deletion policy
Basic Oracle tutorial-copying a database through RMAN
Reference for RMAN backup policy formulation
RMAN backup learning notes
Oracle Database Backup encryption RMAN EncryptionAlert. logTue May 7 10:
level 258, the level 258 collects the short stack more than level 10, but collects some lock element data less than level 10.Also for RAC systems, follow the bug 11800959-a systemstate dump with level >= in RAC dumps huge BUSY GLOBAL CACHE Elements-can Hang /crash instances (Doc ID 11800959.8). This bug is fixed on 11.2.0.3, and for The following is a test for generating systemstate dump to see the space occupied by each level:There are 37 processes in this example:-RW-R-----1 Oracle Oinstall 7
to query the trace log information.Copy the Code as follows:Select t. VALUE | '/' | LOWER (RTRIM (I. INSTANCE, CHR (0) | '_ ora _' |P. SPID | '. trc' TRACE_FILE_NAMEFROM(Select p. SPIDFrom v $ mystat m, V $ session s, V $ PROCESS PWhere m. STATISTIC # = 1And s. SID = M. SIDAnd p. ADDR = S. PADDR) P,(Select t. INSTANCEFrom v $ thread t, V $ PARAMETER VWhere v. NAME = 'thread'AND (V. VALUE = 0 or t. THREAD # = TO_NUMBER (V. VALUE ))) I,(Select value fr
An in-depth discussion on shared pool (i.)
Link
Http://www.eygle.com/internal/shared_pool-1.htm
The setting of shared pool is always a controversial subject.
In many articles, shared pool sets up an additional management burden that can lead to performance degradation under certain conditions.
So what does the burden of management mean?
This article makes a certain in-depth discussion on this content.
This article covers only one aspect, and subsequent articles will continue to be discussed
recursive activity (this is particularly effective when studying the new features of the database), the study of SQL execution, the discovery background Errors and so on. sql> ALTER SESSION SET sql_trace=true;
Sql> SELECT * from SCOTT. EMP;
sql> ALTER SESSION SET sql_trace =false; So how do I see the information at this point? Whether you're in sql*plus or PL/SQL developer tools, you can't see any information after you execute the above script, you can query the trace log information by usi
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.