How to change the location of the redo log files... ?

I want all my redo log files to be created in \u10 instead of/U01 current?
How to do? NOARCHIVELOG mode database on Oracle 10 g R2.
Thank you
Smirh

user517525 wrote:
Thank you
Smirh

[Move Redo Log members | http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/onlineredo.htm#sthref951]

Tags: Database

Similar Questions

  • Question about how Oracle manages the Redo logs

    Hello

    Assuming a configuration which consists of 2 redo log groups (groups A and B), each group of 2 disks (disks A1 and A2 for Group A) and B1 and B2 disks for Group B. Additionally, assume that each redo log file resides by itself in a disk storage device and that the device is dedicated to her. So in the situation described above, there are 4 discs, one for each redo log file, and each disc contains nothing other than a redo log file. Also, assume that the database is in ARCHIVELOG mode and the files from archive is stored on another different set of devices.

    kind of graphically:
        GROUP A             GROUP B
    
          A1                  B1
          A2                  B2
    The question is: when the disks that make up the Group A are filled and Oracle switches to the disks in the Group B, can the group drives to take offline, perhaps even physically removed from the system if necessary without affecting the functioning of the database? Can the archiver process temporarily delayed until the disks (which have been removed) are presented online or is the DBA have to wait until the end of the process to archive a copy of the redo log file creating in archive?

    Thank you for your help,

    John.

    Hello
    A journal of the groups fall

    To remove a group of online redo logs, you must have the ALTER DATABASE system privilege. Before you delete a line redo log group, consider the following precautions and restrictions:

    * An instance requires at least two groups of files logging online, regardless of the number of members in the groups. (A group is one or more members.)
    * You can delete a group of newspapers online redo only if it is inactive. If you need to drop the current group, first force a log switch occurs.
    * Make sure a group of online redo logs is archived (if archiving is enabled) before dropping. To see if this happens, use the view LOG V$.

    SELECT GROUP #, ARCHIVED, STATUS FROM V$ LOG;

    GROUP # ARC STATUS
    --------- --- ----------------
    1 ACTIVE YES
    2. NO CURRENT
    3 INACTIVE YES
    4 INACTIVE YES

    Delete a group of newspapers online redo with the SQL ALTER DATABASE statement with the DROP LOGFILE clause.

    The following statement drops redo log group number 3:

    ALTER DATABASE, DROP LOGFILE GROUP 3;

    When a group of online redo logs is deleted from the database, and you do not use Oracle managed files, operating system files are not removed from the disk. Instead, control of the associated database files are updated to remove members of the Group of the database structure. After deleting a group of online redo logs, make sure the drop completed successfully and then use the command of operating system appropriate to delete the dropped online redo log files.

    When you work with files managed by Oracle, the cleaning of operating system files is done automatically for you.
    Your database will not be affected as you can work with 2 files, redo log in each group, as the minimum number of redo log in a database file is two because the process LGWR (newspaper writer) writes in the redo log in a circular way. If the process crashes because you have 2 groups only if you want to remove 1 Add a third and make that the current group and remove the one you want to be offline.

    Please refer to:
    http://download.Oracle.com/docs/CD/B10500_01/server.920/a96521/onlineredo.htm#7438
    Kind regards
    Mohamed
    Oracle DBA

  • bottleneck during the passage of the redo log files.

    Hi all

    I'm using Oracle 11.2.0.3.

    The enforcement team has indicated that they are facing slow at some point.

    I followed the database and I found that at some passage of redo log files (not always), I am facing a slow at the application level.

    I have 2 son since my database is CARS, each thread has 3 groups of multiplexed redo logs the FIU, with size of 300 MB each.

    Is it possible to optimize the switch of the redo log files? knowing that my database is running in ARCHIVELOG mode.

    Kind regards

    Hello

    Yes, Oracle recommends 1 validation by 30 calls from users or less. Of course, every database is different, so this rule cannot be taken too literally, but in your case, this rule seems to apply. In any case State, 900 undertakes seconds it looks like a very large number and the need for a high number of transactions should be questioned. You should talk to your analysts/application management/enterprise architect if warranted - that is to say if the application does in fact almost 2 000 business transactions per second.

    What about DB CPU: here is a link to a blog that I wrote on this subject, it should help to better understand this number:

    http://Savvinov.com/2012/04/06/AWR-reports-interpreting-CPU-usage/

    But briefly: DB processor isn't a real event, it is simply an indication that the sessions are on CPU (or waiting for CPU) rather than wait on i/o requests or events in the database. It is not necessarily a bad thing, because the database must perform tasks and he cannot do without loading the CPU. It may indicate a problem in two cases: when the CPU usage is close to the limit of the host (OS stats section indicates that you are very far from there) or when the CPU is a % of DB time - in the latter case, this could mean that you are making too many logical reads due to inefficient plans or analysis too. In any case, this does not apply to you, because 20 percent is not very high a number.

    Other items in the list of the top 5 deserve attention, too - gc buffer busy acquire, gc current block busy, enq: TX - line lock conflict.

    To summarize, your database under a lot of stress - whether it is the legitimate workload, and if this is the case, you may need to upgrade your hardware later. There is chance that it isn't - for example a high number of runs may indicate that rather than to bulk operations database code using PL/SQL loops, which is a big performance killer. Check "Top SQL by executions" about whether or not this is the case.

    Good luck!

    Best regards
    Nikolai

  • SIZE OF THE REDO LOG FILE


    Hello

    I got an error message when I add me new group. log files I searched and found the answer on the form. Ago 4 M minimum size of 11 g R2 log file size.

    My question is why a log file size depends on DB_BLOCK_SIZE? This parameter is set to the component structures of memory that create an instance when a log file is an operating system file that depend on the version of the OS not DB_BLOCK_SIZE.

    Thank you.


    SQL > alter database add logfile group 4 'c:\app\asif\oradata\employee\redo04.log' size 1 m;
    alter database add logfile group 4 'c:\app\asif\oradata\employee\redo04.log' size 1 m
    *
    ERROR on line 1:
    ORA-00336: 2048 blocks the size of the log file is minimum lower than 8192 blocks


    SQL > show parameter db_block_size

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    Whole DB_BLOCK_SIZE 8192
    SQL >

    You are assuming that the redo log block size is the same as the database block size. This is not correct.

    The error indicates that 8192 is the minimum number of blocks of a redo log file. The documentation states that the minimum size is 4 M. For example, you can deduct your redo log block size is 512 bytes.

    Here's some more information about the size of redo log, the documentation block.

    Unlike the database block size, which can always be between 2 K and 32 K, redo log default files to a block size that is equal to the size of physical sector of the disk. Historically, it is usually 512 bytes (512 b).

    Some new large disks offer 4K sizes byte (4K) to increase sector efficiency improved format and ECC capabilities. Most of the Oracle database platforms are able to detect this bigger sector size. The database then automatically creates files redo log with a block size of 4 K of these discs.

  • Change the ADFLogger log file?

    Try my hands on logging for the first time and have a few small requests about ADFLogger:

    1. is it possible to change the file name /-path to the logfile used by ADF Logger.

    2. in addition, it is possible for us to create more than two files for recording, for example two different files for different levels of logging, when you use ADFLogger in Jdeveloper.

    Thanks for any help!

    (1) Yes

    (2) Yes

    Check out my blog http://wp.me/pcBZk-85 which cover some field work to implement the loggers. You can even set the handles up and join them at the most and then a recorder of strikes, thus creating multiple files for a recorder. AdfLogger is a Java util Logging adfon, everything for the Java url logging, is possible for the opening of the adf.

    Timo

  • How to change the permissions of files on win 7

    I am not able to open my files & folder on the D drive. Whenever I am trying to open, it gives a message "'access Deny / give Permission to the Administration". "

    I'm already logged with Admin maybe he asks same. I have a lot of files and folders. When I give each of them personally leave ownership, open it for a few moments then and then goes to the previous state.
    Is there a solution en giving permission for D drive together with a command or setting?
    Help, please
    Waiting for your answer
    Thank you & best regards
    Ravi
    You may need to take possession of your records - see here:
    http://social.answers.Microsoft.com/forums/en-us/w7network/thread/24bdf172-2DBC-43b8-995d-a99b6a81413c/
  • At the time to rename the redo log file, I got the following error.

    SQL > host moves D:\oracle\product\10.2.0\oradata\test\redo02.log D:\oracle\produc
    t\10.2.0\oradata\test\re.log
    The process cannot access the file because it is being used by another process.

    This isn't a surprise if you do not rename the file also with SQL statements before the move in the OS layer. Did you?

    Add above: If you just want to get a group of newspapers moved to another directory, the right way to do that would be
    (1) to create the new group to the destination of your choice
    (2) the old Group drop
    (3) delete the old OS layer group

    This is done online, while the instance continues to run in the OPEN State.

    Kind regards
    Uwe Hesse

    http://uhesse.WordPress.com

    Published by: Uwe Hesse on 29.07.2010 12:08

  • How to find the configuration state of REDO logs files?

    I'm trying to move the redo log files.
    Before that, I want to know if it is set as a duplex or any other configuration.

    How to find the REDO log configurations.

    Oracle 10g R2

    Thank you
    Smith

    Example:

    Not in duplex redo log - if the number of members is 1, it is not duplex:

    SQL> select group#, members from v$log;
    
        GROUP#    MEMBERS
    ---------- ----------
             1          1
             2          1
             3          1
    
    SQL> select group#, member from v$logfile;
    
        GROUP# MEMBER
    ---------- --------------------------------------------------
             1 /u01/app/oracle/oradata/db1/redo01.log
             2 /u01/app/oracle/oradata/db1/redo02.log
             3 /u01/app/oracle/oradata/db1/redo03.log
    
    SQL> alter database add logfile member '/u01/app/oracle/oradata/db1/redo01_2.log' to group 1;
    
    Database altered.
    
    SQL> alter database add logfile member '/u01/app/oracle/oradata/db1/redo02_2.log' to group 2;
    
    Database altered.
    
    SQL> alter database add logfile member '/u01/app/oracle/oradata/db1/redo03_2.log' to group 3;
    
    Database altered.
    

    Duplex redolog

    SQL> select group#, members from v$log;
    
        GROUP#    MEMBERS
    ---------- ----------
             1          2
             2          2
             3          2
    
    SQL> select group#, member from v$logfile;
    
        GROUP# MEMBER
    ---------- --------------------------------------------------
             1 /u01/app/oracle/oradata/db1/redo01.log
             2 /u01/app/oracle/oradata/db1/redo02.log
             3 /u01/app/oracle/oradata/db1/redo03.log
             1 /u01/app/oracle/oradata/db1/redo01_2.log
             2 /u01/app/oracle/oradata/db1/redo02_2.log
             3 /u01/app/oracle/oradata/db1/redo03_2.log
    
  • The clause in the database log file duplicate

    I tried to duplicate a database (Oracle RAC 10 g ASM 2 node Windows 2003 Server R2) and in the document of the oracle, it went something like:

    DUPLICATE the TARGET DATABASE to dupdb
    PFILE = /dup/oracle/dbs/initDUPDB.ora
    LOGFILE
    ' / dup/oracle/oradata/trgt/redo01.log' SIZE 200 K,.
    ' / dup/oracle/oradata/trgt/redo02.log' SIZE 200 K,.
    ' / dup/oracle/oradata/trgt/redo03.log' SIZE 200 K;

    I thought as the source database RMAN backup already contained the definitions of redo log. Are only these redo log files used for the process during replication of the database? Is the logfile clause is required to use the command DUPLICATE TARGET DATABASE?

    Thank you much in advance.

    LOG file can be used to specify where the newspapers of recovery for the duplicate database should be placed. This clause is not mandatory and it is really necessary only if you intend to rename the redo log files. If you don't need/want to rename the files, you can use the NOFILENAMECHECK option.

  • That redo log files waiting?

    Hello Experts,

    I read articles on the log redo and undo segment files. I was wondering something very simple. That redo log files waiting in there? It stores the sql statements?

    Lets say that my update statement to modify 800 blocks of data. A unique single update statement can modify different data 800 right blocks? Yes, it may be true. I think that these data blocks can not hold buffers to the log to roll forward, right? I mean I know exactly what to do redo log buffer and redo log file. And I know that the task of backgrounding LGWR. But, I wonder if she she holds the data blocks? It is not supposed to hold data like cache buffer blocks, right?

    My second question is, rollback isn't effect to restore the newspaper to the right buffer? Because it does not need log buffer for effect do it again. Conversely, the restoration; statement is included in the restore log buffer by progression when someone isse, am I right?

    As far as I know, rollback interact directly with UNDO TABLESPACE?

    I hope that I have to express myself clearly.

    Thanks in advance.

    Here's my question:

    My second question is, rollback isn't effect to restore the newspaper to the right buffer? Because it does not need log buffer for effect do it again. Conversely, the restoration; statement is included in the restore log buffer by progression when someone isse, am I right?

    As far as I know, rollback interact directly with UNDO TABLESPACE?

    Yes, where else would the undo data come from? Undo tablespace contains the Undo segments that contain the Undo data required for the restoration of your transaction.

    I can say that rollback does not alter the data of the log buffer rede to the past. In other words, change vectors will be remain the same before restoration. Conversely, rollback command is also recorded in the log file of restoration by progression. As the name, all orders are saved in the REDO LOGS.

    I hope that I am wrong so far?

    Not sure why you even the buffer log roll forward for Rollback? This is the reason why I asked you it was for, where occurs the dose the cancellation? And the answer for this is that it happens in the buffer cache. Before you worry about the drivers of change, you must understand that it is not serious what contains where as long as there is no transaction recorded in the operating of the Undo segment table. If the operating table indicates that the transaction is longer there, there must be a cancellation of the transaction. Vectors of change are saved in the file log roll forward, while the restore happens on blocks of data stored in the file "data" undo blocks stored in the undo file "data".

    At the same time I read an article about redo and undo. In this article process transaction is explained. Here is the link http://pavandba.files.wordpress.com/2009/11/undo_redo1.pdf

    I found some interesting information in this article as follows.

    It is worth noting that during the restore process, recovery logs never participate. The only time where redo logs are read is retrieving and archiving. This is the concept of tuning key: redo logs are written on. Oracle does not read during normal processing. As long as you have sufficient devices so that when the ARC is reading a file, LGWR's writing to a different device, then there no contention for redo logs.

    If redo logs are never involved in the restoration process, how is it Oracle will then know the order of the transaction? As far as I know it is only written in redo logs.

    I have thoughts very amazed to Aman.

    Why you ask?

    Now, before giving a response, I say two things. One, I know Pavan and he is a regular contributor to this forum and on several other forums Facebook and two, with all due respect to him, a little advice for you, when you try to understand a concept, to stick to the Oracle documentation and do not read and merge articles/blog-posts from the web. Everone, which publishes on the web, has their own way to express things and many times, the context of the writing makes it more confusing things. Maybe we can erase the doubts that you can get after reading the various search results on the web.

    Redo logs used for the restoration, not to restore. The reason is the redo log files are applied in sequential order, and this is not the case when we look for the restoration. A restore is required to do for a few blocks away. Basically, what happens in a restoration, is that the records of cancellation required for a block of data are sought in the reverse order of their creation. The entry of the transaction is in the slot ITL of the block of data that point to the necessary undo bytes Address (UBA) using which oracle also knows what that undo the blocks would be necessary for the restoration of your transaction. As soon as the blocks of data will be cancelled, the ITL slots would be cleared as well.

    In addition, you must remember, until the transaction is not qualified as finished, using either a commit or a rollback, the cancellation of this data would remain intact. The reason for this is that oracle would ensure that undo data would be available to make the cancellation of the transaction. The reason why Undo data are also recorded in the journals of recovery is to ensure that in the event of the loss of the cancellation of the data file, retrieving them would be possible. Because it would also require changes that's happened on the blocks cancel, restore the vectors change associated with blocks of cancellation are also saved in the buffer log roll forward and, in the redo log files.

    HTH

    Aman...

  • DB restore Archives not lost mode redo log file... restore from controlfile tr

    I have a 11g database I had taken an archive backup but has failed to take redo backup of log files...
    so, while I restored the PB... after formatting the machine... the oracle instance does not start.


    I create controlfile track but when I run it I get errors.
    given that I don't have the old log files... How can I get around this issue
    Thank you
    Here is the example of trace control file... Note that I can't create the redo log file
    given that the db will not climb up, it must be in mode nonmount
    and here's my created controlfile...
    CREATE CONTROLFILE REUSE DATABASE "XE" NORESETLOGS NOARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    MAXINSTANCES 8
    MAXLOGHISTORY 292
    LOGFILE
    GROUP 1
    ' C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_1_80L7C259_. JOURNAL"
    SIZE 50 M 512 BLOCKSIZE,
    GROUP 2
    ' C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_80L7C375_. JOURNAL"
    SIZE 50 M BLOCKSIZE 512
    -STANDBY LOGFILE
    DATA FILE
    ' C:\ORACLEXE\APP\ORACLE\ORADATA\XE\SYSTEM. DBF',.
    ' C:\ORACLEXE\APP\ORACLE\ORADATA\XE\UNDOTBS1. DBF',.
    ' C:\ORACLEXE\APP\ORACLE\ORADATA\XE\SYSAUX. DBF',.
    ' C:\ORACLEXE\APP\ORACLE\ORADATA\XE\USERS. DBF'
    CHARACTER SET AL32UTF8
    ;

    I do not have these 2 files... what should I do to work around this situation
    ' C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_1_80L7C259_. JOURNAL"
    SIZE 50 M 512 BLOCKSIZE,
    GROUP 2
    ' C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_80L7C375_. JOURNAL"
    SIZE 50 M BLOCKSIZE 512
    -STANDBY LOGFILE
    DATA FILE

    Published by: zycoz100 on February 27, 2013 22:57

    If you have a backup to cold (closing correctly database) without the redo logs, change this:

    CREATE CONTROLFILE REUSE DATABASE "XE" NORESETLOGS NOARCHIVELOG
    

    TO

    CREATE CONTROLFILE REUSE DATABASE "XE" RESETLOGS NOARCHIVELOG
    

    You need to change the NORESETLOGS RESETLOGS for Oracle to recreate online redo logs.

    Hemant K Collette

  • new with OMF online redo log files

    Hi all

    I'm using Oracle 11 g 2, I created my DB using Oracle managed (OMF) files.

    I wanted to re size my recovery connects so I went in an old redo logs fall and create a new.

    That was how my redo logs resembles. It was created by the creation of the DB with OMF format:
    .../app/oradata/ORCL11/onlinelog/o1_mf_1_6pfncw81_.log
    .../app/flash_recovery_area/ORCL11/onlinelog/o1_mf_1_6pfncx5z_.log
    .../app/oradata/ORCL11/onlinelog/o1_mf_2_6pfncxps_.log
    .../app/flash_recovery_area/ORCL11/onlinelog/o1_mf_2_6pfncz1v_.log
    .../app/oradata/ORCL11/onlinelog/o1_mf_3_6pfnczhd_.log
    .../app/flash_recovery_area/ORCL11/onlinelog/o1_mf_3_6pfnd0vw_.log
    using the script I created new below redo logs
    alter database add logfile group 1 (
    '.../app/oradata/ORCL11/onlinelog/redo1.log',  
    '.../app/flash_recovery_area/ORCL11/onlinelog/redo1.log') size 76m reuse;
    .........
    and I added the new redo log group
    alter database add logfile group 4 (
    '.../app/oradata/ORCL11/onlinelog/redo4.log',  
    '.../app/flash_recovery_area/ORCL11/onlinelog/redo4.log') size 76m reuse;
    I was not able to create the recovery logs, where is the name of the redo log file: o1_mf_1_6pfncw81_.log, since this is the format OMF.

    My question by creating my recovery connects the way does it have an impact? on the archiving of newspapers of recovery? any impact on the database for now, this isn't OMF?

    How can I create my redo logs with OMF format?

    Kind regards

    try: -.
    alter database add logfile Group 4;

    for example; -.

    SQL> alter database add logfile group 4;
    
    Database altered.
    
    SQL> select member from v$Logfile;
    
    MEMBER
    --------------------------------------------------------------------------------
    /home/u01/app/oracle/oradata/dbtest/redo03.log
    /home/u01/app/oracle/oradata/dbtest/redo02.log
    /home/u01/app/oracle/oradata/dbtest/redo01.log
    /home/u01/app/oracle/flash_recovery_area/DBTEST/onlinelog/o1_mf_4_75nmw33l_.log
    
    SQL> alter database add logfile group 5 size 100m;
    
    Database altered.
    
    SQL> select member from v$logfile;
    
    MEMBER
    --------------------------------------------------------------------------------
    /home/u01/app/oracle/oradata/dbtest/redo03.log
    /home/u01/app/oracle/oradata/dbtest/redo02.log
    /home/u01/app/oracle/oradata/dbtest/redo01.log
    /home/u01/app/oracle/flash_recovery_area/DBTEST/onlinelog/o1_mf_4_75nmw33l_.log
    /home/u01/app/oracle/flash_recovery_area/DBTEST/onlinelog/o1_mf_5_75nmyvjg_.log
    

    Published by: rajeysh on August 28, 2011 20:00

  • How to change the location where the scan of the computer updates the file?

    I would like to know how to change the location where the scan updates the file.

    HI ROT2,.

    It depends what printer and the software you use?

    Normally, you will find a 'save to file Option save' like the screenshot below.

  • How to change the location of the installation folder of Windows of drive c to any other drive in windows 7

    How to change the location of the installation folder of Windows of drive c to any other drive in windows 7

    When you install a program, you normally have the opportunity to take the default or custom installation.  If you choose custom, you can specify where the program will be installed.

    Good luck.

  • How to change the location of storage in Lightroom 3.6. ?

    How to change the location of storage in Lightroom 3.6. ?

    I use my internal hard drive NTFS of my MacBook Pro as my Lightroom 3.6 storage location. run installation of Snow Leopard now but my photos too big get data now. I have two big and fast disks external eSATA hard now I want to use for my data/photos. I know how to copy data from one hard drive to another, but I don't know how to easily change the parameters in connection with Lightroom. I always want to look at all the pictures on my MacBook Pro, but do not want to save the photos on my internal hard drive more. Is it not possible to have the Lightroom program on my internal hard drive but data on twice on two discs hard different extermal? If I look at Lightroom - the catalog settings - I see that the location of the internal hard drive is my storage location now, but I have my two external hard drives do not appear as folders. Why? How do I change this so that external hard drives appear in Lightroom and I can watch all my fotos immediately (sometimes using external hard drive 1 and sometimes using external hard drive 2)?

    My external hard drives are in HFS +, but I use Paragon Software so that there should not be no problem to read and write data (I also use Final Cut Express to my drives external hard are HFS + and not NTFS).

    I want impert lots of data from a CD - do I need to first copy the fotos on my external hard drive, and then import it into Lightroom or is it easier to import data directly from the CD in Lightroom so that I don't have to name the files twice?

    I see that I must sort the fotos of the CDs in different folders and an opportunity to do it in the Finder to my MacBookPro. In Lightroom I don't want to have to click on each of the hundreds of photos to be able to put it in the right folders... But how import only a part of a CD quickly in the right folders (newly created)?

    Best regards, Karin

    The instructions do not all "creating a second folder.

    The instructions are: "In the import dialog box, select Add, and then on the left in the Source Panel, select the appropriate folder."

Maybe you are looking for