database-link

Can I chain database links in Oracle?

折月煮酒 提交于 2019-12-06 02:14:00
问题 I have 3 databases. 1 links to 2, 2 links to 3. I'd like to query tables in 3, from 1. I tried third_db_tab@3@2 and it did not work. Wondering if this is possible and if so, what the syntax is. 回答1: I think you can do this by creating synonyms. In database 2 create a synonym: CREATE SYNONYM third_db_tab for third_db_tab@3; then in database 1 create a second synonym: CREATE SYNONYM third_db_tab for third_db_tab@2; This is untested (I don't have three databases running right now), but I think

Is transfer via database link in Oracle 10g compressed ? Is it possible?

夙愿已清 提交于 2019-12-01 07:38:16
I'm transferring data from one base to another via database links (using INSERT INTO SELECT ... ). I want to know if data transferred through the link is compressed or can be compressed to avoid too much network use. I have very little bandwidth, and I think that would help if it's not already done. There's some de-duplication but no serious compression. There is a UTL_COMPRESS function but it would be tricky to get that to decompress on the destination (maybe a trigger, or instead of view - but it is clunky). EXPDP can use a database link ( NETWORK_LINK ) and, in 11g, compression but that

Is transfer via database link in Oracle 10g compressed ? Is it possible?

假装没事ソ 提交于 2019-12-01 04:58:55
问题 I'm transferring data from one base to another via database links (using INSERT INTO SELECT ... ). I want to know if data transferred through the link is compressed or can be compressed to avoid too much network use. I have very little bandwidth, and I think that would help if it's not already done. 回答1: There's some de-duplication but no serious compression. There is a UTL_COMPRESS function but it would be tricky to get that to decompress on the destination (maybe a trigger, or instead of

How to create a database link in MySQL to connect to Oracle?

两盒软妹~` 提交于 2019-11-30 13:51:35
I need to create a database link in MySQL to connect to an Oracle database to use a table present in the Oracle database. I am not able to find any code or method of creating a database link in MySQL. How could I do this? You can access the Oracle (or other DBMS) information directly from within MySQL using the MySQL Federated tables via the Perl DBIx::MyServer proxy. This method has been around since about 2007: a good step-by-step write-up of the set-up and usage is available here: http://ftp.nchu.edu.tw/MySQL/tech-resources/articles/dbixmyserver.html The write-up demonstrates not only the

How to execute an Oracle stored procedure via a database link

馋奶兔 提交于 2019-11-30 05:47:00
Can I call a stored procedure in Oracle via a database link? The database link is functional so that syntax such as... SELECT * FROM myTable@myRemoteDB is functioning. But is there a syntax for... EXECUTE mySchema.myPackage.myProcedure('someParameter')@myRemoteDB The syntax is EXEC mySchema.myPackage.myProcedure@myRemoteDB( 'someParameter' ); tptp check http://www.tech-archive.net/Archive/VB/microsoft.public.vb.database.ado/2005-08/msg00056.html one needs to use something like cmd.CommandText = "BEGIN foo@v; END;" worked for me in vb.net, c# 来源: https://stackoverflow.com/questions/240788/how

How to execute an Oracle stored procedure via a database link

时光毁灭记忆、已成空白 提交于 2019-11-29 04:58:19
问题 Can I call a stored procedure in Oracle via a database link? The database link is functional so that syntax such as... SELECT * FROM myTable@myRemoteDB is functioning. But is there a syntax for... EXECUTE mySchema.myPackage.myProcedure('someParameter')@myRemoteDB 回答1: The syntax is EXEC mySchema.myPackage.myProcedure@myRemoteDB( 'someParameter' ); 回答2: check http://www.tech-archive.net/Archive/VB/microsoft.public.vb.database.ado/2005-08/msg00056.html one needs to use something like cmd