Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: Database Administration >> alter database force logging

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: alter database force logging
 Neeraj  Posted: Mar 13, 2008 01:32:43 AM

 Total Post: 228
 Joined: Jan, 2007






 hi,
i want to know wt does
alter database force logging
& does it work in oracle 9.0
if not then wts the alternate to run this command on 9.0
to set up stand by server.
thxs

 Gitesh
Posted: Mar 13, 2008 02:19:56 AM  

 Total Post: 322
 Joined: May, 2005






 
This feature restricts NOLOGGING and UNRECOVER clause in DML or DDL command. It is very useful feature when ever we are using standby or remote standby databases or makes daily clone databases for reporting purpose.

When ever any DDL/DML command is being executed with NOLOGGING clause that time minimum redo will be generating and it is only for system level changes. No change of DML/DDL will be recorded in redo means there is no change will be apply to standby or report dtabase which is made by standby database. Due to this reason LOGICAL corruption may be occurred. To protect of this situation FORCE LOGGING feature is useful.

This feature doesn't available in Oracle8i. It is available with Oracle 9i only.

For using this feature there are 2 options available those are 1) Put full database in FORCE LOGGING or 2) Put tablespace level FORCE LOGGING.

Check DBA_TABLESPACES also contains column FORCE_LOGGING.

I think this will clear now.

 Neeraj
Posted: Mar 13, 2008 02:51:54 AM  

 Total Post: 228
 Joined: Jan, 2007






 
hi,
thxs for yr solution but tell me i cant run this command on oracle 9.0
version
alter database force logging.
it says invalid alter command
i chacked all my tablespace r on logging so can i skip this command to set up stand by database.

 Gitesh
Posted: Mar 13, 2008 05:19:42 AM  

 Total Post: 322
 Joined: May, 2005






 
Simple way to find out said feature is enabled or not

If feature enables in database level then you will get result from following query. Otherwise will get error.
select force_logging from v$database;

If feature enables in tablespace level then you will get result from following query. Otherwise will get error.
select tablespace_name,force_logging from dba_tablespaces;


 Neeraj
Posted: Mar 13, 2008 08:09:11 AM  

 Total Post: 228
 Joined: Jan, 2007






 
i m getting error when i run this query.
\so tell me can i skip this command
alter database force logging;
or its nacessary or i hav any alternate to run this command on 9.0.1.0.1
or i can skipp it bcoz all my tablespace r logging bydefault.


 Time Zone: EDT

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Murtuja Khokhar814
  Mohammed Taj694
  Jayanta Sur479
  Vigyan Kaushik386
  positive fanatic361
  Gitesh Trivedi322
  Gopu Gopi239
  neeraj sharma228
  Ramesh Jois226
  snehalatha p169






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software