Archive log file bloat - is currently out of cold back to the top of the best strategy?

Hi friends,

I have a database 10 g. / WinSvr2003 making heavy spatial processing of the Oracle.

Previously, I ran the database in log mode archive and sparked a lot of files to archive log. 150 G (the worst week).

I got fed up with backups (incremental) RMAN night heavy and put the database in a mode non - archive journal. (I was also worried about the time to get the data back out of band).

Now, I come to launch the next nightly bat file: -.

oradim-stop-sid DEV - syspwd *.

del /S /Q D:\oracleBackup\DEV\*

XCopy/e D:\oracle\product\10.2.0\oradata\DEV D:\oracleBackup\DEV

oradim-startup-sid DEV - syspwd *.

----------------------------------------------------------------------------------------------------------

1 week ago - when I arrived-in the morning the database had not restarted due to an inconsistency of data file.
Recover the database fixed.

I guess he had something that this necessary in the redo log files? (its mode no - archive).

I have a DB 24/7.

This cold offline backup is the best strategy to avoid the bloat of log file archive

I can always use RMAN and do not back up files of newspaper Archives? How can I make sure that it is a consistent RMAN backup if she has no access to archive the log files. (I just use RMAN after an immediate stop - restart?)

How instruct you RMAN is not to get the files to archive log?

DATABASE INCREMENTAL LEVEL 0 BACKUP; <-this leaves archive the log file out of the backup.

Thanks in advance.

See you soon,.

AA

P.S. This is my first post on this forum. Yes!

If you
a. make a backup of the database CONSISTENT (that is to say in MOUNT but not OPEN) with RMAN
b. do not save the ArchiveLogs
c. yet the ArchiveLogs to create the database in ARCHIVELOG mode,

You can still use the combination of consistent backup and ArchiveLogs generated since the backup database (assuming that the ArchiveLogs are still on the disk) in the method of 'Refresh '.

In other words, RESTORE (but not RETRIEVE and OPEN) the database of the RMAN.
Using sql RESTORE DATABASE with the HELP of BACKUP CONTROLFILE to 'Updating' then apply ArchiveLogs for what is just restored.

See http://hemantoracledba.blogspot.com/2007/05/rollforward-from-cold-backup.html

Hemant K Collette

Tags: Database

