The Archivelogs management

Hi all

AIX 6.1

Oracle 11.2.0.3

We were struck several times lately by archivelog disk full error, especially during weekends and the midnight when you're home to rest.

Many on-site clients complain and that batch abandoned since we are a 24 x 7 production company.

Is there an OS messaging system that will send the sysadmin and technical support when the disc is already on the threshold of 80% full?

Can it be done on the side of oracle db to check if the archivelog file is 80% full?

You can share me how do you manage your production archivelog systems please?

Thank you very much

zxy

#! / usr/bin/ksh

used ='bdf | grep SID | grep saparch | "awk"{print $4} '"

utilise1 ='echo $used | SED s/\%//'

# Warning support

If [$used1 - gt 30];

then

echo 'date' "SID production saparch filesystem is more than 30%:" $used1 > path to the log file

log tail - 1 > path to the warning message

mailx-s "SID production saparch filesystem is more than 30%" your email< path="" to="" warning="">

on the other

echo 'date' "SID production saparch File System% is:" $used1 > path to the history log file

FI

Tags: Database

Similar Questions

  • Records in the ARCHIVELOG flash_recovery_area folder management

    I more than 520 files in my 'c:\oraclexe\app\oracle\flash_recovery_area\XE\ARCHIVELOG' folder in the YYYY_MM_DD form from January 2009 until this day. Can I delete these folders and leave only the 2011_12_29 folder? What is a recommended practice?

    "Recommended practice" is implemented in a separate partition / folder to contain the archivelog files and affecting LOG_ARCHIVE_DEST_1 and LOG_ARCHIVE_FORMAT which avoids creating folders to a location in the recovery area.

    Of course, you can delete these files. Unless you do a restore. There is always a catch ;)

  • Because of the archivelogs had places in + FRA diskgroup

    Dear Sir.

    Because of the archivelogs had places in + FRA diskgroup

    Thanks in advance,

    IVW

    The quick recovery area is a directory managed by Oracle. Once configured, RMAN would use FRA as the default location for files backup and restore RMAN. Archivelogs and files of RMAN backup effective additional 1 used for the restoration of the database.

    Archivelogs do not need to be stored in FRA and you can specify a different location, but there are several advantages, for example, RMAN automatically identify and find the backup and restore files stored in FRA.

  • Purge the Archivelogs Dataguard

    Hi all

    11.2.0.3

    How can I set up my database PRIMARY and STANDBY auto purge all archivelogs (both primary and standby) already applied in waiting?

    While I don't have to worry about full archivelog in my FRA.

    Thank you all,

    pK

    Hello

    You should not care about people not confident in this respect.

    See the blog post I linked above. There is a bug in 11.2 and there is a solution. And there is a request to check when the archivelogs recoverable or not.

    I put in place that to several customers, where there is no 'archivelog delete' at all and Oracle manages the FRA. Just be sure that one of the following is executed frequently

    either RMAN > sql "begin dbms_backup_restore.refreshagedfiles; end; « ; or rerun the CONFIGURE ARCHIVELOG

    In any case, it is good to monitor the use of FRA of space, then you should be alerted if they are not purged as you want.

    Kind regards

    Franck.

  • Ye olde issue of 'delete the archivelogs standby '.

    11.2.0.2.0

    According to the note
    Configure RMAN to purge the archivelogs after application on hold [728053.1 ID]

    Oracle must remove the archive logs if we have deletion policy, the value "delete applied pending", I put on primary and standby. Monitoring alerts log we see

    "Deleted oracle managed file/path/to/year/archive/log".

    so we think cool, remove them automatically. It comes, when it removes it? Now my day is in sync, but my journal alerts is only sporadically showing my logs being removed that were applied for hours I can verify clearly.

    Oracle automatically removes the archivelogs only when he needs to free up space in the FRA (db_recovery_file_dest).

    Hemant K Collette

  • How to remove the archivelogs?

    Dear Experts,

    I am looking for a way to remove the logs from check-in through the RMAN backup, something like this command:

    Entry to remove BACKUP ARCHIVELOG all until ' sysdate-5/24 ';

    We are on Oracle 10 g Release 2 (10.2.0.3), IBM - AIX 5.3.

    I want to keep to archivelog generated in the last 5 hours on the disc and let RMAN delete anything else older than that. When I use the above command, RMAN throw errors on my face:

    RMAN>  BACKUP ARCHIVELOG all delete input until time 'sysdate-5/24';
    
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "until": expecting one of: "archivelog, backup, backupset, channel, copy, controlfilecopy, current, database, datafile, datafilecopy, delete, diskratio, db_recovery_file_dest, filesperset, format, from, force, include, keep, (, maxsetsize, noexclude, nokeep, not, pool, plus, reuse, recovery, ;, skip, spfile, setsize, tablespace, tag, to"
    RMAN-01007: at line 1 column 36 file: standard input
    
    RMAN>
    I know RMAN DELETE command has, but we have problems when you use BACKUP and DELETE. We receive intermittent errors during the BACKUP command because of the Media Manager and the backup will fail. However, the RMAN script continues and luckily deletes logs archiving to drive whether saved or not.

    I tried to look in the manuals and google, but I think I'm silly to extract information.

    Your help is appreciated.

    Concerning

    Published by: Oracle Lover3 16 November 2008 23:45

    OS & DB version added

    You can do the following:

    backup archivelog all not backed up 1 times;
    delete noprompt archivelog all completed before 'sysdate-5/24' backed up 1 times to device type disk;
    
  • Custody of the archivelogs pending data

    As a proof of concept, I've created a primary and standby a physical database. The archivelogs occur from the primary to the waiting and they are applied correctly. My question is how people manage remove the applied primary archive logs that are now on the standby server? I hesitate to simply run a script to delete them all from time to time because I don't want to delete a journal which has not been applied yet or is being implemented.

    What is the best way to remove the logs applied?

    Thank you!
    Sharon

    Adding Pavan...

    When backups of archived redo log files are taken on the basis of data pending:

    Issue the following command on the primary database:
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;

    Issue the following command on the database pending:
    CONFIGURE THE NONE ARCHIVELOG DELETION POLICY;

    When backups of archived redo log files are taken on the primary database:

    Issue the following command on the database pending:
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;

    Issue the following command on the primary database:
    CONFIGURE THE NONE ARCHIVELOG DELETION POLICY;

    Reference: http://www.acs.ilstu.edu/docs/Oracle/server.101/b10823/manage_ps.htm#1024046

    But I would like to write a script that will identify the applied (only) newspapers and remove... Based on the rate of newspapers, I will define the planning of this work...

  • How to export the list of devices in the Profile Manager?

    Hello

    is there a way to export the list of devices in the Profile Manager on a mini mac running OS Server 5.3?

    Thank you

    How to export data from device in the Profile Manager

    How to export a list of devices and their info?

  • Start the Boot Manager

    Hi all

    I installed Sierra but need to wipe my drive to improve performance and have implemented the installer of macOSSierra on a USB key and necessary to reach the Boot Manager to start the installation.

    I think you hold down the Options/ALT key during restart to get to the Boot Manager, but nothing happens when I do that - it just goes to the login screen. I use a small apple wireless keyboard and wonder if it is active during the early stages of the startup?

    What I am doing wrong?

    Thank you in advance.

    Julian

    When you use a wireless keyboard, you have to wait until after hearing of the Mac startup sound, then press on and hold the option key.

    If you hold down option from the start key, the Mac will not see depression key because the function Bluetooth does not become active until after the initialization of the Mac hardware.

    You can find more details here: Mac OS startup keyboard shortcuts

    Tom

  • Problem adding email address to the site 'Manage your Apple ID'

    I want to add my XYZ e-mail address in the section "reachable to the ' site ' manage your Apple ID. However, I get the following message: "this e-mail address is already in use with another apple ID".

    Note that I have my email set up as my 'rescue email' XYZ on my site ' manage your Apple ID ".

    Could it be the cause of the problem? In other words, the rescue email CAN NOT be used in the section "can be reached to the?

    If it's NOT a problem, then why am I allowed to use my e-mail XYZ as my 'rescue email' address for my Apple ID site, even if he uses another apple ID!

    How can I know what another apple what ID?

    Very confusing to say the least...

    Furthermore, I tried to find a community called 'Apple ID' or 'Messages' of this post "help message" but couldn't find it. "FaceTime" is the closest to what I'm looking for. Please redirect me to the appropriate site if necessary. Thank you!

    Hello Michael,

    Thank you for using communities of Apple support.

    I see you are trying to add an additional email address to your Apple ID. If you already have an address assigned as your email of relief, that is probably why you can't add it as an additional e-mail address. See this support article for more information about Apple ID addresses: on your Apple ID email addresses

    If you want to change the emails, you can replace the recovery email address and use it as an additional e-mail address.

    Best regards.

  • Firefox is running in the Task Manager, but only opens a window.

    I can't get Firefox to open a window. I tried firefox-p (Profile Manager) and firefox-safe (safe mode), but nothing works to open a window. I uninstalled and reinstalled, but that solves nothing. I haven't changed anything recently, so perhaps there is a update (?) Here's what happens:

    I try to start Firefox, and the Task Manager indicates that Firefox is running. It employs about 32 k of memory, but the window never opens.

    I click Firefox again. Manager tasks indicates 2 Firefox process now. The second is to use about 4 k of memory. Running Firefox repeatedly adds additional tasks to Firefox, each using about 4 k of memory.

    After about a minute, the additional tasks of Firefox (the 4 k ones) start closing 1 by 1. I am now down to only 2 Firefox process, using 32 k and 4 k of memory, respectively. As far as I know, these processes will last forever, until I have shut them down manually. If I run Firefox again without closing the current process, it creates another 4 k process, which finally closes itself. If I close all the processes manually, I can start over from scratch. Meanwhile, Firefox never opens a window, or give a clue showing that it is running, with the exception of the processes listed in the Manager tasks.

    bdemmon said

    I deleted the one in my USER folder without change. There are a couple more in various C:\Mozilla\Firefox\Profiles files, so I deleted those too, without change.

    It's a custom location. Normally, the profiles are under AppData\Roaming, I think you already know. There is a shortcut:

    %APPDATA%\Mozilla\Firefox\
    

    This folder must contain a profiles.ini file (.ini file extension may be hidden), which shows the names and paths to your profile folder (s). If you check in a text editor such as Notepad, this file contains sound data?

    If this started right after an update, it could be a problem with security software, put an end to the commissioning (rules of program control) or program files has been corrupted.

    You can check your firewall and other security software for program restrictions.

    To meet possible corrupt files, I suggest:

    Clean reinstall it

    We use this name, but it isn't about deleting your settings, this is to ensure that the program, files are clean (no incompatible or exotic code files). As described below, this process does not disrupt your existing settings. Don't uninstall NOT Firefox, that does not need.

    (A) download a fresh Installer for Firefox 43.0 https://www.mozilla.org/firefox/all/ in an ideal location. (Scroll down your preferred language).

    (B) the release of Firefox (if any).

    (C) to rename the folder of the program as follows:

    (Windows 64-bit folder names)

    C:\Program Files (x86)\Mozilla Firefox
    

    TO

    C:\Program Files (x86)\OldFirefox
    

    (Windows 32-bit folder names)

    C:\Program Files\Mozilla Firefox
    

    TO

    C:\Program Files\OldFirefox
    

    (D) to run the installation program that you downloaded in step (A). It should automatically connect to your existing settings.

    A cleanly reinstalled Firefox starts up normally?

    Note: Some plugins can only exist in this OldFirefox file. If it is missing something essential, present in these files:

    • \OldFirefox\Plugins
    • \OldFirefox\browser\plugins
  • How to change the administrator managed apple id?

    Hey,.

    I upgraded to the Manager of the school of Apple and entered the Apple ID used for DEP as administrator Managed Apple ID (ID One for all ;-)).

    Now, it is not possible to connect with this ID in the DEP. If I try to change the ID managed in the school of Apple Manager, I get the message "connection error".

    What I have to do, to get back to work Apple ID?

    Hello clausfromritterhude,

    Thanks for this info and choosing the communities Support from Apple. I know how important understanding Apple school Manager since update is for you! By this article from Apple:

    Upgrade your facility to the Manager of the school of Apple

    From what you have stated, this behavior is expected not to be able to connect to the DEP (device registration program). Here's a quote:

    "After completing the upgrade, you will use the Apple School Portal Manager to access your data. You will have access to the Apple site deployment after upgrading programs. »

    See you soon!

  • Windows 10 - PC recognize iPad, but iTunes does not. Nothing appears in the Device Manager.

    I followed each step that I could find on the Apple Web site. The PC recognizes the iPad iPad wonder to trust the PC and I do it, but iTunes does not show the iPad and the Device Manager doesn't show anything Apple. I even uninstalled, to alreay redownloaded and reinstalled iTunes.

    Have you tried to remove and reinstall iTunes by following the steps here? All the steps are essential to eliminate corrupt drivers:

    Remove and reinstall iTunes and software for Windows 7 and later versions - Apple Support components

  • Firefox does not start, the Profile Manager is not available

    Firefox worked, then update it does not start. I tried all the fixes; However, the Profile Manager is not accessible or even present in the execution file. I unintalled and reinstalled several times, but I still can't get it to work. There is no Windows or Norton firewall block so I do not understand. What can I do? I want to use Firefox because it's the best browser; but now I'm forced to use Oscar. It's not terrible, but I prefer the features I've had with Firefox

    I had upgraded to the latest version; but the thought of demotion to the version which worked perfectly. In the end, I had to defrag, do a registry clean and optimization of performance of PC, but for the upgrade launched. So, I'm happy to say that I reply to this post with my Firefox browser. Thank you very much for your help. If all goes well, I won't have problems.
    DoubleD52

  • Firefox won't work, even if current running in the Task Manager.

    We have about 5 users having Firefox refuses to open. In the task manager the firefox.exe is running. When we run as administrator, it works sometimes, but runs faster. We tried the ESR 38.2 Firefox and that worked for a day or two. I deleted their profiles and installed Firefox fresh with no Add-ons, even a day or two later, it opens. We turned off hardware acceleration, no change. The only thing I can think that I have not done is to clean the registry.

    5 users = all on the same PC?
    Or what with workstations and profiles on a server?

    Any type of configuration customized for when Installer Firefox?

    See if anything here helps you:
    https://support.Mozilla.org/en-us/KB/Firefox-wont-start-find-solutions

Maybe you are looking for