firebird
firebird copied to clipboard
Database Links [CORE776]
Submitted by: alassiry (alassiry)
Block progress on CORE644
Votes: 31
SFID: 1175710# Submitted By: alassiry
It would be great if we could link databases together, even with non-firebird databases.
for example:
create database link hr as "fb://sysdba:pass2@anotherhost/opt/firebird/hr.fdb"
create database link system as "ib://sysdba:[email protected]/C:/Interbase/system.gdb"
create database link vbulletin as "mysql://vb:vb@localhost/vbulletin"
create database link compiere as "oci://compiere:[email protected]/ORCL"
then you can: select * from table1@hr h,table2@compiere c, table3@vbulletin where h.field=c.field and v.field2=c.field2
Modified by: @dyemanov
assignee: Vlad Horsun [ hvlad ]
Commented by: Umberto Masotti (umasotti)
It would be useful, as first step, to have heterogeneous queries in SQL, DSQL and PSQL between Fb databases through the same server.
I'm aware of the whole architecture must be designed before any single step in this direction, but AFAIR the whole discussion ended without drawing a clear conclusion.
Modified by: @dyemanov
Fix Version: 3.0.0 [ 10048 ]
Modified by: @pcisar
Workflow: jira [ 10800 ] => Firebird [ 15227 ]
Modified by: @dyemanov
Fix Version: 3.0.0 [ 10048 ] =>
The standard solution is suggested to be considered instead. It's documented in the SQL:MED chapter of the SQL specification and includes foreign server/table declarations and ability to use foreign tables nearly everywhere in SQL/PSQL without explicit dblink references.