IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Oracle Discussion :

archivelog a noarchivelog


Sujet :

Oracle

  1. #1
    Membre du Club
    Homme Profil pro
    Chargé d'affaire
    Inscrit en
    Février 2003
    Messages
    44
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 66
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : Chargé d'affaire
    Secteur : Aéronautique - Marine - Espace - Armement

    Informations forums :
    Inscription : Février 2003
    Messages : 44
    Points : 44
    Points
    44
    Par défaut archivelog a noarchivelog
    Bonjour,

    Base Oracle 10g (10.2.0.1)
    Linux RHEL4

    La base de donnée est actuellement en mode archivelog, et je souhaiterais la passer en mode noarchivelog.
    Apres avoir lu diffrents texte a ce sujet, je commence a etre perdu.
    Pourriez vous me donner la meilleure marche a suivre pour ne pas commettre d'erreur.

    Merci d'avance
    Pierre Diaz

  2. #2
    Membre actif
    Homme Profil pro
    Inscrit en
    Mars 2004
    Messages
    286
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 55
    Localisation : France

    Informations forums :
    Inscription : Mars 2004
    Messages : 286
    Points : 279
    Points
    279
    Par défaut
    En direct de la doc Oracle
    Citation Envoyé par la_doc_oracle
    Changing the Database Archiving Mode
    To change the archiving mode of the database, use the ALTER DATABASE statement
    with the ARCHIVELOG or NOARCHIVELOG clause. To change the archiving mode, you
    must be connected to the database with administrator privileges (AS SYSDBA).
    The following steps switch the database archiving mode from NOARCHIVELOG to
    ARCHIVELOG:
    1. Shut down the database instance.
    SHUTDOWN
    An open database must first be closed and any associated instances shut down
    before you can switch the database archiving mode. You cannot change the mode
    from ARCHIVELOG to NOARCHIVELOG if any datafiles need media recovery.
    2. Back up the database.
    Before making any major change to a database, always back up the database to
    protect against any problems. This will be your final backup of the database in
    NOARCHIVELOG mode and can be used if something goes wrong during the
    change to ARCHIVELOG mode. See Oracle Database Backup and Recovery Basics for
    information about taking database backups.
    3. Edit the initialization parameter file to include the initialization parameters that
    specify the destinations for the archive log files (see "Specifying Archive
    Destinations" on page 7-6).
    4. Start a new instance and mount, but do not open, the database.
    STARTUP MOUNT
    To enable or disable archiving, the database must be mounted but not open.
    Dans le cas du passage Archivelog vers non archivelog, on peut résumer
    1) arreter la base : 2) démarrer la base en "mount" : 3) passer en mode non archive :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    alter database norachivelog;
    4) ouvrir la base : Et bien sur toujours faire un backup AVANT.
    --
    ... Hello sweetie ...

Discussions similaires

  1. [10g] purge archivelogs
    Par yanber dans le forum Oracle
    Réponses: 4
    Dernier message: 16/06/2006, 11h03
  2. application archivelog BD standby
    Par learn dans le forum Oracle
    Réponses: 1
    Dernier message: 06/10/2005, 06h21
  3. Archivelog
    Par GARNCAREK dans le forum Oracle
    Réponses: 3
    Dernier message: 29/06/2005, 11h03
  4. problème de backup des archivelogs avec RMAN
    Par 79Charles dans le forum Recovery Manager
    Réponses: 14
    Dernier message: 24/05/2005, 18h33
  5. mode archivelog et backups
    Par Yorglaa dans le forum Administration
    Réponses: 15
    Dernier message: 16/08/2004, 15h34

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo