Difference between alter database and recover database

hi all,
if iam using controlfile-type=backup, then what is the diff between 1) recover automatic using backup controlfile and 2) alter database recover automatic using backup controlfile?

IN spite of what everyone is saying - these commands are slightly different. I belive there may also be a version dependancy on the differences.
Please see Tom Kyte's discussion about this at http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:968579818709

Similar Messages

  • Difference between DB Export and Offline Database Backup

    Hi all,
           This is a conceptual Question.
    I want more information on what is the difference between DB Export and Database Backup? Also, it would be helpful if you can provide me with some links to them where I can increase my knowledge regarding DB Export, why it is done and tell me some scenarios.
    Thanks.
    Anil

    Hi Anil,
    I have no link for DB export for you, because you don't ask for a specific database. But if you like, you can read the export part of the System copy guide you can download from http://service.sap.com/instguides.
    But may be a short description is enough:
    DB Export:
    A DB export exports only the structure and data from the database, but no index pages. Therefore you have to build the indexes during the import. This could be very CPU intensive if your tables are big.
    DB Backup:
    A backup is a copy of all used blocks/pages inside a database (in Oracle also unused blocks). This includes structures, data and indexes. When you restore it, only the blocks/pages were moved, no additional operations are necessary.
    If you want to keep a small copy which is less release dependent than a backup, you should use a DB export (if you  use R3load, you are also DB independent). If you want to have a copy of your database which could be restored quickly , you should use a DB backup.
    Regards
    Ralph Ganszky

  • Differences between ANSI SQL and Oracle 8/9

    Hallo,
    i'm looking for good online texts or books concerning the problem "Differences between ANSI SQL and different database implementations (ORACLE, Informix, MySQL...)" I want to check a program written in C (with ESQL) that works with an Informix-DB. In this code i want to find code that is specific to the Informix-DB. I want to change the database, so all the code should be independent from a DB. Does anybody know texts or books concerning this problem?
    thx
    Marco Seum

    Basically there is syntax difference between both of them.
    Lets say i want to join two table EMP and DEPT based on DEPTNO.
    With Oracle SQL format its like this.
    select e.*
      from emp e, dept d
    where e.deptno = d.deptnoHere the joining condition goes in the WHERE clause.
    With ANSI SQL format its like this.
    select e.*
      from emp e
      join dept d
        on e.deptno = d.deptnoHere the join condition is mentioned separately and not in WHERE clause.
    Oracle supports ANSI SQL starting from 9i version.
    You can read more about the syntax difference Here

  • Differences between .profile,oraenv and dbhome files

    can anyone tell me the differences between .profile,oraenv and dbhome.
    database version is 10.2.0 and OS is solaris 10.
    I have set up the environment variables using .profile
    is the functionality of oraenva and dbhome same like .profile?

    Hello,
    oraenv and oracle home_
    The oraenv and coraenv utilities both aid in setting the Oracle environment on UNIX systems (other utilities exist on Windows platform that enable the Oracle Home to be set.) The coraenv utility is appropriate for the UNIX C Shell; oraenv should be used with either the Bourne or Korn shells.
    Database operations require the ORACLE_HOME to be set before the user may access the database. If ORACLE_HOME is not set, commands such as sqlplus, exp, or any other utility for that matter, will not be found.
    Both utilities are shell scripts that do the same thing in the different UNIX shells. They will prompt for a SID of the database unless ORAENV_ASK is set to N. The utility will also append the ORACLE_HOME value to the path, marking the location of the utility.
    The oraenv command will prompt for the SID of the database that you wish $ORACLE_HOME to access.
    $ . oraenv
    ORACLE_SID = [] ? ASG920
    The dbhome utility can now be used to verify that $ORACLE_HOME is correct.
    $ dbhome
    /usr/oracle/9.2.0
    The “dot space” part of the command is required to make the environment change with the parent shell, as opposed to entering a command without it which would only affect the subshell running that process.
    These commands can be used to avoid specifying the network service name when issuing commands. For instance, without using oraenv, a sqlplus command would look like:
    $ sqlplus system/manager@nameofservice as sysdba
    whereas after oraenv has been executed, the following command would work:
    $ sqlplus system/manager as sysdb
    The profile:_*
    The Profile file in your home directory is a collection of Korn shell commands that are executed whenever you login. Commonly, the Profile file is used to set environment variables and shell options. You can also put command aliases in your Profile file, but it's better to put them in a separate file -- commonly called .env (which is pronounced: dot-e-n-v)-- that you define and execute in your Profile (which is pronounced: dot-profile).
    This document briefly introduces environment variables, shell options, and aliases, and gives sample Profile and .env files.
    The commands in this document assume that you're using Korn shell, which is the default login shell on all the ACCC UNIX machines. Shell variables (like $PRINTER and $ENV, which are introduced below) are defined slightly differently in C shell. For example, to select the U-Print system as your default printer in csh you'd use the printer named uprint:
    PRINTER uprint
    setenv PRINTER

  • Re: what is difference between sap locking and database locking

    hi,
        what is difference between sap locking and database locking. Iam locked the table mara by using lock objects.
    But iam unable to unlock the mara table. I give u the coding. Please check it.
    REPORT zlock .
    CALL FUNCTION 'ENQUEUE_EZTEST3'
    EXPORTING
       MODE_MARA            = 'S'
       MANDT                = SY-MANDT
       MATNR                = 'SOU-1'.
    call transaction 'MM02'.
    CALL FUNCTION 'DEQUEUE_EZTEST3'
         EXPORTING
              mode_mara = 'E'
              mandt     = sy-mandt
              matnr     = 'SOU-1'.
    IF sy-subrc = 0.
      WRITE: 'IT IS unlocked'.
    ENDIF.

    Hi Paluri
    Here is the difference between SAP locks and Database locks, i will try to find the solution to your code.
    Regards
    Ashish
    Database Locks: The database system automatically sets database locks when it receives change statements (INSERT, UPDATE, MODIFY, DELETE) from a program. Database locks are physical locks on the database entries affected by these statements. You can only set a lock for an existing database entry, since the lock mechanism uses a lock flag in the entry. These flags are automatically deleted in each database commit. This means that database locks can never be set for longer than a single database LUW; in other words, a single dialog step in an R/3 application program.
    Physical locks in the database system are therefore insufficient for the requirements of an R/3 transaction. Locks in the R/3 System must remain set for the duration of a whole SAP LUW, that is, over several dialog steps. They must also be capable of being handled by different work processes and even different application servers. Consequently, each lock must apply on all servers in that R/3 System.
    SAP Locks:
    To complement the SAP LUW concept, in which bundled database changes are made in a single database LUW, the R/3 System also contains a lock mechanism, fully independent of database locks, that allows you to set a lock that spans several dialog steps. These locks are known as SAP locks.
    The SAP lock concept is based on lock objects. Lock objects allow you to set an SAP lock for an entire application object. An application object consists of one or more entries in a database table, or entries from more than one database table that are linked using foreign key relationships.
    Before you can set an SAP lock in an ABAP program, you must first create a lock object in the ABAP Dictionary.

  • Difference between Transaction database and relational database

    Whats the Difference between Transaction database and relational database ??

    'Transaction' refers to the usage of a database.  'Relational' refers to the way in which a given database stores data.
    A 'transaction database' (or operational database) could be relational, hierarchical, et al.  A transaction database supports business process flows and is typically an online, real-time system.  The way in which that data is stored is typically
    based on the application(s).  Companies often have multiple 'transaction databases'.
    An 'operational data store' (ODS) is an integrated view or compilation of transaction data.
    The you get into data warehouse databases, where the transaction data is optimized for querying, reporting, and analysis activities.

  • Difference between Instance Crash and Database Crash in Standalone and RAC?

    I am new to Oracle Environment. I would appreiciate if i get clarified on the "_+Difference between Instance Crash and Database Crash in Standalone and
    RAC_".+
    Oracle Version: 11.1.0.7.0
    O.S Version: HP-UX B.11.31 U

    Sivaprasad S wrote:
    I am new to Oracle Environment. I would appreiciate if i get clarified on the "_+Difference between Instance Crash and Database Crash in Standalone and
    RAC_".+That depends on your definitions of database crash versus instance crash.
    Literally, database crash means that the database itself is damaged in some way. A disk is no more. Data files are corrupted. Etc. The database itself thus causes the crash - and a database crash will also cause all database instances (RAC or single) for that database to crash too.
    An instance crash will therefore mean that the crash occurs in the instance due to an Oracle bug or similar. In other words a s/w error and not a database error. The database is still "fine", but the instance not. Instance crashes. However, any other instance on that same (RAC) database will still be fine as the database itself is unaffected by that s/w error in the crashed instance.
    If you mean something different, please enlighten us. Not all crashes are equal. {noformat};-){noformat}

  • Differences between different versions of Oracle Database 10 g

    I have some questions about the Oracle Database 10g Release 2 that we download from Oracle web site.
    1)Does the software that we download from Oracle web site is similar to Enterprise Edition or Standard Edition or Standard Edition One or to which edition? In other words, similar to which edition?
    2)What are the differences between Enterprise, Standard, and Standard Edition one?
    3)Are they any features included in the licensing Oracle Database that does not include in the free one that we download from Oracle web site?

    The dowloaded software contains every of the four editions. You choose which edition you want during the installation process.
    The differences and extra-cost options are described in this paper on OTN
    http://www.oracle.com/technology/products/database/oracle10g/pdf/twp_general_10gdb_product_family_0605.pdf

  • Which difference parallel database and RAC database

    Hi Experts,
    I saw some document about parallel database and RAC database.
    My boss confused these two product.
    which difference between parallel database and RAC database?
    does parallel database is a "old RAC"?
    Thanks
    Jim

    RAC is the new name with many features for old depreciated Oracle Parallel Server (OPS).
    It was avialable till 8i, since 9i it is called RAC.
    Regards
    Edited by: skvaish1 on Mar 30, 2010 12:59 PM

  • COMPLEX PARTITIONING between an EXCEL and a DATABASE (Datasource)

    I want to make a complex partitioning between an excel and a Database.
    *In the Excel File :
    - I have the Data summarized at Month Level,
    -Time sales is between 1993 UNTIL 1996.
    *In the Database:
    -I have my DB Source at Day Level .
    -Time sales is between 1993 until NOW.
    In the BMM:
    -In my Database's SALES LOGICAL TABLE SOURCE Content:
    I put in WHERE SECTION :
    " CAST ( EXTRACT( YEAR FROM TRANSACCIONAL."".OLTP.ORDER_HEADER.ORDERED_DATE) AS INTEGER ) > 1996"
    To constraint the data from 1996 until NOW.
    -And I specify at the level content:
    To SALES LOGICAL TABLE SOURCE EXCEL FILE: MONTH DAY LEVEL
    To SALES LOGICAL TABLE SOURCE DB : DAY LEVEL
    I want to make a COMPLEX PARTITIONING(Value-Based and Level-Based).
    When I try to make the query:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 14023] None of the fact sources for Times.Calendar_year_cal_year_code are compatible with the detail filter []. (HY000)
    SQL Issued: SELECT Times.Calendar_year_cal_year_code saw_0, Sales.Amount_sold saw_1 FROM "Sales BI DataMart" ORDER BY saw_0
    Can any1 help me?
    Thanks in advance..

    Hi,
    Actually value based partitioning works fine on the data sources which are stored on RDBMS. I haven't try it with a excel source. There is a detailed description in the link below.
    http://108obiee.blogspot.com/2009/01/fragmentation-in-obiee.html
    Hope this helps,
    Cheers.
    Cuneyt

  • Data sync between on-premise and azure database

    HI, I am not able to setup data sync between my on-premise database and azure database. Following is the error I am getting after it ran for almost 36 hours...
    Sync failed with the exception "GetStatus failed with exception:Sync worker failed, checked by GetStatus method. Failure details:An unexpected error occurred when applying batch file C:\Resources\directory\4c6dc848db5a4ae88265ee5aa1d44f40.NTierSyncServiceWorkerRole.LS1\DSS_7b1d73b4-d125-466f-94ab-eaa4553ea0ae\ed19f805-3d50-466a-96b3-861c4f22d8a4.batch.
    See the inner exception for more details.Inner exception: Failed to execute the command 'UpdateCommand' for table 'dbo.Transactions'; the transaction was rolled back. Ensure that the command syntax is correct.Inner exception: SqlException Error Code: -2146232060
    - SqlError Number:10054, Message: A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.) "    For more information,
    provide tracing ID ‘e6a1fad1-f995-4ffe-85db-0c6dc02423f1’ to customer support.

    Hi, sorry it has been a long time since your last post. Are you still using SQL Data Sync and hitting any issue which we could help with?
    Linda

  • How can i make a connection between an application and a database over net

    dear sir
    how can i make connection between an appliction and a database over internet while the client side appliction is behind proxy and firewall
    for example how the live update of norton antivirus makes connection to the data server to make comparetions and get new virus definitions
    does that depend on sockets technology ?
    what references can guide me to the solution please?

    The ability to do so depends entirely on the JDBC driver implementation having some proxy method. It needs to recognize the HTTP or SOCKS proxy and use them to connect, and the firewall and proxy need to allow those specific port connections.
    To the best of my knowledge, all of these update utilities, e.g. live update for Netscape, Norton, etc., do not connect directly to the database. As it is, no sane security person would allow a database to be exposed to the Net. Rather, they connect using HTTP or HTTPS, which normally traverses firewalls just fine, to connect to a Web or application server on the far end. That application server then parses the request and retrieves whatever it needs to from the database.
    In other words, you cannot have a 2-tier client/server application. You need a 3-tier application:
    your client -> Web/app server -> database
    where the connection from your client to the Web/app server is over http or https through the firewall and proxies.
    Hope this helps.
    Avi
    dear sir
    how can i make connection between an appliction and a
    database over internet while the client side
    appliction is behind proxy and firewall
    for example how the live update of norton antivirus
    makes connection to the data server to make
    comparetions and get new virus definitions
    does that depend on sockets technology ?
    what references can guide me to the solution please?

  • Replicating data between oracle9i(source) and 10g database

    sucessfully replicated data between source and target in 10g
    Now I have to replicate the data between oracle9i(source) and 10g database(Target) please help me to solve this issue

    sucessfully replicated data between source and target in 10g What sort of Replication you talking about ? Is it Object level , Schema level or DB Level ?
    Now I have to replicate the data between oracle9i(source) and 10g database (Target) please help me to solve this issue
    http://www.freelists.org/archives/oracle-l/08-2005/msg01260.html
    Hare Krishna
    Alok

  • Replicating data between oracle9i(source) and 10g database(Target)

    sucessfully replicated data between source and target in 10g
    Now I have to replicate the data between oracle9i(source) and 10g database(Target)
    please help me to solve this issue

    sucessfully replicated data between source and target in 10g What sort of Replication you talking about ? Is it Object level , Schema level or DB Level ?
    Now I have to replicate the data between oracle9i(source) and 10g database (Target) please help me to solve this issue
    http://www.freelists.org/archives/oracle-l/08-2005/msg01260.html
    Hare Krishna
    Alok

  • What is the difference between full checkpoint and incremental checkpoint?

    What is the difference between full checkpoint and incremental checkpoint?
    And what is checkpoint queue?
    Can someone clarify these concepts?
    Thanks!

    Hi,
    there are different types of checkpoints:
    - Full checkpoint:
    => DBWR writes all dirty buffers from the Buffer cache to the datafiles and CKPT retrieves a new Checkpoint Change Number from a sys owned sequence and writes this number to all file headers and the controlfile.
    -- can be triggered by different events, like a logswitch, a manual checkpoint (alter system ..), a shutdown and so on
    This is the setup point for SMON for a crash recovery.
    - Partial checkpoint:
    => DBWR writes all dirty buffers of a singel tablespace from the Buffer cache to the datafiles and CKPT retrieves a new Checkpoint Change Number from a sys owned sequence and writes this number to all file headers and the controlfile.
    -- can e triggered by an ALTER TABLESPACE OFFLINE, ALTER TABLESPACE READ ONLY, ALTER TABLESPACE BEGIN BACKUP statement.
    Incremental checkpoint:
    number to all file headers and the controlfile.
    -- can be triggered by different events, like a logswitch, a manual checkpoint (alter system ..), a shutdown and so on
    - Partial checkpoint:
    => DBWR writes all dirty buffers of a single tablespace from the Buffer cache to the datafiles and CKPT retrieves a new Checkpoint Change Number from a sys owned sequence and writes this number to all file headers and the controlfile.
    -- frequency is determined by FAST_START_MTTR_TARGET parameter (new feature to Oracle 9i), with wich you can specify a time in seconds which SMON is allowed to take maximal for a Crash Recovery until the database must be open again.
    Dapending on the system you have SMON must calculate the maximum number of Redolog-blocks which it can manage to recover in the specified number of seconds. It will then create so called incremental checkpoints which will be tracked in the so called checkpoint queue in memory.
    FAST_START_MTTR_TARGET is auto-tuned in Oracle 10g and Oracle tries to manage (incremental) checkpoint in a fashion that a minimum of I/Os are caused and a minimum time for crash recovery is needed.
    If you set LOG_CHECKPOINTS_TO_ALERT to TRUE you will find checkpoint information in the alertSID.log file. You will see FULL and INCREMENTAL checkpoints then.
    Hope this clarifies your question,
    Lutz Hartmann

Maybe you are looking for

  • Satellite P850 - question about Infrared port

    Hi, I have Windows 8 Pro installed onto my laptop and I've downloaded all the drivers and everything is working fine apart from the Infrared. I've searched all over the internet and I can't find a remote control to use with this laptop (including the

  • I have loaded adobe acrobat using download assistant.  Now, how do I run or install adobe acrobat?

    I have loaded adobe acrobat using download assistant.  Now, how do I run or install adobe acrobat?

  • Heterogeneous services help !!!

    I am trying to connect to mysql 5 from oracle 9i both on same machine in windows 2003. I am using generic connectivity through mysql ODBC connector. For that I have :- Downloaded and install and configure Mysql ODBC connector 3.51 Configure : DSN :-M

  • Setting the PDOs in an EtherCAT Slave

    In Labview RT using EtherCAT, how do you change the PDO settings of a slave device (i.e. Beckhoff EL5101). To do this within TwinCAT is pretty straightforward, but is ther a pathway to do this in Labview?

  • Why is Aperture ignoring effects selected in iPhone?

    I just noticed that all the effects like Chrom, Old, Transfer etc that one can select in the iPhone when taking a picture are ignored once the pictures are coming into the Photostream in Aperture. Is there a setting somewhere to keep those effects? T