How to Perform Recovery in Database Control on tablespace?

Hi,
I am runnig 10gR2 on Windows XP SP 2.
I have taken backup of my nonsystem tablespace by using Database Control.
Now to test it I dropped tablespace.
Logged in as sys on Database Control:
Maintenance->Perform Recovery->          
Object Level Recovery
Here in Object Type I choosed Tablespace from the dropdown
But what do I choose in Operation Type? There are three choises:
- Recover to current time or a previous point-in-time
- Restore tablespaces
- Recover from previously restored tablespaces
And as I said, I have taken backup of my whole tablespace...
Thanks

Hi Werner,
thanks again, but I still would like to perform backup of my tablespace.
Now I understood, that to drop a tablespace was an error. OK.
Next try:
Step 1:
CREATE TABLESPACE TEST_TS DATAFILE
'C:\ORACLE\ORADATA\ORCL\TEST_01.DBF' SIZE 1M AUTOEXTEND ON,
'C:\ORACLE\ORADATA\ORCL\TEST_02.DBF' SIZE 1M AUTOEXTEND ON;
Step 2:
CREATE TABLE TEST_TBL (
NAME VARCHAR2(10))
TABLESPACE TEST_TS;
Step 3:
INSERT INTO TEST_TBL VALUES('DB2');
Step 4:
COMMIT;
Step 5:
I have done backup of newly created tablespace TEST_TS via Database Control.
Step 6:
shutdown database;
Step 7:
I have manually renamed datafile TEST_01.DBF to TEST_01_.DBF
Step 8:
Now I have started database and have following entries in alert.log:
Errors in file c:\oracle\oracle\product\10.2.0\db_1\admin\orcl\bdump\orcl_dbw0_4124.trc:
ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
ORA-01110: data file 6: 'C:\ORACLE\ORADATA\ORCL\TEST_01.DBF'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-1157 signalled during: alter database open...
Which is correct. Oracle can not find the datafile I have renamed.
Step 9:
Now I thought I could be able to access Backup/Recovery Page in Database Control,
but all I can reach is 'Recovery Settings'
Do I need to go in open stage first to perfor recovery?
What needs to be done in Step 9? Do I have to drop my
ALTER DATABASE DATAFILE 'C:\ORACLE\ORADATA\ORCL\TEST_01.DBF' OFFLINE DROP;
alter database open;
Go to Database Control and try it out?
Thanks

Similar Messages

  • How To Performance Optimize GRC Access Control 5.3

    Hi Everyone,
    GRC RIG published in BPX the following How-To-Guide:
    How To Performance Optimize GRC Access Control 5.3
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90aa3190-8386-2b10-c4ba-ced67322ea6d
    We appreciate any feedback and will keep track of all suggestions to improve future versions of this guide.
    Frank Rambo
    Director RIG EMEA
    SAP Governance, Risk and Complicance

    to access CUP:
    http://<hostname>:<portnumber>/AE
    To access RAR:
    http://<hostname>:<portnumber>/webdynpro/dispatcher/sap.com/grc~ccappcomp/ComplianceCalibrator
    to access SPM
    http://<hostname>:<port>/webdynpro/dispatcher/sap.com/grc~ffappcomp/Firefighter
    to access ERM:
    http://<hostname>:<portnumber>/RE
    Launch pad link:
    http://<server name>:5<instance>00/webdynpro/dispatcher/sap.com/grc~acappcomp/AC
    NW start page:
    http://<hostname>:<portnumber>/index.html

  • How to perform operations on table control

    hello experts,
                         will u plz tell me how to perform operations like delete and update on tablecontrol in module pool.
                                thanks in advance,

    Hey Aravind,
    In case you want to delete just from your table control and not from database table, then you can use the commands:
    clear <workarea_name>
    delete <workarea_name>
    for your selected rows.
    And for deleting from database tables also, use:
    Delete from <Database_table_name> where <where_clause>.
    clear <workarea_name>
    delete <workarea_name>
    This will delete both from the table control and database table also.
    Reward if it proved useful to you.
    Regards
    Natasha Garg

  • How to configure Enterprise Manager Database Control (EMDC) to make it work on 2 servers working (primary and standby) under DG rules

    Hello everybody i use Oracle Database EE 11.2.0.4 with DG.
    In those cases i need to get Enterprise Manager Database Control running against DB with no RAC and no DG i perform the following steps:
    I Logon SQLPLUS as user SYS or SYSTEM, and drop the sysman account and management objects:
    DECLARE
    CURSOR c1 IS
    SELECT owner, synonym_name name
    FROM dba_synonyms
    WHERE table_owner = 'SYSMAN';
    BEGIN
    FOR r1 IN c1 LOOP
    IF r1.owner = 'PUBLIC' THEN
    EXECUTE IMMEDIATE 'DROP PUBLIC SYNONYM '||r1.name;
    ELSE
    EXECUTE IMMEDIATE 'DROP SYNONYM '||r1.owner||'.'||r1.name;
    END IF;
    END LOOP;
    END;
    DROP USER mgmt_view CASCADE;
    DROP ROLE mgmt_user;
    DROP USER sysman CASCADE;
    After that i run
    emca -config dbcontrol db -repos recreate
    But what should i do in cases i have 2 servers working (primary and standby) under DG rules?

    Hi ,
    It is not possible to monitor/administer a Logical or Physical Standby database, i.e Data Guard, using Enterprise Manager Database Control.  This is primarily due to the fact that Database Control is designed to monitor 1 database and a Data Guard environment, by definition, includes more than 1 database.
    If you attempt to run emca against a standby Database, you will get an error like (i.e. ORA-01219: database not open).
    Database Control, can, of course, be used to monitor the current Primary database (with no ability to administer or monitor Data Guard related functionality).  In such a case, when failover occurs Database Control must be reconfigured to run on the new Primary database using the commands detailed in Note 278100.1 How To Drop, Create And Recreate DB Control In A 10g Database, section C. Recreate/ReConfig DB Control, Option 2. Recreate the DB Control Configuration Files and Repository.
    Enterprise Manager Grid Control or Cloud Control provides the functionality for viewing, monitoring, and administering primary and standby databases in a Data Guard configuration.
    Reference: Is it Possible to Configure Database Control for a Logical or Physical Standby Database? (Doc ID 315116.1)
    You can use EM 12c cloud control to monitor and manager Standby DB effectively
    Ref to below link for details
    Set Up and Manage Oracle Data Guard using Oracle Enterprise Manager Cloud Control 12c
    Regards,
    Rahul

  • How to Schedule Job using Database Control for SQLPLUS script?

    Hi All,
    I am using Database version 10.2. I would like to schedule a SQLPLUS script job using Database control (Not using Grid Control!). The following is the script.
    ========================================================
    define OEM_FRIENDLY=1
    define OWB_BACKGROUND=0
    set serveroutput on
    set verify off
    whenever sqlerror exit failure;
    define REPOS_OWNER='&1.'
    define LOCATION_NAME='&2.'
    define TASK_TYPE='&3.'
    define TASK_NAME='&4.'
    define SYSTEM_PARAMS='&5.'
    define CUSTOM_PARAMS='&6.'
    alter session set current_schema = &REPOS_OWNER.;
    set role owb_d_&REPOS_OWNER., owb_o_&REPOS_OWNER.;
    variable exec_return_code number;
    begin
    -- Initialize Return Code
    :exec_return_code := wb_rt_api_exec.RESULT_FAILURE;
    -- Run Task
    :exec_return_code := wb_rt_api_exec.run_task('&LOCATION_NAME.',
    '&TASK_TYPE.',
    '&TASK_NAME.',
    '&CUSTOM_PARAMS.',
    '&SYSTEM_PARAMS.',
    &OEM_FRIENDLY.,
    &OWB_BACKGROUND.);
    end;
    exit :exec_return_code;
    ===========================================================
    Is it possible to schedule SQLPLUS script with 6 different parameters? If yes then how can I schedule for monday to friday or only for Saturday and sundays.
    Please provide brief steps.
    Thanks for your help in advance.
    - Mehul

    Let me explain to you about scheduler.
    You can schedule a pl/sql stored procedure TEST_S as follows...
    Begin
    dbms_scheduler.create_job(
    job_name=>'MY_JOB',
    Job_Type=>'STORED_PROCEDURE',
    job_action=>'TEST_S',
    start_date=>sysdate,
    repeat_interval=>'freq=monthly;BYDAY=MON,TUE,WED,THU,FRI',
    end_date=>null');
    END;
    You can also also execute o/s script like .bat or .sh. For this job type should be EXECUTABLE.
    Example of converting a .sql script in .bat script...
    insert.sql
    insert into dept values(50,'IT','LONDON');
    exit
    insert.bat
    sqlplus scott/tiger @insert.sql
    Executing now...
    C:\Documents and Settings>insert.bat
    C:\Documents and Settings>sqlplus scott/tiger @insert.sql
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Mar 1 08:01:00 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    1 row created.
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - P
    oduction
    With the Partitioning, OLAP and Data Mining options
    C:\Documents and Settings>
    So first read about DBMS_SCHEDULER and do the work in prompt. Then you can go and schedule it even by database control.
    Scheduling by database control...
    http://www.oracle.com/technology/oramag/oracle/04-jul/o44tech_dba.html
    Scheduler
    http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_sched.htm#CIHEHDHA
    PS: By default each job you created is disable state. Please enable it by enable procedure of DBMS_SCHEDULER package.

  • How do I configure OEM Database Control 10g

    Hi Gurus,
    I have Oracle 10g Release 2 (10.2.0.1) on Windows XP installed. How do I configure Database Control 10g??
    Any help is appreciated
    Thanks !!!

    Use the enterprise manager configuration assistent (emca)
    <ORACLE_HOME>\bin\emca
    with emca -h you get some help

  • How to open the 10g Database Control Webpage from another computer ?

    it is a freshly installed Oracle 10gR2 EE on windows xp professional.. all settings are default by installer.
    i can open the Database Control Webpage on the database machine by typing http://localhost:1158/em in IE.
    however when i try to open it from another pc on the same LAN by using http://database_pc_ip_address:1158/em in IE, it says the page can not be found.
    what else need to be done before i can open the Database Control Webpage from another PC?
    thanks for the help !

    You have a configuration problem on your database machine, LOCALHOST is resolved to the internal loopback address 127.0.0.1, not to the actual IP-Address of the machine. Such a configuration works only locally, for remote access you have to specify a hostname known to the network. Check the installation guide for the correct setup (machines connected to a network or not, DHCP or not):
    http://download-uk.oracle.com/docs/cd/B19306_01/install.102/b14316/reqs.htm#BABBDGBI
    Werner

  • 10g Database Control, View Tablespaces

    Kindly refresh my memory - what does a NEGITIVE value in the USED column mean? (And how to "corret" it)

    You should check the following:
    Navigate to the datafile underneath the tablespace.
    Check if for the datafile the 'Automatically extend datafile when full (AUTOEXTEND)' is checked.
    If so, make sure the value for the current file size does not exceed the value for 'Maximum File Size'. If this is the case, this is the cause of the negative value in the tablespace alert. Simply change the value for 'Maximum File Size' and the alert will clear automatically.
    Rob

  • Database control won't run in secure mode

    I'm following the instructions displayed by the database configuration manager after creating a database. These instructions configure the database control to run in secure mode using https. I get an error with the following command run from the OS command line while in the ORACLE_HOME/bin directory:
    emctl.bat secure dbconsole -sysman_pwd password
    I get the error message "Failed to create EM root key."
    The emdctl.trc file has the following entry: "No connection could be made because the target machine actively refused it."
    The ORACLE_SID has already been set. The database control is down. The "emctl config emkey -repos" command completed successfully.
    I'm using Oracle 10.2.0.4 on Windows 2003 server. I'm running this command on the database server. The database control was selected in the database configuration manager. This database control does run successfully in http mode, but I can't configure it for https.
    Does anyone know why the target machine would actively refuse this connection?

    Have you tried it without the -sysman_pwd flag ?
    MOS Doc 276950.1 - How to setup Enterprise Manager Database Control for SSL (HTTPS) secure connection
    HTH
    Srini

  • OS Host Credentials in Perform Recovery Page of 10g EM Database Control

    I have installed 10g on my PC with windows 2000 professional as OS. I access the EM Database Control by entering the following Address in IE.
    http://127.0.0.1:1158/em/
    I login to the database with credential as
    User Name: Sys
    Password: Ashzak
    Connect as: SYSDBA
    When I access the Perform Recovery or Backup Setting or Recovery Setting Pages and make some changes and want to apply it, prompts for OS credentials appear, But when I supply the OS credentials as
    Login:     Ashraf
    Password:     ashzak
    It does not work and wrong password message appears.
    I had login to the PC on which the target database is located with the following credentials
    Login:     Ashraf
    Password:     ashzak
    The user Ashraf is a member of ora_dba group, administrator, users and power users.
    Why it dosn't work for EM Database control.
    Can anyone help in this scenario?
    Regards
    Ashraf

    Ashraf,
    On windows you need to set for log on as batch job for windows.Please follow the procedure mentioned below,
    http://amansharma.wordpress.com/2008/03/15/remote-operation-exception-in-em-its-workaround/
    And post the feedback.
    Aman....

  • How to recovery the database from a complete backup

    I have a 10.2.0.3 database with archive log enabled.
    I do a cold backup of database every Sunday night.
    I shutdown the database, copy all the database files, control files and redo logs to a backup disk.
    Then the database started and running again.
    I am trying to test my backup and make sure I can recovery the database to the most current stage using the Sunday backup and the archive logs.
    for example: use the backup from 4/01/2012, recover the database to today 4/04/2012 9:00am.
    What's the steps of doing this?
    I tried to copy all the Sunday backup files to the correct location, start the database, the database is started successfully. However, I don't know how to apply the logs from since the Sunday backup upto now.
    Thanks a lot!

    hi,
    rman is your friend to do backups, restores and recovers of database.
    to do a full recover of database, for example to do a test on your current test database (no in crash):
    rman time:
    startup nomount;
    restore controlfile;
    alter database mount;
    sql now
    select archivelog_change#-1 from v$database;
    then go back to rman and do the following :
    RMAN> run{
    2> set until scn xxxxxx;
    3> restore database;
    4> recover database;
    5> alter database open resetlogs;
    6> }
    **where xxxxx is the result of your sql query
    HTH
    --edit:
    forgot to told that You will need to set your ORACLE_HOME and ORACLE_SID env variables
    Edited by: Me_101 on 04-abr-2012 8:41

  • How to stop BPEL engine from performing recovery of messages

    Hi all,
    I have a strange,interesting and complex problem in my BPEL 10.1.3.3 instance.
    For some reasons my dehydration store became out of sync. That means my cube_instance and cube_scope tables have no data but other tables have data.
    This was happend when I click purge instanes button on BPEL control UI and this had never returned control to me,
    so I restarted server, then I see strange problem of Instances not getting dehydrated.
    What I understood based on logs is, BPEL is performing recovery of few messages for which there is no corresponding instances found either in cube_instance or cube_scope and these messages are again getting scheduled for next miuite or so and this repeates for ever.
    These messages are for wait expiration.
    So decided to stop this some how
    Any help is appreciated .
    LOG
    ===
    129 processes have been loaded for BPEL domain "default".
    <default.collaxa.cube.engine> <CubeEngine::loadAllProcesses> Scheduling recovery for domain default
    <default.collaxa.cube.engine.dispatch> <BaseDispatchSet::receive> Receiving message [email protected]f582a for set engine
    <default.collaxa.cube.engine.dispatch> <Dispatcher::adjustThreadPool> Allocating 1 thread(s); pending threads: 1, active threads: 0, total: 1
    <default.collaxa.cube.engine.dispatch> <DispatcherBean::send> Sent message to queue
    <default.collaxa.cube.engine.data> <ConnectionFactory::closeConnection> CLOSE CONNECTION 2
    <collaxa> <ServerManager::loadProcesses> Done loading processes for all domains
    <default.collaxa.cube.engine.dispatch> <EngineDispatchSet::fetchScheduled> Fetched message from queue domain for processing [email protected]f582a
    <default.collaxa.cube.engine.dispatch> <RecoverMessageHandler::handle> Processing recover delivery message for domain default
    <default.collaxa.cube.engine.data> <ConnectionFactory::getConnection> GOT CONNECTION 3 Autocommit = false
    <default.collaxa.cube.engine.dispatch> <Dispatcher::insert> Received no-op message
    <default.collaxa.cube.engine.dispatch> <Dispatcher::adjustThreadPool> Allocating 1 thread(s); pending threads: 1, active threads: 1, total: 2
    <default.collaxa.cube.engine.dispatch> <DispatcherBean::send> Sent message to queue
    <default.collaxa.cube.engine.data> <ConnectionFactory::closeConnection> CLOSE CONNECTION 2
    <default.collaxa.cube.engine.dispatch> <BaseDispatchSet::receive> Receiving message 5934497-BpWai0-BpSwt0.4-1_expire for set engine
    <default.collaxa.cube.engine.dispatch> <BaseDispatchSet::receive> Receiving message 5934494-BpWai0-BpSwt0.4-1_expire for set engine
    <default.collaxa.cube.engine.dispatch> <BaseDispatchSet::receive> Receiving message 5934498-BpWai0-BpSwt0.4-1_expire for set engine
    <default.collaxa.cube.engine.dispatch> <BaseDispatchSet::receive> Receiving message 5934496-BpWai0-BpSwt0.4-1_expire for set engine
    <default.collaxa.cube.engine.dispatch> <BaseDispatchSet::receive> Receiving message 5934493-BpWai0-BpSwt0.4-1_expire for set engine
    <default.collaxa.cube.engine.dispatch> <BaseDispatchSet::receive> Receiving message 5934499-BpWai0-BpSwt0.4-1_expire for set engine
    <default.collaxa.cube.engine.dispatch> <BaseDispatchSet::receive> Receiving message 5934500-BpWai0-BpSwt0.4-1_expire for set engine
    <default.collaxa.cube.engine.dispatch> <BaseDispatchSet::receive> Receiving message 5934495-BpWai0-BpSwt0.4-1_expire for set engine
    <default.collaxa.cube.engine.dispatch> <BaseDispatchSet::receive> Receiving message 5934501-BpWai0-BpSwt0.4-1_expire for set engine
    <default.collaxa.cube.engine.dispatch> <BaseDispatchSet::receive> Receiving message 5934502-BpWai0-BpSwt0.4-1_expire for set engine
    <default.collaxa.cube.engine.dispatch> <BaseDispatchSet::acknowledge> Acknowledged message [email protected]f582a
    <default.collaxa.cube.engine.dispatch> <EngineDispatchSet::fetchScheduled> Fetched message from queue instance for processing 5935329-BpWai0-BpSwt0.4-1_expire
    <default.collaxa.cube.engine.dispatch> <ExpirationMessageHandler::handle> Processing workitem expiration message 5935329-BpWai0-BpSwt0.4-1 for domain default
    <default.collaxa.cube.engine.data> <ConnectionFactory::getConnection> GOT TX CONNECTION 1 Autocommit = false
    <default.collaxa.cube.engine.data> <BaseWorkItemExceptionPersistenceAdaptor::insertMessage> Inserting exception message for work item '5935329-BpWai0-BpSwt0.4-1'
    <CubeEngine::expireActivity> Instance/activity not found, next expiration attempt (?/5) for activity "5935329-BpWai0-BpSwt0.4-1" scheduled for "March 29, 2010 12:58:44 PM PDT"
    Thanks,
    Praveen

        Hi Htam,
    Messaging is an important feature on the device! I apologize that your messages are not working properly. Let's dig a little deeper. Try the following instructions below to unregister your old iphone 4.
    Go to http://supportprofile.apple.com/MySupportProfile.do.
    Step 2
    Log in with your Apple ID and password.
    Step 3
    Select the product you need to de-register (your iPhone, for example).
    Step 4
    Click ‘Unregister’.
    Step 5
    You’ll see the message ‘Are you sure you want to unregister and delete this product?’ – Click ‘Unregister’ again.
    Keep me posted.
    Thanks,
    PamelaF_VZW
    Tweet us @vzwsupport

  • How do I create a new emkey for Enterprise Manager Database Control?

    Hi,
    I just installed 11gR2.
    I am evaluating it.
    How do I create a new emkey for Enterprise Manager Database Control?
    I tried various combinations of this command:
    emctl config emkey
    I did find a probable bug:
    $ emctl config emkey -emkey -emkeyfile emkey.ora -force -sysman_pwd he11ow0rld
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
    Undefined subroutine &EmKeyCmds::promptUserPasswd called at /u2/app/oracle/product/11.2.0/dbhome_1/bin/EmKeyCmds.pm line 160, <FILE> line 3.
    $
    Again,
    How do I create a new emkey for Enterprise Manager Database Control?
    I do have a copy of my old key but it is no longer good because I reinstalled the repository with these commands:
    emca -repos drop ...
    emca -repos create ...
    Oh, and where is emctl "documented".
    I poked around in some book-index links and with the search engine.
    I could not find anything.
    Thanks,
    -Janis

    user11892726 wrote:
    Oh, and where is emctl "documented".
    http://download.oracle.com/docs/cd/B16240_01/welcome.html

  • How to read sql from properties file in database control

    Hey Guys,
    I want to know that how a properties file can be used in bea built-in database control to read SQL.
    Any help would be greatly appreciated.
    Thanks,
    Deepak Kumar
    Qwest, India

    hi
    ok i tried it like its written in the tutorial...i do it like this:
    ClassLoader cl = ResourceAnchor.class.getClassLoader();
    props.load( cl.getResourceAsStream(pathname));
    -> tha pathname is dvd.properties
    and there always appears a NullPointerException: error reading properties file: java.lang.NullPointerException
    -angela

  • How to check the performance of the database instance in oracle apps 11i

    hii everybody,
    i want to know,how to check the performance of the database instance using oracle applications 11i.your help highly appreciated,thanks.

    Pl do not post duplicates - how to check the performance of the server in oracle applications 11i

Maybe you are looking for

  • Mail for exchange image retrieving

    Hallo , Can somebody help me with exchange sync. The problem is that i recieve many times forworded mails. They have many signatures from anyone who has written there. So when i open a mail it continues telling me 'retrieving .png 'for example , and

  • Why can't I find and delete photos from my Ipads

    I have deleted all of the photos from my Ipad.  Both Itunes and "storage" on the Ipad report 1.5GB used by photos, but I can't find them or delete them.  What gives?  How do I find and delete these photos?

  • Credential Not working

    hi ,   My SharePoint portal application is asking for credential again and again .I am entering portal account and farm account but none of them are accepting .I am calling the application from share point server only .I have disabled loop back check

  • Xpath and operator EX

    In our scenario we have one inbound interface and two possible outbound interfaces. The only way to decide which outbound interface should be selected is the existence of a node in the inbound message. In the condition editor of the interface determi

  • Fixed Layout EPUB, Buttons dont work with Adobe Digital Editions

    Hello Community, I am working with InDesign CC 2014.1 and Adobe Digital Editions 4 (ADE). I am developing a FXL epub. When viewing the exported epub with ADE the buttons don't work. I also tried to view other epubs as the one mentioned in this thread