Oracle 10g | Approach of deleting archivelogs

Hi guys

Below are my RMAN for the local database installed in my work laptop & I'm trying to understand and learn more about RMAN + Archivelogs (after having faced a major disaster recently)

RMAN > SHOW ALL.

using the control file of the target instead of recovery catalog database

RMAN configuration parameters are:

CONFIGURE RETENTION POLICY TO 3 DAY RECOVERY WINDOW;

CONFIGURE BACKUP OPTIMIZATION # by default

SET UP DEFAULT DISK DEVICE TYPE; # by default

CONFIGURE CONTROLFILE AUTOBACKUP ON;

CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default

SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default

CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default

CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default

CONFIGURE MAXSETSIZE TO UNLIMITED; # by default

CONFIGURE ENCRYPTION OF DATABASE # by default

CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default

CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; # by default

CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\SNCFSCT. ORA'; # by default

I have used enterprise manager to configure Oracle offers scheduled backup of all day @ 10:00 which is perfect work. Further I created manually backups RMAN publishing below command that is also good enough.

RMAN > BACKUP AS BACKUPSET DATABASE MORE ARCHIVELOG;

Well, I find myself with almost a month long archivelog files in the file system. It is safe for me delete archivelogs of my file system manually once after a full backup with RMAN is successfully? What happens if I want to backup RMAN automatically the data base and archivelog and then delete the archivlogs? Should I use a script for batch processing with the operating system or can I create RMAN scripts to do the job, such as job scheduler database?

Kind regards

Hello

What happens if I want to backup RMAN automatically the data base and archivelog and then delete the archivlogs? Should I use a script for batch processing with the operating system or can I create RMAN scripts to do the job, such as job scheduler database?

You can specify the DELETE INPUT or DELETE ALL INPUT clauses for the BACKUP ARCHIVELOG command to delete the log files archived once they are saved, eliminating the separate step of manually delete the archived redo logs. With DELETE INPUT , RMAN only deletes the specific copy of the newspaper of archived recovery chosen for the backup set. With DELETE ALL INPUT , RMAN deletes each file backed up log redo archived log destinations archiving.

Read more here: http://docs.oracle.com/cd/B19306_01/backup.102/b14192/bkup003.htm#i1006454

Tags: Database

