ORA-1600 trying to take offline a tablespace in a database ensures Hi.

Hello

I have to move a tablespace file to another drive on the server. This server is a physical standby server in a configuration of dataguard. I need to put the tablespace offline and the standby server is not open but mounted for recovery. How to proceed?


Thank you.

Yes I copied the file to the desired location before you rename it on the database. In addition, there are no errors on the file names. What are good names.

So maybe you have not cancelled the MRP on the eve.
If you cancel and still you are facing the error, then:

1. stop the day before

2. Mount the eve

3. move the data file using the command from the OS

4 rename the data at the level of the DB file

change the database file rename to ;

5. start MRP

-Jonathan Rolland

Tags: Database

Similar Questions

  • Why can they take default permanent tablespace offline?

    We cannot take the tablespace temporary default offline, as well as of the SYSTEM, UNDOTBS1.
    so, I wonder why we take offline the permanent tablespace default as USERS?
    What happens if there is only a single tablespace 'USERS' in my database?

    PhoenixBai wrote:
    >
    Why do you have to be obsessed to take tablespaces offline?
    >
    not me obsessed to this topic. OCP tends to make a fuss out of it, so I have no choice, but to play the game.

    back to the point, the original question is:

    Your Oracle 10g database has 6 tablespaces in which:
    -TEMP is the default temporary tablespace
    - UNDOTBS1 is the default undo tablespace
    - USERS is the default permanent tablespace
    In this database, which three tablespaces can  be made offline? (Choose three.)
    
    1. USERS
    2. TEMP
    3. UNDOTBS1
    4. SYSTEM
    5. SYSAUX
    6. PROD
    

    responses, are without a doubt, 1,5,6. and I have no problem seen the SYSTEM may not be in offline mode.
    but, do not understand why TEMP and UNDOTBS1 isn't in offline mode while USERS can?
    for me, TEMP & UNDOTBS1 are to serve the manipulation on the data that is contained in the USERS (or PROD) tablespaces in this case.
    Thus, when data are not available, what is the point to keep TEMP & UNDOTBS1?

    Another possibility is: we are allowed to disconnect USERS tablespace, because currently we have an another PROD tablespace to store data?

    want you or anyone can help explain a little.
    I just want one another reasonable explanation that oracle doc said.

    Phonexbai,

    Please see,

    SQL> l
      1  select * from database_properties
      2* where property_name like '%DEFAULT%'
    SQL> /
    
    PROPERTY_NAME                                      PROPERTY_VALUE                                     DESCRIPTION
    -------------------------------------------------- -------------------------------------------------- ----------------------------------------------
    DEFAULT_TEMP_TABLESPACE                            TEMP                                               Name of default temporary tablespace
    DEFAULT_PERMANENT_TABLESPACE                       USERS                                              Name of default permanent tablespace
    DEFAULT_EDITION                                    ORA$BASE                                           Name of the database default edition
    DEFAULT_TBS_TYPE                                   SMALLFILE                                          Default tablespace type
    
    SQL> select * from V$version;
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    
    SQL> archive log list
    Database log mode              No Archive Mode
    Automatic archival             Disabled
    Archive destination            USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence     71
    Current log sequence           73
    SQL> alter tablespace users offline ;
    
    Tablespace altered.
    
    SQL> alter tablespace users online;
    
    Tablespace altered.
    

    For the first thing, the declaration this tablespace users may be taken offline is indeed correct . Now the System and Sysaux are containing the data dictionary of the database and without whom, there is no point that this database can work. This is why its mandatory for them to be online and if off line by crushing or something, the recovery of them must also occur in the phase (Mount) offline.

    The Undo tablespace is required to service the mechanism of reading-consistansy of the database. If quoted to be mandatory (i.e. your AUM), it cannot be taken offline and being crushed, his recovery would be as necessary a restoration in offline mode. The Temp tablespace is a special tablespace (he was't it always in all previous versions) for the database and if it's a must for the datbase for read-only and do something that will exceed PGA. So it cannot be disconnected as well.

    Now, I'm sure you mean you know all this, what about users being able to get offline, right? Well, the answer is quite simple. Everything simply because you establish a default tablespace for the user be available as their default tablespace (further a quota to spread on it), it does not change any property of this tablespace. Its the tablespace, unlikely normal Temp, cancel and so on. He did justto do that people do not, by mistake, make objects in the System tablespace. A tablespace of default tablespace of the user database for the creation of objects, does not mean that all of a sudden, its now taking a special meaning. That is why its possible to redo this tablespace still transactions that apply to any other tablespace (by default) with the exception of the system those. I don't think to dig any deeper. There is no other explanation that it is possible for this behavior of the IMO.

    HTH
    Aman...

  • I tried to take advantage of the XBox Live 2 months for $2, but he says that my account is blocked.

    my account is blocked

    I tried to take advantage of the XBox Live 2 months for $2, but he says that my account is blocked.  I followed the instructions and asked for the code to be sent to my other account that several times, but I have not received.  I talked to a CSR and the reference number was 1178333571.  I have my account unlocked and to a subscription xbox live gold.

    respectfully,.

    Isidoro

    Hi isidorolaude,

    For help on XBOX, go on the Forums of Xbox Live.

  • I am trying to take the video with my Canon EOS 60 d

    I am trying to take the video with my camera.  She saves about 3 seconds and then stops.  the error message is "video recording was stopped automatically."  I have to do something wrong.  Can someone help me?

    What card memory SD brand and 'class' are you using?  Probably the memory card is not fast enough to deal with HD video.   'Class 6' or more recommended.

    More extensive explanation here:
    http://www.tested.com/tech/photography/3317-how-to-buy-the-right-memory-card-for-your-camera-SD-card...

  • Photoshop CC was supposed to be able to use without an internet connection if I worked online at least once a month...  I tried to work offline at home after working online for a while. The sign came and said ' no Internet connection /- and the options we

    Photoshop CC was supposed to be able to use without an internet connection if I worked online at least once a month...

    I tried to work offline at home after working online for a while. The sign came and wrote

    «No Internet connection / - and the options have been - try again or continue offline "and I could not work no prob. by choosing «continue in offline mode»

    However, I've used photoshop for a few hours yesterday and I brought my laptop home from my photographer friend to share the work of editing... and I couldn't open Photoshop.

    "The network is not connected TRYagain.

    It was the only option, does not allow me to continue offline...

    You have an idea why I couldn't?

    An Internet connection is required the first time you install and your creative Cloud of license applications.

    You can use the applications in offline mode, but must be online from time to time to validate your software licenses. Please see this link for more details: CC help | Creative cloud / Common Questions

  • ORA-00439: feature not enabled: export transportable tablespaces

    Hi all

    I got following error while using the transpotable tablespace feature. My OS is windows XP and version 10.2.0.1.0 oracle

    ORA-00439: feature not enabled: export transportable tablespaces

    What is the version of your db? This is an Enterprise Edition or Standard Edition? Teh transport of storage space is only one feature of Enterprise edition.

    http://www.Oracle.com/us/products/database/product-editions-066501.html

    HTH
    Aman...

  • ORA-12154 trying DB link

    Hello

    I hit ORA-12154 tries to use a DB link. However, I am able to connect to the target DB through a client.
    select * from user_tables@tnsentry;
    ORA-12154: TNS:could not resolve the connect identifier specified
    
    sqlplus user/pwd@tnsentry;
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL>
    If anyone can help.

    Thank you
    CJM

    user13102515 wrote:
    Chinar,

    Sorry to bug you like this.

    Why can't hang in the database with a DB link when I can log the same database by using a client? And I thought that the tnsnames.ora on the client computer has been making analyzed to extract the server connection details.

    I have a couple of queries. I would really appreciate if you could answer or point me to a link that explains this:

    (1) the names of descriptor connect in tnsnames.ora on the client and server must always match? -(Je pensais qu'ils didn't doit).
    (2) most of the databases that I use the same request to connect to the server and the client, descriptor names. I tried to change, and I was hitting ORA-12154 more time, but not always. Why this behavior a bit?

    Thank you
    CJM

    When you use a db_link, the database in which the link is defined and referenced acts as a client to the target of the link. That is why the machine hosting the source of the link must now be considered the client computer, insofar as this db link is concerned.

  • ORA-19838: cannot use this control file to open the database

    Dear all,

    While making RMAN cloning, we are facing problem,

    SQL > alter database open resetlogs;

    ALTER database open resetlogs

    *

    ERROR on line 1:

    ORA-19838: cannot use this control file to open the database

    Concerning

    Villi Kumar

    Dear all,

    While checking the database,

    Control the name of the database file is PROD

    In the instance, database name is TEST.

    So we took the PROD and edited control file trace file based on the TEST environment.

    Then run the script published in the TEST database trace file.

    Now we can open the database by using below command

    ALTER database open resetlogs;

    Concerning

    Villi Kumar

  • ORA-20009: you are not allowed to connect to this database

    Hello

    We have the 11.2.0.1.0 Oracle database.

    The DB automatically stops as well as the service stops.

    Verification of the alert log, here are the errors... These are continually producing the newspaper and new .trc and .trm files are created every minute.

    Errors in the d:\oracle\admin\fw4dev\bdump\diag\rdbms\fw4dev\fw4dev\trace\fw4dev_j000_7424.trc file:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-20009: you are not allowed to connect to this database
    ORA-06512: at line 4 level
    Fri Jul 01 13:14:32 2011
    Errors in the d:\oracle\admin\fw4dev\bdump\diag\rdbms\fw4dev\fw4dev\trace\fw4dev_ora_8672.trc file:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-20009: you are not allowed to connect to this database
    ORA-06512: at line 4 level
    Fri Jul 01 13:15:19 2011
    Errors in the d:\oracle\admin\fw4dev\bdump\diag\rdbms\fw4dev\fw4dev\trace\fw4dev_j000_4916.trc file:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-20009: you are not allowed to connect to this database
    ORA-06512: at line 4 level
    Fri Jul 01 13:15:41 2011
    Errors in the d:\oracle\admin\fw4dev\bdump\diag\rdbms\fw4dev\fw4dev\trace\fw4dev_ora_3952.trc file:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-20009: you are not allowed to connect to this database
    ORA-06512: at line 4 level
    Fri Jul 01 13:16:19 2011
    Errors in the d:\oracle\admin\fw4dev\bdump\diag\rdbms\fw4dev\fw4dev\trace\fw4dev_j000_832.trc file:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-20009: you are not allowed to connect to this database
    ORA-06512: at line 4 level
    Fri Jul 01 13:17:16 2011
    Errors in the d:\oracle\admin\fw4dev\bdump\diag\rdbms\fw4dev\fw4dev\trace\fw4dev_ora_3988.trc file:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-20009: you are not allowed to connect to this database
    ORA-06512: at line 4 level
    Fri Jul 01 13:17:19 2011
    Errors in the d:\oracle\admin\fw4dev\bdump\diag\rdbms\fw4dev\fw4dev\trace\fw4dev_j000_4352.trc file:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-20009: you are not allowed to connect to this database
    ORA-06512: at line 4 level
    Fri Jul 01 13:18:19 2011
    Errors in the d:\oracle\admin\fw4dev\bdump\diag\rdbms\fw4dev\fw4dev\trace\fw4dev_j000_2892.trc file:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-20009: you are not allowed to connect to this database
    ORA-06512: at line 4 level
    Fri Jul 01 13:19:19 2011
    Errors in the d:\oracle\admin\fw4dev\bdump\diag\rdbms\fw4dev\fw4dev\trace\fw4dev_j000_2416.trc file:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-20009: you are not allowed to connect to this database
    ORA-06512: at line 4 level
    ......
    ..
    .

    Please go back, in case anyone has the solution for the same thing.

    Kind regards
    Jinisha

    Hello
    It is a 'feature' really annoying a logon trigger event is 'CONNECTION' not 'LOGON' that is to say there is a space after the opening of SESSION

    Change your query to

    Select * from dba_triggers, where triggering_event like 'LOGON '.

    And you will find it.

    See you soon,.
    Harry

  • How can I get the SQL of a tablespace of the database

    Hi all

    I'm using Oracle 11 g R2. I want to get some tablespaces on my database SQL code. in the same way, I get the DDL of the table using the GET_DDL function.

    How can I get that?

    Kind regards

    Just use 'TABLESPACE' instead of 'TABLE' and a name of a tablespace instead of the name of a table and use dba_tablespaces or the user_tablespaces for a list of tablespaces.
    It's a simple as that!

    ------------
    Sybrand Bakker
    Senior Oracle DBA

  • ORA-02021: DDL Operations are not allowed on a remote database

    Hello

    I need to SELECT grants to a role on a synonym, but I got this error:

    SQL > GRANT SELECT ON SYNERGIA. CoDato_SED to ROLE_SYNERGIA;
    GRANT SELECT ON SYNERGIA. CoDato_SED to ROLE_SYNERGIA
    *
    ERROR on line 1:
    ORA-02021: DDL Operations are not allowed on a remote database


    SYNERGIA. CoDato_SED is a synonym of a remote database create with this script:

    CREATE A SYNONYM SYNERGIA. CoDato_SED for GST. CoDato_SED@BDEEDN. DSYN;

    Please how do I deal with these cases.

    Thank you.
    ----------------------------------------------------
    Version of database: Oracle 9i 9.2.0.8.0
    SO: HP - UX 11.23

    Read the docs.

    You grant privileges on objects that are not synonymous.

  • ORA-12701 trying to install Oracle on OpenSuse

    So, I am trying to install oracle 11 g r2 on OpenSuse (11.3, 64-bit), and when I try to create DB with command
    create database bongo
    logfile group 1 ('/opt/oracle/oradata/db_name/redo1.log') size 100M,
                group 2 ('/opt/oracle/oradata/db_name/redo2.log') size 100M,
                group 3 ('/opt/oracle/oradata/db_name/redo3.log') size 100M
    character set WE8ISO8859P2
    national character set AL16UTF16
    datafile '/opt/oracle/oradata/db_name/system.dbf' size 500M autoextend on next 10M maxsize unlimited extent management local
    sysaux datafile '/opt/oracle/oradata/db_name/sysaux.dbf' size 100M autoextend on next 10M maxsize unlimited
    undo tablespace UNDOTBS1 datafile '/opt/oracle/oradata/db_name/undotbs1.dbf' size 100M
    default temporary tablespace temp tempfile '/opt/oracle/oradata/db_name/temp01.dbf' size 100M;
    I got an error:
    AL16UTF16 national character set
    *
    ERROR on line 6:
    ORA-12701: CREATE DATABASE character set is not known.

    What is missing?

    best regards and happy new year

    Hello

    WE8ISO8859P2

    Are you on this subject on the character set?

    You can try with WE8ISO8859P1 or WE8ISO8859P15 for example.

    You have the list of character set for Oracle 11.2 on the following Tables:

    http://download.Oracle.com/docs/CD/E11882_01/server.112/e10729/applocaledata.htm#CIAEICDE

    Hope this helps.
    Best regards
    Jean Valentine

    Published by: Lubiez John Valentine, January 1, 2011 22:20

  • get the whole ORA-31655 trying exp a db

    Hello

    I am running expdp export db, but this error
    Directory of test/abc expdp = test_DIR dumpfile = 'test_16122010.dmp' logfile = 'test_16122010.log' tablespaces = 'test ';

    ORA-31655: no data or metadata of objects selected for employment

    I need to specify another parameter or more.

    I tried to exclude = STATISTICS / content = all/content = data_only
    but still get error
    Thank you

    Make sure you have a tablespace named "TEST."
    When I test with the fake tablespace name, I got the same error as you:

    C:\Documents and Settings\PhoenixBai>expdp ace/phoenix directory=dump_dir logfile='test_20101217.dmp' tablespaceS='ETLTB';
    
    Export: Release 10.2.0.1.0 - Production on Friday, 17 December, 2010 12:53:51
    
    ........
    Estimate in progress using BLOCKS method...
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 0 KB
    ORA-39167: Tablespace ETLTB was not found.
    ORA-39167: Tablespace ; was not found.
    ORA-31655: no data or metadata objects selected for job
    Job "ACE"."SYS_EXPORT_TABLESPACE_01" completed with 3 error(s) at 12:54:07
    

    Published by: PhoenixBai on December 17, 2010 12:55

  • ORA-28545 trying to get an Excel file on HS

    Oracle Hello community,

    I installed a connection to a MySQL database already and it works fine. Now, I'm trying to read an Excel file in my oracle database, but get an error ORA-28545. Here's what I've done so far:

    Oracle: 11.1.0.0.7 Windows 2008 32 bit

    -Take an ODBC connection to the excel file named "MediaCode".

    -new file in the folder of HS, called "initmediacode.ora" with the following entries:
    HS_FDS_CONNECT_INFO = MediaCode
    HS_FDS_TRACE_LEVEL = off
    HS_AUTOREGISTER = TRUE
    HS_DB_NAME = dg4odbc

    -new listening in the file of the listener port:

    LISTENER_E =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = my_host_adress)(PORT = 1522))
    )
    )

    SID_LIST_LISTENER_E =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = MediaCode
    (ORACLE_HOME = C:\oracle)
    (PROGRAM = C:\oracle\bin\dg4odbc)
    )

    )

    -new entries in the tnsnames file:

    MediaCode =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1522))(HOST=my_host_adress))
    (CONNECT_DATA = (SID = MediaCode))
    (HS = OK)
    )

    -started the new "LISTENER_E", agent listener "MediaCode" is started as well.
    -Make a tnsping@MediaCode, which has been successful
    -Linking of database: CREATE Database Link MediaCode USING "MediaCode";
    -try to run a statement against the excel file: select * from user_tables@MediaCode;

    After that, I get the error:

    ORA-28545: Von Net8 bei der zu einem Fehler diagnostizierter agent connection
    Cannot retrieve the text of the message NETWORK/NCR 65535
    ORA-02063: before 2 lines von MEDIACODE

    the advice I could do?

    Ikrischer

    the problem, it's a hook closing missing at your disposal:
    (SID_NAME = MediaCode
    (ORACLE_HOME = C:\oracle)

    It should be:
    (SID_NAME = MediaCode)<== missing="">
    (ORACLE_HOME = C:\oracle)

    Once you have changed your listener.ora file, please stop and start the listener.

    Published by: kgronau on April 20, 2010 12:18

  • Router Cisco has tried to take a firmware update and no longer works

    OK, so internet worked very well until Cisco Connect told me to take an update.  My connection is connected and there is no disruption during the download.  Yet the download failed again and now my power light flashes constantly and there is no internet access.  I tried to find out "How to unbrick your Cisco router", even pushed them to work, it took the update of the firmware of the cmd line.  Still does not work.  What is the problem with this thing and how to fix it?

    I finished downloading a firmware utility program and managed to get to recharge. The power led has become solid somewhere between 2-5 minutes, is however not yet connect to internet.  Found that all this factory reset will change your Internet username & password, with no way to find a new one.  You must remove the program Cisco connect from your computer and reload from the original disc.  Only then you will be in service yet.  While I appreciate the answer Helm, I was well beyond a second solution 30 reset button when I posted this lol.

Maybe you are looking for

  • Can not handle JGS524Ev2 starting from a different subnet

    Is the JGS524Ev2 locked down to only allow web management from local subnet? I used the utility ProSafe Plus to search and detect my new switch from a computer with an address of 192.168.1.0/24. It's the same subnet as my DHCP scope, the switch was d

  • All-in-one Officejet J6400 Fax receive not always or not at all

    OfficeJet J6400, Vista.  Connected to the laptop via cable and wireless.  It is connected to the same phone number line, with the answering machine.  Settings seem correct and even when I had previous HP printer.  4 rings on the answering machine pic

  • I have 111 pictures to put on the disk, how?

    I'm unable to put pics on my DVD recorder, I get the error messages. He used to work, I would click on the album file and the wizard would deal with the rest, not now, puzzled.

  • Constant network disconnects!

    Hello! I am running Windows 7 Home Premium SP1 and am using a Realtek PCIe GBE Family Controller network adapter. A week ago, my office started constantly disconnect my Wired internet connection. I have a local network to Verizon router connection. T

  • Download express outloox for windows 7

    What is windows live mail?