Oracle 11g listener issue

Hello,
I have installed oracle 11g on windows 7. Installation and database creation was successfull but after creating database listener should automatically up and start
but i am not able to listener in the services window and not able to conntest database using connect string.
I tried to create new listener using netca but it is hanging ..
I have downloaded this software from oracle website.
any idea where can i check to resolve this issue.

944589 wrote:
Hi,
I had the same problem as the OP, and I followed these instructions to try and see which error was raised by the listener when it started.
Weird thing is, after deleting the listener.ora file and restarting the listener with the "lsnrctl start" command, it worked !
The only additional thing I did is (as written in some obscure Oracle documentation) create a loopback network adapter (because my PC is DHCP-based).
Now I have rebooted my PC, and it still works. Go figure...
I hate Oracle. They shouldn't have been authorized to buy back Sun. My prediction is that Java is going the same way as their DB : it's gonna be a mess... :(Just because you can't make things work and find the documentation obscure doesn't mean things don't work. Its not Access with point-click you see!
Aman....

Similar Messages

  • Oracle 11g - Date Issue?

    Oracle 11g - Date 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.
    Our NLS_DATE_FORMAT = 'DD-MON-RR'
    Using 'RR' in the format forces two-digit years less than or equal to 49 to be interpreted as years in the 21st century (2000–2049), and years 50 and over, as years in the 20th century (1950–1999). Setting the RR format as the default for all two-digit year entries allows you to become year-2000 compliant. For example:
    We have a date '01-JUN-31' in our source system. It treat this date as 01-JUN-2031' instead of '01-JUN-1931'. One century forward.
    Do we able to resolve using NLS_DATE_FORMAT change?
    How do we resolve this issue?
    Thanks in helping.

    qwe16235 wrote:
    Our source is Oracle data base, where S_date is defined as DATE. Why did you say STRING , when it defined as DATE data type?I doubt you source is an Oracle database. You may have it stored in an Oracle database, but it cam form somewhere else, and was very likely inserted into the table as a string, wherever it came from. Given a string that resembles a date, Oracle will try to convert it to a date using the nls_date_format parameter for the session (which can either be set in the session or inherited form the database). Perhaps this will help explain:
    SQL> create table t (conv_type varchar2(10), dt date);
    Table created.
    SQL> alter session set nls_date_format = 'dd-mon-rr';
    Session altered.
    SQL> insert into t values ('Implicit', '01-jun-31');
    1 row created.
    SQL> insert into t values ('Explicit', to_date('01-jun-1931', 'dd-mon-yyyy'));
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select conv_type, to_char(dt, 'dd-mon-yyyy') dt
      2  from t;
    CONV_TYPE  DT
    Implicit   01-jun-2031
    Explicit   01-jun-1931So, unless you are really inserting dates, not strings that look like dates, you are going to have problems.
    John

  • Oracle 11G Configuration Issue

    Hi All,
    I am in the process of installing Oracle Forms and Reports 11g[11.1.2].
    I have installed Oracle 11g, getting a issue while configuring it.
    INST – 07249 :An Unexpected error occurred during the validation of Middleware home location
    INST-07286: Specified Oracle Middleware home locationdoes not have version 10.3.5 of weblogic server.If the version is incorrect then configuring with the weblogic server will fail
    WLS 10.3.5 have been installed, and I can access the Admin console.
    I did checked for the WLS version in its registry file created on WLS installation to confirm its version number.
    I have used the same middle ware home location which I used to install the WLS.
    Please can you get me some information to overcome this issue?

    This is well explained from user's guide:
    Stopping Node Manager Before Installing Oracle Forms and Reports (Windows Only)
    If you are installing Oracle Forms and Reports on a Microsoft Windows operating system, you must make sure that the Node Manager utility that was installed with Oracle WebLogic Server is stopped before you begin the installation:
    1.     Verify the Oracle WebLogic Server Node Manager utility is stopped. If it is running, kill the process.
    2.     Determine if the nodemanager.properties file is present in the WebLogic_Home\common\nodemanager directory.
    *1.     If the nodemanager.properties file is not present, continue installing Oracle Forms and Reports.*
    *2.     If the nodemanager.properties file does exist, open it and verify that the ListenPort parameter is included and that it is set. If the ListenPort parameter is not included or set, edit the nodemanager.properties file so that it is similar to the*
    following, where NODE_MANAGER_LISTEN_PORT represents the port the Node Manager listens on, such as 5556:
    *3.     ListenPort=NODE_MANAGER_LISTEN_PORT*

  • Oracle 11g Listener Supports No services

    I have installed Oracle 11g in Linux (Centos). i created a starter database using dbca. I also created a listener.ora using netca.
    I have observed that that the listener.ora was only generated like this after running netca:
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST =proky.warnerbro.com)(PORT = 1521))
      )Now when i start this listener, I get a message: "The listener supports no services".
    I have read on some forums that something like this should be included:
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = $$###$)
          (ORACLE_HOME =$ORACLE_HOME)
          (PROGRAM = extproc)
        (SID_DESC =
          (GLOBAL_DBNAME = orcl)
          (ORACLE_HOME = $ORACLE_HOME)
          (SID_NAME = orcl)
      )So, my question is, do dba's edit this manually or there should be a tool or wizard that would generate this text in listener.ora.
    thanks in advance,
    Anton

    Thanks guys.
    Another question though.
    How can I edit the listener that is used by emctl (database control)? Cause I have edited my listener.ora. I have removed an entry originally listened to by database control. For Example, originally there was a listener called listener3 which was used by emctl. Now I run netca and remove "listener3" and add one listener "listener". If i check listener.ora at ORACLE_HOME/network/admin, the file now has an entry listener and no more listener3.
    However when I start emctl, it says there that is still uses the "listener3" listener
    So even if i issued a "alter system register" at sqlplus, I still can't find my database on emctl.

  • Oracle 11g : Sequence Issues after impdp

    Hi All,
    We are migrating from Oracle 10g to Oracle 11g. As part of this, we take a expdp from 10g and successfully did an import using impdp on to Oracle 11g database.
    But the problem is, there were few Primary key violations which occurred and all of them relate to sequences.
    The Maximum data in the tables and the last number in the sequences differed which caused the issue.
    Upon investigation and browsing the Web, http://www.nerdliness.com/article/2009/03/18/my-oracle-sequencedatapump-shenanigans ; I understood it could be because of the export taken while the application is online and writing to the database.
    I reset all the failing sequences manually and it is fine now.
    My questions now are
    *1) Can we ascertain that the export taken when the source database is offline would eliminate the sequences issue.*
    2) As this is being done in Production, I would like to make few checks to ensure that the sequences are properly imported. ---
    Again reading few websites and oracle Forums, i found the below sql's..
    select table_name, column_name, utl_raw.cast_to_number(high_value) as highval
    from dba_Tab_columns
    where owner = 'PRODUCTION_OWNER'
    AND DATA_TYPE= 'NUMBER'
    AND (OWNER, TABLE_NAME, COLUMN_NAME) IN
    (SELECT CC.OWNER, CC.TABLE_NAME, CC.COLUMN_NAME
    FROM DBA_CONS_COLUMNS CC
    JOIN DBA_CONSTRAINTS C
    ON CC.OWNER=C.OWNER
    AND CC.CONSTRAINT_NAME=C.CONSTRAINT_NAME
    WHERE C.CONSTRAINT_TYPE ='P'
    ORDER BY 3;
    SELECT SEQUENCE_NAME, MIN_VALUE, MAX_VALUE, LAST_NUMBER
    FROM DBA_SEQUENCES
    WHERE SEQUENCE_OWNER = 'PRODUCTION_OWNER'
    ORDER BY LAST_NUMBER
    If I relate the last_number with the highval and if they are same, does that mean the sequences are imported properly.
    Note: We have sequence caching done and we are on RAC.
    Edited by: ramakrishnavydyula on Jan 30, 2013 9:36 AM

    We are migrating from Oracle 10g to Oracle 11g. As part of this, we take a expdp from 10g and successfully did an import using impdp on to Oracle 11g database.
    But the problem is, there were few Primary key violations which occurred and all of them relate to sequences.
    The Maximum data in the tables and the last number in the sequences differed which caused the issue.
    it could be because of the export taken while the application is online and writing to the database.I don't know what's your database's size , and what's acceptable downtime for you, but I could never propose such a migration tecnique to any of my customers, due to excessive downtime when databases are quite large.
    It's quite obvious that you get such errors when the export is done while people are working, unless you use FLASHBACK_SCN or FLASHBACK_TIME parameter while exporting. But in this case, assuming you don't get errors (e.g. ORA-01555), you'll probably lose a lot ot transactions.
    Assuming your 10g database is running in archivelog mode (which should be the default in production DBs) did you think of using RMAN to do the migration ?

  • Oracle 11g decode issue with null

    Hi,
    we want to migrate from Oracle 10g to Oracle 11g and have an issue with decode.
    The database has the following character set settings:
    NLS_CHARACTERSET = AL32UTF8 in Oracle 11g and UTF8 in Oracle 10g
    NLS_NCHAR_CHARACTERSET = AL16UTF16
    If I try a select with decode which has null as first result argument I will get a wrong value.
    select decode(id, null, null, name) from tab1;
    ("name" is a NVARCHAR2 field. Table tab1 has only one entry and "id" is not null.)
    This select returns a value with characters which are splitted by 0 bytes.
    In Oracle 10g the value without 0 bytes is delivered.
    If I suround the decode with dump I get following results:
    select dump(decode(id, null, null, name), 1016) from tab1;
    Oracle 10g: Typ=1 Len=6 CharacterSet=AL32UTF8: 4d,61,72,74,69,6e
    Oracle 11g: Typ=1 Len=12 CharacterSet=US7ASCII: 0,4d,0,61,0,72,0,74,0,69,0,6e
    NLS_LANG has no effect on the character set of 'null' in Oracle 11g.
    Non null literals work:
    select dump(decode(id, null, 'T', name), 1016) from tab1;
    Oracle 10g: Typ=1 Len=6 CharacterSet=UTF8: 4d,61,72,74,69,6e
    Oracle 11g: Typ=1 Len=6 CharacterSet=AL32UTF8: 4d,61,72,74,69,6e
    select dump(decode(id, null, N'T', name), 1016) from tab1;
    Oracle 10g: Typ=1 Len=12 CharacterSet=AL16UTF16: 0,4d,0,61,0,72,0,74,0,69,0,6e
    Oracle 11g: Typ=1 Len=12 CharacterSet=AL16UTF16: 0,4d,0,61,0,72,0,74,0,69,0,6e
    Here the scripts for creating the table and the entry:
    create table tab1 (
    id NUMBER(3),
    name NVARCHAR2(10)
    insert into tab1 (id, name) values (1, N'Martin');
    commit;
    Is it possible to change the character set?
    Could you please help me?
    Regards
    Martin

    This doesn't have the problem.looks this doesn't solve the problem (of returning a value with characters which are splitted by 0 bytes):
    SQL> select * from v$version where rownum = 1
    BANNER                                                                         
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production         
    1 row selected.
    SQL> select dump(decode(id, null, null, name), 1016) from tab1
    union all
    select dump(case id when null then null else name end, 1016) cs from tab1
    DUMP(DECODE(ID,NULL,NULL,NAME),1016)                                           
    Typ=1 Len=12 CharacterSet=US7ASCII: 0,4d,0,61,0,72,0,74,0,69,0,6e              
    Typ=1 Len=12 CharacterSet=AL16UTF16: 0,4d,0,61,0,72,0,74,0,69,0,6e             
    2 rows selected.You need to explicitly convert the third parameter to char:
    SQL> select dump(decode(id, null, to_char(null), name), 1016) from tab1
    DUMP(DECODE(ID,NULL,TO_CHAR(NULL),NAME),1016)                                  
    Typ=1 Len=6 CharacterSet=WE8MSWIN1252: 4d,61,72,74,69,6e                       
    1 row selected.

  • Oracle 11g upgrade issue

    Dear Friends,
    We are running oracle 10.2.0.4 and HP-UX 11i v3. We have upgraded oracle 11g. Upgrade has completed successfully and after that We have installed the Oracle 11g client.
    Now we are trying to execute command  sqlplus "/ as sysdba" but it is giving the error message as below.
    jkepdvr:oraepd 1> sqlplus "/ as sysdba"
    /usr/lib/hpux64/dld.so: Unable to find library 'libsqlplus.so'.
    Killed
    Regards
    Ganesh Datt Tiwari

    Hi Ganesh,
    Are you able to execute the same command with the ora<sid> user . If
    yes then could you please check if the environment variables for the
    <sid> adm has been set properly .
    Please refer the below notes -:
    Note 96858: Environment variables (UNIX)
    Note 602843 :  Environment settings for R/3/Oracle on UNIX
    If the issue is not solved please provide these outputs
    Log in as <SID>adm user and please provide me the output of the
    following -:
    whoami
    env > environment_var_SID_ADM.txt
    Again log in as ORA<SID> user and do the same -:
    whoami
    env > environment_var_ORA_SID.txt
    Please upload both the files to the message-:
    environment_var_SID_ADM.txt
    environment_var_ORA_SID.txt
    These files would be located in the present working directory from
    where the env command was executed.
    The permission of sqlplus -:
    ls -lrt  $ORACLE_HOME/bin/sqlplus
    With the <SID>adm user , check the following command -:
    ls -alt $ORACLE_HOME/lib
    Do you encounter any permission issue ?
    Please upload the output of the following commands executed as <sid>adm
    to this message:
      - cat /etc/group
      - cat /etc/passwd
      - ls -ltr $ORACLE_HOME/bin/oracle
      - ldd /usr/sap/PRD/SYS/exe/run/dboraslib.so
    I hope it helps.
    Regards,
    Naveen.

  • Oracle 11g Export issue

    I have Oracle 11g (11.1.0.6) in one server, and I have 10g (10.2.0.3) database in all other server. I am trying to do EXP (normal export not expdp) of my 10g database using the 11g client. I am getting the following error.
    Export: Release 11.1.0.6.0 - Production on Wed Jul 22 15:17:03 2009
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    server uses WE8MSWIN1252 character set (possible charset conversion)
    EXP-00008: ORACLE error 1003 encountered
    ORA-01003: no statement parsed
    . . exporting table SNP_DT
    EXP-00008: ORACLE error 904 encountered
    ORA-00904: "MAXSIZE": invalid identifier
    EXP-00008: ORACLE error 942 encountered
    ORA-00942: table or view does not exist
    EXP-00024: Export views not installed, please notify your DBA
    EXP-00000: Export terminated unsuccessfully
    Is there any way way to solve this. Could some one please help me.
    Thanks
    Mano
    Edited by: Mano Rangasamy on Jul 22, 2009 3:24 PM
    Edited by: Mano Rangasamy on Jul 22, 2009 3:26 PM

    I have the same issue, but my client (export) is 11.1.0.7.0 and my database is 11.1.0.6.0. I beleaved that the same versions (11) have to work toghether. But they do not.
    Does it mean that I have to reinstall my client to have en export that works?

  • Oracle 11g Performance Issue

    We have Oracle 11g (11.1.0.6) on HP-UX environment with CC&B application. It was working fine and after we upgrade the database to 11.1.0.7 last week, since then the database performance is really slow. After we upgrade the database we notice that xdb component became invalid.
    We are not sure how to investigate this issue, any help would be appreciated.

    WORKLOAD REPOSITORY report for
    DB Name         DB Id    Instance     Inst Num Startup Time    Release     RAC
    CCBPROD       3218377102 ccbprod             1 10-Jan-12 20:26 11.1.0.7.0  NO
    Host Name        Platform                         CPUs Cores Sockets Memory(GB)
    huccbhp5         HP-UX IA (64-bit)                   4     4       2      23.97
                  Snap Id      Snap Time      Sessions Curs/Sess
    Begin Snap:     43912 11-Jan-12 10:00:31       157      96.1
      End Snap:     43913 11-Jan-12 11:00:35       186     101.3
       Elapsed:               60.08 (mins)
       DB Time:              653.40 (mins)
    Cache Sizes                       Begin        End
    ~~~~~~~~~~~                  ---------- ----------
                   Buffer Cache:    12,160M    12,096M  Std Block Size:         8K
               Shared Pool Size:       704M       704M      Log Buffer:    58,764K
    Load Profile              Per Second    Per Transaction   Per Exec   Per Call
    ~~~~~~~~~~~~         ---------------    --------------- ---------- ----------
          DB Time(s):               10.9                0.5       0.02       0.02
           DB CPU(s):                3.6                0.2       0.01       0.01
           Redo size:          529,539.6           24,544.1
       Logical reads:          155,545.5            7,209.5
       Block changes:            2,047.0               94.9
      Physical reads:              204.6                9.5
    Physical writes:               96.0                4.5
          User calls:              698.7               32.4
              Parses:               77.8                3.6
         Hard parses:                0.1                0.0
    W/A MB processed:          406,873.3           18,858.5
              Logons:                0.4                0.0
            Executes:              456.1               21.1
           Rollbacks:               19.6                0.9
        Transactions:               21.6
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                Buffer Nowait %:  100.00       Redo NoWait %:   99.97
                Buffer  Hit   %:   99.87    In-memory Sort %:  100.00
                Library Hit   %:   99.93        Soft Parse %:   99.89
             Execute to Parse %:   82.95         Latch Hit %:   99.99
    Parse CPU to Parse Elapsd %:    0.01     % Non-Parse CPU:   99.93
    Shared Pool Statistics        Begin    End
                 Memory Usage %:   89.78   90.02
        % SQL with executions>1:   86.04   84.87
      % Memory for SQL w/exec>1:   86.22   86.03
    Top 5 Timed Foreground Events
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                               Avg
                                                              wait   % DB
    Event                                 Waits     Time(s)   (ms)   time Wait Class
    virtual circuit wait              2,170,696      15,761      7   40.2 Network
    DB CPU                                           13,115          33.5
    db file sequential read             362,802       6,304     17   16.1 User I/O
    enq: TX - row lock contention           115       1,118   9721    2.9 Applicatio
    log file sync                         8,183         818    100    2.1 Commit
    Host CPU (CPUs:    4 Cores:    4 Sockets:    2)
    ~~~~~~~~         Load Average
                   Begin       End     %User   %System      %WIO     %Idle
                    3.28      3.93      93.1       2.3       2.8       4.6
    Instance CPU
    ~~~~~~~~~~~~
                  % of total CPU for Instance:  91.1
                  % of busy  CPU for Instance:  95.4
      %DB time waiting for CPU - Resource Mgr:   0.0
    Memory Statistics
    ~~~~~~~~~~~~~~~~~                       Begin          End
                      Host Mem (MB):     24,545.7     24,545.7
                       SGA use (MB):     13,312.0     13,312.0
                       PGA use (MB):        935.9        949.3
        % Host Mem used for SGA+PGA:        58.05        58.05

  • Oracle 11g upgrade issues

    Hello :
    We recently migrated our database from 9.2.07 (RBO) to 11.2.0.1 (CBO) ( Solaris 10 Sparc 64 bit ). Ever since the migration happened we are experiencing the following issues:
    1. Execution plans are very costly. ( Please note that we moved from RBO to CBO )
    2. High Gets / Reads
    3. High CPU Utilization
    4. High waits on 'DB FILE SEQUENTIAL READ'
    5. This situation is vitually killing all our applications performance.
    I know that oracle 11g explicitly does not support RULE based optimizer , but is there any parameters that can force it go the RBO way.
    I would really appreciate your help.
    Regards,
    BMP

    Officially it is no more documented http://download.oracle.com/docs/cd/E11882_01/server.112/e10820/initparams165.htm#i1131532
    but it is still accepted:
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    SQL> alter system set optimizer_mode=rule;
    System altered.
    SQL> show parameter optimizer
    NAME                                 TYPE        VALUE
    optimizer_capture_sql_plan_baselines boolean     FALSE
    optimizer_dynamic_sampling           integer     2
    optimizer_features_enable            string      11.2.0.1
    optimizer_index_caching              integer     0
    optimizer_index_cost_adj             integer     100
    optimizer_mode                       string      RULE
    optimizer_secure_view_merging        boolean     TRUE
    optimizer_use_invisible_indexes      boolean     FALSE
    optimizer_use_pending_statistics     boolean     FALSE
    optimizer_use_sql_plan_baselines     boolean     TRUEEdited by: P. Forstmann on 1 sept. 2010 20:21

  • Oracle 11g performance issue ( BITMAP CONVERSION TO ROWIDS)

    I have two instance of oracle 11g.
    in both instance i fired same query.
    one instance returns the result in 1sec but other instance returns the result in 10 sec
    following is explain plan for bot instance
    instance 1
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 143 | 59 (2)| 00:00:01 |
    | 1 | HASH GROUP BY | | 1 | 143 | 59 (2)| 00:00:01 |
    | 2 | VIEW | VM_NWVW_2 | 1 | 143 | 59 (2)| 00:00:01 |
    | 3 | HASH UNIQUE | | 1 | 239 | 59 (2)| 00:00:01 |
    | 4 | NESTED LOOPS | | | | | |
    | 5 | NESTED LOOPS | | 1 | 239 | 58 (0)| 00:00:01 |
    PLAN_TABLE_OUTPUT
    | 6 | NESTED LOOPS | | 1 | 221 | 57 (0)| 00:00:01 |
    | 7 | NESTED LOOPS | | 1 | 210 | 55 (0)| 00:00:01 |
    | 8 | NESTED LOOPS | | 1 | 184 | 54 (0)| 00:00:01 |
    | 9 | NESTED LOOPS | | 1 | 158 | 53 (0)| 00:00:01 |
    | 10 | NESTED LOOPS | | 1 | 139 | 52 (0)| 00:00:01 |
    | 11 | NESTED LOOPS | | 1 | 105 | 50 (0)| 00:00:01 |
    |* 12 | INDEX RANGE SCAN | year_field | 1 | 29 | 2 (0)| 00:00:01 |
    | 13 | SORT AGGREGATE | | 1 | 8 | | |
    | 14 | INDEX FULL SCAN (MIN/MAX)| idx_bf_creation_date | 1 | 8 | 2 (0)| 00:00:01 |
    |* 15 | TABLE ACCESS BY INDEX ROWID| OHRT_bugs_fact | 1 | 76 | 48 (0)| 00:00:01 |
    |* 16 | INDEX RANGE SCAN | idx_bf_creation_date | 76 | | 1 (0)| 00:00:01 |
    PLAN_TABLE_OUTPUT
    |* 17 | TABLE ACCESS BY INDEX ROWID | OHRT_all_time_dimension | 1 | 34 | 2 (0)| 00:00:01 |
    |* 18 | INDEX UNIQUE SCAN | unique_alltime_bug_instance_id | 1 | | 1 (0)| 00:00:01 |
    | 19 | TABLE ACCESS BY INDEX ROWID | OHRT_all_time_dimension | 1 | 19 | 1 (0)| 00:00:01 |
    |* 20 | INDEX UNIQUE SCAN | unique_alltime_bug_instance_id | 1 | | 1 (0)| 00:00:01 |
    |* 21 | INDEX RANGE SCAN | bugseverity_instance_id_ref_id | 1 | 26 | 1 (0)| 00:00:01 |
    |* 22 | INDEX UNIQUE SCAN | unique_alltime_bug_instance_id | 1 | 26 | 1 (0)| 00:00:01 |
    | 23 | INLIST ITERATOR | | | | | |
    |* 24 | TABLE ACCESS BY INDEX ROWID | OHMT_ANL_BUCKET | 1 | 11 | 2 (0)| 00:00:01 |
    |* 25 | INDEX UNIQUE SCAN | SYS_C0053213 | 5 | | 1 (0)| 00:00:01 |
    |* 26 | INDEX RANGE SCAN | FK_BUCKET_TYPE | 6 | | 0 (0)| 00:00:01 |
    |* 27 | TABLE ACCESS BY INDEX ROWID | OHMT_ANL_BUCKET | 1 | 18 | 1 (0)| 00:00:01 |
    instance 2
    Plan
    SELECT STATEMENT ALL_ROWS Cost: 22 Bytes: 142 Cardinality: 1
    32 HASH GROUP BY Cost: 22 Bytes: 142 Cardinality: 1
    31 VIEW VIEW SYS.VM_NWVW_2 Cost: 22 Bytes: 142 Cardinality: 1
    30 HASH UNIQUE Cost: 22 Bytes: 237 Cardinality: 1
    29 NESTED LOOPS
    27 NESTED LOOPS Cost: 21 Bytes: 237 Cardinality: 1
    25 NESTED LOOPS Cost: 20 Bytes: 219 Cardinality: 1
    21 NESTED LOOPS Cost: 18 Bytes: 208 Cardinality: 1
    19 NESTED LOOPS Cost: 17 Bytes: 183 Cardinality: 1
    17 NESTED LOOPS Cost: 16 Bytes: 157 Cardinality: 1
    14 NESTED LOOPS Cost: 15 Bytes: 138 Cardinality: 1
    11 NESTED LOOPS Cost: 13 Bytes: 104 Cardinality: 1
    3 INDEX RANGE SCAN INDEX REPORTSDB.year_field Cost: 2 Bytes: 29 Cardinality: 1
    2 SORT AGGREGATE Bytes: 8 Cardinality: 1
    1 INDEX FULL SCAN (MIN/MAX) INDEX REPORTSDB.idx_bf_creation_date Cost: 3 Bytes: 8 Cardinality: 1
    10 TABLE ACCESS BY INDEX ROWID TABLE REPORTSDB.OHRT_bugs_fact Cost: 13 Bytes: 75 Cardinality: 1
    9 BITMAP CONVERSION TO ROWIDS
    8 BITMAP AND
    5 BITMAP CONVERSION FROM ROWIDS
    4 INDEX RANGE SCAN INDEX REPORTSDB.idx_OHRT_bugs_fact_2product Cost: 2 Cardinality: 85
    7 BITMAP CONVERSION FROM ROWIDS
    6 INDEX RANGE SCAN INDEX REPORTSDB.idx_bf_creation_date Cost: 2 Cardinality: 85
    13 TABLE ACCESS BY INDEX ROWID TABLE REPORTSDB.OHRT_all_time_dimension Cost: 2 Bytes: 34 Cardinality: 1
    12 INDEX UNIQUE SCAN INDEX (UNIQUE) REPORTSDB.unique_alltime_bug_instance_id Cost: 1 Cardinality: 1
    16 TABLE ACCESS BY INDEX ROWID TABLE REPORTSDB.OHRT_all_time_dimension Cost: 1 Bytes: 19 Cardinality: 1
    15 INDEX UNIQUE SCAN INDEX (UNIQUE) REPORTSDB.unique_alltime_bug_instance_id Cost: 1 Cardinality: 1
    18 INDEX UNIQUE SCAN INDEX (UNIQUE) REPORTSDB.unique_alltime_bug_instance_id Cost: 1 Bytes: 26 Cardinality: 1
    20 INDEX RANGE SCAN INDEX REPORTSDB.bugseverity_instance_id_ref_id Cost: 1 Bytes: 25 Cardinality: 1
    24 INLIST ITERATOR
    23 TABLE ACCESS BY INDEX ROWID TABLE OPSHUB.OHMT_ANL_BUCKET Cost: 2 Bytes: 11 Cardinality: 1
    22 INDEX UNIQUE SCAN INDEX (UNIQUE) OPSHUB.SYS_C0040939 Cost: 1 Cardinality: 5
    26 INDEX RANGE SCAN INDEX OPSHUB.FK_BUCKET_TYPE Cost: 0 Cardinality: 6
    28 TABLE ACCESS BY INDEX ROWID TABLE OPSHUB.OHMT_ANL_BUCKET Cost: 1 Bytes: 18 Cardinality: 1
    in both explain plan only difference is
    9 BITMAP CONVERSION TO ROWIDS
    8 BITMAP AND
    5 BITMAP CONVERSION FROM ROWIDS
    but is bitmap degrading performance lot?
    or suggest me what other parameter i can see so 2nd instance gives me better performace.

    I see more differences.
    In plan 1:
    * 16      INDEX RANGE SCAN      idx_bf_creation_date      76           1 (0)     00:00:01
    in Plan 2:
    1 INDEX FULL SCAN (MIN/MAX) INDEX REPORTSDB.idx_bf_creation_date Cost: 3 Bytes: 8 Cardinality: 1
    So this is not about "bitmap" good/bad, it about the access strategy which changed due to differences in data statistics etc. To analyze more, I'd help a LOT if those plans would be formated in a good and same way, use around it to do so.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Oracle 11g performace issue

    hi all,
    am using oracle 11g enterprise edition., i didn't ran any query but in ADDR report it was running some sytem based query(SYS,DBSNMP,SYSMAN etc)
    but in previous 10g it was working fine.. can anyone tell me how to stop those query..
    this is the query was running most frequently :
    select end_time, wait_class#, (time_waited_fg)/(intsize_csec/100), (time_waited)/(intsize_csec/100), 0
    from v$waitclassmetric union all
    select fg.end_time, -1, fg.value, bg.value, dbtime.value
    from v$sysmetric fg, v$sysmetric bg, v$sysmetric dbtime
    where bg.metric_name = 'Background CPU Usage Per Sec' and bg.group_id = 2 and fg.metric_name = 'CPU Usage Per Sec' and fg.group_id = 2 and dbtime.metric_name = 'Average Active Sessions' and dbtime.group_id = 2 and bg.end_time = fg.end_time and fg.end_time = dbtime.end_time order by end_time,wait_class#
    UPDATE MGMT_JOB_EXECUTION SET STEP_STATUS=:B2 WHERE STEP_ID=:B1

    Velsjeya wrote:
    hi all,
    am using oracle 11g enterprise edition., i didn't ran any query but in ADDR report it was running some sytem based query(SYS,DBSNMP,SYSMAN etc)
    but in previous 10g it was working fine.. can anyone tell me how to stop those query..
    this is the query was running most frequently :
    select end_time, wait_class#, (time_waited_fg)/(intsize_csec/100), (time_waited)/(intsize_csec/100), 0
    from v$waitclassmetric union all
    select fg.end_time, -1, fg.value, bg.value, dbtime.value
    from v$sysmetric fg, v$sysmetric bg, v$sysmetric dbtime
    where bg.metric_name = 'Background CPU Usage Per Sec' and bg.group_id = 2 and fg.metric_name = 'CPU Usage Per Sec' and fg.group_id = 2 and dbtime.metric_name = 'Average Active Sessions' and dbtime.group_id = 2 and bg.end_time = fg.end_time and fg.end_time = dbtime.end_time order by end_time,wait_class#
    UPDATE MGMT_JOB_EXECUTION SET STEP_STATUS=:B2 WHERE STEP_ID=:B1Why are you so concerned about background queries? Do you really think these queries uses high resource and have high elapsed time then you custom queries? The god way to diagnose a performance problem is to identify most resource intensive/time consuming program/module/code rather then running after background queries. Yes sometimes background queries too run slowly in rear cases and then you need to run dbms_stats.gather_dictionary_stats or dbms_stats.gather_fixed_objects_stats (https://blogs.oracle.com/optimizer/entry/fixed_objects_statistics_and_why)

  • Oracle 11g install issues on Windows 7

    I have had some problems installing Oracle on Windows 7 in that it seemed to crash while checking prerequisites. After several attempts it for some reason continued the installation. I had accepted the default settings and was installing from a USB drive to the same drive. The install did have a few error messages along the way such as "file not found. F:\app\ben\product\11.2.0\dbhome_2\oc4j\j2ee\oc4j_applications\applications\em.ear" and ""file not found. F:\app\ben\product\11.2.0\dbhome_2\ctx\admin\dr0ulib.sql.sbs". Also, towards the end it gave a message "Template General_Purpose.dbc does not exist. Please specify an existing template for database creation. <OK>". Despite these errors it seemed to successfully install. On the other hand I cannot log in to it as I attempt to try to set up some kind of basic database for myself. I go to the BIN directory and run sqlplus with "system" as the username and the password I had specified, but get the error "ORA-12560: TNS:protocol adapter error". Googling around a bit I tried to see if Oracle Services was running, but only saw OracleMTSRecoveryService and OracleRemExecService (and could not work out how to get any service running beyond what was listed there). I set up the path ORACLE_HOME to the BIN directory but there was not change in the situation. I just need a to set up a basic database on my PC so I can mess around with it. How can I get this going?
    Thanks,
    Ben

    928175 wrote:
    Hi i am study oracle sql server and i have some experience with mysql not with pl-sql an i ned to nkow what are the mininum system requarements to install oracle 11g and if some body of you ca tell to me what version of oracle ca i install in a 3.4 ghz CPU and 1512 Gb of ram only for learn i want this :) http://www.belvini.de/weingut/mID/861/moet-und-chandon.htm
    Edited by: 928175 on Apr 17, 2012 4:24 AM
    Edited by: 928175 on Apr 17, 2012 4:25 AMYou should not hijack someone else's thread for your own problems.
    All installation requriements are found in the Installation Guides, under your particular product in the doc library at tahiti.oracle.com

  • Oracle 11G Searching Issue : Statistics Corruption

    Hi,
    I guess their is some issue with oracle statistics for Text Indexing. Some times i got an issue regarding Text index searching, query throwing wrong results. and when i fire this command :-
    execute immediate 'analyze table ' ||' '||tablename ||' '||'delete statistics';
    for deleting statistics. the query returns the correct results.
    I guess this is the problem of "stale statistics" , Is their any way to sort out this problem ?
    Any help please ?

    Hi,
    I have Oracle Version - 11g Release 1 (11.1.0.6)
    Yes you are absolutely correct, Even i am not getting that why oracle is behaving like this. But i have shown this behaviour many times ( once in 2-3 months approximately )
    I know that we can provide hint in the queries but i cant give hints.
    Any Help please ?

  • PB12.5 - Oracle 11g conenction issue - Failed to get local NLS_LANG charset ID

    Hi Everyone,
    We have recently migrated our OS to windows 7 and orcle client to 11g since then I am getting error "Failed to get local NLS_LANG charset ID" while connecting to Oracle using the IDE. I tried to connect using O10 Oracle 10g and ORA Oracle interface as I dont see anything for 11g; result was same in both cases. Can someone please help to resolve this issue?
    Following are the system details
    OS - Windows 7 62 Bit
    PB - 12.5 Build 2511
    Oracle Client - 11g 32 bit
    Thanks,
    Robin

    Hi Jacob,
    Here is the entry fronm trace log:
    /*                 3/18/2014  14:17                  */
    (2a922fc): DIALOG CONNECT TO TRACE ORA ORACLE:
    (2a922fc): LOGID=dev_testid
    (2a922fc): SERVER=TESTSRV
    (2a922fc): DBPARM=PBCatalogOwner='dev_testid',DisableBind=1,TrimSpaces=1(DBI_DIALOG_CONNECT) (21.246 MS / 21.246 MS)
    (2a922fc): *** ERROR 999 ***(rc -1) : Failed to get local NLS_LANG charset ID.
    (2a922fc): SHUTDOWN DATABASE INTERFACE:(DBI_SHUTDOWN_INTERFACE) (0.001 MS / 21.247 MS)
    NLS_LANG variable set under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE\KEY_OraClient11g_home1
    Value in Registry: AMERICAN_AMERICA.WE8MSWIN1252
    Value in SQL PLUS:
    SQL> SELECT USERENV ('language') FROM DUAL;
    USERENV('LANGUAGE')
    AMERICAN_AMERICA.WE8ISO8859P1
    Thanks,
    Robin

Maybe you are looking for