Oracle Streams allows data propagation between Oracle Databases (homogeneous) and between Oracle and non-Oracle
databases (heterogeneous environment). Oracle Streams can be used for: Replication Message Queuing Loading data into a Data Warehouse Event Notification Data Protection Oracle Streams Questions : Init.Ora Parameters : global_names job_queue_processes open_links _job_queue_interval compatible aq_tm_processes parallel_max_servers streams_pool_size TRUE 10 15 1 10.2.0.2.0 1 40 308
What is the difference between Oracle Streams and Change Data Capture? Oracle CDC is all about capturing changes in DB tables and the changes are stored in special Oracle tables. There are two modes of CDC operation: asynchronous (based on Java) or synchronous (based on DB triggers, more performance overhead). Oracle Streams sits on top of Oracle CDC and it's a full transport mechanism (over e.g. HTTP) for data synchronization between 2 servers. It's based on Oracle Advanced Queues technology and it's designed for high performance and reliability. Both Oracle CDC and Streams are generally used for data synchronization between Oracle DB servers... With Oracle CDC, you don't have to use Oracle Streams for, e.g. you could write your own data export routines which create flat files for the purpose of synchronization between 2 DB servers, whereas with Streams you must have a network link between the 2 servers. Database Change Notification is something else again, it's not used for server-to-server synch but instead more for server notification of resultset changes to clients, mostly in the context of data caches on the client side. What is Stream Replication? Oracle streams extracts changes from transaction (redo) logs to propagate them to the destination database. It relies on methodlogy of redo log files for the database changes. The db transactions are recorded in the redo logs files, which are exracted by the log transport service. It can act as a DR solution. Since it is a pure data solution, data can be maintained as either a complete replica of the source database or as a subset of the data. It can be sent to multiple destinations. With the help of apply handler, you can have a variety of data transformations. What is Stream pool in oracle 10g?
where does oracle apply them and how does oracle identify to which rows it needs updating? Supplemental logging provides the answers to these questions. If the size of the Streams pool is zero. What is down stream capture? This is a feature that you can use to shift the capture process from the primary database to another server that is dedicated for just that purpose. The process name is Annn. To configure the Streams pool. When these values need to be applied on the destination side. then any SGA memory used by Streams is allocated from the Streams pool. If you use this. All of the capture and enqueue activities are done on the down stream database.AnyData queue.AnyData? Events of different data types can be captured into a SYS. Which statement is true?
. The SYS_COM tablespace is a bigfile tablespace. It is an optional background process whose process name is cnnn. What is SYS. the values in the column or columns are logged by default. This is defined at the database level.AnyData. in which nnn is a capture process number. What is direct apply? Directly apply means that the apply process is going to apply the LCR without having to run a user procedure. What is Capture Process? The capture process is an oracle background process that scans the database redo log files to extract the DML and DDL changes that were done on the database objects. It is the simplest form of applying to the destination. All the captured changes are converted into events called LCR. It usually runs on the source database system where the acutal transactional activity occurs. The use of this allows you more flexibility and improves scalability.AnyData queue. The infrastructure of LogMiner is used for this process. in which nnn is an Apply process number. You want to relocate the STREAMS component from the SYSAUX tablespace to the SYS_COM tablespace. Majority of the payload type can be wrapped in a SYS. If the size of the Streams pool is greater than zero. Users and applications may enqueue events into a SYS. After that it either applies each one directly or passes it to a user-defined procedure called a handler. Why is additional supplemental logging needed? When a particular column is updated at the source database table for a set of rows. What is LCR? A message with a specific format that describes a database change. What is Apply Process? The apply process is an optional oracle background process that dequeues LCRs and user messages from a specific queue. there is no additional resources that is utilized in the source database. specify the size of the pool in bytes using the STREAMS_POOL_SIZE initialization parameter. then the memory used by Streams is allocated from the shared pool and may use up to 10% of the shared pool. you can specify that Streams memory be allocated from a new pool in the SGA called the Streams pool.In a single database.
Datetypes not Supported by Oracle Streams: BC: Unsupported Data Types for Capture Processes A capture process does not capture the results of DML changes to columns of the following data types: SecureFile CLOB.A. NCLOB. The STREAMS component under the SYSAUX tablespace can be relocated only to the SYSTEM tablespace. None of the occupants of the SYSAUX tablespace can be relocated. and nested tables) XMLType stored object relationally or as binary XML The following Oracle-supplied types: Any types. Answer: A. You cannot relocate the STREAMS component to a bigfile tablespace. B. spatial types. and BLOB BFILE ROWID User-defined types (including object types. REFs. D. You cannot relocate the STREAMS component. You cannot relocate the STREAMS component. C. URI types. varrays. and media types