How to Rename or Move Oracle Tablespace Datafile to Another Location Come rinominare o spostare Oracle tablespace archivio dei dati in un'altra posizione

Oracle database does not provide an easy user interface to rename a datafile of tablespace, nor database administrator can easily move or relocate the datafile to another location or directory that different from original location on creation of database. Database Oracle non fornisce un facile interfaccia utente a rinominare un archivio dei dati di tablespace, né amministratore del database può facilmente spostare o riposizionare l'archivio dei dati in un'altra posizione o directory diversa da posizione originale sulla creazione di database. The rename or move place task has to be performed via Oracle SQLPlus command line interface. La rinominare o spostare luogo compito dovrà essere eseguito tramite Oracle SQLPlus linea di comando. However, if the operation is performed when the tablespace which owns the datefile is online, error will occur. Tuttavia, se l'operazione viene eseguita quando il tablespace che possiede il datefile è on-line, errore si verifica.

The error message may include the following: Il messaggio di errore possono includere la seguente:

ORA-01511: error in renaming log/data files ORA-01511: Errore durante la ridenominazione log / file di dati
ORA-01121: cannot rename database file <string> - file is in use or recovery ORA-01121: non può rinominare file di database <string> - il file è in uso o di recupero
ORA-01110: data file <string>: ‘datafile.dbf’ ORA-01110: file di dati <string>: 'datafile.dbf'

To properly move the datafile around or rename the datafile, follow this guide: Per spostare il corretto nei pressi di archivio dei dati o rinominare il archivio dei dati, seguire questa guida:

  1. Login to SQLPlus. Login per SQLPlus.
  2. Connect as SYS DBA with CONNECT / AS SYSDBA command. Collegarsi come SYS DBA con CONNECT / AS SYSDBA comando.
  3. Shutdown the database instance with SHUTDOWN command. Shutdown esempio la banca dati con comando SHUTDOWN.
  4. Rename or/and move the datafiles at operating system level. Rinominare e / o spostare il datafiles a livello del sistema operativo.
  5. Start Oracle database in mount state with STARTUP MOUNT command. Inizio database Oracle in stato di montaggio con STARTUP comando mount.
  6. Modify the name or location of datafiles in Oracle data dictionary using following command syntax: Modificare il nome o il luogo di datafiles nel dizionario dei dati Oracle utilizzando comando seguente sintassi:

    ALTER DATABASE RENAME FILE ‘<fully qualified path to original data file name>’ TO ‘<new or original fully qualified path to new or original data file name>’; ALTER DATABASE rinominare il file '<fully percorso originale di file di dati name>' a 'o <new originale percorso completo nuovi o originali file di dati name>';

  7. Open Oracle database instance completely with ALTER DATABASE OPEN command. Aprire database Oracle esempio completamente con ALTER database aperto comando.

If the datafiles that need to be changed or moved do not belong to SYSTEM tablespaces, and do not contain active rollback segments or temporary segments, there is another workaround that does not require database instance to be shutdown. Se il datafiles che hanno bisogno di essere cambiato o spostato non appartengono a SYSTEM tablespaces, e non contengono segmenti di rollback attivo o temporanea segmenti, vi è un'altra soluzione che non necessita di database di esempio per essere chiuso. Instead, only the particular tablespace that contains the date files is taken offline. Invece, solo il tablespace particolare che contiene la data file è presa non in linea.

  1. Login to SQLPlus. Login per SQLPlus.
  2. Connect as SYS DBA with CONNECT / AS SYSDBA command. Collegarsi come SYS DBA con CONNECT / AS SYSDBA comando.
  3. Make offline the affected tablespace with ALTER TABLESPACE <tablespace name> OFFLINE; command. Rendere offline colpite tablespace con ALTER tablespace <tablespace name> offline; comando.
  4. Modify the name or location of datafiles in Oracle data dictionary using following command syntax: Modificare il nome o il luogo di datafiles nel dizionario dei dati Oracle utilizzando comando seguente sintassi:

    ALTER TABLESPACE <tablespace name> RENAME DATAFILE ‘<fully qualified path to original data file name>’ TO ‘<new or original fully qualified path to new or original data file name>’; ALTER tablespace <tablespace name> RINOMINA archivio dei dati '<fully percorso originale di file di dati name>' a 'o <new originale percorso completo nuovi o originali file di dati name>';

  5. Bring the tablespace online again with ALTER TABLESPACE alter tablespace <tablespace name> ONLINE; command. Tablespace mettono on-line di nuovo con ALTER tablespace alter tablespace <tablespace name> online; comando.

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Questa è una pagina tradotta macchina che è fornito "così com'è" senza alcuna garanzia. Machine translation may be difficult to understand. Traduzione automatica può essere difficile da capire. Please refer to Si prega di fare riferimento a original English article articolo originale inglese whenever possible. quando possibile.

Share and contribute or get technical support and help at Condividere e contribuire o ottenere supporto tecnico e assistenza in My Digital Life Forums La mia vita digitale Forum .



