Halim, a Georgia Tech graduate Senior Database Engineer/Data Architect based in Atlanta, USA, is an Oracle OCP DBA and Developer, Certified Cloud Architect Professional, and OCI Autonomous Database Specialist. With extensive expertise in database design, configuration, tuning, capacity planning, RAC, DG, scripting, Python, APEX, and PL/SQL, he combines technical mastery with a passion for innovation. Notably, Halim secured 16th place worldwide in PL/SQL Challenge Cup Playoff on the year 2010.
Thursday, September 15, 2011
ORA-28056:writing audit records to windows event log failed
and could not write log anymore.
Solution:-
1) clear the event log
as follows
Control Panel->Administrative Tools->Event Viewer->
right click on specific event viewer then > Clear All Events
Note:- you can backup event viewer log. it is just log nothing else.
Wednesday, September 14, 2011
Oracle Streams and Oracle(CDC) Change Data Capture comparative description
Tom kytes says
think of streams like a brick. think of CDC like a building made of brick.
streams can be used to build CDC.
CDC is built on top of streams (async CDC is anyway, sync CDC is trigger based).
they are complimentary, not really competing.
| ||
Definition | Change Data Capture is database functionality that enables capturing incremental changes with predefined API against an Oracle Database and to make the change data available for further use. | Streams provides a flow mechanism in which, the database changes flow in a streamed manner, hence the name Streams. It is a very broad and flexible way of capturing changes, moving them, and applying them. |
Purpose | CDC is for monitoring changes in a database. | For Information Sharing/Distribution |
Mechanism | Source TABLE => Change Table => Subscriber view =>TARGET system | CATPURE => Staging => APPLY |
DML and DDL changes | You can capture only DML changes CDC is *NOT* supported for doing DDL operation | You can also capture DDL changes.Note 238457.1 What DML and DDL is Captured by Streams |
Usage | CDC most commonly used to capture transactional changes from an OLTP system and publish the changes to one or more subscription systems use Change Data Capture to simplify ET L (extraction and transportation of relational data) in data warehouse applications. The advantage of CDC is that it is intended for extracting data in a data-warehousing environment so you can process only the changed data not entire tables and makes the change data available for further use. | Used for the following: |
How does it work | Synchronous Change Data Capture uses triggers on the source database to capture change data. |
|
| The internal Change Data Capture (CDC) tasks of Streams Capture and Apply are | For bidirectional/unidirectional Streams replication does not have any restriction on Oracle version or OS . |
With respect to Non Oracle Databases |
|
|
With respect to logical Standby |
| Streams cannot be used in 9i and 10g with Logical Standby as logical standby cannot run jobs BUT in 11g you can use Streams with Logical Standby only in Combined Capture and Apply mode |
| CDC offers cost savings by simplifying the extraction of change data from database as its part of Oracle 9i database and later versions. | Integrated Feature of Oracle9i Database |
LIMITATION | Asynchronous mode CDC purely worked based on logged operations, so any non-logged DML operations are not captured. | TDE columns are not supported by Oracle Streams in 9i and 10g but supported in 11g http://download.oracle.com/docs/cd/B19306_01/server.102/b14229/strms_over.htm |
Reference | Oracle® Database Data Warehousing Guide 10g Release 2 (10.2) Part Number B14223-02 http://download.oracle.com/docs/cd/B19306_01/server.102/b14223.pdf |
|
My Blog List
-
-
-
ASSM states3 weeks ago
-
UKOUG Discover 20241 month ago
-
-
-
-
-
-
-
-
Moving Sideways8 years ago
-
-
Upcoming Events...11 years ago
-