Not dose Force logging.

Hi,
i am trying to create physical standby database.while giving command 'ALTER DATABASE FORCE LOGGING' it gives error like missing or invalid option to alter database.
Pls help.

Hi,
Pls find the output.
SQL> select * from v$version;
BANNER
Oracle9i Enterprise Edition Release 9.0.1.1.1 - Production
PL/SQL Release 9.0.1.1.1 - Production
CORE 9.0.1.1.1 Production
TNS for 32-bit Windows: Version 9.0.1.1.0 - Production
NLSRTL Version 9.0.1.1.1 - Production
SQL> alter database force logging;
alter database force logging
ERROR at line 1:
ORA-02231: missing or invalid option to ALTER DATABASE
SQL>

Similar Messages

  • Advantage of FORCE LOGGING over NOLOGGING

    Hi,
    Can you please help me on the advantages of using force logging mode with a standby database and the effect of it in indexes etc. Also, it may help if you could also share ideas on difference between the two modes?
    Thanks,
    Jennah

    <i>>>  Can you help me what factors would be sacrificed</i>
    This really depends on your system, in most cases you will not be able to see a difference. However i did a small test:
    - drop index, restart db
    - create index with logging (measure time/redo size)
    - drop index, restart db
    - create index with logging (measure time/redo size)
    Result:
    logging - Elapsed: 00:02:40.68  / Redo size: 800mb
    nologging - Elapsed: 00:02:20.29 / Redo size: 1.5mb
    Here the full test:
    [code]SQL> select a.name, b.value from v$statname a, v$mystat b where a.statistic# = b.statistic# and a.name = 'redo size';
    NAME                                                                  VALUE
    redo size                                                             28304
    SQL> CREATE UNIQUE INDEX "SAPR3"."CDCLS~0" ON "SAPR3"."CDCLS"
    ("MANDANT", "OBJECTCLAS", "OBJECTID", "CHANGENR", "PAGENO")
      PCTFREE 10 INITRANS 2 MAXTRANS 255
      STORAGE(INITIAL 65536 NEXT 65536 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "PSAPCLUI" LOGGING;
    Index created.
    Elapsed: 00:02:40.68
    SQL> select a.name, b.value from v$statname a, v$mystat b where a.statistic# = b.statistic# and a.name = 'redo size';
    NAME                                                                  VALUE
    redo size                                                         834714816
    SQL> select segment_name, bytes/1024/1024 "Size_MB" from dba_segments where segment_name = 'CDCLS~0'
    SEGMENT_NAME            Size_MB
    CDCLS~0                     800
    drop index / db restart here
    SQL> select a.name, b.value from v$statname a, v$mystat b where a.statistic# = b.statistic# and a.name = 'redo size';
    NAME                                                                  VALUE
    redo size                                                             28992
    SQL> CREATE UNIQUE INDEX "SAPR3"."CDCLS~0" ON "SAPR3"."CDCLS"
    ("MANDANT", "OBJECTCLAS", "OBJECTID", "CHANGENR", "PAGENO")
      PCTFREE 10 INITRANS 2 MAXTRANS 255
      STORAGE(INITIAL 65536 NEXT 65536 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "PSAPCLUI" NOLOGGING; 
    Index created.
    Elapsed: 00:02:20.29
    SQL> select a.name, b.value from v$statname a, v$mystat b where a.statistic# = b.statistic# and a.name = 'redo size';
    NAME                                                                  VALUE
    redo size                                                           1520824
    SQL> select segment_name, bytes/1024/1024 "Size_MB" from dba_segments where segment_name = 'CDCLS~0';
    SEGMENT_NAME            Size_MB
    CDCLS~0                     800[/code]

  • FORCE LOGGING

    I want to create a physical standby database. The primary database is in archive log mode, and the 50% of the data belong to the staging area of datawarehouse. During ETL processes the database generates great amount of GBs of redologs. This tables contain temporary data that are only used for ETL process.
    Can I set the database like FORCE LOGGING=N and set FORCE LOGGING=Y only for the tablespace that contain the tables of data (production, not intermediate) ???

    If you are trying to run a physical standby, for any database larger and more important than a toy, across the internet you are doomed to failure.
    Databases do not fail on predictable schedules.
    A DR site means a DR site ... it does not mean someplace out there in the cloud. For all you know your redo is being shipped to the moon and
    back. Buy room in a data center no more than 500km away from your current location.
    DR is for serious people with serious issues. If you do not need it then don't build it. If you do need it build it correctly.

  • Force logging in archivelog mode

    Hi !!!
    What happen if I have "force_logging" parameter set to true when the database is in archivelog mode ?
    Thanks.

    rarain wrote:
    Hi Juamd,
    You should only use this option when it is really required because this option will forcibly generate redo for all Nologging operations that means you might find more archives and you need to setup more space for archive.
    Normally we use this option when we need to replicate data changes from one database to another database like in standby configuration, Golden Gate replication etc. I would suggest you to monitor Redo amount generated after enabling this option and accordingly estimate archive space and backup space for archive.
    Thanks...Ah, don't agree with that at all. You can compromise your recovery if you happen to want to restore to a point-in-time when there was a NOLOGGING operation going on. Fine, if it's an index, but if it happens to be on a table...
    (Yes, been there, done that - with a non-Production database, thankfully)
    This is one of the 'must haves', IMO, for Production - set it at the database-level and it overrides any tablespace or object setting.
    Archivelogs are generated for a reason. If you have a particular operation that really does massively benefit from NOLOGGING and is something you are sure that you simply re-run/re-create yourself, fine. If not, by default, you really should FORCE LOGGING.

  • Physical standby without ALTER DATABASE FORCE LOGGING

    Hi,
    Is it possible to use physical standby database without executing ALTER DATABASE FORCE LOGGING on primary side?
    Can I use alter tablespace force logginng instead?
    I want to have one tablespace with nologging option turned on to reduce redo traffic for some operations.
    I can not check this because I don`t have enough servers to build standby configuration.

    YuriAP wrote:
    Hi,
    Is it possible to use physical standby database without executing ALTER DATABASE FORCE LOGGING on primary side?
    YES
    Can I use alter tablespace force logginng instead?
    YES
    ALTER TABLESPACE <tablespace name> FORCE LOGGING;
    I want to have one tablespace with nologging option turned on to reduce redo traffic for some operations.
    I can not check this because I don`t have enough servers to build standby configuration.http://download.oracle.com/docs/cd/B10500_01/server.920/a96521/create.htm#1022863

  • What is 'force logging'?

    Why we need some ddl not to be wroten to the redo logs? What is the idea? How can we recover the database if some infromation in archivelogs is missed?
    Thanks in advance

    In theory, yo may wish to allow an application to load data as a "no logging" operation, this can speed up large data loads and reduce the volume of archivelogs produced.
    However the major drawbacks are:
    if you need to recover the database form a backup any data added using a no logging operation performed after the backup was taken will not be recoverable from the archive logs.
    If you are using log shipping/data guard these operations will not get transmitted to the standby server.
    If you work in a controlled an disciplined enviroment then it should be possible to repeat any no logging operations after the database is recovered as everyone should be aware of the limitations of loading data in this manner.
    If you work anywhere thats like the places I've come accross a more likely situation is after a database recovery someone will want to know why data is missing from the database and how long it will be untill you resolve the problem. Usually I set force logging on and let the users think they have the option to run nologgign operations as it leads to a quieter life in the long run.

  • Force logging for data guard

    It is my understanding new to version 11g force logging is not required on the database? So we could setup a tablespace for staging tables in no logging and not generate as much redo to be shipped over to the standby?
    Is this true or was that feature added in 10? I have hunted around on OTN for some info on the subject. could anyone provide a link?
    Thanks

    I've seen nothing that indicates "force logging is not required but the idea that somehow there is an advantage to no logging is grossly overstated.
    I'd suggest that you go to http://asktom.oracle.com and read Tom's comments about it.
    If your system is so close to falling over that a little bit of logging is going to tip it over you've huge problems you'd best deal with immediately.
    Consider, for example, setting up your staging tables as global temporary tables.

  • FORCE LOGGING disabled automatically?

    Hi,
    This is just strange that on a couple of my 11.2.0.3 dataguard environments on Oracle Linux 6 (64 bit) was found FORCE LOGGING disabled and I just enabled them. Now DBA team remembers correctly that FORCE LOGGING is always enabled while configuring the dataguard. I would like to have opinion from someone if he/she has this kind of scenario with him/her. Is there any way that FORCE LOGGING could get disabled automatically? We never re-created controlfile on primary or standby, but, we have switchover/failover scenarios which are not supposed to disturb FORCE LOGGING?
    Or did we really forget to enable FORCE LOGGING?
    Salman
    <Moderator Edit - deleted link spam - pl see FAQ on where to include signature links - abuse reported to Admins>

    Hi Salman,
    Can you check the database alert log from the time when it was enabled first time.
    Alert log will have completed information on what and when any command was run to disable it.
    HTH,
    Pradeep

  • Direct load with Force Logging enable

    Hi All,
    I have a dataguard environment with one physical standby database, I have to load a big flat file with close to 50Millions records using sqlldr. can i use direct=true in sqlldr,with force logging enabled on primary? or they is any other way to load this file
    FYI- ORACLE 11GR2
    Thanks

    Thanks for that information.
    The direct=true means what you think, Loaded data will not be replicated. However its make sense and your test proves that Data Guard overrides this.
    based on this you might as well go conventional path.
    Does this help?
    Its makes sense that Data Guard would override this, otherwise Data Guard would (or Forced logging) would not be doing its job.
    From Oracle doc A96524-01 Database Concepts 19 Direct-Path INSERT
    If the database or tablespace is in FORCE LOGGING mode, then direct path INSERT always logs, regardless of the logging or nologging setting.
    I know this an older doc, but its unlikely this would have changed

  • My apple macbook is not letting me log out, it's telling me to quit safari and it is not letting me quit safari, can anyone help?

    My apple macbook pro is not letting me log out , it tells me to quit safari and safari will not quit, any help?

    Choose Force Quit from the Apple menu and shut Safari down from there.
    (97580)

  • JCOerror: This system does not let you log on using a password

    Hi,
    "JCOerror: This system does not let you log on using a password"
    This is the error message I get from MII tries to connect to the Production ECC using my credentials to perform a BAPI call.
    These credentials work fine interactively (using the SAP GUI) and for BAPI calls from MII on SAP Development instances.
    I can interpret this message in two ways:
    - My login can not log on using password (though I can interactively)
    - The server does not allow logging on using password only. (It might require to pre-authorize the connecting server as well).
    I guess my question can be if this error requires adding additional rights to my login for the production environment, or if this is a global SAP setup for this system?  Or something else?
    In either way, what is required to have this work?
    Thanks.

    Hi,
    Kindly try the following options.
    Try executing the BAPI seperately in se37, using your login credentials.
    Check whether RFC is enabled for the BAPI.
    Check whether the SAP server is details are furnished correctly in "SAP Server"(available under "Data Services") editor.
    We can ensure this by checking the connection status link in xMII.(Link is available under "Data Services").
    If connection status is "Running" then SAP server setting configuration is fine. Else it is not configured properly.
    Try executing the BAPI in BLS(Business Logic Services) using JCO connector.
    I believe if any one of these scenarios fail then "Proxy Error" might thrown.
    Thanks
    Rajesh Sivaprakasam

  • This system does not let you log on using a password

    hi all,  i  am very new to sap basis. i have changed the below profile parameters in RZ10.
    login/min_password_length=3
    login/min_password_lowercase=1
    login/min_password_uppercase=1
    login/min_password_digits=2
    login/min_password_specials=1
    after changing values i restarted the Instance. But the problem is when i am trying to login to the system it is showing  an error message : "This system does not let you log on using a password". I know why  this error occurs...
    but how to resolve this error? plz Help.
    Thanks in advance

    login/min_password_length=3
    login/min_password_lowercase=1
    login/min_password_uppercase=1
    login/min_password_digits=2
    login/min_password_specials=1
    The correct parameter for Min password Lenght is login/min_password_lng.
    You can change this at OS level restart and see how it goes...
    Regards
    Juan

  • My mac mini will not let me log in.   it says i can change my login info with my apple id.   no good!   help desk stumped!   Help!

    my new Mac Mini will not let me log in.   I shut it down while away on vacation and now it will not accept my password.   I tried to log in with my apple ID and it still would not accept it.   I stumped the apple help desk.   Help!

    User Password Reset

  • Please can anyone help me to download some apps for my iphone .. i am simply not able to log in to the itunes store , when i enter my apple id it says that it has not yet been used with the itunes store

    please can anyone help me to download some apps for my iphone .. i am simply not able to log in to the itunes store , when i enter my apple id it says that it has not yet been used with the itunes store

    Ok, you should generally only get this when you are converting your ID to an iTS account for the first time.
    Sign into iTunes with your Apple ID and you should get this.... IRC once you agree or accept it's now an iTS account and you wont get that again.

  • I have changed my apple ID to my new email, when i try and go to my app store or my icloud it will not let me log in with my old email and password, what can i do to fix this or change this

    I really need help figuring this out i have my new ID with a new password, yet my old password and email are still on my icloud and app store and i am not able to log in at all with it.

    Apple ID: Changing your Apple ID

Maybe you are looking for

  • Donot receive all emails one of my two iMacs. What could be the problem?

    I have two iMacs in my home LAN, both running 10.6.8. I have problems with one iMac which is older. It does not receive all emails while the newer iMac does receive all emails. What could be the problem? Is Mail corrupted?

  • Authentication for user weblogic denied

    I am unable to start node managerd server from command prompt. I installed WebLogic Server Version: 12.1.2.0.0 on Windows 2008 R2 EN Sp1 I started Administration Server succesfully. C:\Weblogic\Oracle\config\domains\wl_server\bin\startWebLogic.cmd I

  • Simple CREATE TABLE issue

    Hi all, I'm brand new to SQL, so I'm working my way through Sam's Teach Yourself SQL in 24 hours. I'm using Microsoft SQL Server Management Studio 12.0.2000.8 I'm in Chapter 3 or the book where we are supposed to create our first table, and I'm havin

  • IPHONE E-MAIL SMTP

    I am trying to get my business e-mail account sent out. The IT guys gave me the POP details but for the SMTP they said use AT&T's...how do I do this? Does that make sense? How do I get those details?

  • Payment_method_code in Supplier and Suppliet Site Table in R12

    In R12 the PAYMENT_METHOD_LOOKUP_CODE column of PO_VENDORS (or AP_SUPPLIERS) and PO_VENDOR_SITES_ALL (or AP_SUPPLIER_SITES_ALL) is no more having the payment method type as in Oracle front end supplier screen I can see the payment method has been che