One Response to “How to Rename or Move Oracle Tablespace Datafile to Another Location” Una risposta a "Come rinominare o spostare Oracle Tablespace archivio dei dati in un'altra posizione"

  1. soma for sale Soma per la vendita
    September 17th, 2008 08:39 17 settembre 2008 08:39
    1

    sftugp jlnu rpwhl lutho sftugp jlnu rpwhl lutho

Leave a Reply Lasciare una risposta

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> È possibile utilizzare questi tag: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe without commenting Iscriviti senza commentare


Custom Search

New Articles Nuovi articoli

Incoming Search Terms for the Article Cerca in arrivo Condizioni per l'articolo

rename datafile rinominare archivio dei dati - -- oracle move datafile Oracle spostare archivio dei dati - -- oracle move tablespace Oracle spostare tablespace - -- move tablespace spostare tablespace - -- oracle rename datafile Oracle rinominare archivio dei dati - -- oracle move datafiles Oracle spostare datafiles - -- rename datafile oracle rinominare archivio dei dati Oracle - -- move datafile spostare archivio dei dati - -- change datafile location archivio dei dati cambia posizione - -- oracle datafile rename archivio dei dati Oracle rinominare - -- rename oracle datafile rinominare archivio dei dati Oracle - -- oracle show tablespaces Oracle mostra tablespaces - -- move oracle datafile spostare archivio dei dati Oracle - -- oracle tablespace location Oracle tablespace location - -- oracle tablespace path Oracle tablespace percorso - -- all tutto - -- move datafile oracle spostare archivio dei dati Oracle - -- oracle show datafiles Oracle mostra datafiles - -- move datafiles oracle spostare datafiles Oracle - -- rename data file rinominare file di dati - -- oracle rename Oracle rinominare - -- oracle show tablespace Oracle mostra tablespace - -- move tablespace oracle spostare tablespace Oracle - -- Move Oracle Tablespace Spostare Oracle tablespace - -- sqlplus show tablespaces sqlplus show tablespaces - -- Oracle change datafile location Archivio dei dati Oracle cambiare posizione - -- oracle tablespace Oracle tablespace - -- mover datafile archivio dei dati mossa - -- move oracle datafiles Oracle spostare datafiles - -- oracle datafile name archivio dei dati Oracle nome - -- sqlplus show tablespace sqlplus show tablespace - -- change oracle datafile path archivio dei dati Oracle cambiare percorso - -- change tablespace name cambiare nome tablespace - -- oracle move temp file Oracle spostare file temporaneo - -- move datafiles spostare datafiles - -- How to Rename or Move Oracle Tablespace Datafile to Another Location Come rinominare o spostare Oracle tablespace archivio dei dati in un'altra posizione - -- ORA-01511: error in renaming log/data files ORA-01511: Errore durante la ridenominazione log / file di dati - -- rename oracle tablespace rinominare Oracle tablespace - -- datafile rename archivio dei dati rinominare - -- mover datafile oracle mover archivio dei dati Oracle - -- move data file spostare file di dati - -- alter datafile rename archivio dei dati alterare rinominare - -- rename datafile in oracle rinominare archivio dei dati in Oracle - -- move tablespace datafile spostare tablespace archivio dei dati - -- move datafile in oracle spostare archivio dei dati in Oracle - -- alter datafile move archivio dei dati spostare alterare - -- change datafile name archivio dei dati cambia nome - -- Oracle tablespace filename Oracle tablespace nome file - -- Oracle move tablespace file Oracle tablespace spostare file - -- how to rename a datafile come rinominare un archivio dei dati - -- rename datafiles rinominare datafiles - -- move datafiles in oracle datafiles spostare in Oracle - -- oracle tablespace rename Oracle tablespace rinominare - -- ORACLE MOVE DATAFILE TO ANOTHER TABLESPACE ORACLE spostare archivio dei dati a un altro tablespace - -- how to move oracle datafile come spostare archivio dei dati Oracle - -- oracle move system datafile Oracle spostare sistema di archivio dei dati - -- oracle tablespace name Oracle tablespace nome - -- mover datafiles mover datafiles - -- oracle alter move Oracle modificare spostare - -- oracle tablespace files Oracle tablespace file - -- move datafile online spostare archivio dei dati on-line - -- oracle move temp datafile Oracle spostare temp archivio dei dati - -- MOVE ORACLE DATA FILE Spostare file di dati ORACLE - -- renaming datafiles rinominando datafiles - -- oracle tablespace move Oracle tablespace spostare - -- MOVE DATAFILE TO ANOTHER TABLESPACE Archivio dei dati per passare ad un altro tablespace - -- RENAME ORACLE RINOMINA ORACLE - -- Oracle data file path Oracle file di dati di percorso - -- oracle change datafile path archivio dei dati Oracle cambiare percorso - -- renaming an oracle database rinominare un database Oracle - -- oracle Oracle - -- move oracle database spostare database Oracle - -- oracle move tablespace data file Oracle tablespace spostare file di dati - -- Moving Oracle Datafiles Oracle si spostano Datafiles - -- rename a datafile in oracle rinominare un archivio dei dati in Oracle - --