House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Oracle 8i dblink question

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Whittingham, P
08/20/2004 08:35 AM

Hi All,   I am doing a dblink into secondary Oracle 8i database, it seems very slow in a cfquery (see below). Is there a faster way ?? TIA, Patrick Whittingham United Space Alliance <http://www.houseoffusion.com/banners/view.cfm?bannerid=40>; <cfquery name='test'   datasource='test_db'    blockfactor='100' > select a,b,c,d,e from  <mailto:sysadm.t1@aaa> sysadm.t1@aaa </cfquery>  

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Adrocknaphobia
08/20/2004 10:00 AM

Huh? The second db is slower that this first? Are the boes the same? Are your indexes the same? -Adam Hi All,   I am doing a dblink into secondary Oracle 8i database, it seems very slow in a cfquery (see below). Is there a faster way ?? TIA, Patrick Whittingham United Space Alliance <http://www.houseoffusion.com/banners/view.cfm?bannerid=40>; <cfquery name='test'   datasource='test_db'    blockfactor='100' > select a,b,c,d,e from  <mailto:sysadm.t1@aaa> sysadm.t1@aaa </cfquery>________________________________

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Deanna Schneider
08/20/2004 10:07 AM

I've never tried doing it right in a cfquery. I'm using database links in the database, and synonyms for the "user account" that I use in my cfqueries. Like so: In Oracle CREATE  DATABASE LINK mylink USING 'yourdatabasehere.domain.com'; create synonym linkedtable for schema.table@mylink.domain.com; In CF <cfquery...> Select * from linkedtable </cfquery> And, I havne't noticed any problems with speed at all (Oracle 8.1.7). >   I am doing a dblink into secondary Oracle 8i database, it seems very slow in a cfquery (see below). Is there a faster way ?? >

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Whittingham, P
08/20/2004 10:10 AM

I think dblink allows a 'primary' Oracle database to select/insert/update a 'secondary'  Oracle/IBM/MS db. I setup cfadmin the user/password of the 1st db (schema) and use '@aaa' to reference the actual tables/views in the other database. This allows me to indirectly access the secondary db. This allows me to refer to a db2 database thru Oracle. I hope this helps. Pat <cfquery name='test'   datasource='test_db'    blockfactor='100' > select a,b,c,d,e from   sysadm.t1@aaa </cfquery> Huh? The second db is slower that this first? Are the boes the same? Are your indexes the same? -Adam Hi All,   I am doing a dblink into secondary Oracle 8i database, it seems very slow in a cfquery (see below). Is there a faster way ?? TIA, Patrick Whittingham United Space Alliance <http://www.houseoffusion.com/banners/view.cfm?bannerid=40>; <cfquery name='test'   datasource='test_db'    blockfactor='100' > select a,b,c,d,e from  <mailto:sysadm.t1@aaa> sysadm.t1@aaa </cfquery>________________________________   _____  


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference