Pro oracle database 11g rac on linux provides fulllifecycle guidance on implementing oracle real application clusters in a linux environment. To get immediate access to the code depot of working rac scripts, buy it directly from. Switch until we are into log group 5,6,7,8 so we can drop log groups 1, 2,3 and 4. With multiplexed redo logs two or more identical copies can be placed in separate locations. Rather, the control files of the associated database are updated to drop the members of the group from the database structure. How to add or increase the size of redo log files in rac. Add a member to a redo group oracle i have two redo log group with one member for each. We are going to add our new redo file by below command. Create these redo log groups and establish group members. Aug 15, 2007 next, drop the online redo log with the alter database drop logfile group x command. Disabling an old rac instance thread the great grandson. If you do not specify the instance when adding the redo log group, then the redo log group is added to the instance to which you are currently connected. Drop and recreate online redolog files oracle dba tips.
When do i use the alter database add logfile to add an online redo log can i use the alter database add logfile when adding a logfile group. Minimally, the configuration should have one more standby redo log file group than the number of online redo log file groups on the primary database. In recovery mode, the instance performing the recovery must be able to read and process all the redo threads for the database, regardless of which instance generated. Continue the above process until all logfile groups are moved to their new disk volumes. Thatswhy it is recommended to multiplex the redo groups. Oracle grid book rac clusters dba book rampant books. In particular the section titled recovering after losing of all members of an online redo log group.
Plan the redo log of a database and create all required groups and members of redo log files during database creation. Apr 19, 2011 i am working as oracle architectconsultant for last 16 years. Build your own oracle rac 11g cluster on oracle enterprise linux and iscsi, page 3. Now the current redo log file will turns into active redo log file which means that file information are written into archive log through arcn once that written process is over an archive log then it turns into inactive redo log file creating group and member in redo log. Ask tom redo log threads in real application clusters oracle. Each database consists of two or more redo log files. Take care to add all the new larger groups, then switch over until the current redolog for each instance is on the new larger groups before starting to remove the old groups. When a redo log group is dropped from the database, and you are not using the oracle managed files feature, the operating system files are not deleted from disk.
Jul 29, 2009 method to drop and recreate online redolog files with 2 members to each group. I have worked on multiple operating systems including aix, solaris, linux and windows. Oct 23, 2012 to add or resize redo logfiles in a rac steps are. Log directory structure in cluster ready services to diagnose any problem, the first thing examined by oracle support are the installation log files. In an oracle rac database, each instance must have at least two groups of redo log files. In recovery mode, the instance performing the recovery must be able to read and process all the redo threads for the database, regardless of which instance generated the redo thread. What are the possible causes of premature redo log switching in oracle other than reaching the specified file size and executing alter system switch logfile we have a situation where some but not all of our nodes are prematurely switching redo log files before filling up. However, there are situations where you might want to create additional groups or members. Revealing the secrets for quickly implementing and tuning oracle rac database systems, this book covers all areas of oracle real application clusters including oracle10g new features. When do i use the alter database add logfile to add an online redo log can i use the alter database add logfile when adding a logfile group the landmark book advanced oracle sql tuning the definitive reference is filled with valuable information on oracle sql tuning.
How to multiplex redo log files in oracle 11g blogger. The projected storage requirement for database is close to 750gb with datafiles, index, tablespaces at 700gb and control, redo, archive log files put together at 50gb we. I understand how the redo logs work in a single instance database. Adding a standby redo log file to standby database. How to resize the online redo logfiles single instance. Oracle 11g oracle 12c rac oracle standby oracle goldengate mongodb postgresdb. I very highly recommend this book for every oracle dba dealing with rac. Oct 30, 20 in a rac real application clusters environment you have to specify which instance the redo log group will belong to by setting thread number.
Ask tom redo log threads in real application clusters. How to resize the online redologs on a rac environment. So far as i know there is no fix for corrupted online redo log. Mar 02, 2008 take care to add all the new larger groups, then switch over until the current redolog for each instance is on the new larger groups before starting to remove the old groups. Dec 21, 2009 redo group 3 is active on instance 2 and instance acts as recovery instance once instance 2 is down, therefore redo group 1 is active on instance 2. Pro oracle database 11g rac on linux experts voice in. I needed to resize the redo log as it takes about 4 days to do a log switch. So while adding redolog group, we need to mention the thread parameter. Oracle cloud marketplace goldengate classic environment april 19, 2020. Moreover, try to query both sql commands that are written above after each time you add and drop redo log group to see if its addeddeleted successfully.
In an oracle rac environment, the redo logs must be accessible from all. Covering all areas of oracle grid computing, this book is indispensable for any oracle dba who is charged with configuring and implementing oracle grid with server blades. Build your own oracle rac 11g cluster on oracle enterprise. This book is a master piece on oracle 11g rac by mr. Multiplexing means to keep multiple copies of redo log in different diskgroup. However, the group number must be between 1 and maxlogfiles. Even the db is in archivelog mode you can do nothing if the redo log is corrupted.
If you have a 100 log switches an hour with 50mb redo logs, you need e. Remove thread parameter from your pfilespfile as soon as possible before the next server restart. Sep 01, 2016 steps to add redo log groups to oracle rac setup. Rac redo log thread maintenance burleson oracle consulting. Real application clusters, commonly abbreviated as rac, is oracles industryleading architecture for scalable and faulttolerant databases. Migration of a vldb to rac 11g with minimal downtimedotan mor, senior dba pelephone dba teamdotan will tell us the whole story of migrating an 8tb datawarehouse. How to resize redo log and standby redo log in oracle dataguard environment. Migrate data in realtime from oci classic to oci using mv2adb and oracle cloud. Continue the above process until all logfile groups are moved to. Recovering after the loss of all members of an online redo log group.
To protect against failure of the redo logs, oracle allows redo logs to be multiplexed. Add the standby logs with same size as primary online redologs. The recommendation is to have log switches occur a few times an hour. You can find a step by step description of the procedure on this document.
Do not skip redo log file group numbers that is, do not number your groups 10, 20, 30, and so on, or you will consume unnecessary space in the control files of the database. However, all the redo log files must reside on shared storage. If you have two diskgroup, you want to multiplex redo in different diskgroup, you just add redo log desitnation diskgroup. Projected rac scalability for up to 17 nodes and 10,000 users. If online redologs are resized, the standby logs also need to be resized to match the online redo logs in the primary database. Oracle rac archive log files oracle tips by burleson consulting. Jun 29, 2009 in a dataguard environment, if online redologs are resized, the standby logs also need to be resized to match the online redo logs in the primary database. Dbca, running on oracle zone, pops up out of memory.
To get immediate access to the code depot of working rac scripts, buy it directly from the publisher and save more than 30%. Rac redo log thread maintenance burleson consulting. Managing the redolog in oracle11g ampersand academy. Oracle goldengate on oracle cloud marketplace part 3 april 19, 2020 oracle goldengate on oracle cloud marketplace part 2 april 19, 2020 data migration to autonomous database using mv2adb april 19, 2020. We wish to setup oracle 11g rac on windows 2003 r2 server platform with asm using this san storage. How to sync standby database which is lagging behind from primary database. Oracle grid and rac is the firstofitskind reference for oracle grid computing. Next, drop the online redo log with the alter database drop logfile group x command.
Premature redo log switching in oracle rac stack overflow. Hello team, we have netapp fas3140 clustered san storage in our environment. This is the book for anybody who want to learn oracle 11g rac. In an oracle rac database, each instance requires its own set of redo log groups, which is known as a redo thread. However, the recommended number of standby redo log file groups is dependent on the number of threads on the primary database. Apr 19, 2010 to protect against failure of the redo logs, oracle allows redo logs to be multiplexed. Recreate online redo logs and standby logs oracle dba. Disabling an old rac instance thread the great grandson of. In a rac real application clusters environment you have to specify which instance the redo log group will belong to by setting thread number. But i cannot find proper documentation anywhere that clearly explains what a redo log thread is and how the whole thing works in a rac setup. Use this query to show group, thread rac node and member.
May 08, 2012 if you have two diskgroup, you want to multiplex redo in different diskgroup, you just add redo log desitnation diskgroup. Redo log files were created in the redo01dg and redo02dg disk groups. Rac and grid infrastructure administration exam 1z0068 and become oracle certified expert. How to resize online redo log files in rac database with. Oracle dataguard how to resize redo log and standby redo. This article explains the steps for multiplexing redologs in oracle rac. For example, adding groups to a redo log can correct redo log group availability problems. Anyone who knows anything about database administration knows the importance of the dump directories bdump, udump, and cdump. I have been oracle certified dba since version 7 till 11g along with certified expert on 10g rac.
Add or drop inactive online redo log files searchoracle. Every instance in a rac database has a thread number. Versastack solution by cisco and ibm with oracle rac, ibm. Advanced configuration oracle rac idataagent books online. Group 3 u01oracle redofile3a, u02oracleredofile3b size 50m. Redo group 3 is active on instance 2 and instance acts as recovery instance once instance 2 is down, therefore redo group 1 is active on instance 2. Recovering after the loss of online redo log files. The information in this guide is not validated by oracle, is not supported by oracle, and should only be used at your own risk. It is similar to that of multiplexing in standalone, only change is rac will have threads for node.
This book includes scripts and tools to hypercharge oracle 11g. The book has illustrated every step in dealing with oracle rac, right from installation, managing, performance tuning and trouble shooting. To create a new group of redo log files, use the sql statement alter database with the add logfile clause. This book was produced by a team of specialists from around the world working at the cisco. The online logs on the standby side will be created at switchover time so no. Would like to add a few things here in the context of rac. How to resize redo on rac instance with asm option helioss. Oracle database 11g oracle real application clusters. Hi tom, on reading oracle document, there information about adding new log group is. If a media failure damages all members of an online redo log group, then different scenarios can occur depending on the type of online redo log group affected by the failure and the archiving mode of the database. In rac one node configuration, a single instance of oracle rac database runs on. First, i determine the file names of the existing members. How to resize online redo log files in rac database with asm. With the group removed, add the group anew in the new location alter database add logfile command.
The recommended log switch frequency is at least once an hour. I have also experience in oracle apps with oracle certified apps dba for 11i status. Mar 05, 20 how to resize redo log and standby redo log in oracle dataguard environment. Maintaining standby database as rac with active dataguard and a realtime apply feature allows using it for reading, backup, and testing by converting it over to a snapshot standby database and back after the completion. To add a redo log group to a specific instance, specify the instance clause in the alter database add logfile statement. Jan 30, 2017 now the current redo log file will turns into active redo log file which means that file information are written into archive log through arcn once that written process is over an archive log then it turns into inactive redo log file creating group and member in redo log. It is not possible to resize the redo log or standby redo log srl dynamically.
How oracle rac redo and rollback are managed logicalread. Before resize each thread was having 3 redo log groups with 1 member of 50mb in each group. Using group numbers can make administering redo log groups easier. I am working as oracle architectconsultant for last 16 years.
897 205 269 1537 210 996 1660 64 1469 1509 1620 886 250 603 1531 1296 752 1061 189 909 1450 1523 481 807 176 409 1437 1075 1446 1305 1243 324 734 1150 921 614 86 985 61 674 1203 1343 254 544 1162 643 1368