Connection to the database to Oracle using Oracle Apex 5.0.1

Hi all

Is it possible to connect to the Oracle (Oracle SQL Developer 4.1.1) database using Oracle Apex 5.0.1 instead of using the object browser. As he was more workspace after you have downloaded the data we have on CSV Excel.

For example: regardless of the tables I've created in the Application Builder is created in the object browser. We have limited the workspace of 500 MB. This is the reason why we cannot use this method to load the data and retrieve it. (Note: can I ask 2 GB of space to work on the approval of the Director, who is still not sufficient)

Is it possible that I will create an apex.oracle.com application by using the application builder and I will create in the database tables. When I load the file in application, data will be stored in the database Oracle instead of the object browser.

Well let me know is possible, if yes, how can I proceed.

If this isn't the case, please let me know how I can get more workspace.

According to my understanding, other possibilities are: 1) taking backup of old files and free up space, 2) create another workspace and get extra work space.

Thanks for your help!

Kind regards

Vinod

Hello

When you load data using APEX SQL Workshop utilities for example, the data is stored in your database tables.

Object browser is just seen tool your schema as the table objects and the data in the tables, just as SQL Developer.

If you have no good reason to keep these files that you downloaded in the workspace, delete those. Data is stored in database tables.

Kind regards

Jari

Tags: Database

Similar Questions

  • Unable to connect to the database from Oracle Forms server

    Hello

    I installed Oracle Forms on top of Weblogic server. When I try to connect to an Oracle Forms home by TNS naming database, it returns error "ORA-12504". It works fine when I use EZConnect.

    D:\Oracle\Middleware\FRHome\BIN >. \sqlplus myuser/mypass@auhdb2

    SQL * more: version 11.1.0.7.0 - Production on Sun Sep 28 10:28:34 2014

    Copyright (c) 1982, 2008, Oracle.  All rights reserved.

    ERROR:

    ORA-12504: TNS:listener did not have the SERVICE_NAME in CONNECT_DATA

    D:\Oracle\Middleware\FRHome\BIN > @//auhdb2/auhdb2 mypass/myuser mypasssqlplus

    SQL * more: version 11.1.0.7.0 - Production on Sun Sep 28 10:28:55 2014

    Copyright (c) 1982, 2008, Oracle.  All rights reserved.

    Connected to:

    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL >

    Here are the specifications of the environment:

    Server operating system: Windows 2008 R2 64-bit EA

    WebLogic: Weblogic Version 10.3.6

    Forms and reports: 11.1.2.2

    Database, I am trying to connect to: Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 on Windows 2003 Server

    Tnsnames configuration in D:\Oracle\Middleware\FRHome\network\admin:

    AUHDB2 =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = auhdb2) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = auhdb2)

    )

    )

    Thanks in advance.

    I want to update this post because I understood what was the matter.

    The TNSNAMES file. ORA file must be created in ORACLE_INSTANCE/config, not in %ORACLE_HOME%\FRHome\network\admin

    It was interesting for me!

  • not able to connect to the database using the oracle instant client

    Hello

    I am not able to connect to the database using the instant oracle from my local PC client. They use to connect to the database files and sqlnet.ora files LDAP.ora. If I want to test the connection, I found this executable tns wasn't there, so not able to tnsping. So I'm not able to solve this problem.

    Please let me know if a solution for everything

    Client Oracle: oracle 10.2bFAT client 32-bit

    Platform: windows 7 64-bit

    Thank you
    Veera

    There is little that tnsping can do sqlplus can't.

    Instead of
    tnsping mydb.myorg.com
    Try
    sqlplus-s-L /@mydb.myorg.com
    or
    sqlplus-s-L user/[email protected]

    If you get
    ORA-12154: TNS: could not resolve the connect identifier specified
    you know that the customer could not resolve 'mydb.myorg.com '.

    If you get
    ORA-12541: TNS:no listener
    then "mydb.myorg.com" could be resolved, but there is no listener it running.

    If you get
    ORA-12514: TNS:listener is not currently of service requested in connect descriptor
    then "mydb.myorg.com" could be solved, the listener is in place, and the database is out of service.

    If you get
    ORA-01017: name of user and password invalid. connection refused
    you know that 'mydb.myorg.com' has been successfully resolved, and the database is running.

    If you want more details, such as how and what "mydb.myorg.com" is resolved, turn the tracking by adding the following to "sqlnet.ora:
    TRACE_LEVEL_CLIENT = ADMIN
    TRACE_DIRECTORY_CLIENT = C:\TEMP (a writable directory)

    Then you will find lines like this in the trace file:

    -THE INFORMATION SOURCE PARAMETER FOLLOWS-
    Attempt to load system pfile source C:\oracle\network\admin\sqlnet.ora
    Source of the setting successfully loaded

    Attempt to load the local pfile source C:\Dokumente und Einstellungen\lanadvall\sqlnet.ora
    The parameter source has not been loaded.

    This shows you which configuration files are read, followed by the settings real read.

    nnfgrne: will read if path adapters
    nnfgrne: switching adapter LDAP

    He's now looking for LDAP name resolution.

    nnfloidinfocache: Info: insert the value DIRECTORY_SERVSSL = oid.host.myorg.com:389 at index 0 in NLPA_CACHE

    These are LDAP servers, he is trying.

    nnflilc: conn sync opening of oid.host.myorg.com:389

    nnflfdn: turning simplified mydb.myorg.com name to a unique name.
    nnflfdn: using the administrative context: dc = prod
    nnflfdn: the domain name resulting is cn = mydb, cn = OracleContext, dc is myorg, dc = com

    nnflrne1: runs the directory for dn: cn = mydb, cn = OracleContext, dc is myorg, dc = com
    nnflqbf: search: Base: cn = mydb, cn = OracleContext, dc is myorg, dc = com, range: 0, filter: (objectclass = *)

    nnfgrne: query fails, the leap to the next map

    Did not work. Try the other adapters:

    nnfgrne: switching adapter EZCONNECT

    snlinGetAddrInfo: name resolution failed for test64.test

    No luck.

    If the resolution is approved, it will look like this:

    nnfloidinfocache: Info: insert the value DIRECTORY_SERVERS = oid.host.myorg.com:389 at index 0 in NLPA_CACHE

    nnflilc: conn sync opening of oid.host.myorg.com:389

    nnflfdn: turning simplified mydb.myorg.com name to a unique name.
    nnflfdn: using the administrative context: dc = prod
    nnflfdn: the domain name resulting is cn = mydb, cn = OracleContext, dc is myorg, dc = com

    nnflrne1: runs the directory for dn: cn = mydb, cn = OracleContext, dc is myorg, dc = com
    nnflqbf: search: Base: cn = mydb, cn = OracleContext, dc is myorg, dc = com, range: 0, filter: (objectclass = *)

    niotns: the call to address: (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=dbserver.host.myorg.com) (PORT = 1521)) (CONNECT_DATA = (SID = DBNAME) (CID = (PROGRAM = C:\Oracle\ora1020\bin\sqlplus.exe)(HOST=pc247596)(USER=lanadvall)))

    Yours,
    Laurenz Albe

  • Connect to the database using oracle forms

    Hello experts,

    I have installed on my computer, Oracle Developer Suite 10 g (10.1.2.0.2) (including the forms and Designer) and after that I installed Oracle Database 11 g Express Edition (11.2) Beta.
    both facilities are on the same (local) computer.
    When I chose to connect to the database, he wonder about the data connection to the database:
    username, password and database.
    I'm sure that the user name and password are correct, because I have no problem to connect directly to the database (via sql * more).
    could you please tell me what I should write in the field database? I trid XE but it dose not help.
    Can I need to make some changes manully so that it works?
    Please note that the operating system is Windows XP service pack 3.

    Thank you for your help.

    Published by: user1818173 on 28/08/2011 01:43

    Hello
    Have you changed the TNSNAMES file. File of the ORA for DS? You must add the TNS for DS TNSNAMES. ORA file.
    Go to $DB_Default_Home$ \netword\admin and open the TNSNAMES file. ORA file in Notepad. Copy the entry tns where you connect from SQL * more.
    Go to $DS_Default_Home$ \netword\admin and open the TNSNAMES file. ORA file in Notepad. Paste the tns entry that you copied.
    Now try to connect generator of form.
    Kind regards
    Qasim Jules

  • ORACLE client to connect to the database without user name and password

    Customer require us to perform a function:
    On the client server that has installed the ORACLE client. They can connect to the database without username and passwod entry.
    Use "sqlplus / as sysdba" can archive database connection.
    Is it possible to change the configuration to do this?

    See if external authentication support,
    http://docs.Oracle.com/CD/E11882_01/network.112/e16543/authentication.htm#DBSEG99842

    Aman...

  • Error connecting to the Access from Oracle database

    Dear all,

    I am trying to connect to Oracle 9i in the Access database.

    but im getting error when running query below.
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    NCRO: Failed to make RSLV connection
    ORA-02063: preceding 2 lines from MYSQL
    I did the next thing through to connect to the database.

    (1) first of all I did called ODBC1 odbc driver
    (2) I create the following file on the oracle C:\oracle\ora9I\hs\admin\initodbc1.ora Server
    I have change the thing below in initodbc1.ora
    HS_FDS_CONNECT_INFO =ODBC1
    HS_FDS_TRACE_LEVEL = ON
    (3) I made a few changes in sqlnet.ora
    SQLNET.AUTHENTICATION_SERVICES= NONE
    before it was *NTS*
    (4) here's the entries in tnsnames.ora I changed the port of 1521 to 1522 cos 1521 already exists.
    ODBC1.TADAWI.LOC =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1522))
        )
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = ODBC1)
        )
      )
    ODBC1.WORLD =
      (DESCRIPTION =
         (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.251) (PORT = 1522)
      )
      (CONNECT_DATA =
          (SID = ODBC1)
      )
      (HS=OK)
     )
    (5) the code in the file listener
    ODBC1 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1522))
      )
    
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1521))
        )
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
        )
      )
    
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oracle\ora9I)
          (PROGRAM = extproc)
        )
        (SID_DESC =
          (GLOBAL_DBNAME = orcl)
          (ORACLE_HOME = C:\oracle\ora9I)
          (SID_NAME = orcl)
         )
         (SID_DESC =
          (PROGRAM = hsodbc)
          (ORACLE_HOME = C:\oracle\ora9I)
          (SID_NAME = ODBC1)
        )
      )
    (6) after that I created
    SQL> CREATE DATABASE LINK MYSQL CONNECT TO XTRACK IDENTIFIED BY XTRACK USING 'ODBC1.WORLD'
    
    Database link created.
    (7) the listener status
    LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 04-MAR-2012 21:26:16
    
    Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
    
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=admin-amc)(PORT=1521)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production
    Start Date                04-MAR-2012 20:52:33
    Uptime                    0 days 0 hr. 33 min. 44 sec
    Trace Level               off
    Security                  OFF
    SNMP                      OFF
    Listener Parameter File   C:\oracle\ora9I\network\admin\listener.ora
    Listener Log File         C:\oracle\ora9I\network\log\listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC2ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=8080))(Presentation=HTTP)(Session=RAW))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=2100))(Presentation=FTP)(Session=RAW))
    Services Summary...
    Service "ODBC1" has 1 instance(s).
      Instance "ODBC1", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl" has 2 instance(s).
      Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    I did exactly what documents said, and it will not be through any error but atlast when I try to access access database tables it gives me the error below
    SELECT * FROM DBO_COMPANY@MYSQL
                              *
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    NCRO: Failed to make RSLV connection
    ORA-02063: preceding 2 lines from MYSQL
    I use Oracle9i Enterprise Edition Release 9.2.0.1.0 any help will be appreciate.

    Concerning

    Houda

    Published by: houda Shareef on 4 March 2012 10:25

    I guess that your listener.ora always has a section of SID and you did not copy paste... Then please post the entire file

    Please open a command line window and do:
    C:\oracle\ora9I\bin\hsodbc
    After all output including the call.

    Published by: kgronau on March 6, 2012 18:31
    When the listener above is still correct, the cause would be that you have 2 SID with the same name in your listener.ora:
    SID_LIST_ODBC1 =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = ODBC1)
    (ORACLE_HOME = C:\oracle\ora9I)
    (PROGRAM = hsodbc)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = ODBC1)
    (ORACLE_HOME = C:\oracle\ora9I)
    (SID_NAME = ODBC1)
    )
    )

    Please change to:
    SID_LIST_ODBC1 =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = ODBC1)
    (ORACLE_HOME = C:\oracle\ora9I)
    (PROGRAM = hsodbc)
    )
    )

    Published by: kgronau on March 6, 2012 18:34
    Once you change the listener, please stop and start the listener called odbc1: odbc1 stop lsnrctl and lsnrctl start odbc1

  • slow down the connection to the database (Oracle enterprise 11g ed on RHEL 4)

    Hello
    I am facing problem when connecting to the database connection using sqlplus to my database the time consuming and it increases as the number of users connect to it increases. (although with a user of sqlplus scott/tiger@db takes 15 seconds and when simultaneously if multiple users try to connect then time required in connection is alsomost = number of user * 15 seconds.)

    same tnsping takes huge when 4-5 user tries to connect to the database.
    What should I do for debugging?

    Hello

    Try this:
    -Remove any nameserver entry in /etc/resolv.conf on server
    -Add name to the/etc/hosts machine like that
    127.0.0.1 localhost.localdomain localhost
    10.10.20.134 piorovm.localdomain piorovm

    Kind regards
    Marcin Przepiorowski
    http://oracleprof.blogspot.com/

  • Link to the database of Oracle 11 g 11.2.0.3.0 to SQLServer 2012 - 11.0.5058.0 (X 64)

    Hello.

    I read a lot of discussion and documentation on this subject, but the things I'm trying to work.

    I want to connect from Oracle to SQL Server. I did the following steps:

    (Taking into account, that I want to connect to a database SQL SERVER called GS2PIASQL03\INSTANCE3)

    Create the odbc connection in the oracle called running GS2PIASQL03 Server

    Name: GS2PIASQL03

    Description: GS2PIASQL03

    Server: GS2PIASQL03\INSTANCE3

    With authentication sql server using a login ID and passwotrd entered by the user

    Connect to sql server to obtain default settings for the configuration option extra

    User: rema_read

    Password: xxxxxxx

    Master default database

    Use ANSI quoted identifiers

    Use nulls, padding and ANSI warnings

    Perform the conversion of character data

    Finishing and test the source data before TESTS COMPLETED successfully.

    Content of LISTENER.ora

    listener.ora # Network Configuration file: S:\app\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = S:\app\oracle\product\11.2.0\dbhome_1)
    (= Extproc PROGRAM)
    (ENVS = "EXTPROC_DLLS=ONLY:S:\app\oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )
    (SID_DESC =
    (SID_NAME = CRM)
    (ORACLE_HOME = S:\app\oracle\product\11.2.0\tg_1)
    (PROGRAM = S:\app\oracle\product\11.2.0\tg_1\bin\dg4odbc.exe)
    )
    (SID_DESC =
    (SID_NAME = CRMSVC)
    (ORACLE_HOME = S:\app\oracle\product\11.2.0\tg_1)
    (PROGRAM = dg4odbc)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = REMA)
    (ORACLE_HOME=S:\app\oracle\product\11.2.0\dbhome_1)
    (SID_NAME = REMA)
    )

    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = SLPIAM29)(PORT = 1521))
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    )
    )

    ADR_BASE_LISTENER = S:\app\oracle

    Content of the TNSNAMES file. ORA

    tnsnames.ora # Network Configuration file: s:\app\oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.


    GS2PIASQL03 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp)
    (HOST = 172.16.61.18)
    (PORT = 1521)
    )
    (CONNECT_DATA = (SID = GS2PIASQL03))
    (HS = OK)
    )

    Content of initGS2PIASQL03.ora

    HS_FDS_CONNECT_INFO = GS2PIASQL03

    #HS_FDS_SHAREABLE_NAME = C:\Windows\System32\odbc32.dll

    HS_FDS_TRACE_LEVEL = Debug

    Stop and start receiving and then create a database link running the following command in Toad:

    CREATE THE DATABASE LINK TEST_SQLS PUBLIC

    To CONNECT to "read_rema".

    IDENTIFIED BY 'password '.

    WITH THE HELP OF 'GS2PIASQL03 '.

    /

    When I test the link of database (with the option of Toad) or run a query such as:

    Select * of sys.sysobjects@TEST_SQLS;


    I get the same error

    *********************************************************************

    Link: "TEST_SQLS".

    Error: ORA-28545: error diagnosed by Net8 when connecting to an agent

    Cannot retrieve the text of the message NETWORK/NCR 65535

    ORA-02063: preceding 2 lines of TEST_SQLS

    *********************************************************************

    Please I really need your help I really really need this to work and I'm completely lost know.

    I look forward to hearing from you soon.

    Vinny.

    Hey Vinny,

    No, the host tnsnames.ora must not refer to the place where the SQL * Server database is active.  The tnsnames.ora entries is intended to guide the user who calls the database link by using this entry to a listener running on the computer and the port in the entry. The listener then directs the user to everything that is referenced by the SID in the listener. If it is an Oracle database, then you are linked to the database. If this is an entry of gateway referenced by having the (HS = OK) then you are linked to the gateway which then liaises with what non-Oracle database is accessible through the gateway of the option.  You cannot directly connect to the non-Oracle database by using the IP address of machine non-Oracle in tnsnames.ora. You need to go through the door entry referenced by the listener to establish the connection.

    For the listener, you can set the path to the ORACLE_HOME of the gateway or RDBMS. However, the best option is to give the listener a different name from the default, so for the gateway, you might have-

    SID_LIST_LISTENER_GTW =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = GS2PIASQL03)

    (ORACLE_HOME=S:\app\oracle\product\11.2.0\tg_1)

    (PROGRAM = dg4odbc)

    )

    )

    LISTENER_GTW =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = SLPIAM29)(PORT = 1525))

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1525))

    )

    )

    You can then use-

    stop LISTENER_GTW

    Start LISTENER_GTW

    Kind regards

    Mike

  • Oracle BI EE installed the database on Oracle 12 c

    Hi, Im trying to install Oracle BI EE, I started to run RCU on Oracle Database 12 c but I get this error:

    oracle.sysman.assistants.rcu.backend.validation.PrereqException: UCR-6083: impossible - check requirement prerequisites for the selected item: BIPLATFORM

    Refer to the journal of the RCUS to C:\Users\MCG\Downloads\ofm_rcu_win_11.1.1.6.0_disk1_1of1\rcuHome\rcu\log\logdir.2015-05-14_07-46\rcu.log for more details.

    at oracle.sysman.assistants.rcu.backend.validation.PrereqEvaluator.executePrereqTask(PrereqEvaluator.java:658)

    at oracle.sysman.assistants.rcu.backend.task.PrereqTask.execute(PrereqTask.java:68)

    at oracle.sysman.assistants.rcu.backend.task.ActualTask.run(TaskRunner.java:306)

    at java.lang.Thread.run(Thread.java:662)

    2015-05-14 07:47:42.214 rcu ERROR: oracle.sysman.assistants.rcu.backend.task.ActualTask::run: UCR failed

    oracle.sysman.assistants.common.task.TaskExecutionException: UCR-6083: impossible - check requirement prerequisites for the selected item: BIPLATFORM

    Refer to the journal of the RCUS to C:\Users\MCG\Downloads\ofm_rcu_win_11.1.1.6.0_disk1_1of1\rcuHome\rcu\log\logdir.2015-05-14_07-46\rcu.log for more details.

    ------------------------------------------------------------------------------

    Component: BIPLATFORM

    Error: Failed creating repository control.

    Cause: As SYSDBA to create the repository BIPLATFORM must connect.

    Action: Connect to the database as SYSDBA.  For example, you can connect

    to the database using the SYS account.

    -------------------------------------------------------------------------------

    at oracle.sysman.assistants.rcu.backend.task.PrereqTask.execute(PrereqTask.java:76)

    at oracle.sysman.assistants.rcu.backend.task.ActualTask.run(TaskRunner.java:306)

    at java.lang.Thread.run(Thread.java:662)

    I have to confirm whether Oracle Business Intelligence Enterprise Edition can be supported on the basis of data Oracle 12 c.

    Thank you.

    OBIEE supports Oracle DB 12 c, you can check in the matrix of certification for details (google for the matrix).

    For a certified system, you need to upgrade from weblogic, if it's just to test or a certified system is not required you can also use it directly.

    In case your 12 c is configured as multitenant you must specify a connection to a PDB file and not the CDB (but still using a SYS / SYSDBA account) in the RCI.

  • Connect to the database with SQL * more: is TNSNAMES. ORA used?

    Hello

    We have a local database called DEV01 and a copy of this database in a data center. To be able to connect to both databases, the TNSNAMES file. ORA

    on the local database server (not the one in the data center) has the following entries:

    / * Entry for the local database * /.

    DEV01_local, DEV01_local. WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = server01) (PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = DEV01)
    )
    )

    / * Entry for the database in the data center * /.

    DEV01, DEV01. WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = server02) (PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = DEV01)
    )
    )

    When I connect to the local database server, I set the Oracle environment as follows:

    export ORACLE_SID = DEV01

    export PATH=/opt/oracle/app/oracle/product/9.2.0/bin:$PATH

    export ORACLE_HOME=/opt/oracle/app/oracle/product/9.2.0

    Now I start SQL * more as follows:

    Oracle # > sqlplus user/user

    SQL > select instance_name, host_name from v$ instance;

    INSTANCE_NAME HOST_NAME

    ---------------- ----------------------------------------------------------------

    SERVER01 DEV01

    As the SID is on two databases of the same (DEV01) I really don't understand how Oracle decides which of the SQL databases * more connects to.

    Is it the entry in the TNSNAMES file. ORA?

    But when I start SQL * more as follows:

    Oracle # > sqlplus user/user@DEV01_local

    SQL > select instance_name, host_name from v$ instance;

    INSTANCE_NAME HOST_NAME

    ---------------- ----------------------------------------------------------------

    SERVER01 DEV01

    or

    Oracle # > sqlplus user/user@DEV01

    SQL > select instance_name, host_name from v$ instance;

    INSTANCE_NAME HOST_NAME

    ---------------- ----------------------------------------------------------------

    DEV01 server02

    everything is as expected.

    Does anyone know who is the chosen database when just to connect with 'sqlplus user/user' (without the @DEV01 or @DEV01_local)?

    Any help will be appreciated!

    Rgds

    Jan

    When you connect to the local database that is connected to the server01, you need only specify the sid in the environment, in this case, Oracle tnsnames file to connect, actually uses, it uses any of the listener.  It uses what is called a connection needed.  It is purely a side connection server, and as long as the sid is located in the environment resolves to a database running on that server, you will be get connected.

    When you connect using the @connect_descriptor, like you second case, then Oracle will use the configured naming, including tnsnames, methods to solve the 'real' database  In this case, the auditor is required to create the connection to the database.

    John

  • Not able to connect to the database using OS othenticated user.

    Hi team,

    We use HP UX servers, recently we pass the passive node to active (cluster OS) after that we are not able to connect to the database using OS authenticated the user, but I am able to conenct by user oracle sunig... !

    Please suggest me.

    Thank you
    Maurel.

    Please copy - paste the screen indicating the connection attempt with the authentication of the BONE and the error message.

  • APEX ORACLE INSTALLED IN THE DATABASE OF ORACLE EBS (CANNOT DOWNLOAD APPLICATION)

    Hi friends,

    I have install apex oracle inside the database from oracle ebs on redhat linux 6,-@apexins apex apex temp1 using's script.

    The installation was successful, I created my work space, but when I try to download my application exported in it, at the time when I click on the download link

    path becomes empty.

    Use apex 4.1.1.00.23

    Please I need assistance on this issue.

    After a long search for a solution, I finally found the solution. It is problem of Glassfish 3.1.2

    Solution was obtained from Mathias Hoy's blog.

    file upload | Matthias Hoys

    I downloaded the web-Core, to replace it with the inside glassfish in the folder modules and it work similar magic

  • problem connecting to the database using dbclient

    Can someone help to solve the following question

    The following error occurred when connecting to the database when connecting dbclient to the database on linux from windows
    . TNS dbclient names has been configured with the SID and IP address of the machine from database

    ERROR:
    ORA-12560: TNS:protocol adapter error

    Could you share your tnsnames.ora file

    And refer to this topic

    http://forums.Oracle.com/forums/thread.jspa?MessageID=9142058�

  • RCU error: unable to connect to the database using the contact information provided

    Hello

    I am not able to connect to the database using the remote control 11.1.1.10.1 to create patterns. I ran the UCR even a week ago and I managed to connect. My database and listener are up and running and the host and the credentials are correct. I don't know where is the problem. Any help will be appreciated. Attaching the screenshot for reference.

    rcu.PNG

    Concerning

    Oumaima

    Hi Handal

    Thanks for the reply. Looks like someone had blocked the firewall settings, so I was unable to connect to the database using the port.

    Thank you

    Oumaima

  • 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

Maybe you are looking for