473,785 Members | 2,291 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Impact Of Nologging Operations In High Availability Environments

16 New Member
IMPACT OF NOLOGGING OPERATIONS IN HIGH AVAILABILITY ENVIRONMENTS

Logged operation has to generate redo for every change data or undo block, nologging operations indicate that the database operation is not logged in the online redo log file. Even though a small invalidation redo record is still written to the online redo log file, nologging operations skip the redo generation of the corresponding inserted data. nologging can be extremely beneficial for the following reasons:
* data written to the redo is minimized dramatically
* time to insert into a large table or index or LOB can be reduced dramatically
* performance improves for parallel creation of large tables or index

-CREATE TABLE ... AS SELECT (CTAS)
- CREATE INDEX
- ALTER TABLE ... MOVE PARTITION
- ALTER TABLE ... SPLIT PARTITION
- ALTER INDEX ... SPLIT PARTITION
- ALTER INDEX ... REBUILD
- ALTER INDEX ... REBUILD PARTITION
- INSERT, UPDATE, and DELETE on non-internal LOBs in NOCACHE NOLOGGING

Expand|Select|Wrap|Line Numbers
  1. SQL> create table TEST.T nologging as select num_rows from dba_tables;
  2.  
  3. Table created.
  4.  
  5. SQL> select count(*) from test.t;
  6.  
  7.   COUNT(*)
  8. ----------
  9.       1517
  10.  
  11. SQL> create index my_index on TEST.T(NUM_ROWS) nologging;
  12.  
  13. Index created.
  14.  
  15. SELECT NAME, UNRECOVERABLE_CHANGE#,                
  16. TO_CHAR (UNRECOVERABLE_TIME,'DD-MON-YYYY HH:MI:SS')
  17. FROM V$DATAFILE;
  18.  
  19. UNRECOVERABLE_CHANGE# TO_CHAR(UNRECOVERABLE_TIME,'DD'
  20. --------------------- -------------------------------------------
  21.  
  22.  
  23. /oracle/oracle/oradata/oracle/orcl/system01.dbf
  24.                451816 13-NOV-2007 02:53:21
  25.  
  26. /oracle/oracle/oradata/oracle/orcl/undotbs10.dbf
  27.  
  28.  
  29. /oracle/oracle/oradata/oracle/orcl/trade_121.dbf
  30.                451733 13-NOV-2007 02:50:13
  31.  
Once Redo Apply (or Media Recovery) processes the invalidation redo, it marks all the corresponding data blocks corrupt in standby DB,moreover standby database will encounter corrupted blocks on the physical standby database when a query is executed on any data that references these data blocks.

ORA-01578: ORACLE data block corrupted (file # 3, block # 514)
ORA-01110: data file 3: '/oracle/oracle/oradata/oracle/orcl/trade_121.dbf'
ORA-26040: Data block was loaded using the NOLOGGING option


However, NOLOGGING is intended for configurations in which media recovery or the recovery of the corresponding object is not important .

Thanks & Regards,
Vinod Sadanandan
Oracle DBA
Nov 13 '07 #1
0 6563

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1853
by: Joan MacEachern | last post by:
Date: Thursday, October 2, 2003 Time: 10-11am PT/ 1-2pm ET Some business applications define mission critical. You just can't afford to have them go down. Ever. Is 'always on' a realistic goal? Mark Bauhaus, VP, Java Web Services, and Rich Sharples, Senior Product Manager for Application Server, explore this possibility as they examine examples of high availability and introduce Sun's approach
2
3313
by: Andras Kovacs | last post by:
We have a performance problem to replicate our environnement. Our java code is able to insert 100 000 rows in a table within 3 seconds using Batch Statement. For two oracle sites it takes 6 seconds the inserts. When we enable oracle's advanced replication the time falls to 44 seconds for the two replicated sites. So the transactions took 7 times more time. It is normal Oracle states that Adv replication takes around 6 times more resource...
62
3397
by: christopher diggins | last post by:
Since nobody responded to my earlier post , I thought I would try to explain what I am doing a bit differently. When multiply inheriting pure virtual (abstract) base classes, a class obviously bloats quickly for each new vtable needed. Execution slows down considerably as well. You can work around this by using interfaces referemnces which have a pointer to the object and a pointer to an external function lookup table. This technique...
2
7534
by: Joe Gonzalez | last post by:
Is it possible to perform bitwise operations in selects in DB2 8.1? In postgres I can say something like SELECT ... FROM <sometable> WHERE RecFlags && 0x08 <> 0 to get a bitwise and operation. I can't find anything similar in the db2 SELECT docs. Is there a built-in function that can perform the bitwise operation? Thanks in advance for any info. Joe Gonzalez
4
1733
by: Jeremy | last post by:
How can I prove uptime (or quantify downtime) on an ASP.NET 1.1 Web application (running on an IIS6 Windows Server Standard server)? What's going on here is that I'm considering the feasability of claiming or at least establishing some percentage of availability for our production Web site (99.9%, or 99.99%, or 99.999% "five nines). Of course I'll only advertise the fact if I can establish it objectively (and it's at least 3 nines :) For...
4
351
by: jao | last post by:
I'm using PostgreSQL 7.3.4 on RH9. Data and logs are on separate disks. (These are low-end IDE disks. That part of the problem is out of my control.) When a checkpoint occurs, all operations slow way, way down. iostat of the data disk shows that, during a checkpoint, reads/sec drops from 25-30 to under 0.5. Writes/sec go up, from 40-45 before the checkpoint, to 80-85 during. My test program does a mixture of 1/2 reads and 1/2 inserts,...
36
2505
by: mrby | last post by:
Hi, Does anyone know of any link which describes the (relative) performance of all kinds of C operations? e.g: how fast is "add" comparing with "multiplication" on a typical machine. Thanks! -- B. Y.
2
2614
by: Mark | last post by:
We are building a public web application that calls a web service on an internal box. The web service runs for 5-10 minutes, does some heavy processing, and writes to a database when it is complete. The current design calls for having the web application's thread sleep for 10 seconds, then check the database to see if the web service is complete. If the database claims the web service has completed, it then displays the results from the...
5
2212
by: lister | last post by:
Hi all, I have a fairly diverse range of data that I want to cache in the session rather than pulling it from the database on every page refresh. The problem is is that it seems that PHP requires the class definitions available on EVERY page, as it unserialises everything even if it's not going to be used.
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9491
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10357
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10163
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8988
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7510
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6744
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4063
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.