DataGuard and NoLogging

i would like to know pertaining to DataGuard and NoLogging.
I read that it causes block corruption if nologging is there on the primary, which can be a problem on the standby db.
but when i tried to simulate the same on my primary/standby it was not observed.
create table xyz(name varchar2(20));
insert into xyz values ('myname');
[did this by insert 10 rows]
then created index
create index ind_xyz on xyz(name) nologging; <-- this should be causing a problem
then same log is transfered on stadnby .
but when i query on standby (in read only mode)
it works fine. the select query works fine.
so wheres the problem of nologging ???

SQL> select tablespace_name, force_logging from dba_tablespaces;
TABLESPACE_NAME FORCE_LOGGING
SYSTEM NO
UNDOTBS NO
TEMP NO
SQL> select force_logging from v$database;
FOR
NO
???? then where is the catch ???

Similar Messages

  • Whats is diffrence between Dataguard and Stand by?

    Hi All
    I was asked for diffrence between Dataguard and StandBy Database in an interview.
    I answered that prior to 9I, (in 8i) It was called StandBy Database and from 9I onwards, It is called DataGuard.
    But interviewer doesnt seems to be satisfied with my answer. Not sure why?
    Then i was asked for Diffrence in Logical Dataguard and Physical Dataguard?
    I replied with "Logical DG" is one in which sql stements are applied onto standby whereas "Physical DG" is one in which redo logs are shipped from one server to other by itself (with services) and secondary upgrades itself from those. Again, interviewer didnt feel happy enough.
    This has made me think, was my answer incorrect because i answered whatever i know. which i feel like is correct.
    Please help me identify correct answer.
    Thanks
    aps

    aps wrote:
    Hi All
    I was asked for diffrence between Dataguard and StandBy Database in an interview.
    I answered that prior to 9I, (in 8i) It was called StandBy Database and from 9I onwards, It is called DataGuard.No - DataGuard is intimately involved with Standby Database, but it is NOT standby. A Data Guard 'configuration' actually includes the primary database and one or more standby databases as well as some additional processes and the connectivity between these things.
    In simplistic terms:
    Standby Database is an operating mode of the database in which it continuously applies redo logs that are shipped from another (primary) database. The mode of operation often stops the database from being accessible to users.
    Logical standby database uses a 'recieving process' (SQL Apply) that extracts from the log and creates SQL statements which are applied to keep the standyby database in step with the primary.
    Physical standby database uses a form of continuous database recovery by directly applying the redo logs received from the primary.
    Data Guard was originally a set of scripts, but now is the entire environment including a set of processes that control the extraction of redo (directly from log bugger, from redo logs or archive redo logs) from the primary, shipping to the standby, ensuring that the logs are applied. Data Guard processes also include the mechanics needed to make the standby database active automatically (failover) or manually (switchover) and also to re-sync and make the original database active again (switchback).
    You could (should) read more about this. Oracle has a fine set of documentation which you can access from http://tahiti.oracle.com - indeed selecting Database 10gR2, and switching to the Books tab you get to http://www.oracle.com/pls/db102/portal.portal_db?selected=3 . And by scrolling down a little to "Data Guard Concepts and Administration" you would get decent introduction in the first 2 pages of Chapter 1 "Introduction to Oracle Data Guard".
    But interviewer doesnt seems to be satisfied with my answer. Not sure why?I would not be satisfied either. Especially if I was looking for swomeone to be responsible for availability scenarios for my corporate data.
    Then i was asked for Diffrence in Logical Dataguard and Physical Dataguard?
    I replied with "Logical DG" is one in which sql stements are applied onto standby whereas "Physical DG" is one in which redo logs are shipped from one server to other by itself (with services) and secondary upgrades itself from those. Again, interviewer didnt feel happy enough.Well ... you are moderately close on this. However, you seem to be missing "how do we get data from the primary in the SQL Apply case". The implication is that you are not at all comfortable with the basic concepts.
    Again, I would not be terribly happy either. I would not be confident that you had read Chapter 1 of the Data Guard Concepts manual. And that could imply that you had not read Chapter 1 of ANY of the Concepts manuals. That chapter in each of the manuals is an easy read, complete with pictures, and it describes the basics of operating the big machine that the interviewer wants to entrust you with.
    All that said, Data Guard is only available on Enterprise Edition. Standby capability is available on Standard Edition. And there are commercial products around that provide capability similar to Data Guard for Standard Edition.

  • Replication, dataguard and D/R site

    Hi
    I am often getting with the following terminologies in Oracle:
    Replication (Server), DataGuard and Disaster/Recover Site
    So, can anybody briefly explain me the difference between each other?
    TIA
    Aqueel.

    For replication, you have many choices:
    A. Basic replication (MV replication)
    - transaction based
    - row-level
    - asynchronous from master table to MV (Materialized View)
    - DML replication only
    - database 7 / 8.0 / 8i / 9i / 10g
    - Standard and Enterprise Edition
    1. Read-only MV replication
    2. Updateable MV replication:
    2.1 asynchronous from MV to master
    2.2 synchronous from MV to master
    3. Writeable MV replication
    B. Multimaster replication
    - transaction based
    - row-level or procedural
    - asynchronous or synchronous
    - DML and DDL replication
    - database 7 / 8.0 / 8i / 9i / 10g
    - Enterprise Edition only
    1. row-level asynchronous replication
    2. row-level synchronous replication
    3. procedural asynchronous replication
    4. procedural synchronous replication
    C. Streams replication
    - (redo) log based
    - row-level
    - asynchronous
    - DML and DDL replication
    - database 9i / 10g (10g has Down Streams Capture)
    - Enterprise Edition only (Standard Edition 10g can execute Apply process)
    Regards,
    Zlatko Sirotic

  • Is Dataguard and standby dbs is HA

    Hi
    is Dataguard and standby dbs is HA or RAC is the only oracle HA?
    is Dataguard is only DR?
    Thanks

    RAC and DATAGAURD are two different approches for high availability and desaster recovery.
    We are planning to implememt RAC and DATAGAURD but there are budget issues also.
    With RAC As i understand we have multiple instances governing a single database. So multiple node/machines governing a single database server.
    With DATAGAURD,we have a DR solution at another location.If the primary server fails,standby database takes up the role of primary.
    With RAC alone,if any node fails, there is another node to do instance recovery or the server still continues. But what if database server crashes. WIth RAC alone and no dataguard, won't it allow downtime?

  • Insert using APPEND and NOLOGGING

    Hi
    I want to know that if we use INSERT with hint APPEND and NOLOGGING, then is the data written to rollback segment.
    Please tell me how can we avoid writing to rollback segment as i am having a lot of data to insert and want to do it using select insert and not by using bulk insert.
    Thanks,
    Manish
    Message was edited by:
    user532526

    is there any way that if some error occurs then the data should be rollled back If an exception occurs during the insert, the work will be rolled back automatically.
    as with 20 lakh records the rollback segment will overflow.Are you sure? Have you tried it?

  • Licensing DataGuard and Active DataGuard

    can someone help find specifically where the differences between Active Data Guard and Data Guard are documented on Oracle?
    Also,
    Is Active Dataguard functionallity in 11gR1 and 11gR2, or just R2?
    Is Dataguard still included as part of the DB licensing, while Active Dataguard is an additional cost?

    Hi,
    rellimd wrote:
    can someone help find specifically where the differences between Active Data Guard and Data Guard are documented on Oracle?data guard documentation:
    http://www.oracle.com/pls/db112/portal.portal_db?selected=14&frame=#data_guard
    this may be helpful for active dataguard:
    http://www.oracle.com/technetwork/database/features/availability/maa-wp-11gr1-activedataguard-1-128199.pdf
    there are no special documentation for active data guard on oracle online documentation library.
    >
    Also,
    Is Active Dataguard functionallity in 11gR1 and 11gR2, or just R2?11gR1 and 11gR2
    >
    Is Dataguard still included as part of the DB licensing, while Active Dataguard is an additional cost?yes

  • Dataguard and ASM on 10gR2

    I can find no information on if dataguard can be used with ASM. Does it require the use of datafiles? I am upgrading databases from 9.2.0.4 to 10g and will have a standby and remote location standby also for distaster recovery. Any information and book/url/other sources is greatly appreciated.
    SL Niemann

    Take a look at http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10gASMMigration.pdf
    Andrey

  • Enabling the Active Dataguard and Real Time Apply

    11.2.0.2 on AIX
    I gather that , to enable Active Dataguard, you need to execute
    STARTUP ; ----not startup mount
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT;The above commands will enable both Active Dataguard (Real Time QUERY) and Real Time Apply. Right?
    To enable just 'Real Time Apply' , I need to
    startup mount
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT;Am I right ?
    Question on 'WITH SESSION SHUTDOWN' clause
    While googling I've come across the following variant with an additonal 'WITH SESSION SHUTDOWN' clause
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE WITH SESSION SHUTDOWN;What difference does this clause bring ?
    Is this claused used to enable Active Dataguard feature or 'Real Time Apply' or both ?

    I gather that , to enable Active Dataguard, you need to execute
    STARTUP ; ----not startup mount
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT;
    The above commands will enable both Active Dataguard (Real Time QUERY) and Real Time Apply. Right? Yes, It will be in both recovery / realtime + Read only mode, Also you can use
    To enable just 'Real Time Apply' , I need to
    startup mount
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT;Am I right ?Yes. It will be in just recovery/real time mode.
    Question on 'WITH SESSION SHUTDOWN' clause
    While googling I've come across the following variant with an additonal 'WITH SESSION SHUTDOWN' clause
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE WITH SESSION SHUTDOWN;What difference does this clause bring ?
    Is this claused used to enable Active Dataguard feature or 'Real Time Apply' or both ?It has multiple options based on startup type
    For this example check link of Julian Dyke.
    http://juliandyke.wordpress.com/2010/10/14/oracle-11gr2-active-data-guard/

  • Active dataguard and caching

    Hi
    We have multi TB instance that is currently replicated using dataguard to produce two query servers. Due to operational reasons the databases are periodically cleared down. The query volume is quite low (around 50 to 100 per hour)
    Unfortunately the disk read times of the query servers are slower so we are seeing a decrease in performance, but once the data is cached the query servers out perform the original. But, because a given query could go to either query server, there is no guarantee that the second execution of a given query will go to the same server as previously, so it may go to disk or cache. This means that the average query time for repeated executions does not drop directly to the cache speed, but instead 'approaches' the cache speed over around 10 executions.
    My questions are these:
    Are there any recommended ways of automatically priming the buffer cache in this kind of scenario after clear down and re-import?
    Are there any recommended ways of automatically synchronising the buffer cache in this kind of scenario across query servers?
    Any help would be appreciated.
    Conor

    Hi
    We have multi TB instance that is currently replicated using dataguard to produce two query servers. Due to operational reasons the databases are periodically cleared down. The query volume is quite low (around 50 to 100 per hour)
    Unfortunately the disk read times of the query servers are slower so we are seeing a decrease in performance, but once the data is cached the query servers out perform the original. But, because a given query could go to either query server, there is no guarantee that the second execution of a given query will go to the same server as previously, so it may go to disk or cache. This means that the average query time for repeated executions does not drop directly to the cache speed, but instead 'approaches' the cache speed over around 10 executions.
    My questions are these:
    Are there any recommended ways of automatically priming the buffer cache in this kind of scenario after clear down and re-import?
    Are there any recommended ways of automatically synchronising the buffer cache in this kind of scenario across query servers?
    Any help would be appreciated.
    Conor

  • ORACLE DATAGUARD and STANDBY on two LINUX   machine (64 bits and 32 bits)

    Hi there
    I have two Linux machines: one with Linux RH 4 Update 2 for 64 bits and
    the other one with Linux RH 4 Update 2 for 32 bits.
    I was wondering two things:
    1) Is it possible to implement ORACLE DATAGUARD between these two machines?
    2) Is it possible to implement only a Static Standby Database on the second node?
    Suppose we have Oracle Database EE on both machines.
    Thanks in advance for any information
    Regards
    Felipe

    But both oracle database version must be of 32 bit version.
    from oracle doc
    2.3.1 Hardware and Operating System Requirements
    The following list describes hardware and operating system requirements for using Data Guard:
    All members of a Data Guard configuration must run an Oracle image that is built for the same platform.
    For example, this means a Data Guard configuration with a primary database on a 32-bit Linux on Intel system can have a standby database that is configured on a 32-bit Linux on Intel system. However, a primary database on a 64-bit HP-UX system can also be configured with a standby database on a 32-bit HP-UX system, as long as both servers are running 32-bit images.

  • Does RMAN Work With DataGuard And Restore Points?

    I only have a basic experience of RMAN on a training course and no experience of Data Guard.
    We have an 11g set up where DataGuard is keeping production and DR in sync.
    On a release weekend we want a rollback strategy in case any of the config goes wrong.
    When the database was small and before we were using DataGuard this just consisted of datapump.
    Now the database is 120GB that isn't an option in our timescale.
    Can I set a restore point and use archive logs to keep track so that if there is a problem and we need to roll back we can just rollback to the restore point?
    Would this work or would it cause problems with DataGuard?
    Is rolling back to a restore point a relatively fast operation?

    DataGuard works with Restore Points.  The use case is when
    a. You created a Restore Point for the Primary and Standby
    b. You upgraded the Primary
    c. You find a fault with the Primary
    d. You revert both the Primary and the Standby to the Restore Point and resume DataGuard.
    Hemant K Chitale

  • Dataguard and Windows XP

    Hello all,
    I successfully installed and configured DG in Linux environment, also installed successfully in Windows XP but in XP in EM i can't find Dataguard option under maintainance.
    I even tried to connect with prot 7777 .
    In XP Installation was successful but i can't work with Dataguard.
    I installed 10g rel 1.
    I will hope that tol get help from the DBAs.
    Thanks in advance!

    You said you were successful in installing in both environments, As far as I can see you have just performed two installations, one for the linux environment and the other for the Windows XP environment, but you haven't mentioned if you installed the grid control server and the grid control agents, which would have lead you to have performed at least five install operations.
    If you are referring to the regular EM DB Control Console, the Dataguard is simply not available, you must get connected to the EM DB Grid Control instead.
    ~ Madrid
    http://hrivera99.blogstpot.com

  • Tablespace, table logging and nologging

    Hi i had a tablespace which is in logging mode.
    i had a table in that tablespace which i want to place in nologging mode.
    i do that using following command
    ALTER TABLE SCOTT.XYZ NOLOGGING;
    i want to know whether the above statement will work even though my tablespace is in logging mode?or should i place my tablespace also in nologging mode?
    thanks in advance

    The tablespace and table logging mode (specified during create tablespace and create table) DOES NOT affect the logging of inserts, deletes, updates.
    Inserts, deletes, updates will be logged regardless, with the exception of "insert /*+ append. */ ...".
    The following sentence from the blog should be re-worded because it is ambiguous:
    Actually the real meaning of NOLOGGING is whatever operations are performed on
    the object with the NOLOGGING option, will NOT be recorded in logfiles.

  • Flashback database and nologging tablespaces

    DB Versions
    Oracle 11.2.0.3
    2 other DBs at 11.2.0.3 with 10.2.0.3 compatibility mode. 
    We are using flashback database in our dev/test environments so we can flashback and apply builds again. I am ok if we lose data and can't roll forward. We are running out of archive space. Lately we have been going over a month or more between builds. Is it possible to set tablespaces to nologging and still have flashback work? I dont need the data. I just need to be able to reset to the structure before the last build. I am 100% ok with losing test data. I have no say over when builds get done.
    Reason I am asking not just testing (I did do some google searches):
    Testing this isn't that simple due to process issues. I have to get a build scheduled which can take a week or more(no extra DB for me to test this) and the build team generally doesn't listen, so if I tell them to wait for me for the test, it generally doesn't happen, then it can be another week before I get a build and so on. Restoring from backup isn't an easy change because that is a process change and I have to go through incredible amounts of 'process' and approval to get any kind of change to a process (think dilbert on steroids). So I have to ask ahead of even running a test.

    Hi,
    Doc Ref:ALTER TABLESPACE
    Changing Tablespace Logging Attributes: Example The following example changes the default logging attribute of a tablespace to NOLOGGING:
    ALTER TABLESPACE tbs_03 NOLOGGING;
    Altering a tablespace logging attribute has no affect on the logging attributes of the existing schema objects within the tablespace. The tablespace-level logging attribute can be overridden by logging specifications at the table, index, and partition levels.
    So if you want to Nologging  then you have to go at table level.
    i'd suggest use the  the different location for Archive and Flashback log. and clean the Archive area using some OS job. Flashback database required only the flashback log files during restore.
    HTH

  • RMAN and nologging operations

    Currently some of our DWHs is in noarchivelog mode and we are planning to change it to archivelog mode as users can also insert data into some tables. We will schedule an incremantal backup after the nightly batches that contain nologging operations (as suggested here http://download.oracle.com/docs/cd/B28359_01/server.111/b32024/vldb_backup.htm ).
    There are also append-inserts during the day. The developers are requested to remove these nologging operations during the day - there is an uncertainty that the developers will find all relevant source files and not overlook some. Is there a way to monitor if a nologging operation has been started (DBs are currently in noarchivelog mode if this makes a difference)?

    Hi Tante Käthe!
    The following query will show you all datafiles where NOLOGGING operations has happened.
    SELECT NAME, UNRECOVERABLE_CHANGE#,
    TO_CHAR (UNRECOVERABLE_TIME,'DD-MON-YYYY HH:MI:SS')
    FROM V$DATAFILE;You should have a look at the following link. It will provide you with further informations.
    [http://sduoracle.itpub.net/post/18983/155842]
    Yours sincerely
    Florian W.

Maybe you are looking for

  • Is it possible to create a Solaris DVD?

    Does anyone know if it's possible to create a Solaris 9 DVD from the installation cds? I find it rather impossible, I'm just wondering... Maybe a live Solaris cd/dvd?

  • ITunes setup won't launch

    Can anyone help? I keep clicking on the setup fro iTunes 7, but it won't go at all. Any help is greatly appreciated

  • Stored credit card number

    I logged on to an account and when I began to enter the card number it was presented to me by the system. I do not recall ever having said that I wanted this link to remember the number. Is it stored somewhere on my system? Is it in the "Keychain" wh

  • Data cleansing: Clipboard error when using bupa_clear

    Hello, When using BUPA_CLEAR transaction to process cleansing cases, dragging and dropping some objects from one BP to another produces the message "Clipboard does not contain any data" and the object is not copied to the new BP. An example: BP 1 has

  • Reinstallation of catalog of old elemnts 9 with win 7 on new mac

    Old win7 system crashed. Picture data still on server. now using mac with osx. just installed photoshop elements 13 on new mac and like to reinstall only catalog. sw now tries to reinstall catalog together with data of pics. I only need catalog as pi