Oracle 11g stats and SQL plan mgt

Oracle 11.0.1.7:
- According to what I have read so far in the various documents it looks like when dbms gather stats run and if that results in new sql plan oracle will not automatically start using that plan until it's verified by sql tuning advisor or is evolved. Is that correct? Is that the default behaviour?
- I just upgraded from 10g to 11g so I am not sure how stats is behaving currently. I am really concerned and want to understand how it's behaving.
- How can I tell what's going on currently in the system in terms of stats gathering and if the new better plan is being used or not.

You have the default setting for the two parameters in place. That means, that if SQL Plan Baselines exist, they will be used, thereby preventing new execution plans from getting used without evolvement
optimizer_use_sql_plan_baselines=true does that.
But by default, there are no SQL Plan Baselines as long as you don't create them - for example with the setting of
optimizer_capture_sql_plan_baselines=trueYou can check whether SQL Plan Baselines exist with
select * from dba_sql_plan_baselines;It should return no rows.

Similar Messages

  • Oracle 11g XE and SQL Developer

    Hello:
    Very new here.  I'm not sure where to post anything.  Apologies, but I'm all over the board.
    I've installed 11g and downloaded SQL Developer (not even sure if this needs to be "installed" as it's just a zip file).
    Anyway, at the SQL command line I enter CONNECT SYSTEM and then my password.  I get the following error:
    ORA 12154:  TNS could not resolve the connect identifier specified.
    Also, the "get started" link does not work either.  Not sure what's going on or if it's specific to my laptop.  I've been trying to connect for two days to no avail.
    thank for any help.

    c\> lsnrctl stat
    LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on 08-SEP-2014 12:28:18
    Copyright (c) 1991, 2014, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       64-bit Windows Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=CFXXXXXXX.xxxxxxxxxxxx.com)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       64-bit Windows Error: 61: Unknown error

  • Oracle 11g - External Table/SQL Developer Issue?

    Oracle 11g - External Table/SQL Developer Issue?
    ==============================
    I hope this is the right forum for this issue, if not let me, where to go.
    We are using Oracle 11g (11.2.0.1.0) on (Platform : solaris[tm] oe (64-bit)), Sql Developer 3.0.04
    We are trying to use oracle external table to load text files in .csv format. Here is our data look like.
    ======================
    Date1,date2,Political party,Name, ROLE
    20-Jan-66,22-Nov-69,Democratic,"John ", MMM
    22-Nov-70,20-Jan-71,Democratic,"John Jr.",MMM
    20-Jan-68,9-Aug-70,Republican,"Rick Ford Sr.", MMM
    9-Aug-72,20-Jan-75,Republican,Henry,MMM
    ------ ALL NULL -- record
    20-Jan-80,20-Jan-89,Democratic,"Donald Smith",MMM
    ======================
    Our Expernal table structures is as follows
    CREATE TABLE P_LOAD
    DATE1 VARCHAR2(10),
    DATE2 VARCHAR2(10),
    POL_PRTY VARCHAR2(30),
    P_NAME VARCHAR2(30),
    P_ROLE VARCHAR2(5)
    ORGANIZATION EXTERNAL
    (TYPE ORACLE_LOADER
    DEFAULT DIRECTORY P_EXT_TAB_D
    ACCESS PARAMETERS (
    RECORDS DELIMITED by NEWLINE
    SKIP 1
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"' LDRTRIM
    REJECT ROWS WITH ALL NULL FIELDS
    MISSING FIELD VALUES ARE NULL
    DATE1 CHAR (10) Terminated by "," ,
    DATE2 CHAR (10) Terminated by "," ,
    POL_PRTY CHAR (30) Terminated by "," ,
    P_NAME CHAR (30) Terminated by "," OPTIONALLY ENCLOSED BY '"' ,
    P_ROLE CHAR (5) Terminated by ","
    LOCATION ('Input.dat')
    REJECT LIMIT UNLIMITED;
         It created successfully using SQL Developer
    Here is the issue.
    It is not loading the records, where fields are enclosed in '"' (Rec # 2,3,4,7)
    It is loading all NULL value record (Rec # 6)     
    *** If we remove the '"' from input data, it loads all records including all NULL records
    Log file has
    KUP-04021: field formatting error for field P_NAME
    KUP-04036: second enclosing delimiter not found
    KUP-04101: record 2 rejected in file ....
    Our questions
    Why did "REJECT ROWS WITH ALL NULL FIELDS" not working?
    Why did Terminated by "," OPTIONALLY ENCLOSED BY '"' not working?
    Any idea?
    Thanks in helping.

    I don't think this is a SQLDeveloper issue. You will get better answers in the Database - General or perhaps SQL and PL/SQL forums.

  • Send encrypted data from oracle 11g to Ms SQL Server 12

    Hi every body,
    we want to send encrypted data from oracle 11g to Ms SQL Server 12:
    - data are encrypted to oracle
    - data should be sent encrypted to Ms SQL server
    - data will be decrypted in Ms SQL server by sensitive users.
    How can we do this senario, any one has contact simlare senario?
    can we use asymetric encription to do this senario?
    Please Help!!
    Thanks in advance.

    Hi,
      What you want to do about copying data from Oracle to SQL*Server using insert will work with the 12c gateway.  There was a problem trying to do this using the 11.2 gateway but it should be fixed with the 12c gateway.
    If 'insert' doesn't work then you can use the SQLPLUS 'copy' command, for example -
    SQL> COPY FROM SCOTT/TIGER@ORACLEDB -
    INSERT SCOTT.EMP@MSQL -
    USING SELECT * FROM EMP
    There is further information in this note available on My Oracle Support -
    Copying Data Between an Oracle Database and Non-Oracle Foreign Data Stores or Databases Using Gateways (Doc ID 171790.1)
    However, if the data is encrypted already in the Oracle database then it will be sent in the encrypted format. The gateway cannot decrypt the data before it is sent to SQL*Server.
    There is no specific documentation about the gateways and TDE.  TDE encrypts the data as it is in the Oracle database but I doubt that SQL*Server will be able to de-encrypt the Oracle data if it is passed in encrypted format and as far as I know it is not designed to be used for non-Oracle databases.
    The Gateway encrypts data as it is sent across the network for security but doesn't encrypt the data at source in the same way as TDE does.
    Regards,
    Mike

  • Forgot my oracle 11g username and password

    hi all
    forgot my oracle 11g username and password , how can i recover them although i tried multiple ways as using / as sysdba and it didnot work .

    Please in addition to your own words, post full copy-paste of command line sessions including actual error messages (e.g. cannot access database is not an actual error).
    Try from a command window (cmd), assuming Windows platform:
    sqlplus / as sysdba
    If it says "Connected to idle instance.", try:
    SQL> startup
    Did you just install XE or was it working before and now suddenly it doesn't? (what changed in the latter case?)
    Edited by: orafad on Nov 24, 2012 7:52 PM

  • HTTP server on Oracle 11g R1 and apex listener

    I have installed APEX 4.0.1 on Oracle 11g R1 and things went well until the installation of the APEX listener.
    - I followed the installation guide and I opted for the basic connection type but I found the following message:
    the network adapter could not establish the connection
    I then checked my services and i noted that i had only four services which are:
    - OracleDBConsoleORCL
    - OracleJobSchedulerORCL
    - OracleOraDb11g_home1TNSListener
    - OracleServiceORCL
    And there is no oracle HTTP server as I had for oracle 9.2 on another machine.
    Can Anybody help on this ?
    thanks in advance for your help,
    Pierre

    Hi Pierre,
    as Tony posted, you usually chose the APEX Listener to access your APEX instance by using a J2EE container (like OAS/OC4J, Oracle WebLogic, Sun Glassfish) rather than using OHS+mod_plsql. So you'd need to search for the service that comprises the J2EE container to which you deployed the war-File for the APEX Listener.
    So as it seems you did not deploy to an existing J2EE container (you would not the proper URL...) you probably want to use the embedded web container of the APEX Listener. This container does not register any service and is started on demand.
    If you deployed to an existing J2EE container, use its access scheme ( PROTOCOL://HOST:PORT/CONTEXT ) to access the APEX Listener, where CONTEXT is defaulted to apex if you stick to the installation manual. Remember to configure the APEX Listener after deployment via PROTOCOL://HOST:PORT/CONTEXT/listenerConfigure , as described in the installation manual.
    Please follow the installation manual for the APEX Listener thoroughly to configure that instance and get the right port to access the service on the machine on which you started that embedded container, probably your localhost.
    -Udo

  • Oracle 11G,10g and DB2 replication?

    Oracle 11G,10g and DB2 replication?
    =======================================
    We are using Oracle 11gR2. We have a table in Oracle filled with partial data (over 200K+, it may grow to 1M). The rest need to be obtained from DB2. It is not from one DB2 table.
    The DB2 is configured to run Oracle 10g within it. We have given http interface, where we need to supply(Push) the partial data using HTTP_UTIL package for each row, then DB2/Oracle 10g return the result as XML.
    It is a network heavy, slow and not reliable.
    Are we able to replicate tables between Oracle 11g and DB2/oracle 10g?
    We like to leverage the features on 11gR2 effectively.
    I find some interesting folks in this forum.
    Did anyone face such situation?
    I like to know the best approach with good performance options.
    Any idea?
    Thanks in helping.

    qwe16235 wrote:
    The DB2 is configured to run Oracle 10g within it. We have given http interface, where we need to supply(Push) the partial data using HTTP_UTIL package for each row, then DB2/Oracle 10g return the result as XML.
    Any idea?http://en.wikipedia.org/wiki/Rube_Goldberg_machine
    why is DB2 required to produce XML?

  • Error while install oracle 11G forms and reports  -creating Reports  Server components error

    Hello,
    while install oracle 11G forms and report i face below issue on below step ( configuration step)
      >> creating Reports  Server components error
    [2014-10-15T09:26:26.328+03:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 45] [ecid: 0000K^EnlatDg^WFLzfP8A1KFHkM00000^,0] [SRC_CLASS: oracle.as.config.utl.FileUtil] [SRC_METHOD: isWebsphereEnabled] Java property  is not defined. isWebsphereEnabled=false
    [2014-10-15T09:26:26.328+03:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 45] [ecid: 0000K^EnlatDg^WFLzfP8A1KFHkM00000^,0] [SRC_CLASS: oracle.as.config.utl.FileUtil] [SRC_METHOD: isWebsphereEnabled] Java property  is not defined. isWebsphereEnabled=false
    [2014-10-15T09:26:26.449+03:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 45] [ecid: 0000K^EnlatDg^WFLzfP8A1KFHkM00000^,0] [SRC_CLASS: oracle.as.config.utl.FileUtil] [SRC_METHOD: isWebsphereEnabled] Java property  is not defined. isWebsphereEnabled=false
    [2014-10-15T09:26:26.458+03:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 45] [ecid: 0000K^EnlatDg^WFLzfP8A1KFHkM00000^,0] [SRC_CLASS: oracle.as.config.impl.OracleASInstanceProvisioner] [SRC_METHOD: directoryIsPopulated] directoryIsPopulated found unexcluded file/dir: /u01/app/oracle/product/fmw11g/asinst_1/tmp
    [2014-10-15T09:26:26.459+03:00] [as] [TRACE:32] [] [oracle.as.config] [tid: 45] [ecid: 0000K^EnlatDg^WFLzfP8A1KFHkM00000^,0] [SRC_CLASS: oracle.as.config.impl.OracleASInstanceProvisioner] [SRC_METHOD: calcDirectoryStatus] Oracle Instance directory status: INSTANCE

    Ram,
    You didn't read the response in your other thread.
    WLS 10.3.5 isn't the right version of WLS to use with Forms 11.1.1.3
    John

  • Oracle 11g Advanced PL/SQL 1Z0-146

    Dears,
    Good Day
    I spent a lot of time to search on Material Guides to prepare to (Oracle 11g Advanced PL/SQL 1Z0-146) Exam.
    Please anyone have free Materials or free useful sites tell me about it.
    Waiting your kind response.
    Thank you&
    Best Regards

    Oracle certification related questions are better answered at {forum:id=459}

  • Oracle 11G database and Application Server installed on same server

    What are the pros and cons installing Oracle 11G database and Oracle Application Server (Forms and Reports) on the same server?
    Thank you in advance, Sonya

    Some may want their data in a separate network zone for security reasons.
    It also depends if it is the same people that do maintenance on db and appserver.
    It is lower cost with one server, and only 1 Os to set up.

  • Oracle 11g - Merge PL/SQL issue - Same code work in Oracle10g

    Below PL/SQL block stop working after Oracle11g upgrade, working fine in Oracle10g
    CREATE TABLE TMP_TABLE1 (P_PROVIDER NUMBER, P_ID NUMBER);
    CREATE TABLE TMP_TABLE2 (COL1 NUMBER, COL2 NUMBER);
    CREATE TABLE TMP_TABLE3 (COL3 NUMBER, COL4 NUMBER);
    BEGIN
    FOR i IN (SELECT p_provider p_provider, p_id p_id FROM tmp_table1)
    LOOP
    MERGE INTO TMP_TABLE2 T
    USING ( SELECT I.P_PROVIDER P_PROVIDER,
    I.P_ID P_ID FROM DUAL) DDD
    ON (T.COL1= DDD.P_PROVIDER AND T.COL2 = DDD.P_ID)
    WHEN NOT MATCHED THEN
    INSERT (COL1, COL2) VALUES (1, (SELECT x.COL4 FROM TMP_TABLE3 x WHERE x.COL4 = DDD.P_ID));
    END LOOP;
    END;
    Oracle 10g Version:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for Solaris: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    Oracle 11g Version:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE 11.2.0.2.0 Production
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 – Production
    Oracle11 g Error:
    Error at line 5
    ORA-06550: line 11, column 93:
    PL/SQL: ORA-00904: "DDD"."P_ID": invalid identifier
    ORA-06550: line 5, column 7:
    PL/SQL: SQL Statement ignored
    Script Terminated on line 5.
    Is there any patch/work around in Oracle 11g?
    Please advice
    Thank you
    Raj

    We had a similar issue when our organization upgraded to 11gR2.
    It looks like it boils down to a change Oracle made in regards to how it works with correlated subqueries within an insert statement.
    Anyway, this thread has a little more information:
    Merge Command in 10g vs 11g
    And it says to look at Metalink note 1109983.1 (which I can't seem to find).
    Anyway, a workaround in thread is suggests (which worked for us) to wrap the insert subquery around a dummy decode clause, and oddly it will work.
    eg:
    INSERT (COL1, COL2) VALUES (1, (decode(1,1,(SELECT x.COL4 FROM TMP_TABLE3 x WHERE x.COL4 = DDD.P_ID)) ) ) ;
    Quite a kludge, but at least it is an immediate fix to the problem, without having to rewrite anything.

  • Oracle 11g Certification and Workshop Requirement

    Hello,
    I have recently cleared below Oracle Exams.
    1Z0-051 (SQL Fundamentals)
    1Z0-052 (Oracle 11g Admin I)
    1Z0-053 (Oracle 11g Admin II) - Cleared in May 2013
    I haven't completed the Workshop requirement which indicates I am not OCP as of now.
    Question is, is there any specific time limit within which I have to complete the Workshop? Specifically can I wait for another 6 months before completing the Workshop?
    If I can wait for 6 months, is there any chance OU will stop offering these workshops in next 6 months (by Dec 2013)?
    Thanks

    There is no time limit. But more importantly, you do not need to attend either of the DBA workshop courses. There are many courses which will meet the requirement. As you have the knowledge to  have passed the exams, you should attend a more advanced course. Perhaps the Database Performance Tuning course, or (if you want a shorter and  cheaper one) SQL Statement Tuning. 

  • 1Z1-146 Oracle 11g: Advanced PL/SQL

    Hi All,
    have planned to take up 1Z1-146 Oracle Database 11g: Advanced PL/SQL Beta exam by next month.
    I don't find ample study materials or sample questions online. Can you suggest some resources of study? Did anyone completed the above certification exam before? If so, please let me know ..
    Thanks

    Hi Rose18
    Have you consulted the following link ?
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_org_id=&lang=&p_exam_id=1Z0_146
    Oracle Recommended Training and Preparation is Oracle Database 11g: Advanced PL/SQL
    It seems that no book and/or samples questions are available at the moment for that exam.
    Hope this help you.

  • Need help setting up DB Link from my Oracle 11g XE to SQL Server.

    Hi,
    I'm trying to create a DB Link from my Oracle 11g Express Edition in a Windows XP machine to an SQL Server. Here are the steps I've done so far.
    1. Created and setup an ODBC Connection for the SQL Server DB. Named it SQLSERVER. Windows Authenticated.
    2. Modified listener.ora. See below.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
          (PROGRAM = extproc)
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
          (PROGRAM = extproc)
        (SID_DESC =
          (SID_NAME = SQLSERVER)
          (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
          (PROGRAM = hsodbc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)3. Modified tnsnames.ora. See below.
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    SQLSERVER =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT=1521))
        (CONNECT_DATA =
          (SID = SQLSERVER)
      (HS = OK)
    )4. Copied C:\oraclexe\app\oracle\product\11.2.0\server\hs\admin\initdg4odbc.ora to C:\oraclexe\app\oracle\product\11.2.0\server\hs\admin\initSQLSERVER.ora and modified it. See below.
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = SQLSERVER
    HS_FDS_TRACE_LEVEL = off
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>5. Restarted listener.
    C:\>lsnrctl stop
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 18-SEP-2012 11:33
    :51
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    The command completed successfully
    C:\>lsnrctl start
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 18-SEP-2012 11:33
    :54
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Starting tnslsnr: please wait...
    TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Production
    System parameter file is C:\oraclexe\app\oracle\product\11.2.0\server\network\ad
    min\listener.ora
    Log messages written to C:\oraclexe\app\oracle\diag\tnslsnr\PHAILORTD000012\list
    ener\alert\log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Produ
    ction
    Start Date                18-SEP-2012 11:33:57
    Uptime                    0 days 0 hr. 0 min. 3 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Default Service           XE
    Listener Parameter File   C:\oraclexe\app\oracle\product\11.2.0\server\network\a
    dmin\listener.ora
    Listener Log File         C:\oraclexe\app\oracle\diag\tnslsnr\PHAILORTD000012\li
    stener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", 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 "SQLSERVER" has 1 instance(s).
      Instance "SQLSERVER", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully6. Created database link using the following command.
    create database link sqlserver using 'SQLSERVER';7. Test using
    select * from "dbo.mytable"@sqlserver;
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from SQLSERVER
    select * from dbo.mytable@sqlserver;
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from SQLSERVER
    select * from mytable@sqlserver;
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from SQLSERVERI followed the steps provided in this link but not sure where I went wrong. Can someone help me.
    http://www.dba-oracle.com/t_heterogeneous_database_connections_sql_server.htm
    Thanks,
    Allen

    Here's more information on the machines.
    Machine where the Oracle Database 11g Express Edition: IP Address is 10.162.128.67
    Machine where the SQL Server database: IP Address is 142.120.51.30.
    I've modified the tnsnames.ora to the following:
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 10.162.128.67)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    SQLSERVER =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 142.120.51.30)(PORT=1433))
        (CONNECT_DATA =
          (SID = SQLSERVER)
      (HS = OK)
    )But now I'm getting the following error:
    C:\>tnsping sqlserver
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 18-SEP-2
    012 14:52:59
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = 142.120.51.30)(PORT=1434))) (CONNECT_DATA = (SID = SQLSERVER)) (HS = OK)
    TNS-12541: TNS:no listener
    C:\>Regards,
    Allen

  • Oracle 11g Client and XML DB

    We have moved our applications in a mix environment (DB on Linux and App. Server on Windows) on Oracle 11g.
    On the past we have tested the applications and they were working, now seems nothing is ok, it is like the 10g instant client on Windows is unable to communicate with Oracle 11g DB working on XMLDB.
    May I ask if someone have seen the same problems?
    Testing on Windows all the environment it was all working, but it was installed all on the same machine.
    Stefano

    Ozark DBA wrote:
    Just need confirmation that the old 10g Java based Enterprise Manager is gone forever with 11g and there is no management console in the 11g client installation (at least I cannot find one). Confirmed. Same as in the Database install.
    And after searching the threads ond Oracle documentation, it appears that I can install 11g database on my local pc and then have a dbconsole (not grid control). Please confirm that this dbconsole only points to the specific database installed on the same local pc, and it cannot be used to manage remotely located 10 or 11g databases. Confirmed. The DB Console is tied to one ORACLE_HOME one one HOST for one INSTANCE. The HOST and INSTANCE are used in the directory naming (of all stupidity) and configuration file contents under the ORACLE_HOME.
    I am still in the planning stages for grid control installation and would like to use the smaller enterprise manager - java control. But again, there is no such Oracle application for 11g now? I must use grid control to manage multiple databases?Confirmed. Fortunately, the Grid Control is included in the Database license as per the database Licensing manual, and you can put the Grid Control on a separate machine. Since the Grid Control is fed using a single agent for all product (database, and anything else) on the target host, the Grid Control puts on a much smaller footprint on a database machine than even the old Java console.
    Note that the 11g Grid Control will be (at least) announced tomorrow by WebCast - check OTN.

Maybe you are looking for

  • KT3 Ultra ARU PC hangs

    Hi there. I have a MSI KT3 Ultra ARU motherboard, AMD XP 2600+, 2x 256 MB Apacher DDR 333 and a Radeon 9700 Pro card. Yesterday I changed CPU from Thunderbird 1.4 to XP 2600+. I had some memory problems with one of the apacher modules, but everything

  • Reclasification in the posting level 00

    Dear All, I have 4  Item for cash pooling, one of theme is asset and one of the is liabilities, depands on balance. Item_A and Item_AT - technical item as triger. Item_L and item_LT - technical item as triger. I have used reclasification with layout

  • Seems to be a unique problem here

    I have upgraded from a SB Li've! to an SB Li've 24-bit, but I HAVE performed a complete format/clean install of WinXP SP2 to try to correct this problem. WinXP at first recognizes the card as a "Multimedia Audio Controller(the whole yellow "!" found

  • Issues with OSSO ,custom login module and form based authentication

    Hi: We are facing issues with OSSO (Oracle Single Sign on ),Our application use the form based authentication and Custom login module. Application is going in infinite loop when we we try to login using osso ,from the logs what I got is looks like th

  • Getting an error message when running any cs5 application

    Hello everyone. I'm getting desperate. Here is ym problem. I downloaded a trial version of Adobe Master Suite and installed it but whenever I start any of CS5 applications i get the following error: I've tried uninstalling it completely, cleaning my