Similar Questions

  • Arc1: 19504 error creating archive log file... after the NFS configuration

    I use an Oracle 11.2.0.3 on RHEL 5.7 (no ASM or RAC) database

    We have our archiving logs off copied to a backup location external via a cron job and rsync command, and I want to switch to NFS.
    NAME                         TYPE      VALUE
    ------------------------------------ ----------- ------------------------------
    log_archive_format               string      RCAT_%t_%s_%r.arc
    log_archive_dest_1               string      location=USE_DB_RECOVERY_FILE_DEST
    
    SQL> !df -h
    Filesystem                 Size  Used Avail Use% Mounted on
    ...
    ...
    backups:/ARCHLOG/rman       12T  7.8T  3.5T  70% /mnt/nfs_archlog
    
    SQL> alter system set log_archive_dest_2='LOCATION=/mnt/nfs_archlog optional' scope=both;
    
    System altered.
    When I run 'alter system archive log current', I see the error message archiver in the alert below log...
    Wed Aug 29 14:42:08 2012
    ALTER SYSTEM ARCHIVE LOG
    Wed Aug 29 14:42:08 2012
    Thread 1 advanced to log sequence 23044 (LGWR switch)
      Current log# 4 seq# 23044 mem# 0: /u01/oradata/RCAT/redo_4a.dbf
      Current log# 4 seq# 23044 mem# 1: /u02/oradata/RCAT/redo_4b.dbf
    Wed Aug 29 14:42:14 2012
    ARC1: Error 19504 Creating archive log file to '/mnt/nfs_archlog/RCAT_1_23043_602355789.arc'
    Archived Log entry 24282 added for thread 1 sequence 23043 ID 0x165341cd dest 1:
    However, when I check the NFS location I see that the file is there.
    [oracle@rman nfs_archlog]$ ls -la
    total 72
    drwxr-x--- 14 oracle oinstall   4096 Aug 29 14:42 .
    drwxr-xr-x  3 root   root       4096 Aug 29 14:16 ..
    -rw-r-----  1 oracle oinstall 204288 Aug 29 14:42 RCAT_1_23043_602355789.arc
    On the NFS host, I see
    [root@backups archivelog]# ls -la
    total 68
    drwxr-x---. 14 500 500   4096 Aug 29 14:42 .
    drwxrwxr--.  3 500 500   4096 May  8 13:54 ..
    -rw-r-----.  1 500 500 204288 Aug 29 14:42 RCAT_1_23043_602355789.arc
    The/etc/exports on NFS host has the permissions set to read/write, no_root_squash.

    Is there something obvious that I'm missing?

    the folder is created by newspaper archive must have atleat authorisation from 770.

  • Why archive log file size constantly change?

    I have a question related to the size of the archive log file:
    I constantly receive a different size to the size of the log file archive, of course, they are smaller than to the size of the log file.
    A guru can explain to me: what possible reason could be?
    Thanks in advance!

    It can happen due to several reasons:

    When you perform a manual archive (via ALTER SYSTEM ARCHIVE LOG CURRENT/ALL)
    When Oracle must respect your ARCHIVE_LAG_TARGET (defined in seconds)

    Unless you do a manual check-in, your parameter ARCHIVE_LAG_TARGET is the reason why you see Archives of logs with different sizes as Oracle has archived the redo log as soon as the time ARCHIVE_LAG_TARGET is reached. Even if the redo log is not full, Oracle will always have to archive the redo log.

  • archive log file count

    How to archive log file created by day in a database? How will I know?

    Please make this solution.

    Thanks in advance...

    Piku says:
    Sorry to say... can't find anything useful... is available all useful QUERY SQL abt that?

    select * from v$archived_log where COMPLETION_TIME > sysdate -1;
    

    I will give you the number of logs archived in the last 24 hours.

    HTH
    Johan

  • difference between online redolog files and archived log files

    What is the fundamental difference between archived log files and online redo log files? .. .plz keep things simple as m a newbie

    Online redo log:

    Redo online Oracle log files are filled with records of restoration by progression. A record of remake, also called entrance to roll forward, is composed of a group of agents of change, each of which is a description of a change to a single block in the database. Each instance of an Oracle database has an associated online redo log to protect data in case of failure of the instance.

    See here,
    http://download.Oracle.com/docs/CD/B10500_01/server.920/a96521/onlineredo.htm

    Archived redo log:

    Oracle Database allows you to save files to one or more destinations offline newspapers filled with repeat groups, known collectively as the archived redo log. An archived redo log file is a copy of one of the members of a group of redo log filled.

    See here,
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14231/archredo.htm

    Thank you

  • Redo archive log file extension

    Version: 11 g
    OPERATING SYSTEM: AIX 5.3

    After you have enabled archiving, I noticed that archives logs files have the extension * .dbf. Is this normal?

    close the database and putting into service again.

    Then, check the setting.

    Concerning
    Asif Kabir

  • I want to rename and move files from a shoot 5 d. I would like to use the functionality of the increment to count, but since I have to get out of each file to the following file, it starts again at 1. What is the best way to do it?

    I want to rename and move files from a shoot 5 d on a new drive. I would like to use the functionality of the increment to count, but since I have to get out of each file to the following file, it starts again at 1. What is the best way to do it?

    HI -.

    As a prelude to 2014.0, we have added a feature allowing you to choose what number to start the increment of.  Look in the section ingest Rename dialog and change your preset. When you click the button, you should see the option "Custom Auto Increment". This will allow you to choose what number to start on.  We've also added a few newspapers to try to remember where let prelude last successfully interfere the operation by using this option. So, in theory, to remember the number for you. But if it isn't (maybe you want multiple kickoff ingested at the same time) you can always manually set the number to start with.

    Check that out and let me know how it works for you.

    Kind regards

    Michael

  • What is the best strategy to migrate data from Windows to one Mac to another? I use Parallels Desktop to run Windows on my current Mac but want to use Bootcamp on my new.

    What is the best strategy to migrate data from Windows to one Mac to another? I use Parallels Desktop to run Windows on my current Mac but want to use Bootcamp on my new.

    If it is only the data (not apps) I use Dropbox. It turned out to be the best way to move things between the side Mac and the bootcamped Windows of my iMac side. I don't see why it would not work to move data from a virtual machine installation of Win to a BootCamp installation.

  • Everytime I open the preferences file damaged and is Illustrator CC reset back to the default and then change among other keyboard shortcuts.

    Everytime I open the preferences file damaged and is Illustrator CC reset back to the default and then change among other keyboard shortcuts.

    Thank you

    Hello

    We have published a fix today that solves this problem of corrupted preferences. Go to the creative cloud application and download the patch CC 20151.1 (19.1.1)

    If you see not the patch in the creative Cloud application wait on or refresh cycle you can disconnect and connect to force refresh the list of available patches.

    Kind regards

    Ashutosh

    On behalf of the Illustrator engineering team

  • I'm moving my files to workspaces to cloud.adobe.  What is the best way to achieve this?

    I'm moving my files to workspaces to cloud.adobe.  What is the best way to achieve this?

    Hi Traci,

    So big that you get ready for the transition to cloud.acrobat.com! Please see that the specified item was not found. For more detailed information on downloading your files.

    When you open a session workspaces, however, you will see a big red box at the bottom left. Click this box, and your files will be packed to the top for you. You will receive an email with the instructions when the packaged files are ready for you.

    Best,

    Sara

  • Removal of the Archive Log files

    Hello

    I put my test DB to archive log mode and it generated 10 GB of archivelog files and the server ran out of space!
    So I reset the newspapers, the DB value no. Archive Log and deleted the files from the server through the shell.

    However,.
    If I select * from v$ archived_log
    Oracle, DBMS thinks that the files are still there.

    Where can I remove these filed from the RDBMS?


    ---
    OS version:
    Linux CentOS 5.4 (Final) output


    RDBMS version:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - production
    PL/SQL Release 10.2.0.4.0 - Production
    "CORE 10.2.0.4.0 Production."
    AMT for Linux: release 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production

    delete the logs of the archives at the OS level will not make your database the missing note

    connecting to RMAN:

    rman target $ /.

    run an overlap in RMAN:

    RMAN > overlap archivelog all;

    It happens that the entries are EXPIRED, so remove them:

    RMAN > delete all. expired archivelog

  • archived log file

    Hi all
    I have a question, the issue is that log file Archives consist only validated data, or it can contain a data.thanks uncommitted to the answer in advance.

    mohammed_dba wrote:
    Hi all
    I have a question, the issue is that log file Archives consist only validated data, or it can contain a data.thanks uncommitted to the answer in advance.

    Your question is answered, so clerks of the newspapers contain archives and data constantly. Simple example, if you run long DML statement like update in running or insert in this case all by running this transaction you can get more than archivelogs always the transaction is not completed, but will generate the archivelogs.

  • Recovery of database of old backup and archive log file complete

    Hi expert Oracle!
    I encountered the problem where my oracle database restore.

    In my case:
    -My version of the database: 10.2.0.2
    -J' have a full database backup (01 - Nov)
    -J' have all the archived since (01 - Nov-> 05 - Nov) log file
    -My database down to 05 - Nov with disk error (no data file, not again...).
    -I have no backup RMAN (01 - Nov-> 05 - Nov)

    How to restore my database to 05 - Nov?

    Thank you

    After you RESTORE the DATABASE,

    Use the VALUE UNTIL to set the Point of recovery to 05 - Nov, and then RECOVER the DATABASE
    OR
    Use the SQL command "RECOVER database with the HELP of BACKUP CONTROLFILE until CANCEL" that will keep asking 'future' ArchiveLogs backup.

    Hemant K Collette

  • Real - Time apply a few times using archived log file

    Hi all

    I have a doubt about the real time apply in Oracle 10g 10.2.0.4 version where the arch process has been configured on the primary and standby has been configured for maximum performance with real time mode applies.

    But in the alert log file shall I use to find the message below rarely
    Media Recovery Log /oraclearch/oraarch/ctdr/5548.dbf
    Media Recovery Log /oraclearch/oraarch/ctdr/5549.dbf
    So my question is why the archived files are applied pending have been configured for real-time if applies where it should apply only from logs in mode standby online.

    Also I can't find any information on the eve of the database in the view v$ standby_log that these pending online log files have been archived in the column archived, then how to find how much data was written by process Srl rfs...

    -Yasser

    Hello

    The server process (RFS) remote file writes data to redo in files newspapers awaiting restoration by increase the standby database, application services log can recover again waiting for redo log files, as they are filled.

    Please visit http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/log_apply.htm

    Thank you
    Baskar.l

  • I moved the documents in the wrong files can I go out and drop them in the correct file

    I did a daily newspaper and accidentally creates a different file for each month but penetrated some day diarys bad monthly files. How can I remove them and move them to the right file

    The use of the words 'documents' and 'files', I may need more information.  A document (for example you can create with a text editor) is a file.  The various documents (files) are stored in folders (icon for them looks like a folder of files in an office filing system).

    If you have saved a file (document) in a wrong folder, you can go using Windows Explorer (generally you press start and then select "Documents" in the list on the right above the Start button) and navigate to the folder where the file is.  Once you've found the file you can right-click on it and select "Cut" (or "Copy" If you want to be sure), then move them to the folder where you want the file and right click in an empty area in this folder and select "Paste".  (If you used the copy rather than the option of cutting option, you will then have to go back and delete the file in its original location).

    Another way to do the same thing that can be easier would be to open start > Documents and navigate to the folder where the wrong file and then open a second window by clicking Start > Documents again (a second window will not open unless you have navigated to a different location from the location of the opening in the first window).  In the second window, navigate to where you want the file to be.  With two windows open just click and drag the file from where it is in the first window to where you want it to be in the second window.

    If you really did not on folders, please answer with what application (program), you used to create the diary.

Maybe you are looking for

  • Some web pages will not charge properly or open at all in FF

    My Firefox have suddenly stopped to load some websites properly. For example, twitter.com or mozilla.org. Some pages not to load not completely and I get this "Secure Connection Failed": note The secure connection failedAn error occurred during a con

  • Disable the activity of background App on Wifi?

    I'm still new to Android and I'm very stingy on battery usage, and I want to know is possible to disable the background monitoring, querying, data or business applications when I'm on wifi? I did some research and it seems that there is only one opti

  • What is airplane mode? Seems to have no point.

    I don't understand. I turned it on, and also wifi turned on and I'm still able to send emails and surf the web, then what's the point of airplane mode (this is an iPad only wifi Air) thank you.

  • Need picture of time on DVD

    Want to know how to get the time/date to be printed on the DVD that I am fire. The time is on the original film It is to be uplloaded to the Windows Media Maker. Thank you

  • ... Seems to graphics driver I choose wrong

    Hello Can you please share video driver for windows 7 64-bit, the model of the laptop is "computer laptop 15-g009AX (APU Quad Core A8 / 4 GB/1 TB / Free DOS / graphic 2 GB) (G8D85PA). Product number: G8D85PA #ACJ Serial number: [edited by Moderator s