VLD-1124: Schema and/or Database link physical configuration parameters

Hi!
The warning message:
VLD-1124: Schema and/or Database link physical configuration parameters should not be set for Table1.
Is it possible to eliminate this warning message ? Anyway , Thanks for your response!
Bye!

Hi guys,
I am facing a strange problem. The code generated for my mapping has NOT used the dblinks. My OWB version is 10.1.0.4
This is my problem in brief.
I have installed OWB newly and started to do a sample task. I created a very simple one to one table population mapping from source to the target schema. Both are in the same database.
When i generated the code for the mapping, it gave a warning 'VLD-2771: System privileges may not allow extraction from source EMP'.
When i checked the code which was generated, i couldnot see any dblinks associated with my source table( which seems strange)
CURSOR "INGRP_c" IS
SELECT
"EMP_SRC_TRG_CONN"."EMPNO" "EMPNO",
"EMP_SRC_TRG_CONN"."ENAME" "ENAME",
"EMP_SRC_TRG_CONN"."JOB" "JOB",
"EMP_SRC_TRG_CONN"."MGR" "MGR",
"EMP_SRC_TRG_CONN"."HIREDATE" "HIREDATE",
"EMP_SRC_TRG_CONN"."SAL" "SAL",
"EMP_SRC_TRG_CONN"."COMM" "COMM",
"DEPT_SRC_TRG_CONN"."DEPTNO" "DEPTNO_1",
"DEPT_SRC_TRG_CONN"."DNAME" "DNAME",
"EMP_SRC_TRG_CONN"."DEPTNO" "DEPTNO",
"DEPT_SRC_TRG_CONN"."LOC" "LOC"
FROM "SCOTT"."EMP" "EMP_SRC_TRG_CONN" ;
In brief this is the process i have done.
Source schema : SCOTT & Target schema : TRG_SCHEMA
1) I have created source (for SCOTT) and target(for TRG_SCHEMA) modules.
2) I have also created DBLinks, Locations and Connector from source to the target locations.
3) I registered both the source location and target locations.
4) Validated, Generated and Deployed the Connector from source to the target.
I was unable to trace the error. Did i miss anything in the configuration? or during the installation of OWB.
Though it is a very old post, i hope someone can help me out here.
Thanks in Advance,
Sri