Similar Questions

  • Oracle 10g - problem with "DELETE from TABLE WHERE ID in (1,2,3)" (use cfqueryparam)

    Hello, everyone.

    I have problems with executing a DELETE statement on an Oracle 10 g server.

    DELETE 
    FROM tableA
    WHERE ID in (1,2,3)
    

    If there is only a single ID for the IN clause, it works.  But if more than one ID is provided, I get an error message "SQL command" not correctly completed.  Here's the query as CF:

    DELETE 
    FROM TRAINING
    WHERE userID = <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#trim(form.userID)#">
         AND TRAINING_ID in <cfqueryparam value="#form.trainingIDs#" cfsqltype="CF_SQL_INTEGER" list="yes">
    

    Someone at - it works with Oracle that can help me with this?  I'm a developer experienced in MS - SQL; Oracle is new to me.

    Thank you

    ^_^

    So much worse... a colleague just told me I should always use parentheses around the values in the IN clause.

  • Table space not reduce after deletion in oracle 10g

    Hello..

    Based on my system, I found that my oracle table space has not reduced after the deletion request. Why?... Could someone help me. As your info, I use oracle 10g.

    Thank you
    Balleur

    After you delete the table space will not be scheduled free. high tide are not reset. to find the space you want to recognize objects that you have deleted the data. This can be done in many ways.

    (1) move the objects.
    ALTER table move temp--> possibly the tablespace clause may be used. After that, you must rebuild the indexes of the tables.

    (2) with 10 g table can be shrunken or reorganize to free up space.

    change the movement line of table mytable enable;
    change the table mytable retractable;

    (3) import/export

    export the objects and delete and recreate with import.

  • How to use Oracle 10g (LOGMINER) consistent with DBA privileges JKM

    Hi gurus,

    Transposition of the CDC, we are checking out JKM Oracle 10g coherent (LOGMINER).
    Only restriction is that we can have no privilege DBA granted to the user of the ODI.

    So far, I did the following

    JKM Oracle 10g compatible (LOGMINER) uesed with

    ASYNCHRONOUS_MODE = NO
    AUTO_CONFIG = NO
    JOURNAL_TABLE_OPTIONS: USERS


    1 source schema: test
    2. There are 2 tables (DEPT_CDC_SRC and EMP_CDC_SRC) in the schema of the TRIAL, the two were added to the process of the CDC
    3 schema work: cdc

    4. from SYS schema the following grants were given to ODI work shema user.

    Grant connect, the cdc resources
    GRANT SELECT ANY TABLE OF CDC
    Grant EXECUTE ON dbms_stats to cdc
    Grant execute on DBMS_CDC_PUBLISH at CDC
    Grant execute on DBMS_CDC_UTILITY to CDC
    Grant execute on DBMS_CDC_SUBSCRIBE at CDC
    Grant execute on DBMS_STREAMS_CDC_ADM to CDC
    Grant execute on DBMS_CDC_IPUBLISH to CDC
    Grant execute on DBMS_CDC_SYS_IPUBLISH to CDC
    Grant execute on DBMS_CDC_ISUBSCRIBE at CDC
    Grant execute on DBMS_CDC_DPUTIL to CDC
    Grant execute on DBMS_CDC_EXPDP to CDC
    Grant execute on DBMS_CDC_EXPVDP to CDC
    Grant execute on DBMS_CDC_IMPDP to CDC

    5. as a user SYSDBA has done the following:
    ====================================
    SHUTDOWN IMMEDIATE;
    BOOTABLE MEDIA;
    ALTER DATABASE ARCHIVELOG;
    ALTER DATABASE OPEN;
    ALTER SYSTEM ARCHIVE LOG START;
    ALTER SYSTEM SWITCH LOGFILE;
    ===================================

    6 start journal... it fails to create the stage newspaper.
    with the following error
    ORA-06512: at "SYS." DBMS_CDC_PUBLISH.

    7. for the goal conceded role DBA to CDC test and start the log it is successful

    8 revoked of CDC DBA and restart the log. It still fails to form newspaper market.
    with the same error i.e.
    ORA-06512: at "SYS." DBMS_CDC_PUBLISH.

    How to solve this problem without any DBA privilege to the scheme of ODI work?

    Kind regards
    Frédéric

    Published by: 804400 on November 24, 2010 02:39

    Hello

    http://www.DBA-Oracle.com/t_insifficient_privileges_create_view_grant.htm said

    You must have the privileges of the object that you made from tables

    Privileges required to create views

    To create a view, you must meet the following requirements:

    You must have been granted the CREATE VIEW (to create views in your schema) or CREATE ANY VIEW (to create a view of another user schema) system privilege, either explicitly, or by a role.

    You need to explicitly obtain the SELECT, INSERT, UPDATE, or DELETE privileges object on all underlying base objects in the view or system privileges SELECT ANY TABLE, INSERT a WHOLE TABLE, UPDATE ANY TABLE or DELETE ANY TABLE. You may not have gotten these privileges through roles.

    I hope this helps.

    Thank you
    Fati

  • not able to uninstall oracle 10g, how I uninstall oracle 10g IAM?

    actually iam using oracle10g in my laptop. now I just want to change for oracle 11g. I tried to uninstall 10g it shows uninstalled successfully. but when I tried to install 11g it shows already oracle is installed on your laptop...

    now how do I install 11g without formatting... can my drive you give me the solution for this...

    Hello

    You must uninstall oracle 10g by

    1.Oracle Universal Installer from Start menu

    2. Run regedit.exe and delete the HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE key.

      This contains registry entries for all Oracle products.

    3 make sure that he didn't there no service oracle left behind in the services Panel

    4 restart your computer

    5.Delete the "C:\Oracle" directory, or the oracle_base directory on which you had installed oracle 10g

    regards,

    -DM

  • customer of oracle 10g 64 bit to win7 64-bit

    where can I find it? I'm not even a link to the oracle 10g client download on otn.
    I have an oracle 10g 32-bit client that I currently use on win7 64 bit OS but I need 64-bit customer oracle 10g.

    10g downloads are deleted from the RTO. If you want, you must get in contact with the support.

    Aman...

  • Oracle 10g homepage not opening not... Oracle DB not listening to port 8080.

    I installed oracle 11g xe and home page did not come to the top. same thing happens when I installed oracle 10g xe. The homepage can be connected and run sql command line is also not not opening. I checked in services.msc that OracleServiceXE and OracleXETNSListener is running.

    Firewall is disabled. Using XP SP3. Already had Oracle 8i and uninstalled and deleted all remaining sound files manually.

    I opened cmd and typed-

    C:\ > SQLPLUS / as sysdba startup

    I got this result-

    SQL > startup ORA-01078: failure in the treatment of the system ORA-01565 settings: error in the identification of the files 'C:\oraclexe\app\oracle\product\10.2.0\serv er\dbs/spfileXE.ora' ORA-27041: could not open the OSD-04002 file: could not open the file S/O-error: (OS 2) the system cannot find the file specified. SQL > disconnected

    I typed-

    C:\ > telnet localhost 8080

    I got this result-

    Connecting to localhost... Could not open connection to the host, on port 8080: connection failed

    I did not the configuration changes to all files .ora and nothing is listening on port 8080. I deleted IE (off the frustration of slow speed), and only have Chrome, Firefox n Safari on my system. Does it matter?

    I also disabled WLAN n DB restarted but of no use... Check the LSNRCTL status given.

    LSNRCTL > status
    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - production
    ction
    Start date December 2, 2011 10:00:30
    Uptime 0 days 0 h 21 min 31 sec
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Default Service XE
    Listener parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\a
    dmin\listener.ora
    Listener log file C:\oraclexe\app\oracle\product\10.2.0\server\network\l
    og\listener.log
    Summary of endpoints listening...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = guddus-comp)(PORT=1521)))
    Summary of services...
    Service 'CLRExtProc' has 1 instance (s).
    Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...
    Service 'PLSExtProc' has 1 instance (s).
    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
    The command completed successfully

    For the removal of Win services, find out about 'sc' (sc delete).

    Path indicators system of additional Oracle installs (ora92...). Who installs is 'in progress' and who is uninstalled?

    What happens if you just to open a command prompt and run oradim?

    What is the oracle.key file exists in dir\bin House xe? What is its content?

  • Cannot uninstall or reinstall oracle 10g express edition w/Server 2003

    Hello

    I need help from you all, I have installed oracle 10g express edition in
    Windows 2003 server in the drive d but I can't delete because the oracle not in
    Add Remove program so I download the windows install clean up to remove
    but after deletion, always in the program all I still can start and stop the
    database but cannot go to the homepage of database. The error message (installation
    cannot proceed as service OracleServiceXE is present on the system. Remove the
    service, restart the translated retry installation) can someone guide me to use
    command prompt to remove.
    My email address [email protected]

    Thank you

    GoTo D:\oraclexe\app\oracle\product\10.2.0\server\BIN
    and clik cleanup.bat. This should eliminate OracleXE service

    then re - install XE (or) delete oraclexe folder and oracle logs and try to install.

  • Oracle 10g DBA questions

    I am preparing to Oracle 10g certification. I have several questions that I can't answer how well I did a lot of research. Help, please. Thank you. S.

    1. which two databases users can log into EM to perform the loading bath using SQL loader?

    2. who would have three configurations you use for the automatic management of the backup and restoration of the Oracle database operations?
    store data files in the flash recovery area.
    store the archive logs in the flash recovery area.
    Back up the control files; use the database in archivelog mode.
    Configure the automatica undo management;
    Use the flash recovery for backup files automatic storage management

    3. which three user names, by default, can provide access to the control of database Oracle Enterprise managers?
    system, sysman, dmsnmp, sys?

    4. When you create a database using DBCA, why is the block size not enabled?

    5. the table maybe flashback if it resides in a locally managed tablspace?

    You do not have my point. There is no need to look for 'anyone' on any forum for the answers. You should look for them yourself.

    Think about this question only. Why the confusion? Florian gave an answer already you must choose the tempelate custom to get the option of block size. So the question is the size of block unmodifiable why right?

    + 1. you have chosen the file storage system.

    Doesn't ANY sense!
    2. you use no model of custom database to create db

    + 3. you haven't chosenGrid Ctrl +.
    It has nothing to do with the size of the block.

    + 4. data block size is set to the maximum block size supported by the operating system.

    Nope, oracle assigns the default value they use in a statement.

    + 5 block size can be increased when DBCA is called Oracle installer +.
    Nonsense!

    I left the option 2, that has meaning today?

    Yet once, not worth about issues and especially not these. Think and prepare concepts and for it you just put the efforts.

    HTH
    Aman...

  • Info on Earphone for oracle 10g and 11g installed on systm unique

    Hello

    I installed oracle 10g n 11g on my system. I have question regarding oracle listening port.

    Oracle 10g, Listener.ora

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = kankala.kalyan) (PORT = 1521))
    )
    )


    Oracle 11g, Listener.ora

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1522))
    (ADDRESS = (PROTOCOL = TCP (PORT = 1522))(HOST = kankala.kalyan))
    )
    )

    My question is why the names of the listener are same even if your are on different ports?

    and for disturbing people, why I installed 10 n 11 is
    Initially only oracle 11g has been installed on my system. Later, I learned for the first time forms and I have to connect to the database frm developer suite 10 g. so I installed oracle 10 g database.

    The names are the same, because this is the way which you created them.

    If you want to make a change to use NETCA to delete and recreate one of them.

    Just make sure that you have set ORACLE_HOME properly until you do.

  • Hello Sir: I use a generator of form of oracle 10g and I want to search on two dates using between.how it is possible.

    Hello Sir: I use a generator of form of oracle 10g and I want to search on two dates using between.how it is possible.

    I guess its text fields are the date data type.

  • Oracle 10g of MSSQL 2005 database link

    Hello

    We are configuration link database to oracle 10g of mssql 2005

    Thanks to the heterogeneous connectivity. We get the following error when testing database link.

    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:

    ORA-28541: error in the HS on line 1 init file.

    ORA-02063: preceding 2 lines of < SID >

    28500 00000 - "connection between ORACLE and a non-Oracle system has sent this message:

    * Cause: The cause is explained in the forwarded message.

    * Action: See documentation for the non-Oracle of the transmission system

    Message.

    Error on line: column 4:19

    Can someone guide correct configeration of Hetrogeneous Service and why the error arises.

    Thank you

    Basu,

    Dg4ODBC gateway can be used with the 10.2.0.5 database. It is certified and no additional license is required for the database to ODBC gateway - the license is included in the license database (even when the Oracle database is still version 10.2) AND you can also install Dg4ODBC on another machine, then the Oracle database. There is no need to have Dg4ODBC installed on the same computer as the Oracle database.

    -When you install DG4ODBC on the same machine as your Oracle 10.2 database, then install in its own, separate OH - otherwise you will corrupt your existing installation of the database.

    -Klaus

    Post edited by: kgronau

  • Is there a way to fill the boss way recursive/dynamically in oracle 10g

    Hello

    I want to complete the following template and then use the result as a virtual table in oracle 10g.

    SELECT 2 FROM DUAL;

    UNION ALL

    4. SELECT FROM DUAL;

    ALL UNIONL

    8. SELECT FROM DUAL;

    .

    .

    .

    .

    UNION ALL

    . SELECT POWER (2.61) FROM DUAL;

    Is it possible that I can use the recursion or dynamic query with "with clause" and avoid writing all these statements.

    Thank you

    YG

    Hi GY,.

    In 10g, you can use a clause of the TYPE:

    SELECT nbr

    OF THE DOUBLE

    MODEL

    DIMENSION (2 d)

    MEASURES (number 0)

    RULES ITERATE (61)

    (nbr [ITERATION_NUMBER] = power (2, ITERATION_NUMBER + 1))

    ORDER BY nbr;

    From 11 g 2, you can use a WITH recursive clause:

    WITH v (n, lvl) AS (SELECT 2 n, 1 lvl FROM DUAL

    UNION ALL

    SELECT 2 * n, 1 + lvl

    V

    WHERE the lvl<=>

    )

    Select n v

  • Oracle 10g with 10.2.0.5 patch app thin?

    Hello

    I'm working on creating a fine app for oracle 10g. I am able to create the thin application without patch and everything seems to work normally, but in our situation, we must apply the 10.2.0.5 patch. When I patch the program, everything still seems to work ok, so I'm going through with the postscan, which also seems to work fine until there finishes.

    I don't know if this is related, but I get the following warnings after the postscan:

    Could not copy the file--> C:\Program Files (x 86) C:\ProgramData\Microsoft\RAC\StateData\RacMetaData.dat \VMware\VMware ThinApp\Captures\Oracle 10 g + patch\%Common AppData%\Microsoft\RAC\StateData\RacMetaData.dat
    Could not copy the file--> C:\Program Files (x 86) C:\ProgramData\Microsoft\RAC\StateData\RacWmiEventData.dat \VMware\VMware ThinApp\Captures\Oracle 10 g + patch\%Common AppData%\Microsoft\RAC\StateData\RacWmiEventData.dat
    Could not copy the file--> C:\Program Files (x 86) C:\ProgramData\Microsoft\Search\Data\Applications\Windows\MSStmp.log \VMware\VMware ThinApp\Captures\Oracle 10 g + patch\%Common AppData%\Microsoft\Search\Data\Applications\Windows\MSStmp.log
    Could not copy the file C:\Users\All Users\Microsoft\RAC\StateData\RacMetaData.dat--> C:\Program Files (x 86) \VMware\VMware ThinApp\Captures\Oracle 10 g + patch\%drive_C%\Users\All Users\Microsoft\RAC\StateData\RacMetaData.dat
    Could not copy the file C:\Users\All Users\Microsoft\RAC\StateData\RacWmiEventData.dat--> C:\Program Files (x 86) \VMware\VMware ThinApp\Captures\Oracle 10 g + patch\%drive_C%\Users\All Users\Microsoft\RAC\StateData\RacWmiEventData.dat
    Could not copy the file C:\Users\All Users\Microsoft\Search\Data\Applications\Windows\MSStmp.log--> C:\Program Files (x 86) \VMware\VMware ThinApp\Captures\Oracle 10 g + patch\%drive_C%\Users\All Users\Microsoft\Search\Data\Applications\Windows\MSStmp.log
    Could not copy the file C:\Users\All Users\Microsoft\Windows Defender\IMpService925A3ACA-C353 - 458 A-AC8D - A7E5EB378092.lock--> C:\Program Files (x 86) \VMware\VMware ThinApp\Captures\Oracle 10 g + patch\%drive_C%\Users\All Users\Microsoft\Windows Defender\IMpService925A3ACA-C353 - 458 A-AC8D - A7E5EB378092.lock
    Could not copy the file C:\Users\All Defender\Scans\History\CacheManager\MpSfc.bin--> C:\Program Files (x 86) Users\Microsoft\Windows \VMware\VMware ThinApp\Captures\Oracle 10 g + patch\%drive_C%\Users\All Users\Microsoft\Windows Defender\Scans\History\CacheManager\MpSfc.bin

    And then finally I get this at the end of the 'Build Project' message:

    C:\Windows\hh.exe: an executable not valid
    Build failed *.

    I can't determine why the build fails.

    Any help would be appreciated.

    Hi Mark

    1. the warnings that you are seeing after Postscan aren't a problem, in my view, they are for most of the newspapers that were not copied to the ThinApp of your application project (probably because access is denied because some application process is running and use).

    2. the error you see regarding hh.exe during the generation probably occurs because it is a 64-bit binary (and ThinApp 4.7.3 can't stand not the 64-bit binaries), in all cases, please open the file package.ini in the project folder (the folder that contains the project ThinApp registered Oracle 10 g, generated by the capture process) and find the section [hh.exe] and add 'Disabled = 1' under it , and then try again to build again by running build.bat.

    Thank you.

  • Oracle 10g and 11g reports

    I recently upgraded from Oracle Forms/Reports 10 g and 11g.  Oracle 10g reports saving as PDF is easily converted into a word document, however, Oracle 11 g converts not as 10 g.  What is the difference and how to make the report of 11g saved in a PDF file be able to convert a Microsoft Word document itself.

    Thank you

    Steven


    Hello

    There is a "known issue" with the PDF file in 11g:

    ALERT: Indicates problems PDF in 11.1.2.1.0 group of fixes for Non-Linux (Doc ID 1522543.1) platforms

    Maybe the problem comes from this 'problem '...

    "Patch Set Exception" exists for this problem.

    Kind regards

Maybe you are looking for

  • Apple Watch recalibration

    I just prepared myself recalibrate speed/distance for a workout in my Apple Watch, as my distances seem to be far away.  However, I recently installed the latest update and the ability to 'Reset the Calibration data' on the screen movement and fitnes

  • Update HP Pavilion dv6700 32-bit to 64-bit

    Hello I have a laptop HP Pavilion dv6700 currently runing 32 bit of the system. Serial number - dv6880ee.I would like to know if I can update my laptop from 32 bit to 64 bit, to buy memory for 6 or 8 GB of ram (if possible) and update my video card s

  • Problems with batch files and command.

    I'm not too familiar with the support of the PC, but can follow the operational base. I had a problem with my windows vista machine.  Whenever I started, there was a poster on my screen batch file.  This was a company script provided departmental sup

  • Details of graphics card (5548) Dell Inspiron 15

    I recently bought a dell inspiron 15 (5548) and now im faced with somewhat misleading of the problem with the graphics card. Is - this m265 R7 or R7 m260? Latest drivers Dell show as m265, but the games stuck and completely non playable after the A06

  • Unknown connection status - unable to connect to the Internet, Vista

    Hello. My computer was working fine last night, but when I started it today, I couldn't go online. When I move the mouse over the network and the share icon in the lower left corner of the computer, he said: "the dependency service or group could sta