Oracle Streams without link DB
Hi allWe have an obligation to move data for about 20 tables of a database in a particular network to a database in another network. The database on both sides runs on 11g and has an RAC implementation.
To perform this replication options are here
-Oracle Streams
-Oracle Golden Gate
-Export and import Datapump then
We have the following restrictions to make the transfer
-No DB connection cannot be created
-No additional licenses can be purchased for the purchase of Golden Gate
Subject limitations above still go with Oracle Streams (as I read the oracle documentation, and he says that DB Link is mandatory) or am I just left with the option of datapump
Thanks in advance,
Jayadeep
Archives can be trasnfer by Redo transport services.detail below
http://docs.Oracle.com/CD/B28359_01/server.111/b28294/log_transport.htm
before finding the CDC.
Take a look at following note
Planned off the change data Capture support
http://docs.Oracle.com/CD/E18283_01/server.112/e17222/changes.htm#CJAECCIJ
Tags: Database
Similar Questions
-
Oracle Streams is a licensed product
Hi guys,.
I need to know whether or not the oracle streams is a licensed product?
Thanks and greetings
Andrea BallarinHello
Oracle workflow is part of Oracle Enterprise Edition. If you have this version, then you can use the streams without an additional license.
Herald tiomela
htendam.WordPress.com -
Oracle streams heterogeneous Support (non-Oracle and Oracle databases) envi
Oracle streams heterogeneous Support (non-Oracle and Oracle databases) environments?
It is possible to move data from Oracle to DB2 using Oracle Streams?Hello
Visit this link
http://download-West.Oracle.com/docs/CD/B28359_01/server.111/b28322/hetero.htm
Kind regards
Deepak -
Database objects can be replicated using Oracle Streams and which object cannot be replicated?
Hi Experts,
I need clarification on the sub questions,.
Database objects can be replicated using Oracle Streams and which object cannot be replicated?
How can we check that what schema and objects are used streams replication and which schema and objects is not used in the replication stream?
Thanks in advance.
Select *.
of dba_streams_unsupported
where owner | '.' || table_name (...)order by 1, 2, 3;
-
Oracle Streams Advanced Queuing and advanced replication
Hi experts,
I don't have much experience in Oracle. Please tell me what is "Oracle Streams" in simple words. What is use of this example.
difference between "Oracle Streams, advanced and advanced replication queues".
Reg,
Hard
Hi harsh,
I'll try and simply summarize for you.
(1) advanced replication - the ancient mode of replication of data between databases - no one really uses this method more (even if it's still there)
(2) AQ (or now renamed as streams AQ I think) is a technology of queues for the publication and subscription to messages - it is not a replication method on its own, but is a key technology for manufacturing workflow
(3) water - a replication technology course complete with a huge amount of flexibility (and complexity) - one of the best tools of the oracle set product - but it is now be depracated in favor of goldengate (in large part because GG is a costly option, personally, I think)
(4) goldengate - just like rivers but can replicate to/from databases (Sql server, sybase etc.) non-oracle
streams and goldengate roughly the same work but are implemented very differently - flow is much plsql and queues, GG is to learn another language (although scripting tool really)
hope that helps.
See you soon,.
Rich
-
PLS-00435: without LINKING DML statement to BULK cannot be used
My requirement
I dynamically create a staging table my_stg and then fill it out. Seems simple, but do not know why I get this error
create table gtest4 (myid varchar2 (10), mykey varchar2 (10));
create table gtest5 (myid varchar2 (10), mykey varchar2 (10));
insert into gtest4 values (1.3);
insert into gtest4 values (2.7);
insert into gtest5 values (5,3);
insert into gtest5 values (1, 7);
commit;
/ * Formatted on 2012/01/27 17:52 (trainer more v4.8.8) * /.
CREATE OR REPLACE PROCEDURE px
IS
RecType (RECORD IS of TYPE)
MyID VARCHAR2 (100),
MyKey VARCHAR2 (100)
);
TYPE tabtype IS rectype TABLE
INDEX OF DIRECTORY;
REC tabtype;
News sys_refcursor;
BEGIN
EXECUTE IMMEDIATE ' create table my_stg (myid varchar2 (100), mykey varchar2 (100)) ';
Heart OPEN FOR "select a.myid, b.mykey
gtest4 a, gtest5 b
where a.mykey = b.mykey';
LOOP
News FETCH
COLLECTING LOOSE rec LIMIT 500;
FORALL I IN 1... recomm. COUNTY
EXECUTE IMMEDIATE "insert into my_stg (myid, mykey) values (rec (i) .myid,
Rec (i). MyKey)';
OUTPUT WHEN heart % NOTFOUND;
END LOOP;
END;
/
I compile the above proc and get
PLS-00435: without LINKING DML statement to BULK cannot be used
the reason why I put in run is immediate because the my_stg table does not exist, it is created on the flyMaybe
INSERT INTO my_stg (myid, mykey, id_seq) VALUES (rec1(i), rec2(i). sequence.nextval);
Concerning
Etbin
-
Oracle Streams and CLOB column
Hello
We use "Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64 bit. My question is "Does Oracle Streams capture, spreads (source capture method) and applies the CLOB column changes?"
If so, is this default behavior? Can we say Brooks to exclude all of the CLOB column (capture-spreading-request) process?
Thanks in advance!http://download.Oracle.com/docs/CD/B19306_01/server.102/b14229/strms_capture.htm#i1006263
-
Update of Oracle streams conflict does not work
I use three of database DB1, DB2, DB3. I use workflows to reproduce the
Scott.Dept table for all three database. I use conflicts of update for dept
table. The database version is 9.2.0.8
Here's the code I ran for all three database.
DECLARE
passes DBMS_UTILITY.NAME_ARRAY.
BEGIN
collar (1): = "deptno";
collar (2): = "dname";
collar (3): = 'loc ';
() dbms_apply_adm.set_update_conflict_handler
object_name = > "scott.dept"
method_name = > "crush."
resolution_column = > 'deptno. "
column_list = > CLO);
end;
/
Here are the contents of the table in all three database.
[email protected] > select * from the Department;
DEPTNO DNAME LOC
---------- -------------- -------------
10 ACCOUNTS NEW YORK
SEARCH 20 DALLAS
30 SALES CHICAGO
40 OPERATIONS BOSTON
[email protected] > select * from the Department;
DEPTNO DNAME LOC
---------- -------------- -------------
10 ACCOUNTS NEW YORK
SEARCH 20 DALLAS
30 SALES CHICAGO
40 OPERATIONS BOSTON
[email protected] >
[email protected] > select * from the Department;
DEPTNO DNAME LOC
---------- -------------- -------------
10 ACCOUNTS NEW YORK
SEARCH 20 DALLAS
30 SALES CHICAGO
40 OPERATIONS BOSTON
[email protected] >
Now, I inserted a registration of DB1 and it is reproduced in all databases.
[email protected] > insert into dept
2 values(50,'IT','HOUSTON');
1 line of creation.
[email protected] > commit;
Validation complete.
After inserting the record, it is replicated on all the three db
[email protected] > select * from the Department;
DEPTNO DNAME LOC
---------- -------------- -------------
10 ACCOUNTS NEW YORK
SEARCH 20 DALLAS
30 SALES CHICAGO
40 OPERATIONS BOSTON
50. IT HOUSTON
[email protected] >
[email protected] > /.
DEPTNO DNAME LOC
---------- -------------- -------------
10 ACCOUNTS NEW YORK
SEARCH 20 DALLAS
30 SALES CHICAGO
40 OPERATIONS BOSTON
50. IT HOUSTON
[email protected] >
[email protected] > /.
DEPTNO DNAME LOC
---------- -------------- -------------
10 ACCOUNTS NEW YORK
SEARCH 20 DALLAS
30 SALES CHICAGO
40 OPERATIONS BOSTON
50. IT HOUSTON
[email protected] >
Now, I want to test the update conflict. I'm updating the same record
in DB1, DB2, and DB3.
[email protected] > update dept
2 set dname = "db1", loc = "db1".
3 where deptno = 50;
1 line update.
[email protected] > commit;
Validation complete.
[email protected] >
[email protected] > update set dname dept = 'db2 ',.
loc 2 = "db2" where deptno = 50;
1 line update.
[email protected] > commit;
Validation complete.
[email protected] >
[email protected] > update
2 dept set dname = 'db3', loc = "db3".
3 where deptno = 50;
1 line update.
[email protected] > commit;
Validation complete.
[email protected] >
After the above change, the output is as follows.
[email protected] > select * from the Department;
DEPTNO DNAME LOC
---------- -------------- -------------
10 ACCOUNTS NEW YORK
SEARCH 20 DALLAS
30 SALES CHICAGO
40 OPERATIONS BOSTON
50 db2 db2
[email protected] >
[email protected] > select * from the Department;
DEPTNO DNAME LOC
---------- -------------- -------------
10 ACCOUNTS NEW YORK
SEARCH 20 DALLAS
30 SALES CHICAGO
40 OPERATIONS BOSTON
db1 50 db1
[email protected] >
[email protected] > select * from the Department;
DEPTNO DNAME LOC
---------- -------------- -------------
10 ACCOUNTS NEW YORK
SEARCH 20 DALLAS
30 SALES CHICAGO
40 OPERATIONS BOSTON
50 db2 db2
[email protected] >
If the deptno = 50 record is not consistent for all
three databases. Please help me why the record (deptno = 50)
is not compliant?The before and after image of columns that has been manipulated with some of the key values to identify a target line are those who must be part of a LCR. You can check this by writing a DML handler and looking at the columns in the CSF.
Some operations require additional columns are saved unconditionally. These requirements are set out in the Documentation of Oracle Streams.
-
connect ms sql server to oracle using db link
HelloSource: Oracle 11g on linux
destination: ms sql server 2005
I need to create the link oracle to ms sql server db to display tables, it is posibble without having to configure gateways (as it looks like it is produced under license)
Please let me know any alternative to achieve this
Thank you
PMP
There are 2 bridge - commercial database gateway for Ms SQl Server, which requires a license and database for ODBC gateway which is free. The license for DG4ODBC is included in your license data. You just need to install an ODBC driver on your Linux machine (for example, to use the MS SQl Server for Linux ODBC driver - details can be found here: http://www.microsoft.com/en-gb/download/details.aspx?id=36437 ). and then configure the gateway using the My Oracle Support Note:
How to set up DG4ODBC on 64-bit Unix OS (Linux, Solaris, AIX, HP - UX Itanium) to connect to Oracle databases Post Install [Article ID 561033.1] -Klaus
-
Using Oracle Streams schema replication
Hi DBAs,
I use 11g and that you must configure replication of schema/table between 2 databases. I never used the front stream.
I spent reviewing the Oracle documentation to understand the function of current, but implementation of the replication stream is confusing. Please help with step by step instructions or any article of tutorial or demo OTN to configure the data flow.
Thank you
-Samar-Hi Samar,
[Metalink Note 753158.1: how to configure streams in real-time environment downstream | https://metalink2.oracle.com/metalink/plsql/f?p=130:14:8789336070734834078:p14_database_id, p14_docid, p14_show_header, p14_show_help, p14_black_frame, p14_font:NOT, 753158.1, 1, 1, 1, helvetica]
The note is quite elaborative to set up a basic configuration of water courses and just your requirement.
On both servers (Source and downstream)
=============================Conn virtue sysdba
Streams_tbs CREATE TABLESPACE DATAFILE 'streams_tbs_01.dbf' SIZE 100 M REUSE AUTOEXTEND ON MAXSIZE UNLIMITED;
Stradmin CREATE USER IDENTIFIED BY strmadmin
TABLESPACE streams_tbs default
QUOTA UNLIMITED ON streams_tbs;GRANT DBA TO stradmin; ---> Due to a bug, you must grant the DBA privilege STRADMIN
BEGIN
DBMS_STREAMS_AUTH. () GRANT_ADMIN_PRIVILEGE
dealer-online "stradmin,"
grant_privileges-online true);
END;
/__Checking the administrator is created
SELECT * FROM dba_streams_administrator;
Direct the logmnr to use the streams_tbs site downstream tablespace:
=============================================exec DBMS_LOGMNR_D.SET_TABLESPACE ("streams_tbs");
Create the connection between the source and downstream:
=========================================1. check if it is a perfect connectivity between these two databases
2. as it is a derivative of Setup before the transport of newspapers service requires same password for SYS on both sides.
3. set GLOBAL_NAMES = TRUE on both sides
4 create DBlink from both sides, so that the stradmin can communicate with each other.
create database STREAMS1 link to connect to strmadmin identified by strmadmin using 'STREAMS1 ';
Select * from global_name@STREAMS1;
Definition of the parameters of archiving downstream:
============================Configure databases for the source database can transfer the logs to check-in on the destination site. (See you documentation on configuring standby basis)
Creating Eve-newspaper of recovery to receive again the Source data (only if you want to have mining in real time):
================================================================-From the source:
(1) determines the size of the log file used on the source database:
Select THREAD #, GROUP #, BYTES/1024/1024 in V$ LOG;
-The station downstream:
(2) add the newspapers of the day before:
-For example, the source database has three online redo log file groups and each size of 50 MB log file. In this case, use the following instructions to create the appropriate standby log file groups.
Establishment of environment of rivers downstream on the site
================================BEGIN
DBMS_STREAMS_ADM. () SET_UP_QUEUE
queue_table => ' stradmin. DOWNSTREAM_Q_TABLE',.
queue_name => ' stradmin. DOWNSTREAM_Q',.
queue_user => "STRADMIN");
END;
/Select name, queue_table from user_queues;
BEGIN
DBMS_APPLY_ADM. () CREATE_APPLY
queue_name => ' stradmin. DOWNSTREAM_Q',.
apply_name-online "DOWNSTR_APPLY."
apply_captured-online TRUE
);
END;
/Start
DBMS_APPLY_ADM. SET_PARAMETER (apply_name-online 'DOWNSTR_APPLY', parameter =>
Value of 'DISABLE_ON_ERROR', => ' n ");"
end;
/ - This will require installing flow do not stop even if there is an errorBEGIN
DBMS_CAPTURE_ADM. () CREATE_CAPTURE
queue_name => ' stradmin. DOWNSTREAM_Q',.
capture_name-online "DOWNSTR_CAP."
rule_set_name => NULL,
start_scn => NULL,
source_database-online "STREAMS1."
use_database_link to-online true.
first_scn => NULL,
logfile_assignment-online 'implied');
END;
/BEGIN
DBMS_CAPTURE_ADM. SET_PARAMETER)
capture_name-online "DOWNSTR_CAP."
parameter-online "downstream_real_time_mine."
value => 'y');
END;
/ - Instructing capture processes of mining in real-time= Adding schemas positive rules for the capture process.
BEGIN
DBMS_STREAMS_ADM. () ADD_SCHEMA_RULES
schema_name-online "SANTU1."
streams_type-online "capture."
streams_name-online "DOWNSTR_CAP."
queue_name => ' stradmin. DOWNSTREAM_Q',.
include_dml to-online true.
include_ddl to-online true.
include_tagged_lcr => FALSE,
source_database-online "STREAMS1."
inclusion_rule => TRUE);
END;
/BEGIN
DBMS_STREAMS_ADM. () ADD_SCHEMA_RULES
schema_name-online "SANTU2."
streams_type-online "capture."
streams_name-online "DOWNSTR_CAP."
queue_name => ' stradmin. DOWNSTREAM_Q',.
include_dml to-online true.
include_ddl to-online true.
include_tagged_lcr => FALSE,
source_database-online "STREAMS1."
inclusion_rule => TRUE);
END;
/
= By excluding one of the table using the negative rule =.
BEGIN
DBMS_STREAMS_ADM. ADD_TABLE_RULES
(
table-name => ' SANTU1. XYZ'.
streams_type-online "capture."
streams_name-online "downstr_cap."
queue_name => ' stradmin. DOWNSTREAM_Q',.
include_dml to-online true.
include_ddl to-online true.
source_database-online "STREAMS1."
inclusion_rule-online fake - specifies the negative rule set
);
END;
/
==================================================================Now its time to instantiate the schemas. You can use exp/imp legacy or datapump to instantiate the schemas. I use exp/imp
File System/Manager exp = log
= owner = (SANTU1, SANTU2) object_consistent = y
File System/Manager IMP = log= fromuser = (SANTU1, SANTU2) touser = (SANTU1, SANTU2) streams_instantiation = y If the instantiation is completed successfully, start applying and capture process
exec DBMS_APPLY_ADM. START_APPLY (apply_name-online 'DOWNSTR_APPLY');
exec DBMS_CAPTURE_ADM. START_CAPTURE (capture_name-online 'DOWNSTR_CAP');Check the State of the capture process / apply:
Select capture_name, dba_capture State;
Select capture_name, State of v$ streams_capture;Select apply_name, dba_apply State;
Select apply_name, State of v$ streams_apply_server;Test the configuration. Also note that it is not necessary to maintain the database in archivelog mode downstream.
Tried to explain that the Basic, in short things, but please pass through the documentation.
Kind regards
S.K. -
Netflix streaming without wifi or hotspot?
I just got a new Apple TV 64 G as a gift. I want to use my new Apple TV and my iPhone 5s then in my RV to stream Netflix (without any WIFI). However, I am one of those people who is still grandfathered in data unlimited by ATT and so using my phone as an access point is turned off by ATT (so using my phone as a hotspot is not an option). I have been searching on the Internet and have not seen anything promising... Before actually, I opened the package of Apple TV (keeping my option to return the gift), I'm trying to determine if there is a confirmed problem "streaming with no wifi/no hotspot"? It was my reason for wanting to the Apple TV.
I hope for a resolution that will allow me to use only the Apple TV and my iPhome 5s, however, saw any suggestions on using a router to simulate a WIFI that is connected to anything... Is that a viable solution? Thank you.
Welcome to the Apple community.
The Apple TV 4 is very well built around the internet, it needs an internet connection whenever it is turned on (although it may in the case subsequently shut down). It would be extremely difficult to use in your situation, if indeed you could use it at all. I wouldn't take the idea further if I were you.
-
Why some youtube videos show a white screen with sound only, while other works very well, these streaming videos without any problem on youtube no black screen, nothing, but sometimes once downloaded, they appear black screen with sound only? Yes sometimes when you re-download it works very well, but why?
Hello
(1) did you make any changes before the show?
(2) you use internet explore? If so, which version?
(3) is the specific question of youtube videos?
(4) the same thing happens with the different browsers?
The video problems when you use Internet Explorer
http://support.Microsoft.com/kb/2532294
For reference:
Why a few blank pages or incorrectly displayed in Internet Explorer?
http://Windows.Microsoft.com/en-us/Windows7/webpages-look-incorrect-in-Internet-Explorer
I hope this helps.
-
The details of the Instance of the host to Oracle Streams
Hi all
I'm using Oracle 11 g on RHEL-5 2.
I have Oracle installed streams. How could I know the instance and the host name where the data stream configured amoong each other.
Also how can I get the schemas that are synchronized to within the framework of water courses?
Kind regards.
Check log_archive_dest_n to see the location of the delivery of the archivelogs. Tnsnames.ora will give you hostsnames related to the services used.
Also, you can find
dba_services
sys.streams$ _capture_process
dba_capture
-
Oracle forms 11g link java updated request each time, ends up with a blank page
Hello
Kindly advice the cause of the issue where my form link 11g oracle launches not required to install the update of java every time after installation of java 8 that it will end with .a page blank for a second time if refresh us the page new message opens to install JAVA8. But same link if I use Windows 7 64 bit IE9, the link works correctly.
Here is the version of the product
Form of Oracle & report 11g R2 (11.1.2.2.0) (64-bit)
Oracle Weblogic Server 10.3.6 (64-bit)
Oracle Database 11 g Release 11.2.0.4.0 - 64 bit Production.
Standard Windows Server 2012
Internet Explorer: 10
WebLogic and WLS_FORMS server is running
link is http://10.184.152.210:8888/forms/frmservlet? config = rom
Kind regards
Supriya.
The Forms Runtime will use the version of Java that are specified in the formsweb.cfg. Take a look at your formsweb.cfg and check the jpi_classid = and jpi_mimetype = parameter values and put them in the Java version you want to use.
Craig...
-
Oracle apex without password field application login page
Hi all
Someone please help with this request. I want to have a login to application page where users just enter their login user id and just click the button connection; Once they connect. I have an authorisation procedure which checks against the database for their user id table and redirects to different pages based on their role as defined in the database. If its a user id invalid; the process redirects to the page that is not permitted.
Is it possible in the apex oracle to connect to the app with just their user name. We use Oracle APEX 4.0.2 version and oracle 10g r2 database.
Previously, we had the LDAP authentication, which was no - ssl and we do not want to use it, as this will not be the policy of the company. We have tried to establish a SSL connection and create oracle certificate using s/n, but it always takes some time.
DECLARE
v_role VARCHAR2 (30);
v_page NUMBER;
BEGIN
BEGIN
SELECT user_role
IN v_role
FROM table_a
WHEN USER_ID = UPPER (TRIM (: P101_USERNAME));
EXCEPTION WHEN NO_DATA_FOUND THEN
v_role: = NULL;
END;
IF v_role = "MANAGER" OR v_role = "ADMINISTRATOR."
THEN
v_page: = 1;
ELSIF v_role = "ANALYST."
THEN
v_page: = 32;
ON THE OTHER
v_page: = 200;
END IF;
APEX_UTIL.set_session_state (p_name = > 'FSP_AFTER_LOGIN_URL', p_value = > NULL);
wwv_flow_custom_auth_std. Login (P_UNAME = >: P101_USERNAME,)
P_PASSWORD = >: P101_PASSWORD,.
P_SESSION_ID = > v ("APP_SESSION").
P_FLOW_PAGE = >: APP_ID | ':' || v_page);
END;
How to change, the process described above to allow the value null for the password field.
Please help with possible suggestions. Thanks in advance.
Thank you
Orton
Write a custom authentication scheme
http://allthingsoracle.com/custom-authentication-in-apex/
and simply return true without checking the password field. The author, Patrick Barel, gives an example:
FUNCTION authenticate (username_in in VARCHAR2
password_in IN VARCHAR2)
RETURN A BOOLEAN VALUE
IS
BEGIN
RETURN TRUE;
END to authenticate;
A custom authentication function can do what you want in terms of functionality, as long as it returns true if the authentication is successful or false otherwise.
Maybe you are looking for
-
How to restore unrolling lost menu at the top of the toolbar?
I lost the drop down menus at the top of Firefox browser. == I chose an option to eliminate menus
-
Turn to the bottom of the screen, open again: charging needed and long user ID!
I'm working on a MacBookPro. When I close the TI (closing of the screen) - even just for a few minutes - and re - open, I always type in my user ID, and it takes a long time to reload and be willing to work on it again. It is very frustrating and tim
-
Operation of moving off to another folder. Files disappeared.
Greetings, I am desperately looking for help with the missing files due to the command prompt in windows XP. I tried to copy the "My documents" folder to a new folder on an external hard drive. I tried to drag and drop the file, but it only stuck a s
-
Is posible to replacement for acer keyboard move 12? If Yes, where?
Hello! I need around a new keyboard, available to the United States, for my Acer switch 12. Is - is this posible? One who made with the Tablet is in Hungary and I need to changet. Is - is this posible? Where can I by one? Thenks!
-
BlackBerry 10 can't get rid of BIG characters on BB10
Someone help me please! I changed the font to WIDE to be able to read without my glasses. Now it shows only the upper left corner of each page, you can not do on or scroll down, you can't see the rest of the icons or messages and, worst of all, you c