Similar Messages

  • HELP! FOR LOOP TO SCROLL THROUGH TABLE AND CREATE DATABASE LINK

    Hi,
    Here's the scenario, not much of a PL programmer, just basic SQL so really need some help people!
    I have 2 tables. 1 contains list of DB's and the other contains rules to follow.
    I need to create a loop that goes through the table containing the DB's and on each row a DB link is created (Only 1 link allowed!)
    Once created, the schema currently logged in with also has an account on the linked DB in order to run scripts- The scripts are stored centrally hence the requirement for the link to the target DB.
    There are numerous scripts that need to be executed and can all be called from 1 script, once executed the loop exists and the database link needs to be dropped.
    Once dropped, the first loop continues, creating a DB link for the next DB listed in the table (and all the scripts are fired again)
    This continues against all the DB's listed in the table.

    Hi BlueShadow,
    Thanks again for the response, you've hit the nail on the head. SQL scripts on a unix server, a loop goes through a table 1 at a time. Each row gets a link created and then all the scripts stored on the server are executed against the db linked to. So I'm assuming this is a loop within a loop.
    1 loop to go through the table to create the link and then another loop within once connected to execute all the scripts against the connected DB. Once the scripts are run, the loop exits and moves onto the next server and so on until all the servers have the scripts are run.
    It's PL/SQL scripts we're after and not shell scripts as this would free us from the OS constraints.
    We have to drop the links due to security. Any idea on o

  • Another schema and/or database for a form

    Hello.
    What if i have a form and I want to change the schema and/or database name for the form? Is that possible? It want to make a form on data from a running production database. But testing is not very nice in a roduction database. So i want to build and test in my own schema and database. Then, when it all works, I want to change it to the running database.
    Is that in any way possible with a form from Portal?

    A form resides in an Application.
    You can not change the Schema on which the application is based on.
    What you will need to do is:
    App1 -- Based on Schema1 -- Your production Build
    App2 -- Based on Schema2 -- Your testing build
    Form1 -- Resides here (In App2)
    You will have to copy "Form1" to App1. In that case it will be transfered in Schema1
    One more way will be:
    Export the application
    Delete the application
    While Importing change the application Schema of the Application.
    (Don't forget to take the backup of database before you do this as if anything goes wrong while
    doing the above then you can always revert back)
    Thanx,
    Chetan.

  • Reference a function in a different schema over a database link?

    I have a database link, DBL, that connects with user GENE/***. I want to select columns from table BOOKS in schema JOE using function UNIFIX, which is defined in schema BRAD. Can I do it?
    I can select without the function:
    SELECT TITLE
    FROM JOE.BOOKS@DBL;
    I tried this syntax:
    SELECT BRAD.UNIFIX(TITLE)
    FROM JOE.BOOKS@DBL;
    But Oracle gives me a ORA-00904. Is there any syntax that will allow me to reference the function in the linked database? Or do I need to define a view in the remote DB that includes the function?

    SELECT brad.unfix@dbl( title )
      FROM joe.books@dblshould work. Assuming, of course, that the Gene user on the remote system has access both the the BOOKS table in the JOE schema and to the UNFIX function in the BRAD schema.
    Justin

  • Apex and remote database links.... Good idea or bad?

    We would like to have one single Apex installation that would be used to develop many applications against many remote databases.
    Database links would seem to be the obvious mechanism to achieve this goal, but we have had many issues with db links.
    Also, our research indicates this might not be a good idea for various reasons.
    Any opinions or experiences around this topic would be greatly appreciated.

    we have had many issues with db links. In that case it's a bad idea.
    It's not really an Apex question. If you can't get db links to work, it's a database issue. If it's performance over the db link, again it's a database issue (assuming modern networks aren't the bottleneck here). Remote views (instead of selecting from remote tables) often increase performance.
    If the applications don't have to share data over the db links, you can set up one master application and several sub-applications on the different databases. The master is used to log in once. See:
    http://www.oracle.com/technetwork/issue-archive/2009/09-may/o39security-101079.html

  • Weblogic 5.1, Distributed Transaction and Oracle Database Link

    We are planning to add a new functionality to run in Weblogic server and it
    needs to update tables in two different Oracle databases. Since we are using
    Weblogic 5.1 and it is unrealistic to upgrade to 6.1 in short term, we have
    to deal with the fact that distributed transaction is not supported by JTS
    on 5.1.
    One workaround we can think of is to utilize Oracle database link. Instead
    of having two connection pools, the application talks to only one database
    and access the tables on the other ones through Oracle database link.
    Therefore, when a session bean tries to update two tables on database 1 in
    one transaction, one of the tables is just a link to the other database. We
    hope that even though distributed transaction is not supported by JTS in
    Weblogic 5.1, but since it is supported by Orable, it would work.
    Do you think the above workaround would work? Does anyone have experience on
    something like that?
    Thanks in advance,
    David Chen
    [email protected]

    Hi. You should be able to use any JDBC driver with WebLogic 5.1.
    It may be the JVM that complains, if you use too old a JVM...
    Joe Weinstein at BEA Systems

  • PL/SQL :ORA-04052 with Database link

    i have created a database link in my producation database as following
    CREATE PUBLIC DATABASE LINK <NAME>
    CONNECT TO <USER>
    IDENTIFIED BY <P/W>
    USING <CONNECT STRING OF TARGET DATABASE
    oracle version 9.0.2.8
    OS : Windows 2003 EE R2 SP2
    Using oracle failsafe 3.3.4 with windows cluster
    Problem Description :
    whenever i run my pl/sql procecdure to pull the data from the target database i get the following error
    ERROR at line 3
    ORA-06550:line 3 column 2
    PL/SQL : ORA-04052: error occured when looking up remote object _<SCHEMA>.<TABLE>@<DATABASE LINKE NAME>_
    ORA-00604 : ERROR occured at recursive SQL level 1
    ORA-03106 : fatal tow-task communication protocol error
    ORA-02063: preceding line from <DATABASE LINK NAME>
    I have tested the same way in the test environment the same oracle version as well the OS but without oracle failsafe and windows cluster
    the script goes smoothly with out any errors.
    i have google and checked the OTN for all available solutions but still nothing its not getting throw
    i will be very thankful for your replys and solutions
    any farther clarification i am ready
    thanks in advance

    Hi,
    This forum is for issues connecting to non-Oracle databases. As the problem is using PL/SQL to connect to another Oracle database then it would be better to post a thread in the PL/SQL forum -
    PL/SQL
    If you are trying to connect to a non-Oracle database then please give us the details of which non-Oracle database and the software you are trying to use to connect.
    Regards,
    Mike

  • Using database link to connect to two databases

    Hi guys,
    Here's my question. I need to give a contractor Select rights on tables located in two schemas located on two different servers. One server is dev and one is prod. Let's say we have schema user: EMPLOYEE on dev and schema user: DEPARTMENT on prod. The outside contractor needs select rights on all tables in DEPARTMENT schema but only needs select on a few tables ( 4 to be exact) from EMPLOYEE schema.
    My initial train of thougth is: CREATE a user named: TEST (random name of course, just used for an example) for contractor on prod. Give user TEST select rights on all tables in DEPARTMENT schema.
    Create database link to dev server so user TEST can access EMPLOYEE schema.
    How do i go about limiting the user TEST via the database link to only view the 4 tables from EMPLOYEE instead of all teh tables?
    Should I also consider doing this scenario in reverse? Creating user TEST on dev, giving TEST rights to the 4 tables in EMPLOYEE, then creating the database link to connect to department schema on prod database??
    Any help will be appreciated. Thanks in advance.

    zephyr223 wrote:
    Hi guys,
    Here's my question. I need to give a contractor Select rights on tables located in two schemas located on two different servers. One server is dev and one is prod. Let's say we have schema user: EMPLOYEE on dev and schema user: DEPARTMENT on prod. The outside contractor needs select rights on all tables in DEPARTMENT schema but only needs select on a few tables ( 4 to be exact) from EMPLOYEE schema.
    My initial train of thougth is: CREATE a user named: TEST (random name of course, just used for an example) for contractor on prod. Give user TEST select rights on all tables in DEPARTMENT schema.
    Create database link to dev server so user TEST can access EMPLOYEE schema.
    How do i go about limiting the user TEST via the database link to only view the 4 tables from EMPLOYEE instead of all teh tables? Only grant them access to those four tables from EMPLOYEE. You have to explicitly grant privileges anyways, and since there is no GRANT SELECT ON <SCHEMA> ability it should not be that difficult.
    Should I also consider doing this scenario in reverse? Creating user TEST on dev, giving TEST rights to the 4 tables in EMPLOYEE, then creating the database link to connect to department schema on prod database?? Are you creating database links as the EMPLOYEE and DEPARTMENT users? If so, I would caution against that. Create a "current user" database link for TEST. I think you can manage privileges better that way.
    HTH!
    HTH!

  • Database link works for OS user "oracle" but not for other clients

    My DBA connects as user1 to db1 and successfully queries over database link db2.
    [oracle@linux19 ODA]$ sqlplus user1/****@db1
    SQL*Plus: Release 11.2.0.3.0 Production on Fri Apr 12 07:39:49 2013
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> SELECT * FROM DUAL@db2;
    D
    XI log in from a Windows XP client and test the same database link with a ORA-12154 result.
    C:\>sqlplus user1/****@db1
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Apr 12 11:18:18 2013
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> SELECT * FROM DUAL@db2;
    SELECT * FROM [email protected]
    ERROR at line 1:
    ORA-12154: TNS:could not resolve the connect identifier specifiedI can create and successfully use database links by including the full TNS entry in the USING string.
    What are some possible causes for the different results?
    What additional information might I supply to help troubleshoot?
    Thanks very much.
    - Doug
    Edited by: enquad on Apr 12, 2013 2:56 PM
    changed "database link db1" to "database link db2" per comments by SB
    Edited by: enquad on Apr 12, 2013 3:00 PM
    Changed "user" to "OS user" in subject for clarity

    enquad wrote:
    Sorry gentlemen and SB, but my question is still not answered. It is a new question, which I have not found answered elsewhere.
    To summarize:
    SB97025 informs me that db1 is not a database link, but I never said that it was. It is the second database (anonymized as "db2") that is connected to through the database link "db2.mycompany.net".
    SB97025 also wonders intriguingly if my DBA and I are we really connecting to the same database when we each connect to user1 on db1. Perhaps the Oracle server and my PC have TNSNAMES.ORA files that lead us to different databases for the same TNS alias? I do not believe this is the case, because my DBA created that user1 and that database link in the db1 database specifically for the purpose of doing this test and I see that same link when I connect to user1 on db1. Unless my DBA is spoofing me by creating user1 in two different databases - only one of which contains a working dblink named db2.mycompany.net - just for the purpose of throwing me off, I would have to conclude that he and I are actually connecting to the same database.There is no reason to "believe" (or not) that "this is the case". The entire point of SB's comment on that was to get you to verify. President Reagan famously said "trust but verify". He never worked as a DBA. I say "don't trust, just verify".
    Obviously something is different. And at this point the most likely and easiest to confirm is that you and your DBA really are connecting to the same database, on the same host server, using the same link. And at this point all we really have is to trust your DBAs statement.
    >
    Ed Stevens reminds me that db1 is acting as a client to db2 and so the solutions to the ORA-12154 are the same as for any client connection as listed on his blog (which I had already read), none of which solve my problem. Rembember, the DBA can use the database link, so by whatever means the TNS lookup is happening when he uses it, the correct connection description is being found. The question is not "why does this stinkin' database link not work"? It does work for the DBA.
    Pierre wants to make sure I know that it is the Oracle server's TNSNAMES file that is the important thing, not my client's TNSNAMES file, which is true but not relevant to my problem and I was never so naive. He also says that I could try creating a database link by including the full TNS entry in the USING string, which does work as I had already mentioned in my original post.
    Amar asks if my DBA can: sqlplus username/password@db2.
    The answer is yes. The dba can use SQL*Plus to connect to db2 from the server hosting db1 and can connect to db1 from the server hosting db2. There is almost nothing my DBA cannot do.
    None of the posters addressed the key information in my post, which was the different result my DBA and I get when using the same database link in the same schema on the same database. That AND the fact that my DBA is logged on to Linux Oracle serve as user "oracle" and I am logged in to my PC. Why should it matter to a database link which computer is running SQL*Plus or who the OS user is?
    Also the GLOBAL_NAMES parameter is set to FALSE.
    - Doug

  • ORA-02020 too many database links

    Hello,
    I'm getting the ORA-02020 too many database links error in my Apex application. This error occurs when I run an interactive report in a page. There are 21 pages and 7 database links in the application. Each page has one interactive report that references one database link in the region source.
    The database links are referenced in each page as follows: database link1 (page 1); database link2 (pages 2 and 3); database link3 (pages 4-7), database link4 (pages 8-15); database link5 (pages 16-18); database link6 (pages 19); and database link7 (pages 20-21). Each database link is referenced to separate schemas in one remote Oracle database.
    I tried to eliminate the error by setting the open_links and open_links_per_instance parameters in the init.ora file of the remote and XE databases to 100 then restarted the both databases. This solution did not work. I created separate Application Processes from the Shared Components to close each database link by implementing the following:
    Click on Shared Components&gt; Logic &gt; Application Processes &gt; Create &gt;
    Name: CLOSE_LINK1
    Sequence: 1
    Point: On Load: Before Header (page template header)
    Type: PL/SQL Anonymous Block
    Process Text: execute immediate 'ALTER SESSION CLOSE DATABASE LINK LINK1';
    Error Message: Database Link Error
    When I run the application now, the ORA-02081: database link is not open error appears.
    Please help anyone! I know someone has experienced these same errors.
    Thanks,
    Ms. H

    Joel,
    Thank you for your quick response. For clarification purposes, could you provide samples for 1) issuing the CLOSE DATABASE LINK and catching the exception; and 2) querying from V$DBLINK prior to issuing the CLOSE DATABASE LINK from the Shared Components &gt; Logic &gt; Application Processes?
    Lets assume the following query with a database link in the region source is referenced for Page 1.
    Page 1 - Employee Listing
    Region Source:
    select ename, job, hiredate
    from scott.emp@link1
    Lets assume the following Application Processes from the Shared Components is referenced to close the database link:
    Click on Shared Components&gt; Logic &gt; Application Processes &gt; Create &gt;
    Name: CLOSE_LINK1
    Sequence: 1
    Point: On Load: Before Header (page template header)
    Type: PL/SQL Anonymous Block
    Process Text: execute immediate 'ALTER SESSION CLOSE DATABASE LINK LINK1';
    Error Message: Database Link Error
    My thoughts are to do the following:
    1. Log in SQL*Plus as SYS
    SQL&gt; grant select to v_$dblink to scott;
    2. In Apex, goto Shared Components&gt; Logic &gt; Application Processes and add the following queries in the Process Text:
    Name: CLOSE_LINK1
    Sequence: 1
    Process Text:
    select db_link from v$dblink;
    execute immediate 'ALTER SESSION CLOSE DATABASE LINK LINK1';
    3. Catch the exception???
    Your assistance is greatly appreciated. :8}
    Ms. H

  • DATABASE LINK NOT WORKING OR FETCHING QUERYIES

    Hello,
    Oracle Version : 9.2.0.1
    O/S : Win XP SP2
    Sir
    I have to dbs (orcl and reccat) I want to create a database link from reccat to orcl. I have performed following steps and getting error in fetching query through database link.
    SQL> Create database link foo connect to current_user using 'ORCL';
    Database link created.
    SQL> select * from scott.emp@foo;
    select * from scott.emp@foo
    *+
    ERROR at line 1:
    ORA-28030: Server encountered problems accessing LDAP directory service
    My Tnsnames.ora is as :
    TNSNAMES.ORA
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = laptop)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    INST1_HTTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = laptop)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = MODOSE)
    (PRESENTATION = http://HRService)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    STANDBY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = laptop)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = standby)
    RECCAT =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = laptop)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = reccat)
    RECCAT_LAPTOP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = laptop)(PORT = 1521))
    (CONNECT_DATA =
    (SID = reccat)
    (SERVER = DEDICATED)
    Listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = laptop)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = g:\oracle\ora92)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = orcl)
    (ORACLE_HOME = g:\oracle\ora92)
    (SID_NAME = orcl)
    (SID_DESC =
    (GLOBAL_DBNAME = standby)
    (ORACLE_HOME = g:\oracle\ora92)
    (SID_NAME = standby)
    (SID_DESC =
    (GLOBAL_DBNAME = reccat)
    (ORACLE_HOME = f:\rec_cat)
    (SID_NAME = reccat)
    STANDBY =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = laptop)(PORT = 1521))
    Pl. guide me where is the problem and how to rectify it.
    Regards
    Neeraj

    Which portion of the documentation is that quote from ?
    See this "+CURRENT_USER database links connect as a global user. A local user can connect as a global user in the context of a stored procedure--without storing the global user's password in a link definition.+ " at the 9.2 documentation that was provided to you earlier in this thread
    http://download-uk.oracle.com/docs/cd/A97630_01/server.920/a96521/users.htm#17355
    and "+CURRENT_USER database links connect as a global user. A local user can connect as a global user in the context of a stored procedure, that is, without storing the global user password in a link definition+." in the 10.2 documentation
    http://68.142.116.70/docs/cd/B19306_01/network.102/b14266/admnauth.htm#i1006269
    and the CURRENT_USER clause and the "Defining a CURRENT_USER Database Link" Example of the CREATE DATABASE LINK documentation in 10.2
    http://68.142.116.70/docs/cd/B19306_01/server.102/b14200/statements_5005.htm#i2061505
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Context,Physical schema and Logical schema

    Hi,
    How the context,physical schema,logical schema and agent are interrelated.
    Please explain
    Thanks
    Jack

    Hi Jack,
    Context:
    A context is a set of resources allowing the operation or simulation of one or more data processing applications. Contexts allow the same jobs (Reverse, Data Quality Control, Package, etc) to be executed on different databases and/or schemas.
    Its used to run the object(process) in different database.
    Physical Schema:
    The physical schema is a decomposition of the data server, allowing the Datastores (tables, files, etc) to be classified. Objects stored in data servers with this mode of classification can be accessed by specifying the name of the schema attached to the object name.
    Ex
    Oracle classifies its tables by "schema" (or User). Each table is linked to a schema, thus SCOTT.EMP represents the table EMP in the schema SCOTT.
    Logical schema:
    A logical schema is an alias that allows a unique name to be given to all the physical schemas containing the same datastore structures.
    ->The aim of the logical schema is to ensure the portability of the procedures and models on the different physical schemas. In this way, all developments in ODI Designer are carried out exclusively on logical schemas.
    Thanks
    Madha

  • Creating a database link to another schema in the same database

    Hello,
    I'm trying to create a database link to another schema in the same database. It was created without errors, but when I try to use it I receive "ORA-12154: TNS:could not resolve the connect identifier specified" message...
    I'm trying to do it because on my production enviroment the databases are separated, so there I can use database links without problem, but in my development environment it's all in one database separated by schemas...
    So I'm trying to simulate the same system to not need to rewrite the query every time I move from development to production environment.
    Any ideas?
    Thanks

    Hi,
    Yes, you can create a database link to your own database. I've done it before for exactly the same reason you want to.
    (By the way, I think it's a good reason. What are the alternatives?
    Having different versions of code for Development and Production? Absolutely not! Terrible idea!
    Using synonyms or substitution variables that are set differently in the different databases? That might be more efficient than a database link, but efficiency probably isn't such a big issue in Development.
    [Conditional compilation|http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28370/fundamentals.htm#sthref250]? This might be good; it has all the efficienty of the above options, with more clarity.)
    Assuming you do want to stick with a database link, not all errors are caught when you create the link.
    Is the Development database in the tnsnames.ora file of the Development server? Do you have other database links, either in the Development server or pointing to it, that work? What is different about the ones that work, and the one that doesn't?
    Edited by: Frank Kulash on Oct 14, 2009 1:58 PM
    The more I think about this, the more I agree with the earlier respondent: synonymns are a good solution for this.
    To that suggestion you replied:
    On this way I might use "select * from SCHEMA.table" instead of "select * from table@SCHEMA"... I looking for an option to use the second way...Actually, the suggestion was that you say:
    select  *
    from    SCHEMA_table_ptr;where schema_table_ptr is a synonym.
    In Development, that synonym is defined as schema.table.
    In Production, that synonym is defined as table@SCHEMA
    Why are you "looking for an option to use the second way"?
    If you think that people reading the code should realize that the query is being done via a database link (at least in Production), then add a comment.

  • Database Links and Triggers

    Hello altogether,
    I'm not sure if I am in the right topic here, if not please excuse!
    I got the following problem:
    My system consists of two parts - one calculation part P1, and one output part P2. Both parts have their own Oracle DBMS. The calculation part P1 calculates a lot of data and replicates this data to the database of the output part P2.
    I created a database link from P1 to P2.
    Now I used triggers to replicate the data from tables on P1 side to tables on P2 side.
    Problem:
    This works fine, as long as the number of inserted or updated entries is low. If it increases, I get the error "Too many database links in use", and everything is stuck. I guess this is because too many triggers fire in parallel.
    Question:
    Is there a possibility to restrict the number of triggers executed in parallel (some kind of semaphor to serialize on), or can multiple triggers share the same database link?
    Thanks a lot for your help!
    Bye,
    Daniel

    Besides from using normal oracle replication I would check your triggers.
    Do they fire and access the DB for each row? May change this to statement level.
    Or switch from some synchonous process (immediatly update the target database) to some asynchronous process (mark the records that needs to be updated/changed, every half an hour do the change).
    3rd version? DO you really need two databases? Consider 2 separate schemas on one database instance.

  • Physical Schema and logical schema

    Hi,
    When creating the data server in the topology corresponding to the appropriate technology we are creating a physical schema. But then why do we need to create logical schema. Is it created for execution of the interface? And can multiple physical schemas be mapped to same logical schema?

    Hi
    Physical schema represents the actual connection to the data source or data target. Logical schema represents the logical name associated to that source or target.
    One logical schema can be associated with multiple physical schema along with context, i.e. one logical schema is associated with different physical schema using different context.
    It can be understood with following example:
    You have 3 environments: Dev, QA, Prod, each having different database servers as DB1, DB2, DB3, respectively. Similarly we have 3 context corresponding to Dev, QA and Prod. You create logical schema with name DB_source
    Now you associate physical DB servers to logical schema (DB_source) for each context:
    DEV: DB1
    QA: DB2
    PROD: DB3
    Now when u develop ODI interfaces, you use one context DEV which associates DB_source to DB1. While mentioning context for execution, keep it as "Execution". This means, whatever context you choose during execution, corresponding physical DBs will be used.
    Thus if you change the execution context, corresponding physical schema will be used during execution.
    Let me know if you have further questions !!

Maybe you are looking for

  • Capacity evaluation

    Hi all, While run capacity evaluation system shows error 'No capacity requirements were found in the evaluation period". how to resolve this issues AD Thanks Jack

  • Error MSG?

    When I try open doc sent to me attach to email in Adobe Reader I get the following error MSG: "The document path is not valid" what do I do?

  • Can't install final cut pro 5.0/erased my old final cut

    I just got final cut studio and the option for installing final cut pro is inaccessible. When it finished installing (said it was successful), my old version of final cut was gone and the new version was not installed. What do I do because when I go

  • WAS on Linux seens to be slow

    After having installed WAS for linux, things seemed to work OK. It seemed however that database-generated pages were very slow. To find out what was wrong we mixed platforms: Database on sun, WAS on sun Database on linux, WAS on sun Database on sun,

  • FCP X does not recognize Final Cut Events folder

    FCP X will always recognize both internal drives in my MacPro, named Macintosh HD and Macintosh HD2.  About one third of the time it will see that both are present, but for Macintosh HD2 it will say there are no Events or Projects or anything else th