Release 9.2.0.1.0 Oracle and ALL_TAB_STATISTICS

Hi all
I have a simple question.
I'm working on a version 9.2.0.1.0 and get some info "fight a bunch of tables.
Until now, I used this:

-----
Select atc.table_name, atc.column_name, decode (round (atc.density), 0, "Alta", "Bassa") density, ats.COMMENTS of the atc, ats ALL_TAB_COMMENTS ALL_TAB_COLUMNS where atc.table_name = ats.table_name and atc.table_name as above ('% & table %');)
-----

I can't access ALL_TAB_STATISTICS.
So my question is, is this ALL_TAB_STATISTICS in this version?

Thank you and have a nice day

Luca

The DICT perspective needs to be able to say that. (or obj$ if you really want to go that deep).

-----------
Sybrand Bakker
Senior Oracle DBA

Tags: Database

Similar Questions

  • Importing a flat at Oracle and update another table

    Hey everybody,

    I am a newbie with Oracle, and I tried for 2 days to fix this below. But all my research and all attempts have failed.

    I have a text file called ReturnedFile.txt. This is a comma separated text file that contains the records of two fields... Envelope and Date returned.

    At the same time, I have a table in Oracle called manifest. This table contains the following fields:

    Envelope

    DateSentOut
    DateReturned

    I need to write something that matter the ReturnedFile.txt in a temporary Oracle table named UploadTemp and compares the data in the field of the envelope of UploadTemp with the domain of the envelope in the manifest. If it is a match, then the field of clear needs updated with field DateReturned in UploadTemp DateReturned.

    I did it with SQL Server without problem, but I tried for two days to make it work with Oracle and I can't understand it. I tried to use SQL * Loader, but I can not even run properly on my machine.

    I create a file of control, registered as RetFile.ctl. Here is the content of the CTL file:

    DOWNLOAD THE DATA
    INFILE 'C:\OracleTest\ReturnedFile.txt '.

    ADD
    IN THE UploadTemp TABLE
    "FIELDS TERMINATED BY '"
    (
    ENVELOPE,
    DATERETURNED
    )

    If I could get SQL * Loader works, here's the code I came with to import the text file, then compare it to the clear table and update if necessary:

    sqlldr UserJoe/Password123 CONTROL=C:\OracleTest\RetFile.ctl LOG = RetFile.log BAD = RetFile.bad

    update the manifest m set m.DateReturned =
    (select t.DateReturned
    of UploadTemp t
    where m.Envelope = t.Envelope
    *)

    That's all I had. As I said, I can't find a way to test it and I have no idea if it's still close.

    Please... can anyone help me? Even close, I'm on this thing?

    Joe

    If your ReturnedFile.txtfile is a comma, you must FINISH BY ',' not COMPLETED BY "'" in your control file.  If it happens to not be a comma ending on a line, then you must also add TRAILING NULLCOLS in your control file.  You must also use a date format for your date in your control file that corresponds to the date format in your file ReturnedFile.txt, where it does not match the format of the date on your system.  You must add a WHERE EXISTS clause in your update statement to prevent any lines that do not have the updated DateReturned with a null value.  Please see the example below.  If it doesn't then please do a copy and paste as I did, that includes a few lines of sample data and table structure.  It would also be useful to see your SQL * Loader or logs SQL * Loader error message.  If you can not get SQL * Loader is running properly, then you may have other issues, such as the permissions of files at the operating system level.  Also, there are options other than the methods below.  For example, you can use an external table, instead of SQL * Loader, if your ReturnedFile.txtfile is on your Serer, not your client.  You can also use the merger instead of update.

    Scott@orcl_11gR2 > type host returnedfile.txt

    enV2, 07/03/2013

    ENV3, 07/04/2013

    ENV4, 07/05/2013

    Scott@orcl_11gR2 > type host retfile.ctl

    DOWNLOAD THE DATA

    INFILE 'ReturnedFile.txt '.

    ADD

    IN THE UploadTemp TABLE

    FIELDS TERMINATED BY ', '.

    trailing nullcols

    (ENVELOPE

    DATERETURNED date "yyyy-mm-dd")

    Scott@orcl_11gR2 > create table uploadtemp

    2 (envelope varchar2 (15),)

    date of datereturned 3)

    4.

    Table created.

    Scott@orcl_11gR2 > create clear table

    2 (envelope varchar2 (15),)

    3 date of DateSentOut,

    4 date of DateReturned)

    5.

    Table created.

    Scott@orcl_11gR2 > insert all

    2 in manifests values ("env1", sysdate-7, sysdate-3)

    3 in obvious values ("env2", sysdate-6, null)

    4 in the obvious values ('env3' sysdate-5, null)

    5 Select * of the double

    6.

    3 lines were created.

    Scott@orcl_11gR2 > select * from manifest

    2.

    ENVELOPE DATESENTO DATERETUR

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

    ENV1 June 28, 13 2 July 13

    enV2 29 June 13

    ENV3 30 June 13

    3 selected lines.

    Scott@orcl_11gR2 > host sqlldr scott/tiger CONTROL = RetFile.ctl LOG = RetFile.log BAD = RetFile.bad

    SQL * Loader: release 11.2.0.1.0 - Production on Fri Jul 5 13:15:06 2013

    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

    Commit the point reached - the number of logical records 3

    Scott@orcl_11gR2 > select * from uploadtemp

    2.

    ENVELOPE DATERETUR

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

    enV2 3 July 13

    ENV3 4 July 13

    ENV4 July 5, 13

    3 selected lines.

    Scott@orcl_11gR2 > clear day m

    2. set m.DateReturned =

    3 (select t.DateReturned

    4 t UploadTemp

    5 where m.Envelope = t.Envelope)

    6 where there is

    7 (select t.DateReturned

    UploadTemp 8 t

    9 where m.Envelope = t.Envelope)

    10.

    2 lines to date.

    Scott@orcl_11gR2 > select * from manifest

    2.

    ENVELOPE DATESENTO DATERETUR

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

    ENV1 June 28, 13 2 July 13

    enV2 June 29, 13 3 July 13

    ENV3 June 30, 13 4 July 13

    3 selected lines.

  • Rich web application with JDeveloper 11 g Release 2 (11.1.2.2.0) and MySQL

    Hello.

    I am trying to create a rich web application using JDeveloper 11 g Release 2 (11.1.2.2.0) and the MySQL database. I followed this tutorial:

    http://docs.Oracle.com/CD/E18941_01/tutorials/jdtut_11r2_55/jdtut_11r2_55_1.html

    In step 2: strengthen the Business Services, I create a new database of my MYSQL database connection, I test and it's ok, the connection is successful.

    But when I try to create the Build Business Services, following the 6 to 19 points, JDeveloper will only create the objects in view. Any entity object appears in the AppModule.

    When I run the AppModule, I have the following error:

    (oracle.jbo.common.ampool.ApplicationPoolException) Houston-30003: Application pool sporting.model.AppModuleLocal is unable to retrieve an application module because of the following exception:
    -Level 1: retail - 0
    com.mysql.jdbc.JDBC4Connection (java.lang.ClassCastException) cannot be cast to oracle.jdbc.OracleConnection

    oracle.jbo.jbotester.ErrorHandler$ ExceptionWrapper: com.mysql.jdbc.JDBC4Connection cannot be cast to oracle.jdbc.OracleConnection
    at oracle.jbo.jbotester.ErrorHandler.displayError(ErrorHandler.java:96)
    at oracle.jbo.jbotester.ErrorHandler.displayError(ErrorHandler.java:89)
    at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:456)
    Caused by: oracle.jbo.common.ampool.ApplicationPoolException: Houston-30003: Application pool sporting.model.AppModuleLocal is unable to retrieve an application module because of the following exception:
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2556)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
    at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:222)
    at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:945)
    at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:646)
    at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:612)
    at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:446)
    Caused by: java.lang.ClassCastException: com.mysql.jdbc.JDBC4Connection cannot be cast to oracle.jdbc.OracleConnection
    at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5534)
    at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5329)
    at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1167)
    at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9021)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
    ... 12 more
    # # 0 in detail
    Houston-30003: Application pool sporting.model.AppModuleLocal is unable to retrieve an application module because of the following exception:
    java.lang.ClassCastException: com.mysql.jdbc.JDBC4Connection cannot be cast to oracle.jdbc.OracleConnection
    at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5534)
    at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5329)
    at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1167)
    at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9021)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
    at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:222)
    at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:945)
    at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:646)
    at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:612)
    at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:446)

    -Level 1: retail - 0
    Houston-30003: Application pool sporting.model.AppModuleLocal is unable to retrieve an application module because of the following exception:
    java.lang.ClassCastException: com.mysql.jdbc.JDBC4Connection cannot be cast to oracle.jdbc.OracleConnection
    at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5534)
    at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5329)
    at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1167)
    at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9021)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
    at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:222)
    at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:945)
    at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:646)
    at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:612)
    at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:446)

    -Level 2: detail - 0
    java.lang.ClassCastException: com.mysql.jdbc.JDBC4Connection cannot be cast to oracle.jdbc.OracleConnection
    at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5534)
    at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5329)
    at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1167)
    at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9021)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
    at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:222)
    at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:945)
    at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:646)
    at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:612)
    at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:446)


    Please, you know what happens. How can I fix this error?

    Thanks in advance.

    When using MySQL, you must configure the business components ADF for use "SQL92" SQL flavor instead of 'Oracle' SQL flavor. He's seen your stack trace that you use 'Oracle' SQL flavor (because the OracleSQLBuilderImpl class is used instead of the class of BaseSQLBuilderImpl). The OracleSQLBuilderImpl class (which is used internally when the SQL flavor is 'Oracle') uses the features of Oracle DB connections and it assummes an Oracle DB connection (so he throws the connection to OracleConnection, causing the exception).

    Dimitar

  • corresponding data types n/b oracle and sql server

    everyone here knows that if there is a list of the data types supported by oracle and sql server (no matter releases and versions?

    an immediate response would be appreciated.

    Thank you.

    Hello

    Next post might be useful for you:

    http://msdn.Microsoft.com/en-us/library/ms151817.aspx

    If that's what you're looking for, then mark the question answered and closed.

    Kind regards
    Naveed.

  • ODI agent oracle and mysql

    Hello.

    I use 11.1.1.7.0 ODI, I supported oracle and mysql, ODI workflows configured ODI agent to help odiparams recognize the oracle drivers and I was able to start the workflow [without the guests and the agent is able to invoke automatically]. However, in odiparams, can we specifies the mysql drivers both oracle with credentials and start the agent?

    Please advice how to do? I need odiparams configured to manage the agent for mysql and oracle drivers and must call workflow ODI without a manual.

    You simply add jar drivers required for the drivers directory and you can use it in ODI agent

    read http://docs.oracle.com/cd/E28280_01/install.1111/e16453/configure.htm#ODING297-

    3.1.1 adding additional drivers and tools Open to autonomous Agent and ODI Studio

  • How do I learn more about the API Oracle and Workflow

    Dear experts,

    I need to learn more about the oracle and Oracle Workflow API.

    I need to resources or books on this topic.

    Kind regards

    Ahmad,

    Go to http://docs.oracle.com

    Click the Applications icon

    Click on the E-Business

    Click on the link for 12.1 +.

  • Why do we establish oinstall under the main group of oracle and grid users?

    IM and RDBMS version: 11.2.0.4

    Platform: RHEL/OL 6.5

    Why do we set oinstall under the main group for OS proprietary oracle software and grid?

    I would say "The Central stock" is the watchword here.

    orainstall is actually called the "oraInventory group." Member of (oracle and grid) users who belong to this group must read, write and execute privileges on the directory Central inventory which will serve as a catalogue of all oracle related software installed on the server. Whenever users put oracle or grid to level, the patches from the software they own, they should be able to update the respective news in this catalogue.

  • Certification of "Eloqua Oracle and Oracle Content Marketing Cloud Service 2013 pre-sales specialist"?

    Hello

    I want to know I want to take the exam of Eloqua Oracle and Oracle Content Cloud Service 2013 Marketing Specialist pre-sales.
    Currently, I'm taking classes, unable to find the page where I can go for the certification exam.

    Any suggestions?

    Thanks in advance.

    Hello

    You should be able to access through this link: http://ilearning.oracle.com/ilearn/en/learner/jsp/offering_details_home.jsp?classid=1371508648

    I was able to retrieve it by visiting this page, which has little more context that may be useful: Service of Cloud Marketing Oracle Eloqua specialization criteria

    Please like and mark as helpful if you find it useful.

    Joseph

  • dblink oracle to postgres with dg4odbc. ORA-28500: connection between ORACLE and a non-Oracle system returned this message: ORA-02063: preceding line

    Hi, I am creating the database link from a database of Oracle 11 g PostgreSQL with DG4ODBC and unixODBC

    My configured for /etc/odbc.ini

    [PostgreSQL]

    Description = Test to Postgres

    Driver = psqlodbc

    Trace = Yes

    Trace file = /tmp/sql.log

    Database = danieldb

    ServerName =

    UserName = SA

    Password = password

    Port = 5432

    Protocol = 6.4

    ReadOnly = No

    RowVersioning = No

    ShowSystemTables = No

    ShowOidColumn = No

    FakeOidIndex = No

    My configured for /etc/odbcinst.ini

    [ODBC]

    CommLog = 1

    Debug = 1

    FileUsage = 1

    Layout common = No

    Trace = 1

    [psqlodbc]

    Description = PostgreSQL ODBC driver

    Driver=/usr/lib64/psqlodbcw.so

    CommLog = 1

    Debug = 0

    FileUsage = 1

    My configured for /u01/app/oracle/product/11.2.0/xe/hs/admin/initPostgreSQL.ora

    HS_FDS_CONNECT_INFO = PostgreSQL

    HS_FDS_TRACE_LEVEL = 0

    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbcpsql.so

    Set ODBCINI=/etc/odbc.ini

    My configured for /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora

    Listener =

    (ADDRESS = (PROTOCOL = TCP) (HOST = oracle-poc)(PORT = 1521))

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = PostgreSQL)

    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe)

    (PROGRAM = dg4odbc)

    (ENVS="LD_LIBRARY_PATH=/usr/lib64:/u01/app/oracle/product/11.2.0/xe/lib')

    )

    )

    My configured for /u01/app/oracle/product/11.2.0/xe/network/admin/tnsname.ora

    PostgreSQL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = oracle-poc)(PORT = 1521))

    (CONNECT_DATA =

    (SID = PostgreSQL)

    )

    (HS = OK)

    )

    I'm trying to created public database link:

    CREATE DATABASE LINK PUBLIC 'orapos' CONNECT to 'HIS' IDENTIFIED BY 'password' USING 'PostgreSQL ';

    When I used tnsping

    [root@oracle-poc admin] # tnsping PostgreSQL

    AMT Ping utility for Linux: Version 11.2.0.2.0 - Production on May 16, 2013 20:34:19

    Copyright (c) 1997, 2011, Oracle.  All rights reserved.

    Use settings files:

    /U01/app/Oracle/product/11.2.0/XE/network/admin/SQLNET.ora

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = oracle-poc)(PORT = 1521)) (CONNECT_DATA = (SID = PostgreSQL)) (HS = OK))

    OK (0 msec)

    and finally, I try to use the database link:

    "SQL > select * from tabel2"@orapos ".

    2;

    Select * from 'tabel2"@orapos '.

    *

    ERROR on line 1:

    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:

    ORA-02063: preceding the line of ORAPOS

    What wrong with my setup?

    Thank you and best regards,

    Daniel

    Daniel,

    The problem is that you are using the ODBC Postgres driver for the HS_FDS_SHAREABLE_NAME parameter, but this must be an ODBC driver manager and not the driver ODBC Psotgres.
    Go to the.

    http://www.unixODBC.org/

    Click the 'Download' and follow the instructions to download the 2.3.1 pilot and make libraries and programs.

    Once this is done, then use the driver as parameter HS_FDS_SHAREABLE_NAME Manager, for example-

    HS_FDS_SHAREABLE_NAME =/home/odbc64/unixODBC/2.3.1/lib/libodbc.so

    Depending on where you install it.

    Kind regards

    Mike

  • difference between the incremental update of the IKM oracle and incremental update IKM oracle (PL - SQL)

    Hello

    What is the difference between the incremental update of the IKM oracle and updated incremental IKM oracle (PL - SQL) and incremental update IKM oracle (line by line).

    Thank you

    Papai

    The only difference is that the second using plsql for incremental update. He also to manage clob issues well enough.

    If you need to know more you can read the description of each KM section.

    Incremental update IKM Oracle (PL-SQL)

    -------

    Description:

    -Knowledge integration module

    -Integrates data into an Oracle table from target in incremental update mode using PL/SQL.

    -Non-existent rows are inserted. already existing lines are updated.

    -Data can be controlled. Data invalid are isolated in the error Table and can be recycled.

    -This KM uses PL/SQL to perform the inserts and updates until and blob columns are supported. Please see the restrictions.

    -When you use this module with a source table logged, it is possible to synchronize the deletions.

    Restrictions:

    -When working with the logged data, if the "synchronize destruction of the newspaper" are executed, the lines deleted on the target are engaged

    -The data are updated even if not changed (upgrade from any (e)

    -The number of lines (number of inserts/changes) is not available because the transactions are performed using PL/SQL

    -Comparison of the data is performed using the key to update defined in the interface. It must be set.

    -L'option TRUNCATE does not work if the target table is referenced by another table (foreign key)

    -Options FLOW_CONTROL, and STATIC_CONTROL call the Module knowledge check to isolate invalid data (if no CKM is defined, an error occurs). These two options should be set to NO in the case where an integration Interface meets a TEMPORARY target data store.

    -L' FLOW_TABLE_OPTION option is set by default to NOLOGGING. Set it to a space if the interface is running on an Oracle 7 database

    -Deletions are committed regardless of the VALIDATION option

    Incremental update of the IKM Oracle

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

    DESCRIPTION:

    -Integrates data into an Oracle table from target in incremental update mode.

    -Non-existent rows are inserted. already existing lines are updated.

    -Data can be controlled. Data invalid are isolated in the error Table and can be recycled.

    -When you use this module with a source table logged, it is possible to synchronize the deletions.

    REQUIREMENTS:

    -The update key defined in the interface is required.

    RESTRICTIONS:

    -When working with the logged data, if the "synchronize destruction of the newspaper" are executed, the lines deleted on the target are engaged

    -L'option TRUNCATE does not work if the target table is referenced by another table (foreign key)

    -Options FLOW_CONTROL, and STATIC_CONTROL call the Module knowledge check to isolate invalid data (if no CKM is defined, an error occurs).

    These two options should be set to NO in the case where an integration Interface meets a TEMPORARY target data store.

    -L' FLOW_TABLE_OPTION option is set by default to NOLOGGING. Set it to a space if the interface is running on an Oracle 7 database

    -Deletions are committed regardless of the VALIDATION option

    -L' ANALYZE_TARGET option will allow to assess correct statistics only if the VALIDATION is set to Yes. Otherwise, the IKM gather statistics based on old data.

    -Default UPDATE option is TRUE, which means by default it is assumed that there is at least one column nonkey specified in a target data store.

  • What is the difference between Oracle and MySQL

    Hello

    I would like to know the major difference between Oracle and MySQL. I have a project to generate tables of database XML files, I used the functions XML built oracle XMLELEMENT, XMLAGG XMLATTRIBUTES, XMLFOREST. I really want to know if these functions (or) similar functions are taken into charge/availabe in MySQL.

    I'm having a hard time finding better linux distro to install Oracle11g, so I intend to move to MySQL. Please help, thanks in advance.

    Supported operating system versions are documented - http://docs.oracle.com/cd/E11882_01/install.112/e24321/pre_install.htm#CIHFICFD

    HTH
    Srini

  • on heterogeneous Services of Oracle and Oracle Gateway

    Hi all


    I am very new at this, I want to know:
    (1) heterogeneous services of oracle and Oracle Gateway even or not? Need to license or not?
    (2) want to creating link database to Oracle 11 g to Sybase 15.5 heterogeneous Oracle using the SERVICES what drivers should I install to my pc (windows 7) and my server (Linux red hat 5)? Please give me the link for this
    (3) is there a step by step link to configure odbc to create dblink?
    (4) what's more convenient connection of heterogeneous Oracle or Oracle Gateway Services sybase?

    Thank you very much for your help

    Concerning

    JOE

    Joe,
    Let the copy/paste your questions and comments online:

    (1) heterogeneous services of oracle and Oracle Gateway even or not? Need to license or not?
    Let me first clarify one thing, heterogeneous services is the generic mechanism in the database Oracle used by all gateways. The product you are talking about is database for ODBC bridge or the bridge of Sybase database.
    Database for ODBC bridge is available for Linux and Windows. It is the free product that does not require a license of Oracle. The license is included in your license data. It's a generic gateway which allows you to connect with any suitable part 3 ODBC driver to a corresponding foreign database. As this is a generic connectivity what words connect to real data, but also to MS Excel or text files as long as you have an appropriate ODBC, capacity driver is very limited.
    More powerful bridge is the bridge of Sybase database. It covers the same functionality as DG4ODBC but it also allows you to work with distributed transactions, you can call procedures stored remote Sybase etc.. This gateway is design for Sybase ASE connections, so it is also able to map some Oracle Sybase equivalent functions. This gateway for Sybase database is NOT free, it requires an additional license.

    (2) want to creating link database to Oracle 11 g to Sybase 15.5 heterogeneous Oracle using the SERVICES what drivers should I install to my pc (windows 7) and my server (Linux red hat 5)? Please give me the link for this
    It depends on your preferences. Two entry doors are available for Linux and Windows. When you use DG4ODBC, you must only be careful that you get a suitable 3rd party ODBC driver for this platform with the size of the corresponding word (64 bits for 64-bit DG4ODBC and 32-bit ODBC driver for DG4ODBC installations on 32-bit platforms).
    The latest version of the software is currently 11.2.0.3 and it can be downloaded (and installed from scratch) of "My Oracle Support". Simply open the patches & updates section, look for Patch 10404530: 11.2.0.3.0 PATCH SET FOR ORACLE DATABASE SERVER and make sure you choose the platform you want to use. Then check out the readme file it lists, which of these download CD contains the gateway software.
    BTW, the CD contains DG4ODBC and DG4SYBS and it is up to you to decide during installation of which product you want to use.

    (3) is there a step by step link to configure odbc to create dblink?
    Installation of the ODBC driver is different from one provider to another, and from platform to platform - so we didn't not a note specifies how to configure the ODBC driver. This kind of question is best managed by the provider of the ODBC driver.
    Regarding the implementation of DG4ODBC on Windows, you will find the appropriate information in the knowledge base on My Oracle Support. Just look:
    How to set up DG4ODBC (gateway for ODBC Oracle database) on 32-bit Windows to connect to Oracle databases Post Install [466225.1 Document]

    and to DG4SYBS:
    How to set up DG4SYBS (Oracle to Sybase database entry door) on 64-bit Unix (AIX, HP - UX Itanium, Linux and Solaris) Post Install [437696.1 Document]
    How the installer DG4SYBS (bridge of Sybase database) on a 64-bit Windows [Document 1319852.1]

    (4) what's more convenient connection of heterogeneous Oracle or Oracle Gateway Services sybase?
    It really depends on your needs. DG4SYBS is sullen more easy to install because this gateway comes with everything you need and you don't have to find an appropriate ODBC driver or get the working ODBC driver. It is also more powerful as you can for example use triggers that replicate changes to data in an Oracle database on the Sybase database in the same transaction. When you want to call Sybase stored procedures, you can also do this with DG4SYBS. So it really depends on your needs.

    -Klaus

  • Number of databases such as Oracle and SQL Server in the same application ADF

    Hello

    In my application, I need to use two different databases such as Oracle and SQL Server. There are screens that I need to develop in the ADF where I need to involve fields of the tables in these two different databases. I just want to know - is it possible to do so in application of the ADF?

    Or to create a sort of link between these databases in the backend? Then create a view object involving some distributed SQL queries. What can I do with this type of request than anything? I mean, can I use the two insert or update operation using this VO?

    Or y at - it another way to do this?

    Please help, help here would be really appreciated. I've been stuck with this problem for a while now. I did search our forums for the same problem, but was not able to find a reliable solution.

    Thank you
    Vijay

    It's still not clear to me if you need two db tables in a query, or a transaction.
    If this is the case, your best option (to my knowledge) is to use a db link. in this way, you only need to access (for example the oracle db) and can access the objects from the other data from the oracle database.
    I don't understand
    >
    (3) a model project with a meeting of the two datasource. I selected a data source and created OT and VO. When I have selected a different data source and select tables to create VO and EO and finished but these EO and VO is displayed in project. >

    (2) If you need to link data from these two dbs you can not use this approach (see the note at the top of the post)

    Timo

  • Oracle and database Types invalid packets

    Hello!

    how re - validate component 'packages of database Oracle and Types. The current situation in DBA_REGISTRY indicates as "INVALID" change timestamp in 30 June 2012 10:24:40 '. While reviewing the alerts log, I found the following entries just before the status not VALID (I guess).

    Sat Jun 30 10:24:35 2012
    ID of the SERVER COMPONENT = UTLRP_BGN: timestamp = 2012-06-30 10:24:35
    ID of the SERVER COMPONENT = UTLRP_END: timestamp = 2012-06-30 10:24:39

    can anyone help on what could have caused the status "INVALID" suddenly. now, how revalidate the component. is - it safe run catproc.sql once more in a restricted session.

    database version: 10g SE (10.2.0.4.0)
    host server: rhel 5.4 x86_64

    Thanks in advance!

    Rgds,
    shannura
    /

    Hello. This usually happens after upgrade. try to recompile invalid objects with utlrp.

    Understand the State of the component
    http://docs.Oracle.com/CD/E11882_01/server.112/e25513/statviews_4208.htm#REFRN23186

    Recompilation of invalid schema objects
    http://www.Oracle-base.com/articles/Misc/recompiling-invalid-schema-objects.php

    Please do not forget to change the status thread answer whether it is possible when believe you your thread replied, he pretend to wasting time in other forums users while they are looking outstanding which is not answered, thank you for understanding

    Concerning
    Javid Hasanov

    Published by: Julien Hesenov on July 5, 2012 21:49

  • Only Oracle and retail analytics.

    Dear friends,
    Is it necessary to create the database during the installation of oracle?
    If I install analytical detail here too we must create the db instance.
    So can we escape the process of creation of the db during installation of oracle and later create db installation of RA?
    Thank you
    Manish

    Manish Subedi says:
    Dear friends,
    Is it necessary to create the database during the installation of oracle?

    No, you can do a software installation only & no DB will be created.

Maybe you are looking for

  • How do I Change reorganize my favorites or manage by creating folders?

    For Firefox Mobile: How I do or I even to edit or reorder my list of bookmarks or manage by creating categories of records? I can't able to rearrange my favorites moving them upwards or downwards?

  • When Firefox opens a pop-up window with a Web site, it comes up blank - what to do?

    It happened when I was on the site of Medicare, I think also when I tried to print an invoice in Amazon, and a Web site, I use all the time that I subscribe to-normally Firefox opens a new window with the information, but the window with the blue in

  • Unable to download Windows Update

    Having a lot of trouble with the updates of the foregoing, see many people with the same problem.  They all fail with the download, but the problem is, is there a solution to this? It made my head! * Thread title changed by the moderator. Reason: Add

  • NTP CONFIG

    All, I have a config NTP work but all my time on all my routers is off due to DST. I am on the side is. Is it possible to configure the ntp config to include daylight saving time?

  • Smartphones blackBerry a dfferent screen lines through it color

    My blackberry bold 9780 has stopped working recently and I accidentally dropped a few days ago. He had many other lines of color running up & down the screen when I turned on, I tried locking and unlocking the phone to see if it would make a differen