How to control too many archived log generation

Hello

This is one of the interview questions,

I answered it. Just as what the answer to this.

How can we control the excessive generation of archived log?

Thank you

Hello;

Archive is to ensure the recovery of the database, which can be done with NOLOGGING who does not put it at risk? (Data copy from one table to the other, for example).

Excessive diagnosis Redo generation - limited with Nologging [ID 199298.1]

Best regards

mseberg

Tags: Database

Similar Questions

  • too many archiving logs to be generated

    In my oracle9i database, too many archiving logs to be generated per day.

    What could be the reason?

    Kind regards
    MKA.

    Hello

    experienced developers that there are too many duplicates present and implemented to date.

    So developers are updating a Table in order to eliminate duplicate rows, is it good? I'm not sure I understand the situation.

    In any case, during the update operation, you will need to control the destination of the journal archived so that it does not completely fill. You can do this BACKUP and delete newspapers archived or compress them or moving to another location.

    Otherwise, try checking whith the developers if you define a primary key or a Unique constraint on this Table, in order to avoid the lines double in the future.

    Hope this helps.
    Best regards
    Jean Valentine

  • How do duplex CARS DB archiving logs?

    Hello

    I need to set up the location on the spare, local disk for archiving for two nodes RAC, apart from ASMjournals.
    The reason behind this is to transfer the logs (as well as full backups) at a remote location to ensure the security of the data.
    I have traced same remote directory a: Drive on both nodes.

    2-node RAC Standard Database 11.2.0.2
    Windows 2008 R2 Standard
    + ASM DATA storage

    SYS@proton2x1 > list of archive logs
    Database log mode Archive Mode
    Active AutoArchive
    Destination of archive USE_DB_RECOVERY_FILE_DEST
    Sequence of journal online oldest 1750
    Log sequence archive 1752
    Current log sequence 1752

    SYS@proton2x1 > display recov
    VALUE OF TYPE NAME
    db_recovery_file_dest chain + DATA

    ----

    The problem is when I put in duplex rental:
    SQL > alter system set log_archive_duplex_dest =' LOCATION = R:' SCOPE = spfile;
    nodes to restart and go online newspapers 3 times it crashes and no archiive of newspapers are written in the R:\ directory.
    Alert log says:
    LGWR: Error 16017 validate archivelog destination information

    I played in a manner similar to other parameters:
    ALTER system set log_archive_dest_1 =' LOCATION = + DATA REQUIRED ' SCOPE = spfile;
    ALTER system set log_archive_dest_2 =' LOCATION = R: OPTIONAL ' SCOPE = spfile;

    with the same question.

    The question is, how to set up the second location of the archivelogs, ASM storage?
    or maybe someone has another idea how do to transfer/copy archivelogs to remote storage?
    I have of course command "cp" on asmcmd tool, but it would be difficult to synchronize the source and target locations.

    I thhink you cannot use a drive mapped in the Windows environment. Search the metalink if there is a way to mount the drive.
    The error says that the device is not accessible.

    ********************************

    ERROR on line 1:

    ORA-02097: the parameter cannot be changed because specified value is not valid

    ORA-16032: parameter LOG_ARCHIVE_DEST_2 destination string cannot be translated.

    ORA-09291: sksachk: invalid device specified for the destination of archive

    OSD-04018: cannot access the specified directory or device.

    S/O-error: (OS 3) the system cannot find the path specified.
    **************************************

    Try to use a local disk folder just to test and eliminate the issue mounted.

    Let us know if on a local disk, the log_archive_dest_2 is working.sf

    Edited by: ADaniel March 20, 2012 20:53

  • Archive log generations statistics

    Hello

    1. I find the number of archive logs generated during 1 month in my 11 g (11.1.0.6) of the Oracle database. How do I find that?

    4 h is it possible to change the location of the Archive log when the database is in 11g (11.1.0.6)?

    Kind regards

    007

    007 wrote:
    Hello

    1. I find the number of archive logs generated during 1 month in my 11 g (11.1.0.6) of the Oracle database. How do I find that?

    You cannot get out of the database, unless you build something for her. History of ARCHIVELOG is kep for about 14 days
    I have to use the query to see the amount of archiving a day below:

    Select to_char (first_time, 'dd-mm-yyyy') reference, Go Archives 'round (sum(blocks*block_size)/1024/1024/1024,2).
    v $ archived_log where first_time > trunc (sysdate)-10
    To_char Group (first_time, 'dd-mm-yyyy') order by 1;

    4 h is it possible to change the location of the Archive log when the database is in 11g (11.1.0.6)?

    Yes.
    Use

    ALTER SYSTEM SET LOG_ARCHIVE_DEST_1 =' LOCATION =';

    Make sure that the new location exists and is writable

    See you soon,.
    FJFranken

  • How to manage too many objects correspond with the exception of the primary key

    Greetings,

    IM using JDeveloper 11.1.2.4.0 and im trying to manage the "too many objects match the primary key' exception.

    I try to add a try catch in bean when I run the validation operation, but he didn't catch it.

    then I add a plug on the setter, but he ignores the value and try to insert a null on my primary key.

    I want just to handle this exception and display an appropriate message that it is a duplicate primary key

    (and of course do not try to continue the validation operation if there are duplicate key)

    Thanks in advance.

    You can find samples for error messages personalized here:

    http://www.adftutorials.com/ADF-custom-error-handler-to-display-custom-message-to-user.html

    http://smconsultants.in/2013/07/ADF-BC-error-messages-customization.html

  • How many archived log sequence?

    Hello
    on10g R2,
    How to sequence in a journal archived?
    Any question about what sequences and threads and the SNA are in what journal archived?
    Or any other way to know who?
    Thank you.

    Select thread #, sequence #, first_change #, next_change # from v$ archived_log;

  • The archive log generation

    Dear administrators,

    Just a simple, but confusing question...

    Let's say I have 2 databases in mode archive: 'A' 'B' database and databases and there is a stored procedure in the basis of 'A' do some inserts and updates in tables located in the second database, using dblink.

    Now, if I call this procedure from the database "A", whish database will generate files of archive?

    Is there a way to create a synonym for a procedure?

    Published by: Elijah on May 5, 2009 15:38

    She,

    The DML with the database link may be performed on one, but it is executed via a connection to B. The session on B for this connection is the session that actually changes the buffer (in B) cache and, therefore, (B) data files and generates therefore do it again (in B).

    The mechanism behind the database links is explained here:
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14231/ds_concepts.htm#i1007669

  • With RMAN for backup, but not with the archive logs

    We run a 10.2.0.4 database and the rest 11.2.0.3. All databases are on RHEL 5.7.

    Our backups are via RMAN, with the data files, controlfiles and spfile saved to disk, then each day, it is copied off site to a backup server.

    My question is around logs archiving and RMAN.
    Our current situation is:
    -We do not save the logs to archive via RMAN. for example: backup of the list of the archivelog all; gives "specification does not match backups in the repository.
    -We set the archive_lag_target so archiving logs is produced every 30 minutes.
    -a cron job running on a remote server runs periodically to synchronize data (rsync server) the directory of archives with a remote control.
    -daily archive logs on the server host are bzip. Purge of these newspapers is scheduled for more than 3 days rman 'window of recovery '.

    I'm interested in feedback as to if our strategy around archiving logs is correct or not.

    Should we be backup logs archiving via RMAN? Are there potential problems with our approach?
    We just kept our backups in this way the DBA in the past want to see newspapers archived as opposed to it while a backupset.

    Curious to know what others are doing.

    Hello

    Welcome to OTN!

    Archivelogs with RMAN backup is a better option. When the archives are supported by RMAN, RMAN would be aware of the backup items which are required at the time of the recovery archives. You don't have to do it manually.

    On the disk space, you can delete the archives once they were saved by RMAN.

    RMAN > delete any backup archivelog entry;

    This supports the archivelogs and then remove the archives from the disk.

    If you have a dataguard configured, you can set the deletion policy 'applied on Eve', which removes the archives as and when they are applied to the database ensures there by the management of disk space again.

    RMAN > configure archivelog political of deletion to applied pending;

  • DataGuard archiving log not applied

    Hello

    I met archive log apply errors in the physical standby database. Below are the errors.



    SQL > SELECT SEQUENCE #, FIRST_TIME, NEXT_TIME, APPLIED from V$ ARCHIVED_LOG SEQUENCE ORDER #;

    SEQUENCE # FIRST_TIM NEXT_TIME APP
    ---------- --------- --------- ---
    10 24 AUGUST 11 NO. 24 AUG 11
    10 24 AUGUST 11 NO. 24 AUG 11
    11 AUGUST 24, 11 NO. 24 AUG 11
    12 24 AUGUST 11 NO. 25 AUG 11
    13 25 AUGUST 11 NO. 25 AUG 11
    14-25 AUGUST 11 NO. 25 AUG 11

    6 selected lines.

    SQL > select database_role, open_mode from v$ database;

    DATABASE_ROLE OPEN_MODE
    ---------------- ----------
    FIRST READING WRITING

    SQL > select message from v$ dataguard_status;


    ARCs: Started archiving
    CRAT: Started archiving
    CJACBR: become the "no FAL' ARCH
    CJACBR: become the "no SRL" ARCH
    ARCm: Become the heartbeat ARCH

    Message
    --------------------------------------------------------------------------------
    Again shipping customer logged in as PUBLIC
    -User is valid
    RFS [1]: assigned to the RFS 3389 process
    RFS [1]: do not use real application clusters
    LGWR: Error 16009 creation archivelog file "DBSOURCE.
    LNS: Impossible to archive log 3 thread 1 sequence 15 (16009)
    Again shipping customer logged in as PUBLIC
    -User is valid
    RFS [2]: assigned to the RFS 3393 process
    RFS [2]: do not use real application clusters
    FAL [server, ARCo]: error 16009 file creation remote archivelog 'DBSOURCE.

    Message
    --------------------------------------------------------------------------------
    Again shipping customer logged in as PUBLIC
    -User is valid
    RFS [3]: assigned to the RFS 3397 process
    RFS [3]: do not use real application clusters
    Heartbeat PING [ARCm]: Unable to connect to the eve "DBSOURCE. The error is 16009.
    Again shipping customer logged in as PUBLIC
    -User is valid
    RFS [4]: assigned to the RFS 3429 process
    RFS [4]: do not use real application clusters
    Heartbeat PING [ARCm]: Unable to connect to the eve "DBSOURCE. The error is 16009.

    54 selected lines.


    Of the primary alerts on DB log errors
    Using the default value for the parameter STANDBY_ARCHIVE_DEST as/u01/app/oracle/oradata/DBSOURCE
    Again shipping customer logged in as PUBLIC
    -User is valid
    RFS [1]: assigned to the RFS 3389 process
    RFS [1]: do not use real application clusters
    Errors in the /u01/app/oracle/diag/rdbms/dbsource/DBSOURCE/trace/DBSOURCE_rfs_3389.trc file:
    ORA-16009: destination of the journal archive remote must be a database of the EVE
    Game Aug 25 12:17:10 2011
    Errors in the /u01/app/oracle/diag/rdbms/dbsource/DBSOURCE/trace/DBSOURCE_lns1_3349.trc file:
    ORA-16009: destination of the journal archive remote must be a database of the EVE
    LGWR: Error 16009 creation archivelog file "DBSOURCE.
    LNS: Impossible to archive log 3 thread 1 sequence 15 (16009)
    Game Aug 25 12:17:30 2011
    Again shipping customer logged in as PUBLIC
    -User is valid
    RFS [2]: assigned to the RFS 3393 process
    RFS [2]: do not use real application clusters
    Errors in the /u01/app/oracle/diag/rdbms/dbsource/DBSOURCE/trace/DBSOURCE_rfs_3393.trc file:
    ORA-16009: destination of the journal archive remote must be a database of the EVE

    initDBSOURCE.ora params
    DB_NAME = DBSOURCE
    DB_UNIQUE_NAME = DBSOURCE
    LOG_ARCHIVE_CONFIG = 'DG_CONFIG = (DBSOURCE, DBTARGET)'
    LOG_ARCHIVE_DEST_1 =
    "LOCATION = / u01/app/oracle/oradata/DBSOURCE"
    VALID_FOR = (ALL_LOGFILES, ALL_ROLES)
    DB_UNIQUE_NAME = DBSOURCE'
    LOG_ARCHIVE_DEST_2 =
    "SERVICE = DBSOURCE LGWR ASYNC
    VALID_FOR = (ONLINE_LOGFILES, PRIMARY_ROLE)
    DB_UNIQUE_NAME = DBTARGET'
    LOG_ARCHIVE_DEST_STATE_1 = ENABLE
    LOG_ARCHIVE_DEST_STATE_2 = ENABLE
    REMOTE_LOGIN_PASSWORDFILE = EXCLUSIVE LOCK
    LOG_ARCHIVE_FORMAT=%t_%s_%r.arc
    LOG_ARCHIVE_MAX_PROCESSES = 30



    I have 1 more question. I copied all db files, control files, and archived logs of the remote db DBTARGET but with the standby control file I could mount the db in the remote server but the dbname is always DBSOURCE instead of DBTARGET.

    I tried running NEST to change on the site of relief the dbname but it errored out with
    Copyright (c) 1982, 2007, Oracle. All rights reserved.

    Connected to database DBSOURCE (DBID = 977273159)

    NEST-00131: control file is not current


    Change of database name failed during validation - database is intact.

    Could if apply the newspaper ceased due to the DBNAME is the same on the eve of primary and physical please help

    Edited by: 880215 August 25, 2011 10:02
    dbname is still DBSOURCE instead of DBTARGET
    

    The database must be DBSOURCE on both. It's the same data in two different roles, role PRINCIPAL and ROLE of the day BEFORE.

    Oracle, said by the DB_UNIQUE_NAME parameter.

    What I have is copy the control file before on the basis of pending data down and then copy and rename the control file that are there.

    Does make sense?

    I have some notes here if it helps:

    http://www.Visi.com/~mseberg/data_guard_on_oracle_11_step_by_step.html

    Best regards

    mseberg

  • user can't access APPS - error too many pending requests exist already

    Dear friends

    One of our APPS user is unable to access 12 APPS, the error is "too many pending requests exist already in the system. If please check your email or contact the system administrator for assistance", please help solve this problem.

    Best regards

    This message is caused by the user requesting several password resets. PL see MOS Doc 875559.1 (how to claire too many pending requests for password reset)

    HTH
    Srini

  • How OE 6.0 behaves if there are too many messages stored in the Inbox or sent folders?

    Ability of OE message

    How OE 6.0 behave if there are too many messages stored in the Inbox or sent folders. And the number depends on whether or not they have been read. Is there a limit on the file deleted or is it supported by Auto removes permanent?

    Partially covered in your other post.

    General precautions for Outlook Express:

    Do not archive mail in the receipt or sent items box. Create your own user-defined folders and move messages you want to put in them. Empty the deleted items folder daily. Although the dbx files have a theoretical capacity of 2 GB, I recommend all a 300 MB max for less risk of corruption.

    Information on the maximum size of the .dbx files that are used by Outlook Express:
    http://support.Microsoft.com/?kbid=903095

    After you're done, followed by compacting your folders manually while working * off * and do it often.

    Click Outlook Express at the top of the the folder tree so no folders are open. Then: File | Work offline (or double-click on work online in the status bar). File | Folder | Compact all folders. Don't touch anything until the compacting is completed.

    Disable analysis in your e-mail anti-virus program. It is a redundant layer of protection that devours the processors and causes a multitude of problems such as time-outs and account setting changes. Your up-to-date A / V program will continue to protect you sufficiently. For more information, see:
    http://www.oehelp.com/OETips.aspx#3

    And backup often.

    Outlook Express Quick Backup (OEQB Freeware)
    http://www.oehelp.com/OEBackup/default.aspx

  • Installation of 6 Lightroom on a second computer and says too many activations, how to solve?

    Try to install Lightroom 6 on a second computer, software says too many activations.

    Recently updated my main computer, which may explain apparently tried to get more than two activations.

    How can I solve this problem and have Lightroom 6 installed on my main computer and a laptop computer?

    All advice very much appreciated, thanks

    Contact Adobe technical support via chat and ask them to reset your activations.

    Chat support - the link below click the still need help? the option in the blue box below and choose the option to chat...

    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If it fails to connect, try to use another browser.

    Serial number and activation support (non - CC) chat

    https://helpx.Adobe.com/contact.html?step=PHSP-PHXS_downloading-installing-setting-up_lice nsing-activation_stillNeedHelp

  • Current archive log has been deleted, how to recover using the previous archive log?

    Hello

    My current log sequence #819 and it has been deleted and no other choice to get it back and I have previous newspapers archived with sequences #814 à 818.

    When I start my database is to show that the use ' MUST USE RESETLOGS or NORESETLOGS option of database open, then I used the command

    SQL > ALTER DATABASE OPEN RESETLOGS;
    ALTER DATABASE OPEN RESETLOGS
    *
    ERROR on line 1:
    ORA-01113: file 1 needs media recovery
    ORA-01110: data file 1: ' E:\APP\ADMINISTRATOR\ORADATA\ORCL\SYSTEM01. DBF'

    SQL > alter database recover;
    ALTER database recover
    *
    ERROR on line 1:
    ORA-00283: cool cancelled due to errors
    ORA-01610: recovery using BACKUP CONTROLFILE option must be
    SQL > alter database recovery using backup controlfile;
    change the database recovery using backup controlfile
    *
    ERROR on line 1:
    ORA-00279: change 8433746 September at 15/01/2013 19:51:59 needed to screw 1
    ORA-00289: suggestion:
    E:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2013_01_16\O1_MF_1_819_

    % U_. ARC
    ORA-00280: change 8433746 thread 1 is in sequence #819

    now, I don't have the log archiving with 819 sequence, I recover from 818. Please tell me how to do?

    Hello

    1. select * from v$log and see which log file is current. Query v$logfile to check physical file location belonging to current log group.
    2. Take bacup of your curent control file using copy/paste of your OS
    3. Issue following command in mount state
    recover database until cancel using backup controlfile
    4. When it finishes applying available archived logs, still it will ask for the location of archived logs which have not been applied, here provide path of current redo log file you got in first step. Here your recovery will finish after applying current redo log
    5.alter database open resetlogs.
    

    Salman

  • E/s and too many newspapers of archiving system

    Hi all

    It frustrates me. Our database of production began to produce too many logs archived redo instantly - once again. This has happened before; Two months ago, that our database was producing too many newspapers Archives. just then we started to get async IO error, we consulted a DBA and it restarted the database server by telling us that it was caused by the system (?).

    But after this restart, the amount of archive logs decreased significantly. I was remove the logs by hand (350 GB GB 300 DB arch), and after that the archive logs don't overrun never 10% of the area of archive of 300 GB. Currently, the newspapers increase by 1% (3 GB) for 7-8 minutes, which are already too.

    I checked in Enterprise Manager, the graph of I/o system is continuous and details show the process as ARC0, ARC1, LGWR (read sequential log file, db file write parallels are most active). Also Phsycal bed are very contradictory and exceed 30000 Ko at times. Undo tablespace is full almost all the time causing ORA-01555.

    The symptoms above all started today. The database is closed at 03:00 to perform a backup in offline mode and is open until 06:00 every day.

    Nothing has changed on the database (9.2.0.8), applications (11.5.10.2) or BONES (AIX 5.3).

    What is the reason for this more foolish behavior? Please help me.

    Thanks in advance.
    Kind regards.
    Burak

    So you say that log switches are increased by 5-6 to 130-140? It's a huge and unacceptable increase amount!

    Can you please also post the last lines of your alert.log file?

    What is the result of the following query?

    SQL > select Blocks_Processed sofar, totalwork Total_Work, round ((sofar/totalwork) * 100, 2) Percentage_Completed, Total_Work_Left totalwork-sofar, start_time Start_Time, round ((elapsed_seconds/60), 0) Elapsed_Minutes, substr (message, 1, 33) Message, username
    v $ session_longops;

    Ogan

  • How to get my bowser to work again get message of safari too many redirects

    I am using iPad Air get message saying Safari is usually download page due to having too many redirects!

    How can I fix it?

    Tap Settings > Safari > advanced > Web site data

    It will take some time.

    Scroll to the bottom and press 'delete all the data of the Web site.

    If this does not help, try restarting by Force.

    https://support.Apple.com/en-us/HT201559

Maybe you are looking for

  • Remove iPad 2 Air music

    I want to delete all the music from my iPad 2 Air so that I can do a fresh sync everything in the iTunes library on my PC.  I thought that this would happen by unchecking the box sync music but the music is still there.  Is this possible?

  • How to export graphics FCPX captions in a text file?

    Hello worldAfter months, I finished a long documentary of 60 min. Then I sent it to an installation of the STC Conversion. Unfortunately, there is a problem with subtitles. I made them with the help of the tool of titles in FCPX. So basically they're

  • iTunes does not stop after playing the last song on the playlist

    It was that iTunes has stopped playing after the last song in a playlist. I really liked it. Now, he travels the playlist, starting with the first song, after the last song is played. How can I disable this sort of iTunes for the iPhone goes back to

  • How to get the value of the global variable to test in the user interface of labview?

    Hello. Can someone please share examples and tell me how access the global variable to test using the interface labview user.

  • PCI-6110 - calculated resolution RMS

    We have a requirement for the resolution of measurement of voltage AC RMS. I am in a position a repetitive alternating signal with 512 samples on 1 cycle using the range full scale. I then calculate the value of these data. What is the effective reso