Access to the database/schema to another server...

Hello - I have a need that will require me to access additional information about a schema on a server that is different from what my APEX installation runs on (IE 3rd part of the data that is not part of the inherent schema that accesses the APEX)...

My APEX server running version 3.2.1.00.11 on top of oracle 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production. We will call this server "A".

The target server is currently an Oracle server, but will eventually migrate to a Teradata installation (no - I have no word to say in the matter!). We will call this server 'B '. No idea what versions in both cases.

I understand that if I needed to access different patterns on the same server (IE Server A) it would be easy enough to do using grant statements.

Also, I understand that to access a schema on server B, I could use a DBLink to do.

My questions are:

(1) oracle allow a DBLink to teradata? I found the following thread that seems to indicate that it is possible (or at least used to be - don't know if it's still a valid configuration) Re: Teradata to Oracle connection

(2) is there another way to make this available external data source? A tech in our team 'Architecture COMPUTING"said DBLinks are not recommended or a best practice. He proposed adding the data source 'directly '?

This thread (add multiple schemas in a workspace seems to speak of adding multiple schemas to a workspace, but I do not have access to this part of our oracle server (I'm only a workspace administration).)

(3) if I create a view that accesses the tables through the DBLink to Server B when it comes to Oracle, and then update the DBLink to point to the new teradata server during the migration happens - it will break anything within the APEX?

My hypothesis is that the table names are the same concerns only APEX that the view is valid and not what fuels the view.


The rationale against using DBLinks gave me was that "it is not sensible for APEX down to the oracle database (its native underlying server/schema) to cross to another server and return to the oracle database that then went up to the APEX." It makes more sense for APEX to go straight to the other source of data. Normally, I would say that they (Apex/infrastructure) are the same server so it does not really matter that he might have to go through additional 1 'service' or 'interface', but this area is not my specialty.

Also - I think that technically speaking our APEX service is already separated from its native schema/data on different servers (for load balancing), so in this case really maybe a middle Server Getting (IE Server APEX A-> native schema/data of the server where the DBLink might be-> server B) do an unnecessary extra jump (APEX Server A)-> server B. Note : I am sure that our architect does not know that this is the case, then it is not part of its raison d'etre.

Thoughts?

Thank you!
Jim

(1) there is a wide variety of databases that you can access from Oracle using the links to the db. The main purpose of a db link must provide connectivity between databases that are not consistent with the use of a certain type of driver or translator. Some databases provide native connectivity with other thing than their own products.

(2) I would ask another dba from this source that he or she recommends, and if he or she has all the documentation. The long and short of it is (as I explained above) few providers of database provides native support for other database engines, which is needed for the kind of "direct connection" implies that person. My suspicion is that this person is an ODBC user and is equivalent to the use of ODBC drivers with "direct connection", which is far from accurate. ODBC only provides a generic interface to a database, at the expense of speed, functionality and efficiency thanks to the translation of the command and overhead.

(3) oracle generally doesn't care about the back end of a connection to a different database and neither does APEX. As long as you can build a database to the database in question, shouldn't you have any problems ask these data, although only in a reduced performance due to air travel, networking, drivers, etc.

Really, APEX is intended to be run against and integrates better with Oracle databases. If your main data is on another platform, APEX may not be the best solution for your needs.

Tags: Database

Similar Questions

  • How to give users access to the database schema?

    I have the following databases:

    Running test of Oracle9i Enterprise Edition Release 9.2.0.6.0
    Production is currently running Oracle9i Enterprise Edition Release 9.2.0.7.0

    I created a user at the same time and on the production side, it works fine, but on the side of test, I get ORA-1017: name of user and password invalid. connection refused when I try to connect via my web application or when I try through sql more is not log to the side test but does for the Pb of the production.

    How can I compare two users?
    During the creation of my table, procedure, etc. scripts, I have granted access this even sure if the user has rights to the tables and other objects.

    There is another main user account that is able to do everything that I need so I know it's possible, but need me something to allow my new user to connect.

    Thanks for any help you can give me.

    Published by: jerry8989 on March 16, 2012 08:10

    jerry8989 wrote:
    I have the following databases:

    Running test of Oracle9i Enterprise Edition Release 9.2.0.6.0
    Production is currently running Oracle9i Enterprise Edition Release 9.2.0.7.0

    I created a user at the same time and on the production side, it works fine, but on the side of test, I get ORA-1017: name of user and password invalid. connection refused when I try to connect via my web application or when I try through sql more is not log to the side test but does for the Pb of the production.

    How can I compare two users?
    During the creation of my table, procedure, etc. scripts, I have granted access this even sure if the user has rights to the tables and other objects.

    There is another main user account that is able to do everything that I need so I know it's possible, but need me something to allow my new user to connect.

    Thanks for any help you can give me.

    Published by: jerry8989 on March 16, 2012 08:10

    "ORA-1017: name of user and password invalid; connection refused '.

    Oracle is too easy to lie about it. It has noting to do with what privileges you have given to the user. There is never far enough to worry about privileges. Either you provide a user name does not exist, or you provide the wrong password for this user name. Period.

  • Move the database on its own server Vcenter 4

    My current Vcenter Server 4.0 has the Vcenter Server and database SQL 2005 on the same computer. My performance is EXTREMELY slow, as in there more than 15 minutes for the client to connect, Vsphere load inventory and discover plugins until I'm able to use it. Once loaded, clicking on the servers and things within the client is very slow. So I think that by moving the database of its own machine, it will increase the performance of the vcenter server. I was looking in the vcenter admin section, and I can't find a way to 'clear' to tell him to look for the database on a different server.

    Does anyone have any documentation on how to move the vcenter database to another server?

    Thank you!

    Lex

    Take a look on:

    http://KB.VMware.com/kb/7960893

    André

  • access to the database of client computers

    Hi all

    I installed oracle 10g on windows XP, my computer was not on a network, when I was installing, so I access enterprise manager and isqlplus with "http://localhost:5560 / isqlplus" and "http://localhost:5500 / em, but now I want to place on a network so that other computers can access to the database is possible if yes, how do I go about this?

    Laurette wrote:
    Hi all

    I installed oracle 10g on windows XP, my computer was not on a network, when I installed, so I have access to enterprise manager and isqlplus with "http://localhost:5560 / isqlplus'and'http://localhost:5500 / em , but now I want to place on a network so that other computers can access to the database is possible if yes, how do I go about this?"

    You can access the server remotely by using the ip address? If Yes, then change * localhost * to the ip address of this server and do not forget to start receiving

  • Problem: Access to the database.

    Hello.

    I have a problem with my NI Multisim 12 (Student Edition). It installs correctly and correct registry also, but when I run the program it displays these messages

    "Problem: access to the database."

    The data are not available. Functions using the database will be unavailable. »

    And similarly for the database and database user.

    In the end, it shows this message:

    "Multisim has detected that the main database is not on the current user. Reinstall the program from the original media. »

    I have the original of 2012 Labview and Multisim 11 (from a myDaq) media.
    After that, I can place any component because the program cannot access data bases. I can open previous designs, but it is not properly simulate.

    I am the only user of the computer, and I am the administrator.
    I have a 64-bit Win7 with Core 2Duo 3 GHz.
    I recently installed Labview 2012, which includes this software, so I uninstalled previous Multisim.

    On the same computer without any problem, I used Mutisim 11. I tried to reinstall Mutisim 11, Mutisim 12, delete windows registry, remove files after installation, giving permission for all files and nothing works. Whenever I have reinstall Multisim it displays these messages.

    Please, help me!
    Any help, or anyone with this problem or similar, let me know also.

    Thank you!!!

    Once again, many thanks. I solved the problem just now. I need to change the windows registry, following the instructions in the link. Thank you
    PD: Do not use Ultralibrarian unless you have a non-free license! hehe.

  • ODAC 12 c Release 3 (12.1.0.2) do support the access to the database to Oracle 10 g Release 2 or later?

    Hi ODP.NET Experts.

    ODAC 12 c Release 3 (12.1.0.2) ONLY does support the access to the database to Oracle 10 g Release 2 or later?


    It does not mean that this will not work for versions earlier before Oracle Database 10g Release 2?

    Thank you and best regards,

    Alan

    Hi Alan,

    Yes, it took out RDBMS version 10.2.0.2.0 or superior. Please see below for recommended and supported configurations document

    Supported by Oracle Data Provider (Doc ID 726240.1) configurations for .NET (ODP)

    Thank you

    Indana

  • How can I restore and recover the database to a different server using RMAN?

    Hello Friend:

    How can I restore and recover the database to a different server using RMAN? I want to implement an enviroument which has a different enviroument and different directories.

    That's the two servers. different stored different on each server and a single link, a table library where backup set.

    I can only restore and recover the database of the Rman command. Could you give me a demo?

    Thank you

    How can I restore and recover the database to a different server using RMAN? I want to implement an enviroument which has a different enviroument and different directories.

    That's the two servers. different stored different on each server and a single link, a table library where backup set.

    I can only restore and recover the database of the Rman command. Could you give me a demo?

    Check this box
    * How to restore Rman backups on a different node when the Directory Structures are different [ID 419137.1] *.

  • How to get access to the database

    Hello

    I am trying to find a way to access the data base (not the customer database) business catalyst is there a way to do it?

    Or can I add my own database to BusinessCatalyst.

    I need to get access to the database because we have a contract with a company which provids us with news items every working day

    and they want to connect there system to the database.

    Danny gr.

    Hey Danny,

    The system does not work like that. There is no database that you can access in this sense. If you want to create news on your site yourself build a web application or to use the integrated blog.

  • How to find a table, using the name of the column in the database schema

    Dear all,

    Please help me on

    using the name of the column, how to find a table name in the database schema.

    Thanks in advance

    Hello

    You can query the data dictionary views all_tab_columns and user_tab_columns.
    For example, to find the tables in the scott schema have called deptno columns:

    SELECT  table_name
    FROM    all_tab_columns
    WHERE   owner           = 'SCOTT'
    AND     column_name     = 'DEPTNO';
    

    Remember that anything inside quotes is case-sensitive.

    The all_tab_columns view has one row for each column in each table (or view) that you have the privileges to use.
    The user_tab_columns view is a subset of all_tab_columns, containing only your own tables (and views).

  • Restrict access to the database for the upgrade of the application

    Hi all

    We're performing an upgrade of the application that requires us to perform a lot of scripts on our server Oracle EE 11.2.0.4.

    This specific database has around a website based end and a front end based client, but it is also accessible on the network through TNS SQLPLUS/Toad, ODBC, JDBC etc.

    For obvious reasons, the upgrade, I want to make sure that no one else that the DBA can access the database. Usually change us the listening port of 1521 to let say 1544. This prevents all access.

    But now we run in a physical Data Guard with two Standby configuration so I don't really want to play with the listener ports. The upgrade must propagate changes from primary to Standby. I could interrupt them temporarily, but I would like to avoid that if possible.

    Another way I thought would work was to stop the database and open it in restricted mode. But before that, I would need to grant the privilege of the Session to RESTRICT all users upgrade scripts using (around 5 users).

    This approach using the restricted mode seems reasonable?

    Other opinions would be much appreciated.

    Thank you

    This is exactly what restricted session is for. You can do online and then kill a session is currently connected. No need to stop:

    orclz > alter system enable restricted session;

    Modified system.

    orclz > change system disable restricted session;

    Modified system.

    orclz >

  • Restore the RMAN backup on another server

    Hello

    ENV: Oracle 10 g 2 64 bit, RHEL 5.8 64 bit on ASM, Database size = ~ 1.3 to

    Backup RMAN of PROD will FRA and then backed up to tape. I have limited access to the PROD because it is maintained by 3rd party.

    My client is planning to move this database on their own datacenter (from the 3rd party data center). For test purposes, I asked DBA of 3rd party to provide us with an export of drawings required data pump. Export takes about 8 hours, and the import takes the same time to the new location. To copy the files exported to new locations takes another few hours (over the network). The total size of the dump file is around 500 GB. Thus, a whole cycle of Export-Import-copy takes about ~ 20 + Hrs.

    I want to try another option to reduce the time required for the updating of the database of PROD and which is "use RMAN backup of PROD ' and restore it on the data center server. RMAN full backup takes ~ 4hrs PROD and the restoration should be at the same time (new server has better and faster HW, storage with a SSD). I found this thread very useful on the Oracle Forms on this topic:

    Restore backup RMAN on another server

    This thread contains very good example for a restoration of database on the file system.

    I have a bit of confusion because my database uses ASM. The default location of the backups in PROD is FRA (on ASM == > db_recovery_file_dest = + FRA ). If I understand correctly, the RMAN backup must be in the same place where he was on the PROD Server - i.e. the diskgroup FRA.

    If I get a copy of the part 3 RMAN backup, how would I copy on FRA?

    OR can / should I just change the init parameter "db_recovery_file_dest" on the new server to point to the file system directory where the backup (say "/ ora_backup") and RMAN will pick up and restore the database?

    Please advise!

    Best regards

    You can restore the backup files to any location, then you must configure the channel using the "CONFIGURE CHANNEL device type disk format 'new location ';

    This thread will help

    Restore from a different location from the original location of RMAN backup

  • Confusion between the physical schema definition MSSQL Server

    Hello

    I'm learning ODI 11 g and I am currently working under the physical definition of the schema under topology Navigator. I want to import data from MS SQL Oracle Server; I have defined the source (MSSQL Server) and target servers (Oracle). Testicles of connections and that they are working correctly.

    When you set the physical schema for MS SQL server I am confused with the following fields. Can someone help me understand its use here? I'll be very grateful

    (1) database (catalogue)
    (2) owner (schema) here I read-only user which I already defined as part of the definition of the SQL Server. It does not appear in the list.
    (3) database (catalogue of the work)
    (4) owner (scheme of work)

    Best regards
    Muhammad

    >

    Work catalog database is the location of the temporary objects of ODI (for example, C$, $ I, I have$ tables etc.)
    == I use a single user reading to read the data. How ODI creates temporary objects in SQL server. My work and master repository is the Oracle database.

    Temporary tables are used for a number of things, remember that at this moment in the topology - ODI don't know if your connection to the SQL Server is a source or a target, so he wants all the details, just in case. Reasons for Temp of source tables might be:
    Source of the joins of tables in different data sets with a staging expliitly, set on the source.
    Format (change data capture) objects - Tables to langer, newspaper views (items of $ J) etc.
    If you use only MSSQL tables as sources, you proably find no temporary object created side soruce, arrays of C$ will go into the scheme of work target (in this case, Oracle) that the I'll tables$. So in your case, it's normal.

    Scheme of work is the owner of the database value (catalog of the work) - once again, usually of dbo.
    == use dbo as sys in oracle?

    Type-IIRC no matter what user to the sysadmin role that creates objects have these objects as dbo by default.
    Im not MSSQL DBA if.
    Think of it as a qualifier that ODI will use when generation code selection based on the mappings of interface (for example select database.catalog.table xyz) etc.

    Hope that helps

    Published by: PeakIndicators_Alastair on May 14, 2013 08:53

    Published by: PeakIndicators_Alastair on May 14, 2013 08:54

  • Read only access to the database

    Hi all

    I am unable to give read-only access to a newly created in the Oracle database user. I grant only read permission to the user, but the problem, it's that this user is able to delete data from a table or schema.

    Must only give 'Read only' access to the user who will be sql query for any table, schema, etc.


    I followed the steps.

    1 creation of the user

    2 granted suite privilege

    CREATE SESSION

    SELECT_ANY_TABLE;

    SELECT_ANY_DICTIONARY

    Please guide on the same.

    user8934591 wrote:
    Hello

    I created the user "MFC".

    and granted 'create the Session '.

    Thank you and best regards,

    Fine. But I asked PUBLIC.

  • Access to the complete schema privileges

    I use 10.2.0.4 database.

    I want to create a user account that has permissions on a couple of patterns in the database of reading.

    I don't know if there is an easy way to do it as I normally do by creating a script that contains all objects and with another script that gives the relevant privileges to accounts.

    If my client has requested that if he adds a few later objects to the schema of the source will be user accounts dynamically enjoy privileges to these objects for which I said that manual intervention is necessary.

    Correct me if I'm wrong. I would like to know if there is another easy way to do it dynamically?

    I had a thread in this forum:

    create or replace trigger do_grant
    After you CREATE the schema
    declare
    l_str VARCHAR2 (255);
    number of l_job;
    Start
    If (ora_dict_obj_type = 'TABLE')
    then
    l_str: = ' immediate ' grant select on ' |. '
    ora_dict_obj_name |
    "Scott";";
    dbms_job. Submit (l_job, replace(l_str,'"','''));  I'm just remove. because it is not necessary in your case.
    end if;
    end;
    /

    Source: privileges - "SELECT ANY TABLE"

    HTH
    Girish Sharma

  • Why the registry changes or the installation of security updates does not show in the session remotely from another server?

    Original title: the remote Sessions.

    When you install updates security directly on a particular server or change the registry, how is it that change is not displayed when you establish a remote session on this server to another server? My agency uses retina to analyze our servers for security flaws and he always report servers for missing patches or incorrect permissions on some registry settings. When you connect directly to the server, it ends up being false positive hits. Retina establishes remote connections to all servers in the domain to conduct its analysis. This has been an ongoing battle.

    Hi LadyDee68,

    Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the forum TechNet for assistance:

    http://social.technet.Microsoft.com/forums/en/itproxpsp/threads

    Hope the helps of information.

Maybe you are looking for