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

Similar Messages

  • 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 upgrade: How to update stale statistics for sys and sysman?

    Hi,
    I am in the process of testing Oracle 11g upgrade from Oracle 10.2.0.3. I have run utlu111i.sql on the 10g database.
    The utility utlu111i.sql reports about the stale statistics for SYS and SYSMAN components.
    I executed dbms_stats.gather_dictionary_stats; dbms_stats.gather_schema_stats('SYS'); and dbms_stats.gather_schema_stats('SYSMAN');
    After that the utlu111i.sql still reports the stale statistics for sys and sysman. Does anyone know how to get rid off this warning successfully?
    Thanks,
    Sreekanth

    Does anyone know how to get rid off this warning successfully?Just ignore the warnings. Check The Utlu111i.Sql Pre-Upgrade Script Reports Stale Sys Statistics - 803774.1 from Metalink.

  • 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 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

  • 11g upgrade issue!

    Hi,
    We had upgraded Oracle 9i to Oracle 11g successfully but then during latest July 12 patchset installation, the binary got corrupted. Since we had the complete database up and running without any issue. We took the backup (os copy command) of all DBFs, CTLs, Redo logs, password file and spfile after that we deinstalled the software from the server and reinstalled Oracle 11g on the server. Once the DB was started with new controlfile and spfile, we shutdown the db and copied back the files in the same location where it was earlier. Now, the db can started using pfile but we are facing two problem.
    1. DB was started with compatible parameter set as 11.1.0.0.0. Can we downgrade it? I mean can we set it back to 10.2.0.0.0 and start the DB? (I doubt)
    2. while opening the DB, it says that db MUST be started in UPGRADE mode. When I use that option, DB comes up but then how should I upgrade it? There is nothing to be upgraded.
    SQL> startup pfile='C:\app\oracle\product\11.2.0\dbhome_1\database\pfile_devoltpa.ora' ;
    ORACLE instance started.
    Total System Global Area 1448054784 bytes
    Fixed Size                  1376940 bytes
    Variable Size             268438868 bytes
    Database Buffers         1149239296 bytes
    Redo Buffers               28999680 bytes
    Database mounted.
    ORA-01092: ORACLE instance terminated. Disconnection forced
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    Process ID: 1672
    Session ID: 9 Serial number: 3
    SQL> connect / as sysdba
    Connected to an idle instance.
    SQL> startup pfile='C:\app\oracle\product\11.2.0\dbhome_1\database\pfile_devoltpa.ora'  upgrade;
    ORACLE instance started.
    Total System Global Area 1448054784 bytes
    Fixed Size                  1376940 bytes
    Variable Size             268438868 bytes
    Database Buffers         1149239296 bytes
    Redo Buffers               28999680 bytes
    Database mounted.
    Database opened.
    SQL>

    Kuljeet,
    thanks for the reply. Our DB was in 9i first then upgraded to 11g (11.2.0.1) and on the top of that 11.2.0.3 patch was being applied. After which many of the DBMS_* packages were invalid and we were not able to run any of the utility from the server machine but could connect from remote. As the packages were invalid, we had to do this exercise. This backup is done after the patch and not before. I started the DB in upgrade mode and then tried to run DBUA but its erroring out with internal error.
    ora-00600 internal error code arguments qcissetplsqlctx tzi initmetalink says that it timezone issue and we should run
    select version from v$timezone_file;I ran this but it does not return anything which says that it could be timezone issue. As I can start the DB in upgrade mode, can I upgrade it to 11.2.0.3 from 11.2.0.1 (this is current version)?
    -Onkar

  • 03113 end-of-file on communication channel | Oracle 11g Upgrade

    Hi,
    Whilst upgrading our DEV system from 10.2.0.4 to 11.2.0.1 using DBUA
    with a powershell script , the upgraded failed with the error "ORA-
    03113 end-of-file on communication channel" during the "Upgrading
    Oracle Server" section.
    The oracle 11g service is created but it cannot start.
    The oradim.log reports
    03113 end-of-file on communication channel also.
    The alert log just show the database tries to start and reports the parameters from the pfile it's using but then stops without any error message.
    All the pre-upgrade tasks are done and there was no errors. This is on Windows 64bit 2003.
    The server is vmware , not sure if this could be an issue.
    It was possible to roll back using the dbua script and bring the system back up with 10g.
    Anyone come across a similar issue ?
    Thanks
    Jim

    ORA-3113 are well known output from a connection to database lost of a reason.
    Oracle says this reconnect and try again as solution.
    If you got the same error on the same place /job, investigate the script/job.
    Regards
    Audun
    DBA

  • Oracle 11g upgrade from Oracle 10.2.0.4

    Dear  Friends,
    I am upgrading Oracle 11g on OS HP-UX11i v2 with SAP ECC6.0 application.
    But I m getting the error as below.
    Error in invoking target 'links proc gen_pcscfg' of makefile '/oracle/DVR/11202/precomp/lib/ins_precomp.mk'. See '/oracle/oraInventory/logs/installActions2011-08-09_05-51-08PM.log' for details.
    Please find the output of make.log file.
                     /usr/ccs/bin/ar rv /oracle/DVR/11202/lib/libn11.a /oracle/DVR/
    11202/lib/nnfgt.o ; fi)
            (if [ "compile" = "binary" ] ; then \
              /oracle/DVR/11202/bin/gennfgt > nnfgt.c
              TARGET_BINARY_INTERFACE=
              export TARGET_BINARY_INTERFACE
              cc +DD64 -c nnfgt.c
              -rm -f /oracle/DVR/11202/lib/nnfgt.o
              -mv nnfgt.o /oracle/DVR/11202/lib/
                      /usr/ccs/bin/ar rv /oracle/DVR/11202/lib/libn11.a /oracle/DVR/
    11202/lib/nnfgt.o ; fi)
    /usr/ccs/bin/make -f ins_rdbms.mk client_sharedlib ORACLE_HOME=/oracle/DVR/11202
    /       /oracle/DVR/11202/bin/genclntsh
    genclntsh: Failed to link libclntsh.so.11.1
    Error exit code 1
    Stop.
    /usr/ccs/bin/make -f ins_rdbms.mk client_sharedlib ORACLE_HOME=/oracle/DVR/11202
    /       /oracle/DVR/11202/bin/genclntsh
    genclntsh: Failed to link libclntsh.so.11.1
    Error exit code 1
    Stop.
    /usr/ccs/bin/make -f ins_precomp.mk links proc gen_pcscfg ORACLE_HOME=/oracle/DV
    R/11202/        (cd /oracle/DVR/11202/precomp/public/; rm -f SQLCA.H)
            (cd /oracle/DVR/11202/precomp/public/; rm -f ORACA.H)
            (cd /oracle/DVR/11202/precomp/public/; rm -f SQLDA.H)
            (cd /oracle/DVR/11202/precomp/public/; rm -f SQLCA.COB)
            (cd /oracle/DVR/11202/precomp/public/; rm -f ORACA.COB)
            (cd /oracle/DVR/11202/precomp/public/; rm -f SQLCA.FOR)
            (cd /oracle/DVR/11202/precomp/public/; rm -f ORACA.FOR)
            (cd /oracle/DVR/11202/precomp/public/; rm -f BNDDSC.FOR)
            (cd /oracle/DVR/11202/precomp/public/; rm -f SELDSC.FOR)
            cd /oracle/DVR/11202/precomp/public/; test ! -f sqlca.h    || ln -s sqlc
    a.h    SQLCA.H
            cd /oracle/DVR/11202/precomp/public/; test ! -f oraca.h    || ln -s orac
    a.h    ORACA.H
            cd /oracle/DVR/11202/precomp/public/; test ! -f sqlda.h    || ln -s sqld
    a.h    SQLDA.H
            cd /oracle/DVR/11202/precomp/public/; test ! -f sqlca.cob  || ln -s sqlc
    a.cob  SQLCA.COB
            cd /oracle/DVR/11202/precomp/public/; test ! -f oraca.cob  || ln -s orac
    a.cob  ORACA.COB
            cd /oracle/DVR/11202/precomp/public/; test ! -f sqlca.for  || ln -s sqlc
    a.for  SQLCA.FOR
            cd /oracle/DVR/11202/precomp/public/; test ! -f oraca.for  || ln -s orac
    a.for  ORACA.FOR
            cd /oracle/DVR/11202/precomp/public/; test ! -f bnddsc.for || ln -s bndd
    sc.for BNDDSC.FOR
            cd /oracle/DVR/11202/precomp/public/; test ! -f seldsc.for || ln -s seld
    sc.for SELDSC.FOR
            /usr/ccs/bin/make -f /oracle/DVR/11202/precomp/lib/ins_precomp.mk relink
    EXENAME=proc
    Linking /oracle/DVR/11202/precomp/lib/proc
    ld: Can't find library for -lclntsh
    Fatal error.
    Error exit code 1
    Stop.
    Error exit code 1
    Stop.
    Regards
    Ganesh Datt Tiwari

    HP-UX 11.23 is not supported with Oracle 11, you need 11.31:
    Note 1431796 - Oracle 11.2.0: Troubleshooting the Software Installation
    <...>
    Installing Oracle Database 11.2.0.2 on HP-UX 11.23 (11i V2)
    is not supported (see Oracle Installation Guide).
    Minimum OS version is 11.31 (11i V3).
    <...>
    Markus

  • 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 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....

  • 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 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 upgrade in AIX 6.1 with HACMP

    Hi Friends,
    As i have two Power Servers running in AIX 6.1 with oracle 10g in HACMP in which SAP application is running.
    The one is standalone Database and other is central Instance.
    I have done the 11g upgrades successfully in my DEV and QAS servers which are non-cluster Environment.
    Now i want to do the same upgrade in PRD which is in HACMP.
    Please let me know what are the areas should i concentrate specially for cluster environment servers.
    Thanks,
    Hari

    DB Filesystems
    Filesystem GB blocks Free %Used Iused %Iused Mounted on
    /dev/hd4 4.00 2.62 35% 15438 3% /
    /dev/hd2 8.00 5.03 38% 57744 5% /usr
    /dev/hd9var 4.00 2.85 29% 10914 2% /var
    /dev/hd3 4.00 3.50 13% 2575 1% /tmp
    /dev/fwdump 1.00 1.00 1% 13 1% /var/adm/ras/platform
    /dev/hd1 1.00 1.00 1% 6 1% /home
    /dev/hd11admin 0.25 0.25 1% 107 1% /admin
    /proc - - - - - /proc
    /dev/hd10opt 1.00 0.58 43% 9040 7% /opt
    /dev/livedump 0.25 0.25 1% 7 1% /var/adm/ras/livedump
    /dev/lv_oracle 2.00 1.86 8% 21 1% /oracle
    /dev/lv_ora_pip 2.00 2.00 1% 80 1% /oracle/PIP
    /dev/lv_usr_sap 2.00 1.92 5% 78 1% /usr/sap
    /dev/lv_sapmnt 2.00 0.62 70% 978 1% /sapmnt
    /dev/dumplv 95.00 32.80 66% 26790 1% /dump
    /dev/saparchlv 2.00 1.99 1% 57 1% /home/pipadm
    /dev/lv_pip_64 10.00 5.73 43% 18988 2% /oracle/PIP/102_64
    /dev/lv_mirlogA 1.00 0.61 40% 6 1% /oracle/PIP/mirrlogA
    /dev/lv_mirlogB 1.00 0.61 40% 6 1% /oracle/PIP/mirrlogB
    /dev/lv_oraarch 200.00 121.48 40% 433 1% /oracle/PIP/oraarch
    /dev/lv_oralogA 1.00 0.59 41% 8 1% /oracle/PIP/origlogA
    /dev/lv_oralogB 1.00 0.59 41% 8 1% /oracle/PIP/origlogB
    /dev/fslv01 2.00 1.97 2% 102 1% /oracle/PIP/saparch
    /dev/lv_sapbkp 5.00 5.00 1% 40 1% /oracle/PIP/sapbackup
    /dev/lv_sapchk 5.00 5.00 1% 80 1% /oracle/PIP/sapcheck
    /dev/lv_data1 200.00 86.26 57% 30 1% /oracle/PIP/sapdata1
    /dev/lv_data2 200.00 84.92 58% 26 1% /oracle/PIP/sapdata2
    /dev/lv_data3 200.00 84.92 58% 26 1% /oracle/PIP/sapdata3
    /dev/lv_data4 200.00 84.92 58% 26 1% /oracle/PIP/sapdata4
    /dev/lv_data5 200.00 84.92 58% 26 1% /oracle/PIP/sapdata5
    /dev/lv_data6 200.00 84.92 58% 26 1% /oracle/PIP/sapdata6
    /dev/lv_data7 200.00 84.92 58% 26 1% /oracle/PIP/sapdata7
    /dev/lv_data8 200.00 84.93 58% 26 1% /oracle/PIP/sapdata8
    /dev/lv_saporg 20.00 20.00 1% 7 1% /oracle/PIP/sapreorg
    /dev/saptrance 5.00 4.92 2% 588 1% /oracle/PIP/saptrace
    /dev/lv_inventry 2.00 1.99 1% 55 1% /oracle/oraInventory
    /dev/lv_102_64 10.00 5.05 50% 11044 1% /oracle/stage/102_64
    CI
    /dev/hd4 4.00 1.99 51% 14429 3% /
    /dev/hd2 8.00 5.01 38% 57680 5% /usr
    /dev/hd9var 4.00 3.38 16% 10936 2% /var
    /dev/hd3 4.00 3.82 5% 1362 1% /tmp
    /dev/fwdump 1.00 1.00 1% 18 1% /var/adm/ras/platform
    /dev/hd1 1.00 1.00 1% 55 1% /home
    /dev/hd11admin 0.25 0.25 1% 5 1% /admin
    /proc - - - - - /proc
    /dev/hd10opt 1.00 0.58 42% 9024 7% /opt
    /dev/livedump 0.25 0.25 1% 8 1% /var/adm/ras/livedump
    /dev/lv_oracle 2.00 2.00 1% 9 1% /oracle
    /dev/lv_ora_pip 2.00 2.00 1% 52 1% /oracle/PIP
    /dev/lv_usr_sap 10.00 10.00 1% 17 1% /usr/sap
    /dev/lv_client 2.00 1.86 8% 16 1% /oracle/client
    /dev/lv_smnt_pip 10.00 2.20 78% 114142 18% /sapmnt/PIP
    /dev/lv_sap_pip 10.00 8.10 19% 1577 1% /usr/sap/PIP
    /dev/lv_sap_cms 5.00 5.00 1% 8 1% /usr/sap/ccms
    root@pagedb:/ $ su - orapip
    pagedb:orapip 1> echo $ORACLE_HOME
    /oracle/PIP/102_64
    i have upgraded successfully in my DEV and QAS.
    So can i go with the same procedure as i went with non-cluster Env.
    Thanks

  • 11g Upgrade Issues and Questions

    Hi,
    I am upgrading database from 9.2.0.6 to 11g in EBS, Apps version is 11.5.10.2.
    I have performed 11.1.0.7 patch set installation tasks & Apply additional 11.1.0.7 RDBMS patches
    Now my query is that I have to copy InitSID.ora from 9i to 11g before or after database Upgrade(using DBUA)?
    When I have to set Database Initialization Parameters for Oracle Applications Release 11i before or after database Upgrade(using DBUA)?
    Regard's
    GSM

    Hi,
    The output of utlu111i.sql script is as below before upgrade.We have to make any modification before upgrade.If yes where I have to do the changes.
    SQL> @utlu111i.sql
    Oracle Database 11.1 Pre-Upgrade Information Tool 04-09-2010 12:55:26
    Database:
    --> name: PROD
    --> version: 9.2.0.8.0
    --> compatible: 9.2.0
    --> blocksize: 8192
    --> timezone file: V4
    Logfiles: [make adjustments in the current environment]
    --> The existing log files are adequate. No changes are required.
    Tablespaces: [make adjustments in the current environment]
    --> SYSTEM tablespace is adequate for the upgrade.
    .... minimum required size: 8052 MB
    --> ODM tablespace is adequate for the upgrade.
    .... minimum required size: 10 MB
    --> APPS_UNDOTS1 tablespace is adequate for the upgrade.
    .... minimum required size: 299 MB
    --> APPS_TS_TX_DATA tablespace is adequate for the upgrade.
    .... minimum required size: 2322 MB
    --> APPS_TS_QUEUES tablespace is adequate for the upgrade.
    .... minimum required size: 70 MB
    --> OLAP tablespace is adequate for the upgrade.
    .... minimum required size: 16 MB
    Update Parameters: [Update Oracle Database 11.1 init.ora or spfile]
    WARNING: --> "compatible" must be set to at least 10.1.0
    Renamed Parameters: [Update Oracle Database 11.1 init.ora or spfile]
    -- No renamed parameters found. No changes are required.
    Obsolete/Deprecated Parameters: [Update Oracle Database 11.1 init.ora or spfile]
    --> "optimizer_max_permutations"
    --> "row_locking"
    --> "undo_suppress_errors"
    --> "max_enabled_roles"
    --> "enqueue_resources"
    --> "sql_trace"
    --> "background_dump_dest" replaced by "diagnostic_dest"
    --> "user_dump_dest" replaced by "diagnostic_dest"
    --> "core_dump_dest" replaced by "diagnostic_dest"
    Components: [The following database components will be upgraded or installed]
    --> Oracle Catalog Views [upgrade] VALID
    --> Oracle Packages and Types [upgrade] VALID
    --> JServer JAVA Virtual Machine [upgrade] VALID
    --> Oracle XDK for Java [upgrade] VALID
    --> Real Application Clusters [upgrade] INVALID
    --> OLAP Analytic Workspace [upgrade] UPGRADED
    --> OLAP Catalog [upgrade] VALID
    --> Oracle Text [upgrade] VALID
    --> Oracle XML Database [install]
    --> Oracle Java Packages [upgrade] VALID
    --> Oracle interMedia [upgrade] VALID
    --> Spatial [upgrade] VALID
    --> Data Mining [upgrade] VALID
    --> Oracle OLAP API [upgrade] UPGRADED
    Miscellaneous Warnings
    WARNING: --> Passwords exist in some database links.
    .... Passwords will be encrypted during the upgrade.
    .... Downgrade of database links with passwords is not supported.
    WARNING: --> Deprecated CONNECT role granted to some user/roles.
    .... CONNECT role after upgrade has only CREATE SESSION privilege.
    WARNING: --> Database contains stale optimizer statistics.
    .... Refer to the 11g Upgrade Guide for instructions to update
    .... statistics prior to upgrading the database.
    .... Component Schemas with stale statistics:
    .... SYS
    .... OLAPSYS
    .... MDSYS
    .... ODM
    WARNING: --> Database contains INVALID objects prior to upgrade.
    .... The list of invalid SYS/SYSTEM objects was written to
    .... registry$sys_inv_objs.
    .... The list of non-SYS/SYSTEM objects was written to
    .... registry$nonsys_inv_objs.
    .... Use utluiobj.sql after the upgrade to identify any new invalid
    .... objects due to the upgrade.
    .... USER APPS has 3 INVALID objects.
    WARNING: --> Database contains schemas with objects dependent on network
    packages.
    .... Refer to the 11g Upgrade Guide for instructions to configure Network ACLs.
    .... USER APPS has dependent objects.
    .... USER MDSYS has dependent objects.
    SYSAUX Tablespace:
    [Create tablespace in the Oracle Database 11.1 environment]
    --> New "SYSAUX" tablespace
    .... minimum required size for database upgrade: 500 MB
    PL/SQL procedure successfully completed.
    SQL> spool off
    Thank's
    Regards
    GSM

Maybe you are looking for

  • Width of type of line "LINE" doesnu00B4t fit the width of the table - Smartform

    Hi; I´m working with the Z smartform of "YBAA_SDINV", my problem is the next: a) The width of the "TABLEITEM" node had a 31.09cm, b) then i reduced the size of the "TABLEITEM" window and activate the smartform, not warning about problem size was disp

  • Count on sales orders

    Hi All    My requirement is result of report should display no. of sales orders per year/ Per sales organisation/per item. Anyone can suggest me how to proceed to create such type of report in BI7.0. Thanks Vani

  • Implemening Context Menus in ALV table View

    Hi experts, I'm trying to implement a context menu in an ALV Grid table view in web dynpro. It should be able to list a number of possible actions depending on the selected line (like "Move this item to an other folder"). How can I hook such events t

  • How to display integer values and decimal values in same column in a table

    hi  in my report amount column is there in that column integer values (2234) and decimal values (3562.34)  i want to print this values as 1000 separate as like 2,234 as integer and 3,562.34 as decimal but this values print like 2,234.00 as integer an

  • Does Labview's ActiveX server throw any events?

    I'm trying to use Labview as an ActiveX automation server. It works so far, but I can't figure out a good way to get data back from the VI without polling it. Does Labview throw any ActiveX events that I could catch or is there some other way to rece