Global_db_name

Hi
just installed oracle 10g, and set the global name to databasename during installation. didnt provide a domain prefix. however, when i now query the
select * from global_name
it displays databasename.REGRESS.RDBMS.DEV.US.ORACLE.COM
Is it of no risk to just use "alter database rename global_name to <databasename>;" and then problem solved???
thanks for any valuable inputs..

It is not a risk to change it with that statement.
However, check that your db_domain is not set to REGRESS.RDBMS.DEV.US.ORACLE.COM
You can find this in the initsid.ora file, spfile or while connected as sys in SQL*Plus type: show parameters db_domain.

Similar Messages

  • Unable to show Unicode Data in Oracle RESTful Service JSON

    Hi Everyone.
    I have stored unicode data in Oracle database and when i retrieve in sql query it is showing the same. But when i retrieve the data in json using oracle RESTful web service (GET), it bringing with unknown character as shown below.
    next: {},$ref: "http://000.00.00.00:8085/ords/mobile/sch/loginm/?user=SURESH&pwd=123&page=1"
    items: [
    uri: {},$ref: "http://000.00.00.00:8085/ords/mobile/sch/loginm/41"
    stud_id: 41,
    stud_code: "1001",
    stud_name: "அபà¯&#141;தà¯&#129;லà¯&#141; ஜபà¯&#141;பாரà¯&#141;"
    My Database Setup as below:
    SQL> SELECT name,value$ FROM sys.props$;
    NAME                                                          VALUE$
    DICT.BASE                                                  2
    DEFAULT_TEMP_TABLESPACE               TEMP
    DEFAULT_PERMANENT_TABLESPACE     USERS
    DEFAULT_EDITION                                   ORA$BASE
    Flashback Timestamp TimeZone                    GMT
    TDE_MASTER_KEY_ID
    DBTIMEZONE                                        -07:00
    DST_UPGRADE_STATE                         NONE
    DST_PRIMARY_TT_VERSION               11
    DST_SECONDARY_TT_VERSION          0
    DEFAULT_TBS_TYPE                              SMALLFILE
    NLS_LANGUAGE                              AMERICAN
    NLS_TERRITORY                                   AMERICA
    NLS_CURRENCY                                   $
    NLS_ISO_CURRENCY                         AMERICA
    NLS_NUMERIC_CHARACTERS               .,
    NLS_CHARACTERSET                         AL32UTF8
    NLS_CALENDAR                                   GREGORIAN
    NLS_DATE_FORMAT                              DD-MON-RR
    NLS_DATE_LANGUAGE                         AMERICAN
    NLS_SORT                                        BINARY
    NLS_TIME_FORMAT                         HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT               DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT               HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT          DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY                    $
    NLS_COMP                                   BINARY
    NLS_LENGTH_SEMANTICS          BYTE
    NLS_NCHAR_CONV_EXCP          FALSE
    NLS_NCHAR_CHARACTERSET          AL16UTF16
    NLS_RDBMS_VERSION               11.2.0.1.0
    GLOBAL_DB_NAME                    MOBILE
    EXPORT_VIEWS_VERSION   
    SQL> select DECODE(parameter, 'NLS_CHARACTERSET', 'CHARACTER SET',
      2  'NLS_LANGUAGE', 'LANGUAGE',
      3  'NLS_TERRITORY', 'TERRITORY') name,
      4  value from v$nls_parameters
      5  WHERE parameter IN ( 'NLS_CHARACTERSET', 'NLS_LANGUAGE', 'NLS_TERRITORY');
    NAME          VALUE
    LANGUAGE      AMERICAN
    TERRITORY     AMERICA
    CHARACTER SET AL32UTF8
              8
    WORKLOAD_CAPTURE_MODE    
    WORKLOAD_REPLAY_MODE
    Awaiting you solution.
    -- Abdul Jabbar

    Kumar,
    Ftping the PG.xml to mds folder will not help the page to goto MDS directory
    You have to import the file using xmlimporter
    I understand you have done the import, but it is not success.
    Could you please post what is the script you used to import the PG.xml
    and once you run what was the output you have got.
    May be you can refer the URL for the scripts
    http://apps2fusion.com/at/61-kv/331-oa-framework-scripts
    With regards,
    Kali.
    OSSI.

  • Update Statement Simply hanged but doing db file sequential read

    Hi,
    Last night we had issue with one of the prod server where we updating one of table which contains large number records in millions.Same identical machine completed in1 hour and other box never completed but doing db file sequential read but in the long ops the last statement it was done 20:16 after that nothing is happening but i ran few trace on that user.
    /u01/app/oracle/admin/SURV2/udump/surv2_ora_10048.trc
    Oracle Database 10g Release 10.2.0.4.0 - Production
    ORACLE_HOME = /u01/app/oracle/product/10.2.0/db
    System name:     SunOS
    Node name:     prdfa001
    Release:     5.10
    Version:     Generic_139556-08
    Machine:     i86pc
    Instance name: SURV2
    Redo thread mounted by this instance: 1
    Oracle process number: 18
    Unix process pid: 10048, image: oracle@prdfa001
    *** 2010-09-09 23:37:07.484
    *** ACTION NAME:() 2010-09-09 23:37:07.473
    *** MODULE NAME:(SQL*Plus) 2010-09-09 23:37:07.473
    *** SERVICE NAME:(SURV2) 2010-09-09 23:37:07.473
    *** SESSION ID:(289.54) 2010-09-09 23:37:07.473
    Received ORADEBUG command 'unlimit' from process Unix process pid: 3983, image:
    *** 2010-09-09 23:37:20.315
    Received ORADEBUG command 'event 10046 trace name context forever, level 12' from process Unix process pid: 3983, image:
    WAIT #7: nam='db file sequential read' ela= 11160 file#=13 block#=2252349 blocks=1 obj#=166421 tim=12499462835161
    WAIT #7: nam='db file sequential read' ela= 2857 file#=13 block#=2249751 blocks=1 obj#=166421 tim=12499462838137
    WAIT #7: nam='db file sequential read' ela= 3810 file#=13 block#=2251361 blocks=1 obj#=166421 tim=12499462842048
    WAIT #7: nam='db file sequential read' ela= 4459 file#=13 block#=2247059 blocks=1 obj#=166421 tim=12499462846564
    WAIT #7: nam='db file sequential read' ela= 2841 file#=13 block#=2247507 blocks=1 obj#=166421 tim=12499462849468
    WAIT #7: nam='db file sequential read' ela= 427 file#=13 block#=2247568 blocks=1 obj#=166421 tim=12499462850032
    WAIT #7: nam='db file sequential read' ela= 1187 file#=13 block#=2248264 blocks=1 obj#=166421 tim=12499462851327
    WAIT #7: nam='db file sequential read' ela= 2687 file#=13 block#=2250707 blocks=1 obj#=166421 tim=12499462854178
    WAIT #7: nam='db file sequential read' ela= 3657 file#=13 block#=2249697 blocks=1 obj#=166421 tim=12499462857896
    WAIT #7: nam='db file sequential read' ela= 4139 file#=13 block#=2247074 blocks=1 obj#=166421 tim=12499462862093
    WAIT #7: nam='db file sequential read' ela= 4180 file#=47 block#=3649690 blocks=1 obj#=166421 tim=12499509270445
    WAIT #7: nam='db file sequential read' ela= 4802 file#=47 block#=3649309 blocks=1 obj#=166421 tim=12499509275327
    WAIT #7: nam='db file sequential read' ela= 2459 file#=47 block#=3652697 blocks=1 obj#=166421 tim=12499509277859
    WAIT #7: nam='db file sequential read' ela= 4015 file#=47 block#=3652826 blocks=1 obj#=166421 tim=12499509281948
    WAIT #7: nam='db file sequential read' ela= 2248 file#=47 block#=3651610 blocks=1 obj#=166421 tim=12499509284269
    WAIT #7: nam='db file sequential read' ela= 4824 file#=47 block#=3654297 blocks=1 obj#=166421 tim=12499509289166
    WAIT #7: nam='db file sequential read' ela= 2008 file#=47 block#=3652312 blocks=1 obj#=166421 tim=12499509291248
    WAIT #7: nam='db file sequential read' ela= 1925 file#=47 block#=3654490 blocks=1 obj#=166421 tim=12499509293246
    WAIT #7: nam='db file sequential read' ela= 2859 file#=47 block#=3648458 blocks=1 obj#=166421 tim=12499509296178
    WAIT #7: nam='db file sequential read' ela= 1740 file#=47 block#=3648212 blocks=1 obj#=166421 tim=12499509297991
    WAIT #7: nam='db file sequential read' ela= 2566 file#=47 block#=3648411 blocks=1 obj#=166421 tim=12499509300631
    WAIT #7: nam='db file sequential read' ela= 50772 file#=5 block#=480749 blocks=1 obj#=166421 tim=12499509351477
    WAIT #7: nam='db file sequential read' ela= 12928 file#=5 block#=477177 blocks=1 obj#=166421 tim=12499509364482
    WAIT #7: nam='db file sequential read' ela= 11116 file#=5 block#=479412 blocks=1 obj#=166421 tim=12499509375672
    WAIT #7: nam='db file sequential read' ela= 4803 file#=5 block#=483440 blocks=1 obj#=166421 tim=12499509380549
    WAIT #7: nam='db file sequential read' ela= 6900 file#=5 block#=481454 blocks=1 obj#=166421 tim=12499509387522
    Received ORADEBUG command 'event 10046 trace name context off' from process Unix process pid: 3983, image:
    /u01/app/oracle/admin/SURV2/udump/surv2_ora_1545.trc
    Oracle Database 10g Release 10.2.0.4.0 - Production
    ORACLE_HOME = /u01/app/oracle/product/10.2.0/db
    System name:     SunOS
    Node name:     prdfa001
    Release:     5.10
    Version:     Generic_139556-08
    Machine:     i86pc
    Instance name: SURV2
    Redo thread mounted by this instance: 1
    Oracle process number: 22
    Unix process pid: 1545, image: oracle@prdfa001 (TNS V1-V3)
    *** ACTION NAME:() 2010-09-09 23:20:13.485
    *** MODULE NAME:(sqlplus@prdfa001 (TNS V1-V3)) 2010-09-09 23:20:13.485
    *** SERVICE NAME:(SYS$USERS) 2010-09-09 23:20:13.485
    *** SESSION ID:(290.697) 2010-09-09 23:20:13.485
    ===================================================
    SYSTEM STATE
    System global information:
         processes: base 47819b480, size 300, cleanup 4781a5638
         allocation: free sessions 47f1d6148, free calls 0
         control alloc errors: 0 (process), 0 (session), 0 (call)
         PMON latch cleanup depth: 0
         seconds since PMON's last scan for dead processes: 20
         system statistics:
    1171 logons cumulative
    19 logons current
    89219 opened cursors cumulative
    86 opened cursors current
    15095069 user commits
    5 user rollbacks
    58632904 user calls
    44023255 recursive calls
    224311 recursive cpu usage
    201424173 session logical reads
    0 session stored procedure space
    901812 CPU used when call started
    995437 CPU used by this session
    6814196 DB time
    0 cluster wait time
    22542300822 concurrency wait time
    3095 application wait time
    16479074661 user I/O wait time
    1284052668 session connect time
    1284067190 process last non-idle time
    189018343568 session uga memory
    1249667216 session uga memory max
    26059216 messages sent
    26059220 messages received
    239739 background timeouts
    162399896 session pga memory
    189662872 session pga memory max
    4 enqueue timeouts
    901146 enqueue waits
    0 enqueue deadlocks
    32122711 enqueue requests
    17819 enqueue conversions
    32122676 enqueue releases
    0 global enqueue gets sync
    0 global enqueue gets async
    0 global enqueue get time
    0 global enqueue releases
    2865667 physical read total IO requests
    262620 physical read total multi block requests
    270093476864 physical read total bytes
    select SYS_CONTEXT('USERENV', 'SERVER_HOST'), SYS_CONTEXT('USERENV', 'DB_UNIQUE_NAME'), SYS_CONTEXT('USERENV', 'INSTANCE_NAME'), SYS_CONTEXT('USERENV', 'SERVICE_NAME'), INSTANCE_NUMBER, STARTUP_TIME, SYS_CONTEXT('USERENV', 'DB_DOMAIN') from v$instance where INSTANCE_NAME=SYS_CONTEXT('USERENV', 'INSTANCE_NAME')
          hash=550c95f3d0cfa8290e60ea8382d3a2ca timestamp=09-09-2010 04:24:19
          namespace=CRSR flags=RON/KGHP/TIM/PN0/LRG/KST/DBN/MTX/[100100d1]
          kkkk-dddd-llll=0000-0001-0001 lock=N pin=0 latch#=9 hpc=0582 hlc=0582
          lwt=47df576e8[47df576e8,47df576e8] ltm=47df576f8[47df576f8,47df576f8]
          pwt=47df576b0[47df576b0,47df576b0] ptm=47df576c0[47df576c0,47df576c0]
          ref=47df57718[47df57718,47df57718] lnd=47df57730[47df57730,47df57730]
            LIBRARY OBJECT: object=471ee1d38
            type=CRSR flags=EXS[0001] pflags=[0000] status=VALD load=0
            CHILDREN: size=16
            child#    table reference   handle
                 0 471ee1800 471ee1470 47df7dce0
            DATA BLOCKS:
            data#     heap  pointer    status pins change whr
                0 47df7de48 471ee1e50 I/P/A/-/-    0 NONE   00
          SO: 473691d60, type: 53, owner: 47924e810, flag: INIT/-/-/0x00
          LIBRARY OBJECT LOCK: lock=473691d60 handle=47bb22fa0 mode=N
          call pin=0 session pin=0 hpc=0000 hlc=0000
          htl=473691de0[4735dbcb8,476cfbf58] htb=476cfbf58 ssga=476cfb6a0
          user=47924e810 session=47f2310f0 count=1 flags=[0000] savepoint=0x0
          LIBRARY OBJECT HANDLE: handle=47bb22fa0 mtx=47bb230d0(0) cdp=0
          namespace=CRSR flags=RON/KGHP/PN0/EXP/[10010100]
          kkkk-dddd-llll=0000-0001-0001 lock=N pin=0 latch#=3 hpc=fd84 hlc=fd84
          lwt=47bb23048[47bb23048,47bb23048] ltm=47bb23058[47bb23058,47bb23058]
          pwt=47bb23010[47bb23010,47bb23010] ptm=47bb23020[47bb23020,47bb23020]
          ref=47bb23078[472f8de18,472f8de18] lnd=47bb23090[47bb23090,47bb23090]
            LIBRARY OBJECT: object=472f8d9d8
            type=CRSR flags=EXS[0001] pflags=[0000] status=VALD load=0
            DEPENDENCIES: count=1 size=16
            AUTHORIZATIONS: count=1 size=16 minimum entrysize=16
            ACCESSES: count=1 size=16
            TRANSLATIONS: count=1 size=16
            DATA BLOCKS:
            data#     heap  pointer    status pins change whr
                0 47bb22ee0 472f8daf0 I/P/A/-/-    0 NONE   00
                6 472f8e508 46be86250 I/-/A/-/E    0 NONE   00
          SO: 4735dbc38, type: 53, owner: 47924e810, flag: INIT/-/-/0x00
          LIBRARY OBJECT LOCK: lock=4735dbc38 handle=47bb231c8 mode=N
          call pin=0 session pin=0 hpc=0000 hlc=0000
          htl=4735dbcb8[476cfbf58,473691de0] htb=476cfbf58 ssga=476cfb6a0
          user=47924e810 session=47f2310f0 count=1 flags=[0000] savepoint=0x4c894f8b
          LIBRARY OBJECT HANDLE: handle=47bb231c8 mtx=47bb232f8(1) cdp=1
          name=select value$ from props$ where name = 'GLOBAL_DB_NAME'
          hash=4bb432d65c5a391a42a5c3fa74472c7a timestamp=09-09-2010 04:24:12
          namespace=CRSR flags=RON/KGHP/TIM/PN0/SML/KST/DBN/MTX/[120100d0]
          kkkk-dddd-llll=0000-0001-0001 lock=N pin=0 latch#=3 hpc=0584 hlc=0584
          lwt=47bb23270[47bb23270,47bb23270] ltm=47bb23280[47bb23280,47bb23280]
          pwt=47bb23238[47bb23238,47bb23238] ptm=47bb23248[47bb23248,47bb23248]
          ref=47bb232a0[47bb232a0,47bb232a0] lnd=47bb232b8[47bb232b8,47bb232b8]
            LIBRARY OBJECT: object=472f8e6e0
            type=CRSR flags=EXS[0001] pflags=[0000] status=VALD load=0
            CHILDREN: size=16
            child#    table reference   handle
                 0 472f8e1a8 472f8de18 47bb22fa0
            DATA BLOCKS:
            data#     heap  pointer    status pins change whr
                0 47bb23108 472f8e7f8 I/P/A/-/-    0 NONE   00
          SO: 473644348, type: 53, owner: 47924e810, flag: INIT/-/-/0x00
          LIBRARY OBJECT LOCK: lock=473644348 handle=47bbde418 mode=N
          call pin=0 session pin=0 hpc=0000 hlc=0000
          htl=4736443c8[476cfc0b8,476cfc0b8] htb=476cfc0b8 ssga=476cfb6a0
          user=47924e810 session=47924e810 count=1 flags=[0000] savepoint=0x4c894f8b
          LIBRARY OBJECT HANDLE: handle=47bbde418 mtx=47bbde548(0) cdp=0
          name=ALTER SESSION SET TIME_ZONE='+02:00'
          hash=3878dff8839e71e3dd05a2e75fbd6390 timestamp=09-09-2010 04:24:04
          namespace=CRSR flags=RON/KGHP/TIM/PN0/SML/DBN/[12010040]
          kkkk-dddd-llll=0000-0001-0001 lock=N pin=0 latch#=11 hpc=04e8 hlc=04e8
          lwt=47bbde4c0[47bbde4c0,47bbde4c0] ltm=47bbde4d0[47bbde4d0,47bbde4d0]
          pwt=47bbde488[47bbde488,47bbde488] ptm=47bbde498[47bbde498,47bbde498]
          ref=47bbde4f0[47bbde4f0,47bbde4f0] lnd=47bbde508[47bbde508,47bbde508]
            LIBRARY OBJECT: object=472fffc08
            type=CRSR flags=EXS[0001] pflags=[0000] status=VALD load=0
            DATA BLOCKS:
            data#     heap  pointer    status pins change whr
                0 47bbde320 472fffd20 I/P/A/-/-    0 NONE   00
          SO: 47aecf9e8, type: 41, owner: 47924e810, flag: INIT/-/-/0x00
          (dummy) nxc=0, nlb=0  
        SO: 47f290540, type: 11, owner: 4781a7dc0, flag: INIT/-/-/0x00
        (broadcast handle) flag: (2) ACTIVE SUBSCRIBER, owner: 4781a7dc0,
                           event: 1132, last message event: 1132,
                           last message waited event: 1132,                        next message: 0(0), messages read: 0
                           channel: (47a2df4f8) system events broadcast channel
                                    scope: 2, event: 1132, last mesage event: 18,
                                    publishers/subscribers: 0/17,
                                    messages published: 1
        SO: 47826b228, type: 3, owner: 4781a7dc0, flag: INIT/-/-/0x00
        (call) sess: cur 47924e810, rec 0, usr 47924e810; depth: 0
        SO: 476c52968, type: 16, owner: 4781a7dc0, flag: INIT/-/-/0x00
        (osp req holder)
    PSEUDO PROCESS for group DEFAULT:
      SO: 47a1eb7d0, type: 2, owner: 0, flag: INIT/-/-/0x00
      (process) Oracle pid=0, calls cur/top: 0/0, flag: (20) PSEUDO
                int error: 0, call error: 0, sess error: 0, txn error 0
      (post info) last post received: 0 0 0
                  last post received-location: No post
                  last process to post me: none
                  last post sent: 0 0 0
                  last post sent-location: No post
                  last process posted by me: none
        (latch info) wait_event=0 bits=0
        Process Group: DEFAULT, pseudo proc: 47a1eb7d0
        O/S info: user: , term: , ospid:  (DEAD)
        OSD pid info: Unix process pid: 0, image: PSEUDO
    Dump of memory from 0x00000004791BF538 to 0x00000004791BF740
    4791BF530                   00000000 00000000          [........]
    4791BF540 00000000 00000000 00000000 00000000  [................]
      Repeat 31 times
    NO DETACHED BRANCHES.
    NO DETACHED NETWORK CONNECTIONS.
    CLEANUP STATE OBJECTS:
    SO: 47f0cd038, type: 1, owner: 0, flag: INIT/-/-/0x00
    (cleanup state object) description: instance enqueue anchor state
    latch: 0x380009890
      SO: 4782cf080, type: 5, owner: 47f0cd038, flag: INIT/-/-/0x00
      (enqueue) TA-00000006-00000001     DID: 0001-000F-0000000B
      lv: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  res_flag: 0x2
      res: 0x47a28d020, mode: X, lock_flag: 0x0
      own: 0x0, sess: 0x0, prv: 0x47a28d030
    SO: 47f0cd098, type: 1, owner: 0, flag: INIT/-/-/0x00
    (cleanup state object) description: switchable channel handle anch
    latch: 0x38000ac98
      SO: 47f28f868, type: 11, owner: 47f0cd098, flag: INIT/-/-/0x00
      (broadcast handle) flag: (c2) ACTIVE SUBSCRIBER, owner: 0,
                         event: 1, last message event: 1,
                         last message waited event: 1,                      next message: 0(0), messages read: 0
                         channel: (47a2e4190) KPON channel
                                  scope: 2, event: 1, last mesage event: 0,
                                  publishers/subscribers: 0/1,
                                  messages published: 0
    SO: 47f0cd0f8, type: 1, owner: 0, flag: INIT/-/-/0x00
    (cleanup state object) description: TT shared object cleanup SO
    latch: 0x38001c6b8
    SO: 47f0cd158, type: 1, owner: 0, flag: INIT/-/-/0x00
    (cleanup state object) description: SS shared object cleanup SO
    latch: 0x38001cd48
    END OF SYSTEM STATE
    Top 5 Timed Events                                         Avg %Total
    ~~~~~~~~~~~~~~~~~~                                        wait   Call
    Event                                 Waits    Time (s)   (ms)   Time Wait Class
    db file sequential read           2,347,652       9,215      4   64.5   User I/O
    db file scattered read              245,687       4,199     17   29.4   User I/O
    CPU time                                            974           6.8
    db file parallel write               50,082         408      8    2.9 System I/O
    log file parallel write               6,963          52      7    0.4 System I/O
    Time Model Statistics                DB/Inst: SURV2/SURV2  Snaps: 19172-19178
    -> Total time in database user-calls (DB Time): 14286.4s
    -> Statistics including the word "background" measure background process
       time, and so do not contribute to the DB time statistic
    -> Ordered by % or DB time desc, Statistic name
    Statistic Name                                       Time (s) % of DB Time
    sql execute elapsed time                             14,280.3        100.0
    DB CPU                                                  974.5          6.8
    PL/SQL execution elapsed time                           531.8          3.7
    parse time elapsed                                       30.5           .2
    hard parse elapsed time                                  27.1           .2
    connection management call elapsed time                  14.9           .1
    hard parse (sharing criteria) elapsed time                3.4           .0
    hard parse (bind mismatch) elapsed time                   3.1           .0
    PL/SQL compilation elapsed time                           2.4           .0
    failed parse elapsed time                                 0.0           .0
    repeated bind elapsed time                                0.0           .0
    sequence load elapsed time                                0.0           .0
    DB time                                              14,286.4          N/A
    background elapsed time                                 670.2          N/A
    background cpu time                                     186.1          N/A
    Wait Class                            DB/Inst: SURV2/SURV2  Snaps: 19172-19178
    -> s  - second
    -> cs - centisecond -     100th of a second
    -> ms - millisecond -    1000th of a second
    -> us - microsecond - 1000000th of a second
    -> ordered by wait time desc, waits desc
                                                                      Avg
                                           %Time       Total Wait    wait     Waits
    Wait Class                      Waits  -outs         Time (s)    (ms)      /txn
    User I/O                    2,593,484     .0           13,415       5     150.0
    System I/O                     87,506     .0              515       6       5.1
    Other                             839   11.4                6       7       0.0
    Commit                          3,225     .1                6       2       0.2
    Concurrency                     1,033     .0                5       5       0.1
    Configuration                   2,514   99.4                0       0       0.1
    Network                        47,559     .0                0       0       2.8
    Application                         7     .0                0       0       0.0
    Wait Events                          DB/Inst: SURV2/SURV2  Snaps: 19172-19178
    -> s  - second
    -> cs - centisecond -     100th of a second
    -> ms - millisecond -    1000th of a second
    -> us - microsecond - 1000000th of a second
    -> ordered by wait time desc, waits desc (idle events last)
                                                                       Avg
                                                 %Time  Total Wait    wait     Waits
    Event                                 Waits  -outs    Time (s)    (ms)      /txn
    db file sequential read           2,347,652     .0       9,215       4     135.8
    db file scattered read              245,687     .0       4,199      17      14.2
    db file parallel write               50,082     .0         408       8       2.9
    log file parallel write               6,963     .0          52       7       0.4
    control file parallel write           6,203     .0          44       7       0.4
    control file sequential read         24,242     .0          11       0       1.4
    log file sync                         3,225     .1           6       2       0.2
    latch free                               84     .0           4      47       0.0
    os thread startup                        25     .0           3     120       0.0
    latch: session allocation                39     .0           1      33       0.0
    db file parallel read                    12     .0           1      92       0.0
    enq: TX - index contention              186     .0           1       3       0.0
    latch: shared pool                       47     .0           1      11       0.0
    LGWR wait for redo copy                 319    3.1           0       1       0.0
    library cache load lock                   2     .0           0     172       0.0
    buffer busy waits                       590     .0           0       0       0.0
    log file switch completion                6     .0           0      29       0.0
    SGA: allocation forcing comp             11   54.5           0      14       0.0
    latch: library cache lock                50     .0           0       3       0.0
    read by other session                    38     .0           0       4       0.0
    direct path read                         42     .0           0       3       0.0
    SQL*Net message to client            44,807     .0           0       0       2.6
    rdbms ipc reply                         207     .0           0       0       0.0
    SQL*Net more data from clien          1,014     .0           0       0       0.1
    latch: cache buffers chains              24     .0           0       1       0.0
    latch: library cache                     29     .0           0       1       0.0
    log file sequential read                  8     .0           0       3       0.0
    direct path write                        50     .0           0       0       0.0
    SQL*Net more data to client             398     .0           0       0       0.0
    latch: object queue header o             12     .0           0       1       0.0
    latch: In memory undo latch              78     .0           0       0       0.0
    undo segment extension                2,507   99.7           0       0       0.1
    latch: cache buffers lru cha              4     .0           0       1       0.0
    log file single write                     8     .0           0       0       0.0
    local write wait                          3     .0           0       1       0.0
    enq: RO - fast object reuse               3     .0           0       1       0.0
    buffer deadlock                          87   92.0           0       0       0.0
    enq: JS - queue lock                      1     .0           0       1       0.0
    cursor: pin S                            70     .0           0       0       0.0
    latch: row cache objects                  2     .0           0       1       0.0
    SQL*Net message to dblink             1,338     .0           0       0       0.1
    latch: checkpoint queue latc              2     .0           0       0       0.0
    reliable message                          3     .0           0       0       0.0
    log buffer space                          1     .0           0       1       0.0
    SQL*Net break/reset to clien              4     .0           0       0       0.0
    SQL*Net more data from dblin              2     .0           0       0       0.0
    SQL*Net message from client          44,949     .0     155,701    3464       2.6
    virtual circuit status                  621  100.0      18,156   29237       0.0
    Streams AQ: qmn slave idle w            664     .0      18,127   27299       0.0
    Streams AQ: qmn coordinator           1,339   50.4      18,099   13517       0.1
    Streams AQ: waiting for time             12  100.0       8,741  728394       0.0
    jobq slave wait                         130  100.0         380    2927       0.0
    PL/SQL lock timer                         1  100.0           1     978       0.0
    SQL*Net message from dblink           1,338     .0           0       0       0.1
    single-task message                       1     .0           0      38       0.0
    class slave wait                         11     .0           0       1       0.0
    SQL ordered by Elapsed Time          DB/Inst: SURV2/SURV2  Snaps: 19172-19178
    -> Resources reported for PL/SQL code includes the resources used by all SQL
       statements called by the code.
    -> % Total DB Time is the Elapsed Time of the SQL statement divided
       into the Total Database Time multiplied by 100
      Elapsed      CPU                  Elap per  % Total
      Time (s)   Time (s)  Executions   Exec (s)  DB Time    SQL Id
        13,664        906            0        N/A    95.6 gr2cx6athc5j5
    Module: SQL*Plus
    BEGIN DBMS_OUTPUT.PUT_LINE(equiduct.eod(NULL,NULL)); END;
         8,792        195            0        N/A    61.5 986fzxtzr52u5
    Module: SQL*Plus
    UPDATE TIBEX_ORDER SET INSTRUMENTID=:"SYS_B_0" WHERE INSTRUMENTID=:"SYS_B_1"
         2,524        368            1     2524.1    17.7 c4uf0x6hdgnwq
    Module: SQL*Plus
    UPDATE TIBEX_FIXSESSIONSTATE SET INSTRUMENTID=:"SYS_B_0" WHERE INSTRUMENTID=:"
    SYS_B_1"
         1,414        177            1     1414.4     9.9 cbg09ma34kq8w
    Module: SQL*Plus
    SELECT count(*) FROM TIBEX_ORDER WHERE INSTRUMENTID=:"SYS_B_0"
           742        137            1      742.2     5.2 g0sg6v994wssq
    Module: SQL*Plus
    SELECT count(*) FROM TIBEX_FIXSESSIONSTATE WHERE INSTRUMENTID=:"SYS_B_0"
           274         11            1      274.2     1.9 6mcpb06rctk0x
    Module: DBMS_SCHEDULER
    call dbms_space.auto_space_advisor_job_proc ( )
           264          8           27        9.8     1.8 8szmwam7fysa3
    Module: DBMS_SCHEDULER
    insert into wri$_adv_objspace_trend_data select timepoint, space_usage, space_a
    lloc, quality from table(dbms_space.object_growth_trend(:1, :2, :3, :4, NULL, N
    ULL, NULL, 'FALSE', :5, 'FALSE'))
            99          1            1       99.4     0.7 1z0x41f66nvjr
    Module: SQL*Plus
    UPDATE TIBEX_INSTRUMENTADMIN SET INSTRUMENTID=:"SYS_B_0" WHERE INSTRUMENTID=:"
    SYS_B_1"
            21         10            1       21.5     0.2 bbc1ck8594kvj
    Module: SQL*Plus
    UPDATE TIBEX_INSTRUMENTDAILYHIST SET ADJOPEN=NVL(ADJOPEN,OPEN), ADJHIGH=NVL(ADJH
    IGH,HIGH), ADJLOW=NVL(ADJLOW,LOW), ADJMID=NVL(ADJMID,MID), ADJCLOSE=NVL(ADJCLOSE
    ,CLOSE), ADJVOLUME=NVL(ADJVOLUME,VOLUME), ADJCLOSINGBID=NVL(ADJCLOSINGBID,CLOSIN
    GBID), ADJCLOSINGOFFER=NVL(ADJCLOSINGOFFER,CLOSINGOFFER)
            12          0            1       12.5     0.1 6xm9p9uy5kaap
    Module: SQL*Plus
    SELECT count(*) FROM TIBEX_INSTRUMENTSTATE WHERE INSTRUMENTID=:"SYS_B_0"
    SQL ordered by CPU Time              DB/Inst: SURV2/SURV2  Snaps: 19172-19178
    -> Resources reported for PL/SQL code includes the resources used by all SQL
       statements called by the code.
    -> % Total DB Time is the Elapsed Time of the SQL statement divided
       into the Total Database Time multiplied by 100
        CPU      Elapsed                  CPU per  % Total
      Time (s)   Time (s)  Executions     Exec (s) DB Time    SQL Id
           906     13,664            0         N/A    95.6 gr2cx6athc5j5
    Module: SQL*Plus
    BEGIN DBMS_OUTPUT.PUT_LINE(equiduct.eod(NULL,NULL)); END;
           368      2,524            1      367.51    17.7 c4uf0x6hdgnwq
    Module: SQL*Plus
    UPDATE TIBEX_FIXSESSIONSTATE SET INSTRUMENTID=:"SYS_B_0" WHERE INSTRUMENTID=:"
    SYS_B_1"
           195      8,792            0         N/A    61.5 986fzxtzr52u5
    Module: SQL*Plus
    UPDATE TIBEX_ORDER SET INSTRUMENTID=:"SYS_B_0" WHERE INSTRUMENTID=:"SYS_B_1"
           177      1,414            1      176.93     9.9 cbg09ma34kq8w
    Module: SQL*Plus
    SELECT count(*) FROM TIBEX_ORDER WHERE INSTRUMENTID=:"SYS_B_0"
           137        742            1      137.38     5.2 g0sg6v994wssq
    Module: SQL*Plus
    SELECT count(*) FROM TIBEX_FIXSESSIONSTATE WHERE INSTRUMENTID=:"SYS_B_0"
            11        274            1       10.82     1.9 6mcpb06rctk0x
    Module: DBMS_SCHEDULER
    call dbms_space.auto_space_advisor_job_proc ( )
            10         21            1        9.65     0.2 bbc1ck8594kvjEdited by: NM on 10-Sep-2010 07:39

    Hi,
    Last night we had issue with one of the prod server where we updating one of table which contains large number records in millions.Same identical machine completed in1 hour and other box never completed but doing db file sequential read but in the long ops the last statement it was done 20:16 after that nothing is happening but i ran few trace on that user.
    /u01/app/oracle/admin/SURV2/udump/surv2_ora_10048.trc
    Oracle Database 10g Release 10.2.0.4.0 - Production
    ORACLE_HOME = /u01/app/oracle/product/10.2.0/db
    System name:     SunOS
    Node name:     prdfa001
    Release:     5.10
    Version:     Generic_139556-08
    Machine:     i86pc
    Instance name: SURV2
    Redo thread mounted by this instance: 1
    Oracle process number: 18
    Unix process pid: 10048, image: oracle@prdfa001
    *** 2010-09-09 23:37:07.484
    *** ACTION NAME:() 2010-09-09 23:37:07.473
    *** MODULE NAME:(SQL*Plus) 2010-09-09 23:37:07.473
    *** SERVICE NAME:(SURV2) 2010-09-09 23:37:07.473
    *** SESSION ID:(289.54) 2010-09-09 23:37:07.473
    Received ORADEBUG command 'unlimit' from process Unix process pid: 3983, image:
    *** 2010-09-09 23:37:20.315
    Received ORADEBUG command 'event 10046 trace name context forever, level 12' from process Unix process pid: 3983, image:
    WAIT #7: nam='db file sequential read' ela= 11160 file#=13 block#=2252349 blocks=1 obj#=166421 tim=12499462835161
    WAIT #7: nam='db file sequential read' ela= 2857 file#=13 block#=2249751 blocks=1 obj#=166421 tim=12499462838137
    WAIT #7: nam='db file sequential read' ela= 3810 file#=13 block#=2251361 blocks=1 obj#=166421 tim=12499462842048
    WAIT #7: nam='db file sequential read' ela= 4459 file#=13 block#=2247059 blocks=1 obj#=166421 tim=12499462846564
    WAIT #7: nam='db file sequential read' ela= 2841 file#=13 block#=2247507 blocks=1 obj#=166421 tim=12499462849468
    WAIT #7: nam='db file sequential read' ela= 427 file#=13 block#=2247568 blocks=1 obj#=166421 tim=12499462850032
    WAIT #7: nam='db file sequential read' ela= 1187 file#=13 block#=2248264 blocks=1 obj#=166421 tim=12499462851327
    WAIT #7: nam='db file sequential read' ela= 2687 file#=13 block#=2250707 blocks=1 obj#=166421 tim=12499462854178
    WAIT #7: nam='db file sequential read' ela= 3657 file#=13 block#=2249697 blocks=1 obj#=166421 tim=12499462857896
    WAIT #7: nam='db file sequential read' ela= 4139 file#=13 block#=2247074 blocks=1 obj#=166421 tim=12499462862093
    WAIT #7: nam='db file sequential read' ela= 4180 file#=47 block#=3649690 blocks=1 obj#=166421 tim=12499509270445
    WAIT #7: nam='db file sequential read' ela= 4802 file#=47 block#=3649309 blocks=1 obj#=166421 tim=12499509275327
    WAIT #7: nam='db file sequential read' ela= 2459 file#=47 block#=3652697 blocks=1 obj#=166421 tim=12499509277859
    WAIT #7: nam='db file sequential read' ela= 4015 file#=47 block#=3652826 blocks=1 obj#=166421 tim=12499509281948
    WAIT #7: nam='db file sequential read' ela= 2248 file#=47 block#=3651610 blocks=1 obj#=166421 tim=12499509284269
    WAIT #7: nam='db file sequential read' ela= 4824 file#=47 block#=3654297 blocks=1 obj#=166421 tim=12499509289166
    WAIT #7: nam='db file sequential read' ela= 2008 file#=47 block#=3652312 blocks=1 obj#=166421 tim=12499509291248
    WAIT #7: nam='db file sequential read' ela= 1925 file#=47 block#=3654490 blocks=1 obj#=166421 tim=12499509293246
    WAIT #7: nam='db file sequential read' ela= 2859 file#=47 block#=3648458 blocks=1 obj#=166421 tim=12499509296178
    WAIT #7: nam='db file sequential read' ela= 1740 file#=47 block#=3648212 blocks=1 obj#=166421 tim=12499509297991
    WAIT #7: nam='db file sequential read' ela= 2566 file#=47 block#=3648411 blocks=1 obj#=166421 tim=12499509300631
    WAIT #7: nam='db file sequential read' ela= 50772 file#=5 block#=480749 blocks=1 obj#=166421 tim=12499509351477
    WAIT #7: nam='db file sequential read' ela= 12928 file#=5 block#=477177 blocks=1 obj#=166421 tim=12499509364482
    WAIT #7: nam='db file sequential read' ela= 11116 file#=5 block#=479412 blocks=1 obj#=166421 tim=12499509375672
    WAIT #7: nam='db file sequential read' ela= 4803 file#=5 block#=483440 blocks=1 obj#=166421 tim=12499509380549
    WAIT #7: nam='db file sequential read' ela= 6900 file#=5 block#=481454 blocks=1 obj#=166421 tim=12499509387522
    Received ORADEBUG command 'event 10046 trace name context off' from process Unix process pid: 3983, image:
    /u01/app/oracle/admin/SURV2/udump/surv2_ora_1545.trc
    Oracle Database 10g Release 10.2.0.4.0 - Production
    ORACLE_HOME = /u01/app/oracle/product/10.2.0/db
    System name:     SunOS
    Node name:     prdfa001
    Release:     5.10
    Version:     Generic_139556-08
    Machine:     i86pc
    Instance name: SURV2
    Redo thread mounted by this instance: 1
    Oracle process number: 22
    Unix process pid: 1545, image: oracle@prdfa001 (TNS V1-V3)
    *** ACTION NAME:() 2010-09-09 23:20:13.485
    *** MODULE NAME:(sqlplus@prdfa001 (TNS V1-V3)) 2010-09-09 23:20:13.485
    *** SERVICE NAME:(SYS$USERS) 2010-09-09 23:20:13.485
    *** SESSION ID:(290.697) 2010-09-09 23:20:13.485
    ===================================================
    SYSTEM STATE
    System global information:
         processes: base 47819b480, size 300, cleanup 4781a5638
         allocation: free sessions 47f1d6148, free calls 0
         control alloc errors: 0 (process), 0 (session), 0 (call)
         PMON latch cleanup depth: 0
         seconds since PMON's last scan for dead processes: 20
         system statistics:
    1171 logons cumulative
    19 logons current
    89219 opened cursors cumulative
    86 opened cursors current
    15095069 user commits
    5 user rollbacks
    58632904 user calls
    44023255 recursive calls
    224311 recursive cpu usage
    201424173 session logical reads
    0 session stored procedure space
    901812 CPU used when call started
    995437 CPU used by this session
    6814196 DB time
    0 cluster wait time
    22542300822 concurrency wait time
    3095 application wait time
    16479074661 user I/O wait time
    1284052668 session connect time
    1284067190 process last non-idle time
    189018343568 session uga memory
    1249667216 session uga memory max
    26059216 messages sent
    26059220 messages received
    239739 background timeouts
    162399896 session pga memory
    189662872 session pga memory max
    4 enqueue timeouts
    901146 enqueue waits
    0 enqueue deadlocks
    32122711 enqueue requests
    17819 enqueue conversions
    32122676 enqueue releases
    0 global enqueue gets sync
    0 global enqueue gets async
    0 global enqueue get time
    0 global enqueue releases
    2865667 physical read total IO requests
    262620 physical read total multi block requests
    270093476864 physical read total bytes
    select SYS_CONTEXT('USERENV', 'SERVER_HOST'), SYS_CONTEXT('USERENV', 'DB_UNIQUE_NAME'), SYS_CONTEXT('USERENV', 'INSTANCE_NAME'), SYS_CONTEXT('USERENV', 'SERVICE_NAME'), INSTANCE_NUMBER, STARTUP_TIME, SYS_CONTEXT('USERENV', 'DB_DOMAIN') from v$instance where INSTANCE_NAME=SYS_CONTEXT('USERENV', 'INSTANCE_NAME')
          hash=550c95f3d0cfa8290e60ea8382d3a2ca timestamp=09-09-2010 04:24:19
          namespace=CRSR flags=RON/KGHP/TIM/PN0/LRG/KST/DBN/MTX/[100100d1]
          kkkk-dddd-llll=0000-0001-0001 lock=N pin=0 latch#=9 hpc=0582 hlc=0582
          lwt=47df576e8[47df576e8,47df576e8] ltm=47df576f8[47df576f8,47df576f8]
          pwt=47df576b0[47df576b0,47df576b0] ptm=47df576c0[47df576c0,47df576c0]
          ref=47df57718[47df57718,47df57718] lnd=47df57730[47df57730,47df57730]
            LIBRARY OBJECT: object=471ee1d38
            type=CRSR flags=EXS[0001] pflags=[0000] status=VALD load=0
            CHILDREN: size=16
            child#    table reference   handle
                 0 471ee1800 471ee1470 47df7dce0
            DATA BLOCKS:
            data#     heap  pointer    status pins change whr
                0 47df7de48 471ee1e50 I/P/A/-/-    0 NONE   00
          SO: 473691d60, type: 53, owner: 47924e810, flag: INIT/-/-/0x00
          LIBRARY OBJECT LOCK: lock=473691d60 handle=47bb22fa0 mode=N
          call pin=0 session pin=0 hpc=0000 hlc=0000
          htl=473691de0[4735dbcb8,476cfbf58] htb=476cfbf58 ssga=476cfb6a0
          user=47924e810 session=47f2310f0 count=1 flags=[0000] savepoint=0x0
          LIBRARY OBJECT HANDLE: handle=47bb22fa0 mtx=47bb230d0(0) cdp=0
          namespace=CRSR flags=RON/KGHP/PN0/EXP/[10010100]
          kkkk-dddd-llll=0000-0001-0001 lock=N pin=0 latch#=3 hpc=fd84 hlc=fd84
          lwt=47bb23048[47bb23048,47bb23048] ltm=47bb23058[47bb23058,47bb23058]
          pwt=47bb23010[47bb23010,47bb23010] ptm=47bb23020[47bb23020,47bb23020]
          ref=47bb23078[472f8de18,472f8de18] lnd=47bb23090[47bb23090,47bb23090]
            LIBRARY OBJECT: object=472f8d9d8
            type=CRSR flags=EXS[0001] pflags=[0000] status=VALD load=0
            DEPENDENCIES: count=1 size=16
            AUTHORIZATIONS: count=1 size=16 minimum entrysize=16
            ACCESSES: count=1 size=16
            TRANSLATIONS: count=1 size=16
            DATA BLOCKS:
            data#     heap  pointer    status pins change whr
                0 47bb22ee0 472f8daf0 I/P/A/-/-    0 NONE   00
                6 472f8e508 46be86250 I/-/A/-/E    0 NONE   00
          SO: 4735dbc38, type: 53, owner: 47924e810, flag: INIT/-/-/0x00
          LIBRARY OBJECT LOCK: lock=4735dbc38 handle=47bb231c8 mode=N
          call pin=0 session pin=0 hpc=0000 hlc=0000
          htl=4735dbcb8[476cfbf58,473691de0] htb=476cfbf58 ssga=476cfb6a0
          user=47924e810 session=47f2310f0 count=1 flags=[0000] savepoint=0x4c894f8b
          LIBRARY OBJECT HANDLE: handle=47bb231c8 mtx=47bb232f8(1) cdp=1
          name=select value$ from props$ where name = 'GLOBAL_DB_NAME'
          hash=4bb432d65c5a391a42a5c3fa74472c7a timestamp=09-09-2010 04:24:12
          namespace=CRSR flags=RON/KGHP/TIM/PN0/SML/KST/DBN/MTX/[120100d0]
          kkkk-dddd-llll=0000-0001-0001 lock=N pin=0 latch#=3 hpc=0584 hlc=0584
          lwt=47bb23270[47bb23270,47bb23270] ltm=47bb23280[47bb23280,47bb23280]
          pwt=47bb23238[47bb23238,47bb23238] ptm=47bb23248[47bb23248,47bb23248]
          ref=47bb232a0[47bb232a0,47bb232a0] lnd=47bb232b8[47bb232b8,47bb232b8]
            LIBRARY OBJECT: object=472f8e6e0
            type=CRSR flags=EXS[0001] pflags=[0000] status=VALD load=0
            CHILDREN: size=16
            child#    table reference   handle
                 0 472f8e1a8 472f8de18 47bb22fa0
            DATA BLOCKS:
            data#     heap  pointer    status pins change whr
                0 47bb23108 472f8e7f8 I/P/A/-/-    0 NONE   00
          SO: 473644348, type: 53, owner: 47924e810, flag: INIT/-/-/0x00
          LIBRARY OBJECT LOCK: lock=473644348 handle=47bbde418 mode=N
          call pin=0 session pin=0 hpc=0000 hlc=0000
          htl=4736443c8[476cfc0b8,476cfc0b8] htb=476cfc0b8 ssga=476cfb6a0
          user=47924e810 session=47924e810 count=1 flags=[0000] savepoint=0x4c894f8b
          LIBRARY OBJECT HANDLE: handle=47bbde418 mtx=47bbde548(0) cdp=0
          name=ALTER SESSION SET TIME_ZONE='+02:00'
          hash=3878dff8839e71e3dd05a2e75fbd6390 timestamp=09-09-2010 04:24:04
          namespace=CRSR flags=RON/KGHP/TIM/PN0/SML/DBN/[12010040]
          kkkk-dddd-llll=0000-0001-0001 lock=N pin=0 latch#=11 hpc=04e8 hlc=04e8
          lwt=47bbde4c0[47bbde4c0,47bbde4c0] ltm=47bbde4d0[47bbde4d0,47bbde4d0]
          pwt=47bbde488[47bbde488,47bbde488] ptm=47bbde498[47bbde498,47bbde498]
          ref=47bbde4f0[47bbde4f0,47bbde4f0] lnd=47bbde508[47bbde508,47bbde508]
            LIBRARY OBJECT: object=472fffc08
            type=CRSR flags=EXS[0001] pflags=[0000] status=VALD load=0
            DATA BLOCKS:
            data#     heap  pointer    status pins change whr
                0 47bbde320 472fffd20 I/P/A/-/-    0 NONE   00
          SO: 47aecf9e8, type: 41, owner: 47924e810, flag: INIT/-/-/0x00
          (dummy) nxc=0, nlb=0  
        SO: 47f290540, type: 11, owner: 4781a7dc0, flag: INIT/-/-/0x00
        (broadcast handle) flag: (2) ACTIVE SUBSCRIBER, owner: 4781a7dc0,
                           event: 1132, last message event: 1132,
                           last message waited event: 1132,                        next message: 0(0), messages read: 0
                           channel: (47a2df4f8) system events broadcast channel
                                    scope: 2, event: 1132, last mesage event: 18,
                                    publishers/subscribers: 0/17,
                                    messages published: 1
        SO: 47826b228, type: 3, owner: 4781a7dc0, flag: INIT/-/-/0x00
        (call) sess: cur 47924e810, rec 0, usr 47924e810; depth: 0
        SO: 476c52968, type: 16, owner: 4781a7dc0, flag: INIT/-/-/0x00
        (osp req holder)
    PSEUDO PROCESS for group DEFAULT:
      SO: 47a1eb7d0, type: 2, owner: 0, flag: INIT/-/-/0x00
      (process) Oracle pid=0, calls cur/top: 0/0, flag: (20) PSEUDO
                int error: 0, call error: 0, sess error: 0, txn error 0
      (post info) last post received: 0 0 0
                  last post received-location: No post
                  last process to post me: none
                  last post sent: 0 0 0
                  last post sent-location: No post
                  last process posted by me: none
        (latch info) wait_event=0 bits=0
        Process Group: DEFAULT, pseudo proc: 47a1eb7d0
        O/S info: user: , term: , ospid:  (DEAD)
        OSD pid info: Unix process pid: 0, image: PSEUDO
    Dump of memory from 0x00000004791BF538 to 0x00000004791BF740
    4791BF530                   00000000 00000000          [........]
    4791BF540 00000000 00000000 00000000 00000000  [................]
      Repeat 31 times
    NO DETACHED BRANCHES.
    NO DETACHED NETWORK CONNECTIONS.
    CLEANUP STATE OBJECTS:
    SO: 47f0cd038, type: 1, owner: 0, flag: INIT/-/-/0x00
    (cleanup state object) description: instance enqueue anchor state
    latch: 0x380009890
      SO: 4782cf080, type: 5, owner: 47f0cd038, flag: INIT/-/-/0x00
      (enqueue) TA-00000006-00000001     DID: 0001-000F-0000000B
      lv: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  res_flag: 0x2
      res: 0x47a28d020, mode: X, lock_flag: 0x0
      own: 0x0, sess: 0x0, prv: 0x47a28d030
    SO: 47f0cd098, type: 1, owner: 0, flag: INIT/-/-/0x00
    (cleanup state object) description: switchable channel handle anch
    latch: 0x38000ac98
      SO: 47f28f868, type: 11, owner: 47f0cd098, flag: INIT/-/-/0x00
      (broadcast handle) flag: (c2) ACTIVE SUBSCRIBER, owner: 0,
                         event: 1, last message event: 1,
                         last message waited event: 1,                      next message: 0(0), messages read: 0
                         channel: (47a2e4190) KPON channel
                                  scope: 2, event: 1, last mesage event: 0,
                                  publishers/subscribers: 0/1,
                                  messages published: 0
    SO: 47f0cd0f8, type: 1, owner: 0, flag: INIT/-/-/0x00
    (cleanup state object) description: TT shared object cleanup SO
    latch: 0x38001c6b8
    SO: 47f0cd158, type: 1, owner: 0, flag: INIT/-/-/0x00
    (cleanup state object) description: SS shared object cleanup SO
    latch: 0x38001cd48
    END OF SYSTEM STATE
    Top 5 Timed Events                                         Avg %Total
    ~~~~~~~~~~~~~~~~~~                                        wait   Call
    Event                                 Waits    Time (s)   (ms)   Time Wait Class
    db file sequential read           2,347,652       9,215      4   64.5   User I/O
    db file scattered read              245,687       4,199     17   29.4   User I/O
    CPU time                                            974           6.8
    db file parallel write               50,082         408      8    2.9 System I/O
    log file parallel write               6,963          52      7    0.4 System I/O
    Time Model Statistics                DB/Inst: SURV2/SURV2  Snaps: 19172-19178
    -> Total time in database user-calls (DB Time): 14286.4s
    -> Statistics including the word "background" measure background process
       time, and so do not contribute to the DB time statistic
    -> Ordered by % or DB time desc, Statistic name
    Statistic Name                                       Time (s) % of DB Time
    sql execute elapsed time                             14,280.3        100.0
    DB CPU                                                  974.5          6.8
    PL/SQL execution elapsed time                           531.8          3.7
    parse time elapsed                                       30.5           .2
    hard parse elapsed time                                  27.1           .2
    connection management call elapsed time                  14.9           .1
    hard parse (sharing criteria) elapsed time                3.4           .0
    hard parse (bind mismatch) elapsed time                   3.1           .0
    PL/SQL compilation elapsed time                           2.4           .0
    failed parse elapsed time                                 0.0           .0
    repeated bind elapsed time                                0.0           .0
    sequence load elapsed time                                0.0           .0
    DB time                                              14,286.4          N/A
    background elapsed time                                 670.2          N/A
    background cpu time                                     186.1          N/A
    Wait Class                            DB/Inst: SURV2/SURV2  Snaps: 19172-19178
    -> s  - second
    -> cs - centisecond -     100th of a second
    -> ms - millisecond -    1000th of a second
    -> us - microsecond - 1000000th of a second
    -> ordered by wait time desc, waits desc
                                                                      Avg
                                           %Time       Total Wait    wait     Waits
    Wait Class                      Waits  -outs         Time (s)    (ms)      /txn
    User I/O                    2,593,484     .0           13,415       5     150.0
    System I/O                     87,506     .0              515       6       5.1
    Other                             839   11.4                6       7       0.0
    Commit                          3,225     .1                6       2       0.2
    Concurrency                     1,033     .0                5       5       0.1
    Configuration                   2,514   99.4                0       0       0.1
    Network                        47,559     .0                0       0       2.8
    Application                         7     .0                0       0       0.0
    Wait Events                          DB/Inst: SURV2/SURV2  Snaps: 19172-19178
    -> s  - second
    -> cs - centisecond -     100th of a second
    -> ms - millisecond -    1000th of a second
    -> us - microsecond - 1000000th of a second
    -> ordered by wait time desc, waits desc (idle events last)
                                                                       Avg
                                                 %Time  Total Wait    wait     Waits
    Event                                 Waits  -outs    Time (s)    (ms)      /txn
    db file sequential read           2,347,652     .0       9,215       4     135.8
    db file scattered read              245,687     .0       4,199      17      14.2
    db file parallel write               50,082     .0         408       8       2.9
    log file parallel write               6,963     .0          52       7       0.4
    control file parallel write           6,203     .0          44       7       0.4
    control file sequential read         24,242     .0          11       0       1.4
    log file sync                         3,225     .1           6       2       0.2
    latch free                               84     .0           4      47       0.0
    os thread startup                        25     .0           3     120       0.0
    latch: session allocation                39     .0           1      33       0.0
    db file parallel read                    12     .0           1      92       0.0
    enq: TX - index contention              186     .0           1       3       0.0
    latch: shared pool                       47     .0           1      11       0.0
    LGWR wait for redo copy                 319    3.1           0       1       0.0
    library cache load lock                   2     .0           0     172       0.0
    buffer busy waits                       590     .0           0       0       0.0
    log file switch completion                6     .0           0      29       0.0
    SGA: allocation forcing comp             11   54.5           0      14       0.0
    latch: library cache lock                50     .0           0       3       0.0
    read by other session                    38     .0           0       4       0.0
    direct path read                         42     .0           0       3       0.0
    SQL*Net message to client            44,807     .0           0       0       2.6
    rdbms ipc reply                         207     .0           0       0       0.0
    SQL*Net more data from clien          1,014     .0           0       0       0.1
    latch: cache buffers chains              24     .0           0       1       0.0
    latch: library cache                     29     .0           0       1       0.0
    log file sequential read                  8     .0           0       3       0.0
    direct path write                        50     .0           0       0       0.0
    SQL*Net more data to client             398     .0           0       0       0.0
    latch: object queue header o             12     .0           0       1       0.0
    latch: In memory undo latch              78     .0           0       0       0.0
    undo segment extension                2,507   99.7           0       0       0.1
    latch: cache buffers lru cha              4     .0           0       1       0.0
    log file single write                     8     .0           0       0       0.0
    local write wait                          3     .0           0       1       0.0
    enq: RO - fast object reuse               3     .0           0       1       0.0
    buffer deadlock                          87   92.0           0       0       0.0
    enq: JS - queue lock                      1     .0           0       1       0.0
    cursor: pin S                            70     .0           0       0       0.0
    latch: row cache objects                  2     .0           0       1       0.0
    SQL*Net message to dblink             1,338     .0           0       0       0.1
    latch: checkpoint queue latc              2     .0           0       0       0.0
    reliable message                          3     .0           0       0       0.0
    log buffer space                          1     .0           0       1       0.0
    SQL*Net break/reset to clien              4     .0           0       0       0.0
    SQL*Net more data from dblin              2     .0           0       0       0.0
    SQL*Net message from client          44,949     .0     155,701    3464       2.6
    virtual circuit status                  621  100.0      18,156   29237       0.0
    Streams AQ: qmn slave idle w            664     .0      18,127   27299       0.0
    Streams AQ: qmn coordinator           1,339   50.4      18,099   13517       0.1
    Streams AQ: waiting for time             12  100.0       8,741  728394       0.0
    jobq slave wait                         130  100.0         380    2927       0.0
    PL/SQL lock timer                         1  100.0           1     978       0.0
    SQL*Net message from dblink           1,338     .0           0       0       0.1
    single-task message                       1     .0           0      38       0.0
    class slave wait                         11     .0           0       1       0.0
    SQL ordered by Elapsed Time          DB/Inst: SURV2/SURV2  Snaps: 19172-19178
    -> Resources reported for PL/SQL code includes the resources used by all SQL
       statements called by the code.
    -> % Total DB Time is the Elapsed Time of the SQL statement divided
       into the Total Database Time multiplied by 100
      Elapsed      CPU                  Elap per  % Total
      Time (s)   Time (s)  Executions   Exec (s)  DB Time    SQL Id
        13,664        906            0        N/A    95.6 gr2cx6athc5j5
    Module: SQL*Plus
    BEGIN DBMS_OUTPUT.PUT_LINE(equiduct.eod(NULL,NULL)); END;
         8,792        195            0        N/A    61.5 986fzxtzr52u5
    Module: SQL*Plus
    UPDATE TIBEX_ORDER SET INSTRUMENTID=:"SYS_B_0" WHERE INSTRUMENTID=:"SYS_B_1"
         2,524        368            1     2524.1    17.7 c4uf0x6hdgnwq
    Module: SQL*Plus
    UPDATE TIBEX_FIXSESSIONSTATE SET INSTRUMENTID=:"SYS_B_0" WHERE INSTRUMENTID=:"
    SYS_B_1"
         1,414        177            1     1414.4     9.9 cbg09ma34kq8w
    Module: SQL*Plus
    SELECT count(*) FROM TIBEX_ORDER WHERE INSTRUMENTID=:"SYS_B_0"
           742        137            1      742.2     5.2 g0sg6v994wssq
    Module: SQL*Plus
    SELECT count(*) FROM TIBEX_FIXSESSIONSTATE WHERE INSTRUMENTID=:"SYS_B_0"
           274         11            1      274.2     1.9 6mcpb06rctk0x
    Module: DBMS_SCHEDULER
    call dbms_space.auto_space_advisor_job_proc ( )
           264          8           27        9.8     1.8 8szmwam7fysa3
    Module: DBMS_SCHEDULER
    insert into wri$_adv_objspace_trend_data select timepoint, space_usage, space_a
    lloc, quality from table(dbms_space.object_growth_trend(:1, :2, :3, :4, NULL, N
    ULL, NULL, 'FALSE', :5, 'FALSE'))
            99          1            1       99.4     0.7 1z0x41f66nvjr
    Module: SQL*Plus
    UPDATE TIBEX_INSTRUMENTADMIN SET INSTRUMENTID=:"SYS_B_0" WHERE INSTRUMENTID=:"
    SYS_B_1"
            21         10            1       21.5     0.2 bbc1ck8594kvj
    Module: SQL*Plus
    UPDATE TIBEX_INSTRUMENTDAILYHIST SET ADJOPEN=NVL(ADJOPEN,OPEN), ADJHIGH=NVL(ADJH
    IGH,HIGH), ADJLOW=NVL(ADJLOW,LOW), ADJMID=NVL(ADJMID,MID), ADJCLOSE=NVL(ADJCLOSE
    ,CLOSE), ADJVOLUME=NVL(ADJVOLUME,VOLUME), ADJCLOSINGBID=NVL(ADJCLOSINGBID,CLOSIN
    GBID), ADJCLOSINGOFFER=NVL(ADJCLOSINGOFFER,CLOSINGOFFER)
            12          0            1       12.5     0.1 6xm9p9uy5kaap
    Module: SQL*Plus
    SELECT count(*) FROM TIBEX_INSTRUMENTSTATE WHERE INSTRUMENTID=:"SYS_B_0"
    SQL ordered by CPU Time              DB/Inst: SURV2/SURV2  Snaps: 19172-19178
    -> Resources reported for PL/SQL code includes the resources used by all SQL
       statements called by the code.
    -> % Total DB Time is the Elapsed Time of the SQL statement divided
       into the Total Database Time multiplied by 100
        CPU      Elapsed                  CPU per  % Total
      Time (s)   Time (s)  Executions     Exec (s) DB Time    SQL Id
           906     13,664            0         N/A    95.6 gr2cx6athc5j5
    Module: SQL*Plus
    BEGIN DBMS_OUTPUT.PUT_LINE(equiduct.eod(NULL,NULL)); END;
           368      2,524            1      367.51    17.7 c4uf0x6hdgnwq
    Module: SQL*Plus
    UPDATE TIBEX_FIXSESSIONSTATE SET INSTRUMENTID=:"SYS_B_0" WHERE INSTRUMENTID=:"
    SYS_B_1"
           195      8,792            0         N/A    61.5 986fzxtzr52u5
    Module: SQL*Plus
    UPDATE TIBEX_ORDER SET INSTRUMENTID=:"SYS_B_0" WHERE INSTRUMENTID=:"SYS_B_1"
           177      1,414            1      176.93     9.9 cbg09ma34kq8w
    Module: SQL*Plus
    SELECT count(*) FROM TIBEX_ORDER WHERE INSTRUMENTID=:"SYS_B_0"
           137        742            1      137.38     5.2 g0sg6v994wssq
    Module: SQL*Plus
    SELECT count(*) FROM TIBEX_FIXSESSIONSTATE WHERE INSTRUMENTID=:"SYS_B_0"
            11        274            1       10.82     1.9 6mcpb06rctk0x
    Module: DBMS_SCHEDULER
    call dbms_space.auto_space_advisor_job_proc ( )
            10         21            1        9.65     0.2 bbc1ck8594kvjEdited by: NM on 10-Sep-2010 07:39

  • ODP and ADO and a trigger - problem

    I have written a simple trigger to turn on tracing for a session based on the username:
    It works fine through sqlplus. The application works when run using JDBC and native(?) java. But when we use hibernate and ODP.net and ADO.net The session goes into a loop of recursive sql and gets an ORA-36 too many recursive levels. I am not a java developer and I am at a loss on how to proceed. It appears to be firing the trigger or have fired the trigger, and then look for global_db_name until it dies.
    CREATE OR REPLACE TRIGGER gopal_user_login_trigger
    AFTER LOGON ON DATABASE
    DECLARE
         user_name VARCHAR2(30);
    BEGIN
    SELECT username INTO user_name FROM sys.V$SESSION
    WHERE audsid = USERENV('SESSIONID') AND audsid != 0 ;
    IF UPPER(user_name) = 'GOPALASSETUSER'      
    THEN
         DBMS_MONITOR.SESSION_TRACE_ENABLE(NULL, NULL, true, true);
    END IF;
    EXCEPTION
    WHEN NO_DATA_FOUND then null;
    END;

    Hi,
    Thanks for the bug number - that helped alot.
    Why the global_db_name lookup, I do not know. It appears to be part of the logon processing that follows the trigger.It is, indeed, part of the logon process and is called by internal code so that makes sense now.
    If you have MetaLink support, I would recommend opening an SR. One simple thing that I might suggest is to set "enlist=false" in your connect string if you can and test with that.
    Thanks,
    Mark

  • NLS CHARACTER SET 변경 방법 (ORACLE 7)

    제품 : ORACLE SERVER
    작성날짜 : 2004-11-09
    NLS CHARACTER SET 변경 방법 (ORACLE 7)
    ======================================
    PURPOSE
    이 자료는 Oracle RDBMS SERVER에서 NLS CHARACTER SET 변경 방법에 대한
    내용을 소개한다.
    [ ORACLE 7 에서만 가능 ]
    데이타베이스의 CHARACTER SET은 데이타 딕셔너리 테이블인 sys.props$에
    들어 있다.
    SQL>desc sys.props$
    Name Null? Type
    NAME NOT NULL VARCHAR2(30)
    VALUE$ VARCHAR2(2000)
    COMMENT$ VARCHAR2(2000)
    SQL>column c1 format a30
    SQL>select name c1, value$ c1 from sys.props$;
    C1 C1
    DICT.BASE 2
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_DATE_FORMAT DD-MON-YY
    NLS_DATE_LANGUAGE AMERICAN
    NLS_CHARACTERSET US7ASCII
    NLS_SORT BINARY
    GLOBAL_DB_NAME NLSV7.WORLD
    여기서 NLS_CHARACTERSET에 현재 DB의 CHARACTER SET이 들어 있는데
    이 값을 변경하여 DB의 CHARACTER SET을 변경할 수 있다.
    여기서는 US7ASCII에서 KO16KSC5601로 옮기는 경우를 알아보자.
    우선 바꾸고자 하는 CHRACTER SET이 지원되는 지를 다음 명령으로
    확인한다.
    select convert('a','KO16KSC5601','US7ASCII') from dual;
    만약 이 Select 문에서 ORA-01482 에러가 발생하면 지정한 CHARACTER
    SET이 지원되지 않는 경우이며 에러가 발생하지 않으면 CHARACTER
    SET을 변경할 수 있다.
    작업을 하기 전에는 만약을 위해서 DB 전체를 백업 받아두도록 한다.
    CHARACTER SET 을 잘못 변경하면 DB 를 OPEN 할 수가 없기 때문이다.
    1. 다음의 Update문을 실행하여 CHARACTER SET을 변경한다.
    UPDATE sys.props$
    SET value$ = 'KO16KSC5601'
    WHERE name = 'NLS_CHARACTERSET';
    Update 시에 NLS_CHARACTERSET을 지원되지 않는 값으로 잘못 설정하거나
    실수로 콘트롤 문자 같은 것이 들어가게 되면 DB가 Shutdown 된 다음에는
    Startup 이 안되므로 Update 후에 다음 명령으로 확인을 한 다음에
    Commit을 하도록 한다.
    select name, value$
    from sys.props$
    where value$ = 'KO16KSC5601';
    Select가 제대로 출력되면 Commit 하고 Shutdown 했다가 Startup 하게
    되면 새로운 CHARACTER SET 값을 갖게 된다. SELECT가 안 되면 ROLLBACK
    하고 UPDATE부터 다시 하도록 한다.
    2. 환경 변수 NLS_LANG 을 변경한다.
    .profile 에서
    NLS_LANG=American_America.KO16KSC5601; export NLS_LANG
    또는 .cshrc 에서.
    setenv NLS_LANG American_America.KO16KSC5601
    *** win95 및 winnt의 client에서는 registry editor에서 NLS_LANG 값을
    맞추어준다.
    주의 !!!
    : 위의 작업을 하기 전에 발생할 가능성이 있는 문제점
    1) update 중 KO16KSC5601 이나 US7ASCII 등에서 철자를 잘못 입력하시면,
    db 재기동 후에, 다음과 같은 에러가 발생합니다.
    ora-12708
    12708, 00000, "error while loading create database NLS parameter %s"
    2) KO16KSC5601과 US7ASCII의 비교
    Character set : KO16KSC5601 인 경우
    ===================================
    : double byte encoding schema 이므로, 한글의 경우 2 bytes 를 크기 1로
    계산하는 함수들이 있습니다.
    그리고, table , column name에 한글을 double quote 없이 사용할 수 있습니다.
    예)
    SQL> create table 시험1
    2 (컬럼1 varchar(10));

    a
    홍길동
    SQL> select length(컬럼1) from 시험1;
    1
    1
    3
    SQL> select lengthb(컬럼1) from 시험1;
    2
    1
    6
    Character set : US7ASCII 인 경우
    =================================
    : single byte 7 bit encoding 을 사용합니다.
    한글로 된 table, column 이름 사용 시 double quote를 반드시 사용해야 한다.
    예)
    SQL> create table "사원"
    2 ("사원이름" varchar2(10));

    a
    홍길동
    SQL> select length("사원이름") from "사원";
    2
    1
    6
    SQL> select lengthb("사원이름") from "사원";
    2
    1
    6
    US7ASCII일 때에는 vsize, lengthb function의 결과가 length 함수와 모두
    동일합니다.
    cf) substr, substrb 함수도 위의 length, lengthb의 관계와 같음.

    제품 : ORACLE SERVER
    작성날짜 : 2004-11-09
    NLS CHARACTER SET 변경 방법 (ORACLE 7)
    ======================================
    PURPOSE
    이 자료는 Oracle RDBMS SERVER에서 NLS CHARACTER SET 변경 방법에 대한
    내용을 소개한다.
    [ ORACLE 7 에서만 가능 ]
    데이타베이스의 CHARACTER SET은 데이타 딕셔너리 테이블인 sys.props$에
    들어 있다.
    SQL>desc sys.props$
    Name Null? Type
    NAME NOT NULL VARCHAR2(30)
    VALUE$ VARCHAR2(2000)
    COMMENT$ VARCHAR2(2000)
    SQL>column c1 format a30
    SQL>select name c1, value$ c1 from sys.props$;
    C1 C1
    DICT.BASE 2
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_DATE_FORMAT DD-MON-YY
    NLS_DATE_LANGUAGE AMERICAN
    NLS_CHARACTERSET US7ASCII
    NLS_SORT BINARY
    GLOBAL_DB_NAME NLSV7.WORLD
    여기서 NLS_CHARACTERSET에 현재 DB의 CHARACTER SET이 들어 있는데
    이 값을 변경하여 DB의 CHARACTER SET을 변경할 수 있다.
    여기서는 US7ASCII에서 KO16KSC5601로 옮기는 경우를 알아보자.
    우선 바꾸고자 하는 CHRACTER SET이 지원되는 지를 다음 명령으로
    확인한다.
    select convert('a','KO16KSC5601','US7ASCII') from dual;
    만약 이 Select 문에서 ORA-01482 에러가 발생하면 지정한 CHARACTER
    SET이 지원되지 않는 경우이며 에러가 발생하지 않으면 CHARACTER
    SET을 변경할 수 있다.
    작업을 하기 전에는 만약을 위해서 DB 전체를 백업 받아두도록 한다.
    CHARACTER SET 을 잘못 변경하면 DB 를 OPEN 할 수가 없기 때문이다.
    1. 다음의 Update문을 실행하여 CHARACTER SET을 변경한다.
    UPDATE sys.props$
    SET value$ = 'KO16KSC5601'
    WHERE name = 'NLS_CHARACTERSET';
    Update 시에 NLS_CHARACTERSET을 지원되지 않는 값으로 잘못 설정하거나
    실수로 콘트롤 문자 같은 것이 들어가게 되면 DB가 Shutdown 된 다음에는
    Startup 이 안되므로 Update 후에 다음 명령으로 확인을 한 다음에
    Commit을 하도록 한다.
    select name, value$
    from sys.props$
    where value$ = 'KO16KSC5601';
    Select가 제대로 출력되면 Commit 하고 Shutdown 했다가 Startup 하게
    되면 새로운 CHARACTER SET 값을 갖게 된다. SELECT가 안 되면 ROLLBACK
    하고 UPDATE부터 다시 하도록 한다.
    2. 환경 변수 NLS_LANG 을 변경한다.
    .profile 에서
    NLS_LANG=American_America.KO16KSC5601; export NLS_LANG
    또는 .cshrc 에서.
    setenv NLS_LANG American_America.KO16KSC5601
    *** win95 및 winnt의 client에서는 registry editor에서 NLS_LANG 값을
    맞추어준다.
    주의 !!!
    : 위의 작업을 하기 전에 발생할 가능성이 있는 문제점
    1) update 중 KO16KSC5601 이나 US7ASCII 등에서 철자를 잘못 입력하시면,
    db 재기동 후에, 다음과 같은 에러가 발생합니다.
    ora-12708
    12708, 00000, "error while loading create database NLS parameter %s"
    2) KO16KSC5601과 US7ASCII의 비교
    Character set : KO16KSC5601 인 경우
    ===================================
    : double byte encoding schema 이므로, 한글의 경우 2 bytes 를 크기 1로
    계산하는 함수들이 있습니다.
    그리고, table , column name에 한글을 double quote 없이 사용할 수 있습니다.
    예)
    SQL> create table 시험1
    2 (컬럼1 varchar(10));

    a
    홍길동
    SQL> select length(컬럼1) from 시험1;
    1
    1
    3
    SQL> select lengthb(컬럼1) from 시험1;
    2
    1
    6
    Character set : US7ASCII 인 경우
    =================================
    : single byte 7 bit encoding 을 사용합니다.
    한글로 된 table, column 이름 사용 시 double quote를 반드시 사용해야 한다.
    예)
    SQL> create table "사원"
    2 ("사원이름" varchar2(10));

    a
    홍길동
    SQL> select length("사원이름") from "사원";
    2
    1
    6
    SQL> select lengthb("사원이름") from "사원";
    2
    1
    6
    US7ASCII일 때에는 vsize, lengthb function의 결과가 length 함수와 모두
    동일합니다.
    cf) substr, substrb 함수도 위의 length, lengthb의 관계와 같음.

  • Configuration Mail Store Failed

    Could someone help me ?
    This is my log :
    Using paramFile: D:\OCS_ONEBOX\mtier\oes\config\Disk1\install\win32\oraparam.ini
    Checking requirements...
    Checking operating system version: must be 4.0, 5.0, 5.1 or 5.2.
    Actual 5.0 Passed
    Checking monitor: must be configured to display at least 256 colors.
    Actual 4294967296 Passed
    Checking if CPU speed is above 300 MHz.
    Actual 2405MHz Passed
    All requirements met.
    Environment Variables:
         ORACLE_HOME =
         PATH = C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;Z:.;Y:.;
         CLASSPATH = D:\OCS_ONEBOX\mtier\jlib\ldapjclnt9.jar;D:\OCS_ONEBOX\mtier\jlib\repository.jar;D:\OCS_ONEBOX\mtier\jlib\esinstall.jar;D:\OCS_ONEBOX\mtier\jlib\esldap.jar;D:\OCS_ONEBOX\mtier\jlib\providerutil.jar;D:\OCS_ONEBOX\mtier\jlib\ldap.jar;D:\OCS_ONEBOX\mtier\jlib\jndi.jar;
    Username:Administrator
    This installation is being performed using response file D:/OCS_ONEBOX/mtier/oes/config/Disk1/stage/Response/oracle.um.UM_Config.Typical1.rsp.
    Oracle Universal Installer version is 2.3.0.8.0
    This installation is being performed using response file D:/OCS_ONEBOX/mtier/oes/config/Disk1/stage/Response/oracle.um.UM_Config.Typical1.rsp.
    Setting variable 'FROM_LOCATION' to 'D:\OCS_ONEBOX\mtier\oes\config\Disk1\stage\products.jar'. Received the value from response file.
    Setting variable 'ORACLE_HOME' to 'D:\OCS_ONEBOX\mtier'. Received the value from response file.
    Setting variable 'TOPLEVEL_COMPONENT' to 'oracle.um.UM_Config,9.0.4.1.0,'. Received the value from response file.
    Setting variable 'SHOW_SPLASH_SCREEN' to 'false'. Received the value from response file.
    Setting variable 'SHOW_WELCOME_PAGE' to 'false'. Received the value from response file.
    Setting variable 'SHOW_CUSTOM_TREE_PAGE' to 'false'. Received the value from response file.
    Setting variable 'SHOW_COMPONENT_LOCATIONS_PAGE' to 'false'. Received the value from response file.
    Setting variable 'SHOW_SUMMARY_PAGE' to 'false'. Received the value from response file.
    Setting variable 'SHOW_INSTALL_PROGRESS_PAGE' to 'false'. Received the value from response file.
    Setting variable 'SHOW_REQUIRED_CONFIG_TOOL_PAGE' to 'true'. Received the value from response file.
    Setting variable 'SHOW_CONFIG_TOOL_PAGE' to 'true'. Received the value from response file.
    Setting variable 'SHOW_RELEASE_NOTES' to 'true'. Received the value from response file.
    Setting variable 'SHOW_ROOTSH_CONFIRMATION' to 'true'. Received the value from response file.
    Setting variable 'SHOW_END_SESSION_PAGE' to 'true'. Received the value from response file.
    Setting variable 'SHOW_EXIT_CONFIRMATION' to 'true'. Received the value from response file.
    Setting variable 'NEXT_SESSION' to 'true'. Received the value from response file.
    Setting variable 'NEXT_SESSION_ON_FAIL' to 'true'. Received the value from response file.
    Setting variable 'NEXT_SESSION_RESPONSE' to 'D:\OCS_ONEBOX\mtier\oes\config\Disk1\stage\Response\oracle.um.UM_Config.Typical1.rsp'. Received the value from response file.
    Setting variable 'DEINSTALL_LIST' to 'oracle.um.UM_Config,9.0.4.1.0,'. Received the value from response file.
    Setting variable 'SHOW_DEINSTALL_CONFIRMATION' to 'true'. Received the value from response file.
    Setting variable 'SHOW_DEINSTALL_PROGRESS' to 'true'. Received the value from response file.
    Setting variable 'ACCEPT_LICENSE_AGREEMENT' to 'true'. Received the value from response file.
    *** Welcome Page***
    Initializing install inventory
    Setting up install inventory
    *** Specify File Locations Page***
    Setting the 'SourceLocation ( FROM_LOCATION )' property to 'D:\OCS_ONEBOX\mtier\oes\config\Disk1\stage\products.jar'. Received the value from response file.
    Setting the 'OracleHome ( ORACLE_HOME )' property to 'D:\OCS_ONEBOX\mtier'. Received the value from response file.
    Setting the 'OracleHomeName ( ORACLE_HOME_NAME )' property to 'OCSHome_mid'. Received the value from the default settings.
    Initializing OUI access setup
    Setting variable 'ORACLE_HOME' to 'D:\OCS_ONEBOX\mtier'. Received the value from response file.
    Performing operation for OUI access setup
    Setting variable 'CLUSTER_NODES' to ''. Received the value from a code block.
    *** Select a Product to Install Page***
    Setting the 'TopLevelComp ( ToplevelComp )' property to 'oracle.um.UM_Config, 9.0.4.1.0, >0.0.0.0.0, [ 912 ][OH:2]'. Received the value from the default settings.
    *** Select Installation Type Page***
    Setting the 'InstallType ( DEP_MODE )' property to 'Typical'. Received the value from the default settings.
    Setting the 'TopLevelInstallType ( TLDepModes )' property to 'Typical,'. Received the value from the default settings.
    The selected install type is "typical".
    Install type for "UM configurator 9.0.4.1.0 " is "typical".
    *** Language Selection Page***
    *** Specify Local Host Name Page***
    Setting the 'HostName ( OUI_HOSTNAME )' property to 'oramail.exp.com'. S_LOG_VAR_VALTYPE_CLONE
    *** Component Locations Page***
    *** Entering Component: oracle.um.UM_Config installation
    Setting variable 'system_passwd' to '*Protected value, not to be logged*'. Received the value from response file.
    Setting variable 'sys_passwd' to '*Protected value, not to be logged*'. Received the value from the variable calculation.
    Setting variable 'summary_str' to 'summary'. Received the value from the variable calculation.
    Setting variable 'start_proc_flag' to 'true'. Received the value from the variable calculation.
    Setting variable 'start_proc' to '1'. Received the value from the variable calculation.
    Setting variable 'port_number' to '389'. Received the value from the variable calculation.
    Setting variable 'out_str4' to '*Protected value, not to be logged*'. Received the value from the variable calculation.
    Setting variable 'out_str31' to '*Protected value, not to be logged*'. Received the value from the variable calculation.
    Setting variable 'out_str3' to '*Protected value, not to be logged*'. Received the value from the variable calculation.
    Setting variable 'oid_flag' to '1'. Received the value from the variable calculation.
    Setting variable 'link_htdocs' to 'cal90jsp'. Received the value from the variable calculation.
    Setting variable 'isportinuse_flag' to 'true'. Received the value from the variable calculation.
    Setting variable 'install_cal' to 'false'. Received the value from the variable calculation.
    Setting variable 'host_name' to 'host_name'. Received the value from the variable calculation.
    Setting variable 'global_db_name_list' to ''. Received the value from the variable calculation.
    Setting variable 'global_db_name' to '<SID>.<Domain Name>'. Received the value from the variable calculation.
    Setting variable 'empty_input_string' to '*Protected value, not to be logged*'. Received the value from the variable calculation.
    Setting variable 'domain_name' to 'oracle.com'. Received the value from the variable calculation.
    Setting variable 'ctxsys_passwd' to '*Protected value, not to be logged*'. Received the value from the variable calculation.
    Setting variable 'create_domain_flag' to 'false'. Received the value from the variable calculation.
    Setting variable 'cookie_domain' to '.oracle.com'. Received the value from the variable calculation.
    Setting variable 'connect_str' to 'connect_str'. Received the value from the variable calculation.
    Setting variable 'config_type' to '0'. Received the value from the variable calculation.
    Setting variable 'config4' to 'false'. Received the value from the variable calculation.
    Setting variable 'config3' to 'false'. Received the value from the variable calculation.
    Setting variable 'config2' to 'false'. Received the value from the variable calculation.
    Setting variable 'config1' to 'false'. Received the value from the variable calculation.
    Setting variable 'cal_umadmin_passwd' to '*Protected value, not to be logged*'. Received the value from the variable calculation.
    Setting variable 'cal_dad_name' to 'cal_dad_name'. Received the value from the variable calculation.
    Setting variable 'b_configureUM' to 'true'. Received the value from the variable calculation.
    Setting variable 'app_svr_port' to 'app_svr_port'. Received the value from the variable calculation.
    Setting variable 'app_svr_host_name' to 'app_svr_host_name'. Received the value from the variable calculation.
    Calling Query WindowsGeneralQueries2.3.0.6.0 getWindowsSystemDirectory
    Query Returned: C:\WINNT\system32
    Setting variable 'SystemRoot' to 'C:\WINNT\system32'. Received the value from the variable calculation.
    Setting variable 'SID' to 'iasdb'. Received the value from the variable calculation.
    Setting variable 'ORAHOME' to ''. Received the value from the variable calculation.
    Setting variable 'Net9_Connect_String' to 'ora9i'. Received the value from the variable calculation.
    Setting variable 'Index_Tblspace' to 'escalindxtbl'. Received the value from the variable calculation.
    Setting variable 'Img_Prefix' to '/i/'. Received the value from the variable calculation.
    Setting variable 'INSTALLHOME' to ''. Received the value from the variable calculation.
    Setting variable 'INSTALLATION_NAME' to ''. Received the value from the variable calculation.
    Setting variable 'HOSTNAME' to ''. Received the value from the variable calculation.
    Setting variable 'Flow_User_Passwd' to '*Protected value, not to be logged*'. Received the value from the variable calculation.
    Setting variable 'Flow_User' to 'es_cal'. Received the value from the variable calculation.
    Setting variable 'Def_Tblspace' to 'escaldeftbl'. Received the value from the variable calculation.
    Setting variable 'App_User_Passwd' to '*Protected value, not to be logged*'. Received the value from the variable calculation.
    Setting variable 'App_User' to 'es_cal'. Received the value from the variable calculation.
    Setting variable 'umadmin_passwd' to '*Protected value, not to be logged*'. Received the value from the variable calculation.
    Setting variable 'empty_input_string' to '*Protected value, not to be logged*'. Received the value from a code block.
    Setting variable 'out_str22' to '*Protected value, not to be logged*'. Received the value from the variable calculation.
    Setting variable 'empty_input_string' to '*Protected value, not to be logged*'. Received the value from a code block.
    Setting variable 'es_mail_passwd' to '*Protected value, not to be logged*'. Received the value from the variable calculation.
    Setting variable 'empty_input_string' to '*Protected value, not to be logged*'. Received the value from a code block.
    Setting variable 'out_str2' to '*Protected value, not to be logged*'. Received the value from the variable calculation.
    Setting variable 'out_str24' to '*Protected value, not to be logged*'. Received the value from the variable calculation.
    Setting variable 'global_db_name_list' to '<SID>.<Domain Name>,'. Received the value from a code block.
    *** Unified Messaging Configuration Page***
    Setting the 'TitleLabel' property to 'Unified Messaging Configuration'.
    Setting the 'SubTitleLabel' property to ''.
    Setting the 'Prompt' property to 'Select one of the following options :'.
    Setting the 'Choices' property to 'Mail Store Database Configuration -
    Installs the mail store schema into a dedicated tablespace in a previously installed
    Oracle 9i database.,Middle Tier Configuration -
    Configures the Unified Messaging protocol servers on this host: SMTP, IMAP4, POP3
    and House Keeper.,'.
    Setting the 'BottomDescLabel' property to ''.
    Setting the 'Descriptions' property to 'null'.
    Setting the 'SelectedIndex ( config_type )' property to '0'. Received the value from the UI page.
    Setting variable 'INSTALLATION_NAME' to 'UM_SYSTEM'. Received the value from a code block.
    Setting variable 'config1' to 'false'. Received the value from a code block.
    Setting variable 'config2' to 'false'. Received the value from a code block.
    Setting variable 'config3' to 'false'. Received the value from a code block.
    Setting variable 'config4' to 'false'. Received the value from a code block.
    Setting variable 'install_cal' to 'false'. Received the value from a code block.
    Setting variable 'oid_flag' to '0'. Received the value from a code block.
    Setting variable 'system_passwd' to '*Protected value, not to be logged*'. Received the value from a code block.
    *** Mail Store Database Configuration Page***
    Calling Query generalQueries2.3.0.6.0 getOS
    Query Returned: Windows 2000
    Calling Query SpawnQueries1.1.4 Spawn
    command = Protected value, not to be logged
    Query Returned: 0
    Error:*** Alert: System password is invalid, please reenter. ***
    User Selected: Yes/OK
    Calling Query generalQueries2.3.0.6.0 getOS
    Query Returned: Windows 2000
    Calling Query SpawnQueries1.1.4 Spawn
    command = Protected value, not to be logged
    Query Returned: 0
    Error:*** Alert: System password is invalid, please reenter. ***
    User Selected: Yes/OK
    Calling Query generalQueries2.3.0.6.0 getOS
    Query Returned: Windows 2000
    Calling Query SpawnQueries1.1.4 Spawn
    command = Protected value, not to be logged
    Query Returned: 0
    Error:*** Alert: System password is invalid, please reenter. ***
    User Selected: Yes/OK
    Calling Query generalQueries2.3.0.6.0 getOS
    Query Returned: Windows 2000
    Calling Query SpawnQueries1.1.4 Spawn
    command = Protected value, not to be logged
    Query Returned: 0
    Error:*** Alert: System password is invalid, please reenter. ***
    User Selected: Yes/OK
    Calling Query generalQueries2.3.0.6.0 getOS
    Query Returned: Windows 2000
    Calling Query SpawnQueries1.1.4 Spawn
    command = Protected value, not to be logged
    Query Returned: 0
    Error:*** Alert: System password is invalid, please reenter. ***
    User Selected: Yes/OK
    Calling Query generalQueries2.3.0.6.0 getOS
    Query Returned: Windows 2000
    Calling Query SpawnQueries1.1.4 Spawn
    command = Protected value, not to be logged
    Query Returned: 2
    Setting the 'TitleLabel' property to 'Mail Store Database Configuration'.
    Setting the 'SubTitleLabel' property to ''.
    Setting the 'Prompt' property to 'Enter the values for the service name connect string and system password of this mail store database. These values are used by the Universal Installer to install the mail store schema.'.
    Setting the 'Labels' property to 'Database Host Name,SID,Port Number,System Password,'.
    Setting the 'Types' property to 'TEXTFIELD,TEXTFIELD,TEXTFIELD,SECURE,'.
    Setting the 'Choices' property to ''.
    Setting the 'BottomDescLabel' property to 'null'.
    Setting the 'Selections ( out_str2 )' property to '*Protected value, not to be logged*'. Received the value from the UI page.
    Calling Query generalQueries2.3.0.6.0 getOS
    Query Returned: Windows 2000
    Calling Query SpawnQueries1.1.4 Spawn
    command = Protected value, not to be logged
    Query Returned: 2
    *** CTXSYS Password Page***
    Calling Query generalQueries2.3.0.6.0 getOS
    Query Returned: Windows 2000
    Calling Query SpawnQueries1.1.4 Spawn
    command = Protected value, not to be logged
    Query Returned: 0
    Error:*** Alert: Ctxsys password is invalid, please reenter. ***
    User Selected: Yes/OK
    Calling Query generalQueries2.3.0.6.0 getOS
    Query Returned: Windows 2000
    Calling Query SpawnQueries1.1.4 Spawn
    command = Protected value, not to be logged
    Query Returned: 0
    Error:*** Alert: Ctxsys password is invalid, please reenter. ***
    User Selected: Yes/OK
    Calling Query generalQueries2.3.0.6.0 getOS
    Query Returned: Windows 2000
    Calling Query SpawnQueries1.1.4 Spawn
    command = Protected value, not to be logged
    Query Returned: 1
    Setting the 'TitleLabel' property to 'CTXSYS Password'.
    Setting the 'SubTitleLabel' property to ''.
    Setting the 'Prompt' property to 'This is the password for the ctxsys schema.'.
    Setting the 'Labels' property to 'Enter Password:,'.
    Setting the 'Types' property to 'SECURE,'.
    Setting the 'Choices' property to ''.
    Setting the 'BottomDescLabel' property to 'null'.
    Setting the 'Selections ( out_str24 )' property to '*Protected value, not to be logged*'. Received the value from the UI page.
    Setting variable 'ctxsys_passwd' to '*Protected value, not to be logged*'. Received the value from a code block.
    Setting variable 'host_name' to 'ormail'. Received the value from a code block.
    Setting variable 'SID' to 'ocsstore'. Received the value from a code block.
    Setting variable 'port_number' to '1521'. Received the value from a code block.
    Setting variable 'connect_str' to '''. Received the value from a code block.
    Setting variable 'connect_str' to '"(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ormail)(PORT=1521)))(CONNECT_DATA=(SID=ocsstore)))"'. Received the value from a code block.
    Setting variable 'system_passwd' to '*Protected value, not to be logged*'. Received the value from a code block.
    Setting variable 'ORAHOME' to 'D:\OCS_ONEBOX\mtier'. Received the value from a code block.
    Setting variable 'config2' to 'true'. Received the value from a code block.
    Setting variable 'summary_str' to 'Click 'Next' to install and configure Unified Messaging mail store , click 'Previous' to go back to the previous page .'. Received the value from a code block.
    *** ES_MAIL Password Page***
    Setting variable 'empty_input_string' to '*Protected value, not to be logged*'. Received the value from a code block.
    Setting the 'TitleLabel' property to 'ES_MAIL Password'.
    Setting the 'SubTitleLabel' property to ''.
    Setting the 'Prompt' property to 'This is the password for the e-mail server schema.'.
    Setting the 'PasswordLabel' property to 'Enter Password:'.
    Setting the 'ConfirmLabel' property to 'Confirm Password:'.
    Setting the 'BottomDescLabel' property to 'null'.
    Setting the 'Password ( es_mail_passwd )' property to '*Protected value, not to be logged*'. Received the value from the UI page.
    Calling Query fileQueries2.3.0.6.0 exists
    filename = D:\OCS_ONEBOX\mtier/oes/log/exists.txt
    Query Returned: false
    *** UMADMIN Password Page***
    Setting variable 'empty_input_string' to '*Protected value, not to be logged*'. Received the value from a code block.
    Setting the 'TitleLabel' property to 'UMADMIN Password'.
    Setting the 'SubTitleLabel' property to ''.
    Setting the 'Prompt' property to 'Enter and confirm the password for the UMADMIN user in the Internet Directory.'.
    Setting the 'PasswordLabel' property to 'Enter Password:'.
    Setting the 'ConfirmLabel' property to 'Confirm Password:'.
    Setting the 'BottomDescLabel' property to 'null'.
    Setting the 'Password ( umadmin_passwd )' property to '*Protected value, not to be logged*'. Received the value from the UI page.
    Setting variable 'oid_flag' to '1'. Received the value from a code block.
    *** Unified Messaging Domain Page***
    Setting the 'TitleLabel' property to 'Unified Messaging Domain'.
    Setting the 'SubTitleLabel' property to ''.
    Setting the 'Prompt' property to 'Enter the name of the new Unified Messaging Domain to be created.'.
    Setting the 'TextLabel' property to 'Domain Name'.
    Setting the 'BottomDescLabel' property to 'null'.
    Setting the 'TextField ( domain_name )' property to 'oramail.exp.com'. Received the value from the UI page.
    *** Summary Page***
    Setting the 'TitleLabel' property to 'Summary'.
    Setting the 'SubTitleLabel' property to ''.
    Setting the 'InfoLabel' property to 'Click 'Next' to install and configure Unified Messaging mail store , click 'Previous' to go back to the previous page .'.
    Setting variable 'create_domain_flag' to 'true'. Received the value from a code block.
    *** Summary Page***
    Summary
    Global Settings
    Source: D:\OCS_ONEBOX\mtier\oes\config\Disk1\stage\products.jar
    Oracle Home: D:\OCS_ONEBOX\mtier (OCSHome_mid)
    Installation Type: typical
    Product Languages
    English
    Space Requirements
    C:\ Required 261KB (includes 258KB temporary) : Available 1.94GB
    D:\ Required 536KB : Available 15.16GB
    New Installations (1 products)
    UM configurator 9.0.4.1.0
    Starting install Install Phase 1 of component UM configurator
    Starting install Install Phase 2 of component UM configurator
    Initializing OUI save inventory
    Unable to read C:\Program Files\Oracle\Inventory/Contents/LibsList.ser. Some inventory information may be lost.
    Current Inventory:
         Independent Products:
              Oracle Windows System Files Fullmode 9.0.2.0.1 Development
              Oracle Windows System Files Installation 9.0.2.0.1 Development
              Java Runtime Environment 1.1.8.16.0a
              Oracle Windows System Files Verification 9.0.2.0.0 Development
         Oracle Home: OUIHome
              This Oracle Home has not been changed in this session.
         Oracle Home: OCSHome
              This Oracle Home has not been changed in this session.
         Oracle Home: OCSHome_stg
              This Oracle Home has not been changed in this session.
         Oracle Home: OCSHome_inf
              This Oracle Home has not been changed in this session.
         Oracle Home: OCSHome_mid
              Oracle Collaboration Suite 9.0.4.1.1
              Sun JDK extensions 9.0.2.0.0
              Sun JDK extensions Patch 9.0.2.3.0
              Sun JDK 1.3.1.0.2a
              Java Runtime Environment 1.4.1.3.0a
              Java Runtime Environment 1.3.1.6.0a
              Installer SDK Component 2.3.0.8.0
              Oracle Universal Installer 2.3.0.8.0
              RDBMS Required Support Files 9.0.1.4.0
              Enterprise Manager Minimal Support Files 9.0.2.0.1
              Collaboration Suite Wireless Server Management 9.0.3.2.0
              Perl Interpreter 5.6.1.0.0a
              Advanced Queueing (AQ) API 9.0.1.4.0
              XML Parser for Java 9.0.2.0.0
              Oracle Dynamic Monitoring Service 9.0.2.0.1
              Oracle Dynamic Monitoring Service Patch 9.0.2.3.0
              regexp 2.0.21.0.0
              Bali Share 1.1.17.0.0
              Oracle9i Application Server Object in OID 9.0.2.0.0
              Oracle9iAS Application Server WebCache Core to non-Core Upgrade 9.0.2.0.0
              Oracle JDBC Development Drivers 9.0.1.4.0
              JDBC Common Files 9.0.1.4.0
              JDBC/OCI Common Files 9.0.1.4.0
              Oracle Trace Required Support Files 9.0.1.0.1
              Oracle Client Required Support Files 9.0.1.4.0
              Agent Required Support Files 9.0.2.0.0a
              SSL Required Support Files 9.0.1.4.0
              LDAP Required Support Files 9.0.2.1.0
              LDAP Required Support Files Patch 9.0.2.3.0
              Parser Generator Required Support Files 9.0.1.0.0
              PL/SQL Required Support Files 9.0.1.4.0
              Oracle9iAS Application Server Core to non-Core Upgrade 9.0.2.0.0
              Repository Config Assistant 9.0.2.0.0
              XML Class Generator for Java 9.0.2.0.0
              Oracle JDBC Thin Driver for JDK 1.1 9.0.1.4.0
              Oracle Extended Windowing Toolkit 3.4.12.0.0
              Oracle Ice Browser 5.06.8.0.0
              Oracle Collaboration Suite Quick Tutorial 9.0.4.1.1
              Java Authorization 9.0.2.0.1
              Java Authorization Patch 9.0.2.3.0
              Enterprise Login Assistant 9.0.2.0.1
              Oracle JFC Extended Windowing Toolkit 4.2.6.0.0
              Oracle 9iAS Single Sign On Registration 9.0.2.0.1
              Oracle Ultra Search Common Files 9.0.3.4.0
              Oracle JDBC Thin Driver for JDK 1.2 9.0.1.4.0
              XML Parser for PL/SQL 9.0.2.0.0
              Platform Required Support Files 9.0.1.4.0
              Oracle Core Required Support Files 9.0.1.4.0
              Oracle Help For Java 3.2.12.0.0
              Extended Windowing Toolkit 3.3.18.0.0
              Oracle interMedia Java Advanced Imaging 9.0.2.0.0
              Oracle Help For Java 4.1.12.0.0
              Oracle interMedia Java Media Framework Client 9.0.2.0.0
              Oracle9i Globalization Support 9.0.1.4.0
              Oracle interMedia Java Client 9.0.2.0.0
              Oracle XML SQL Utility 9.0.1.4.0
              Oracle Net Required Support Files 9.0.1.4.0
              Precompiler Required Support Files 9.0.1.4.0
              XML Class Generator for C++ 9.0.2.0.0
              Oracle Code Editor 1.2.1.0.0A
              XDK Required Support Files 9.0.2.0.0
              XML Parser for C 9.0.2.0.0
              Java Naming and Directory Interface Libraries 1.2.1.0.0
              Oracle Dynamic Services Core 9.0.2.0.1
              Oracle Internet Directory Tools 9.0.2.1.0
              Required Support Files 9.0.1.4.0
              UM common 9.0.4.1.0
              Utilities Common Files 9.0.1.4.0
              Oracle JDBC/OCI Driver for JDK 1.2 9.0.1.4.0
              Oracle Internet Directory Client Common Files 9.0.2.1.0
              Oracle Database User Interface 2.2.11.0.0
              Oracle Ultra Search Middle-Tier 9.0.3.4.0
              Assistant Common Files 9.0.2.0.1
              XML Parser for C++ 9.0.2.0.0
              Oracle Intelligent Agent Base Component Files 9.0.2.0.0a
              Oracle Intelligent Agent 9.0.2.0.0a
              Oracle Property Inspector 4.1.8.0.0
              Oracle EMD Agent Extensions 9.0.2.0.0a
              Oracle Forms Extensions 9.0.2.0.0a
              Database SQL Scripts 9.0.1.4.0
              Oracle Applications Extensions 9.0.2.0.0a
              Oracle Collaboration Suite Release Notes 9.0.4.1.1
              Oracle Portal Data 9.0.2.2.22
              Oracle Net Configuration Assistant 9.0.1.4.0
              Enterprise Manager Translated Files 9.0.2.0.1
              Enterprise Manager Base Classes 9.0.2.0.1
              Oracle HTTP Server Extensions 9.0.2.0.0a
              Oracle Net Manager 9.0.1.4.0
              Oracle Java Portal Development Kit 9.0.2.2.22
              Oracle Portal Community Portlets 9.0.2.2.22
              Oracle9iAS Repository API 9.0.2.1.0
              Oracle JDBC/OCI Driver for JDK 1.1 9.0.1.4.0
              Oracle Java Object Cache 9.0.2.0.0
              Oracle Java Object Cache Patch 9.0.2.3.0
              Oracle Process Management Notification 9.0.2.0.0
              Oracle Process Management Notification Patch 9.0.2.3.0
              Visigenics ORB 3.4.0.0.0
              Oracle Enterprise Java Beans and CORBA Tools 9.0.1.1.1
              Oracle Dynamic Services Server 9.0.2.0.1
              Apache Configuration for EJB 9.0.1.0.1
              HTTP Server files 1.3.22.0.1a
              HTTP Server Files Patch 1.3.22.0.1d
              Oracle OC4J Module 9.0.2.0.0
              Oracle OC4J Module Patch 9.0.2.3.0
              Oracle Ultra Search Server 9.0.3.4.0
              Oracle Wallet Manager 9.0.1.4.0
              Oracle Net 9.0.1.4.0
              Oracle Java Tools 9.0.1.4.0
              Secure Socket Layer 9.0.1.4.0
              Oracle9iAS Clickstream Intelligence Common 9.0.2.2.0
              Enterprise Manager Process Utility 9.0.2.0.0
              Oracle9i Syndication Server Core 9.0.2.0.1
              Oracle Distributed Configuration Management 9.0.2.0.0
              Oracle Distributed Configuration Management Patch 9.0.2.3.0
              Enterprise Manager Encapsulated J2EE 9.0.2.0.0
              Bali Resource Translation System 2.0.5.0.0
              Oracle9i Syndication Server 9.0.2.0.1
              Oracle JDBC Drivers 9.0.1.4.0
              Oracle9iAS Mapviewer 9.0.2.0.0
              XSQL Servlet 9.0.2.0.0
              SQLJ Runtime 9.0.2.0.0
              Oracle Java Server Pages 9.0.2.0.1
              Oracle Java Server Pages Patch 9.0.2.3.0
              Oracle9iAS Containers for J2EE 9.0.2.0.1
              Oracle9iAS Containers for J2EE Patch 9.0.2.3.0
              Oracle Display Fonts 9.0.2.0.0
              Oracle UIX 2.0.21.0.0
              Oracle SOAP Client files 2.2.0.0.0b
              Oracle SOAP Client Files Patch 2.2.0.0.0e
              Oracle Help for the Web 1.0.7.0.0
              Oracle Enterprise Manager Web Site 9.0.2.0.0
              Unified Messaging EMD configuration 9.0.4.1.0
              Oracle9iAS Clickstream Intelligence Collector Agent Management 9.0.2.2.0
              BC4J Runtime Sample for Oracle9iAS 9.0.2.799.0
              Oracle Ultra Search Extension for EMD 9.0.3.4.0
              JSDK 2.0.0.0.0d
              Apache JServ 1.1.2.0.0a
              Apache JServ Patch 1.1.2.0.0d
              Discoverer Services Manager 9.0.2.39.02
              Oracle9i Delegated Administration Service 9.0.2.1.0
              Oracle9i Delegated Administration Service Patch 9.0.2.3.0
              Export/Import 9.0.1.4.0
              SQL*Loader 9.0.1.4.0
              Oracle SOAP Server 2.2.0.0.0b
              Oracle SOAP Server Patch 2.2.0.0.0e
              Oracle eBusiness Management Extensions 9.0.2.0.0a
              Apache Module for Oracle Distributed Authoring and Versioning 9.0.2.0.0
              SQL*Plus 9.0.1.4.0
              XML Transviewer Beans 9.0.2.0.0
              Reports OEM Extension 9.0.2.0.3
              Forms EMEXT 9.0.2.9.0
              Apache Configuration for Oracle Java Server Pages 9.0.2.0.0
              BC4J Runtime for Oracle9iAS 9.0.2.799.0
              Oracle9iAS Configuration for OC4J 9.0.2.0.1
              Oracle XML Runtime Components 9.0.2.0.0
              Oracle Mod PL/SQL Gateway 9.0.2.0.0
              Patch of Oracle Mod PL/SQL Gateway 9.0.2.6.0
              Oracle9iAS Web Cache 9.0.2.0.0
              Oracle9iAS Web Cache Patch 9.0.2.3.0
              Oracle Agent Extensions 9.0.2.0.0a
              Oracle Internet Directory Client 9.0.2.1.0
              Oracle Internet Directory Client Patch 9.0.2.3.0
              Apache Configuration for Oracle XML Developer's Kit 9.0.2.0.0
              Oracle Net Listener 9.0.1.4.0
              Oracle Portal Help 9.0.2.2.22
              Oracle Portal Integration with Reports 9.0.2.2.22
              Oracle Portal Configuration Assistant 9.0.2.2.22
              Oracle Portal CAT 9.0.2.2.22
              Oracle Portal Images 9.0.2.2.22
              Oracle Portal NLS 9.0.2.2.22
              Oracle Portal Common Services 9.0.2.2.22
              Oracle Portal Sitebuilder 9.0.2.2.22
              Oracle Portal Demos 9.0.2.2.22
              Oracle Portal Documentation 9.0.2.2.22
              Oracle Portal Java 9.0.2.2.22
              Oracle Portal SSO 9.0.2.2.22
              Oracle Portal Servlets 9.0.2.2.22
              Oracle Portal PLSQLToolkit 9.0.2.2.22
              Oracle Portal Utilities 9.0.2.2.22
              Oracle Portal VPD Policy 9.0.2.2.22
              Oracle9iAS Clickstream Intelligence Collector Agent 9.0.2.2.0
              Oracle9iAS Clickstream Intelligence Core 9.0.2.2.0
              Voicemail Fax Middletier 9.0.4.1.1
              BC4J Config Assistant 9.0.2.799.0
              Email Server Webmail 9.0.4.1.0
              Unified Messaging 9.0.4.1.0
              Oracle HTTP Server 9.0.2.0.0
              Oracle Portal Config Dialogs 9.0.2.2.22
              Oracle9i Application Server Core Products 9.0.2.0.0
              Oracle9i Application Server Middle Tier Products 9.0.2.0.0
              Oracle Portal Monitoring 9.0.2.2.22
              Oracle Portal Database Objects 9.0.2.2.22
              Oracle9i Application Server Instance 9.0.2.0.0
              Oracle Portal 9.0.2.2.22
              Patch of Oracle Portal 9.0.2.3.0B
              Management Tools 9.0.2.0.0
              Oracle Workflow 2.6.2.0.0
              Oracle Collaboration Suite One-offs 9.0.4.1.1
              Collaboration Suite Wireless Server 9.0.3.2.0
              Oracle Calendar application system 9.0.4.1.1
              Oracle Calendar web services 9.0.4.1.1
              Oracle Calendar SDK 9.0.4.1.0
              Oracle Sync Server 9.0.4.1.1
              Oracle Calendar web client 9.0.4.1.1
              Collaboration Suite Wireless 9.0.3.2.0
              Oracle9i Application Server 9.0.2.0.0
              Oracle Collaboration Suite Upgrade Assistant 9.0.4.1.1
              Oracle Files 9.0.4.3.0
              Oracle Calendar server 9.0.4.1.1
              Oracle Calendar administrator 9.0.4.1.1
              Oracle Calendar configuration 9.0.4.1.1
              Oracle Collaboration Suite Web Client 9.0.4.1.1
              Oracle Real-Time Collaboration Core Components 2.0.4.2.0
              UM configurator 9.0.4.1.0
    Starting to execute configuration assistants
    Launched configuration assistant 'Config MailStore'
    Tool type is: Optional.
    The command being spawned is: 'D:\OCS_ONEBOX\mtier/oes/bin/install_mailstore.bat "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ormail)(PORT=1521)))(CONNECT_DATA=(SID=ocsstore)))" Protected value, not to be logged ocsstore ormail 1521 UM_SYSTEM D:\OCS_ONEBOX\mtier Protected value, not to be logged Protected value, not to be logged 1 oramail.exp.com'
    Start output from spawned process:
    C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp>rem --- running install_mailstore.bat
    "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ormail)(PORT=1521)))(CONNECT_DATA=(SID=ocsstore)))" "<sys_passwd>" "<system_passwd>" "<ctxsys_passwd>" 1521 UM_SYSTEM D:\OCS_ONEBOX\mtier ora123 ora123 "<es_mail_passwd>" "<umadmin_passwd>"
    The system cannot find the path specified.
    The system cannot find the path specified.
    == was unexpected at this time.
    End output from spawned process.
    Invalid Exit Code. The following result code will be used for configuration assistants: 1
    Configuration assistant "Config MailStore" failed
    C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp>rem --- running install_mailstore.bat
    "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ormail)(PORT=1521)))(CONNECT_DATA=(SID=ocsstore)))" "<sys_passwd>" "<system_passwd>" "<ctxsys_passwd>" 1521 UM_SYSTEM D:\OCS_ONEBOX\mtier ora123 ora123 "<es_mail_passwd>" "<umadmin_passwd>"
    The system cannot find the path specified.
    The system cannot find the path specified.
    == was unexpected at this time.
    Result code for launching of configuration assistant is: 1
    The OUICA command is launched from D:\OCS_ONEBOX\mtier\oui\bin\ouica.bat.
    Error:*** Alert: Some of the configuration assistants failed. However these are optional assistants, so they are not required for the correct configuration of your system. If you want to try to run those assistants again, select the failed assistants and click the 'Retry' button. ***
    User Selected: Yes/OK
    Starting to execute configuration assistants
    Launched configuration assistant 'Config MailStore'
    Tool type is: Optional.
    The command being spawned is: 'D:\OCS_ONEBOX\mtier/oes/bin/install_mailstore.bat "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ormail)(PORT=1521)))(CONNECT_DATA=(SID=ocsstore)))" Protected value, not to be logged ocsstore ormail 1521 UM_SYSTEM D:\OCS_ONEBOX\mtier Protected value, not to be logged Protected value, not to be logged 1 oramail.exp.com'
    Start output from spawned process:
    C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp>rem --- running install_mailstore.bat
    "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ormail)(PORT=1521)))(CONNECT_DATA=(SID=ocsstore)))" "<sys_passwd>" "<system_passwd>" "<ctxsys_passwd>" 1521 UM_SYSTEM D:\OCS_ONEBOX\mtier ora123 ora123 "<es_mail_passwd>" "<umadmin_passwd>"
    The system cannot find the path specified.
    The system cannot find the path specified.
    == was unexpected at this time.
    End output from spawned process.
    Invalid Exit Code. The following result code will be used for configuration assistants: 1
    Configuration assistant "Config MailStore" failed
    C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp>rem --- running install_mailstore.bat
    "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ormail)(PORT=1521)))(CONNECT_DATA=(SID=ocsstore)))" "<sys_passwd>" "<system_passwd>" "<ctxsys_passwd>" 1521 UM_SYSTEM D:\OCS_ONEBOX\mtier ora123 ora123 "<es_mail_passwd>" "<umadmin_passwd>"
    The system cannot find the path specified.
    The system cannot find the path specified.
    == was unexpected at this time.
    Result code for launching of configuration assistant is: 1
    The OUICA command is launched from D:\OCS_ONEBOX\mtier\oui\bin\ouica.bat.
    Starting to execute configuration assistants
    Launched configuration assistant 'Config MailStore'
    Tool type is: Optional.
    The command being spawned is: 'D:\OCS_ONEBOX\mtier/oes/bin/install_mailstore.bat "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ormail)(PORT=1521)))(CONNECT_DATA=(SID=ocsstore)))" Protected value, not to be logged ocsstore ormail 1521 UM_SYSTEM D:\OCS_ONEBOX\mtier Protected value, not to be logged Protected value, not to be logged 1 oramail.exp.com'
    Start output from spawned process:
    C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp>rem --- running install_mailstore.bat
    "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ormail)(PORT=1521)))(CONNECT_DATA=(SID=ocsstore)))" "<sys_passwd>" "<system_passwd>" "<ctxsys_passwd>" 1521 UM_SYSTEM D:\OCS_ONEBOX\mtier ora123 ora123 "<es_mail_passwd>" "<umadmin_passwd>"
    The system cannot find the path specified.
    The system cannot find the path specified.
    == was unexpected at this time.
    End output from spawned process.
    Invalid Exit Code. The following result code will be used for configuration assistants: 1
    Configuration assistant "Config MailStore" failed
    C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp>rem --- running install_mailstore.bat
    "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ormail)(PORT=1521)))(CONNECT_DATA=(SID=ocsstore)))" "<sys_passwd>" "<system_passwd>" "<ctxsys_passwd>" 1521 UM_SYSTEM D:\OCS_ONEBOX\mtier ora123 ora123 "<es_mail_passwd>" "<umadmin_passwd>"
    The system cannot find the path specified.
    The system cannot find the path specified.
    == was unexpected at this time.
    Result code for launching of configuration assistant is: 1
    The OUICA command is launched from D:\OCS_ONEBOX\mtier\oui\bin\ouica.bat.
    The following configuration assistants have not been successfully completed. These assistants must be completed for your product to be completely configured.
    Execute file D:\OCS_ONEBOX\mtier\cfgtoollogs/configToolCommands to re-run all skipped/failed configuration assistants.
    echo Config MailStore
    D:\OCS_ONEBOX\mtier/oes/bin/install_mailstore.bat "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ormail)(PORT=1521)))(CONNECT_DATA=(SID=ocsstore)))" Protected value, not to be logged ocsstore ormail 1521 UM_SYSTEM D:\OCS_ONEBOX\mtier Protected value, not to be logged Protected value, not to be logged 1 oramail.exp.com
    Error:*** Alert: One or more configuration assistants have not completed successfully. However these are optional, so they are not required for the correct configuration of your system. A list of the configuration assistants that need to be run is generated in the log of this session which is located at:
    C:\Program Files\Oracle\Inventory\logs\installActions2006-02-02_01-53-52PM.log ***
    User Selected: Yes/OK
    Warning:*** Alert: Do you really want to exit? ***
    User Selected: Yes/OK
    The OUICA command is launched from D:\OCS_ONEBOX\mtier\oui\bin\ouica.bat.
    *** End of Installation Page***
    The installation of UM configurator was successful, but some optional configuration assistants failed or were canceled.

    Hi Andreas,
    I already tried your solution but still got error, this is the log file :
    Starting to execute configuration assistants
    Launched configuration assistant 'Config MailStore'
    Tool type is: Optional.
    The command being spawned is: 'D:\ocs_onebox\mtier/oes/bin/install_mailstore.bat "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oramail.exp.com)(PORT=1521)))(CONNECT_DATA=(SID=ocsstore)))" Protected value, not to be logged ocsstore oramail.exp.com 1521 UM_SYSTEM D:\ocs_onebox\mtier Protected value, not to be logged Protected value, not to be logged 1 oramail.exp.com'
    Start output from spawned process:
    C:\TMP>rem --- running install_mailstore.bat
    "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oramail.exp.com)(PORT=1521)))(CONNECT_DATA=(SID=ocsstore)))" "<sys_passwd>" "<system_passwd>" "<ctxsys_passwd>" 1521 UM_SYSTEM D:\ocs_onebox\mtier ora123 ora123 "<es_mail_passwd>" "<umadmin_passwd>"
    The system cannot find the path specified.
    The system cannot find the path specified.
    == was unexpected at this time.
    End output from spawned process.
    Invalid Exit Code. The following result code will be used for configuration assistants: 1
    Configuration assistant "Config MailStore" failed
    C:\TMP>rem --- running install_mailstore.bat
    "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oramail.exp.com)(PORT=1521)))(CONNECT_DATA=(SID=ocsstore)))" "<sys_passwd>" "<system_passwd>" "<ctxsys_passwd>" 1521 UM_SYSTEM D:\ocs_onebox\mtier ora123 ora123 "<es_mail_passwd>" "<umadmin_passwd>"
    The system cannot find the path specified.
    The system cannot find the path specified.
    == was unexpected at this time.
    Result code for launching of configuration assistant is: 1
    The OUICA command is launched from D:\ocs_onebox\mtier\oui\bin\ouica.bat.
    The following configuration assistants have not been successfully completed. These assistants must be completed for your product to be completely configured.
    Execute file D:\ocs_onebox\mtier\cfgtoollogs/configToolCommands to re-run all skipped/failed configuration assistants.
    echo Config MailStore
    D:\ocs_onebox\mtier/oes/bin/install_mailstore.bat "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oramail.exp.com)(PORT=1521)))(CONNECT_DATA=(SID=ocsstore)))" Protected value, not to be logged ocsstore oramail.exp.com 1521 UM_SYSTEM D:\ocs_onebox\mtier Protected value, not to be logged Protected value, not to be logged 1 oramail.exp.com
    Error:*** Alert: One or more configuration assistants have not completed successfully. However these are optional, so they are not required for the correct configuration of your system. A list of the configuration assistants that need to be run is generated in the log of this session which is located at:
    C:\Program Files\Oracle\Inventory\logs\installActions2006-02-07_06-35-23PM.log ***
    User Selected: Yes/OK
    *** End of Installation Page***
    The installation of UM configurator was successful, but some optional configuration assistants failed or were canceled.
    Warning:*** Alert: Do you really want to exit? ***
    User Selected: Yes/OK
    The OUICA command is launched from D:\ocs_onebox\mtier\oui\bin\ouica.bat.
    User Exit

  • Database cloning using RMAN using Oracle 11i

    Hi all,
    I am getting error while connecting to clone database after making necessary changes in initDUP.ora file. Any buddy help me out to resolve this problem. I am doing clonning first time.
    C:\Documents and Settings\sanjeevk>tnsping dup
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.6.0 - Production on 25-JUN-2010 11:57:40
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    C:\oracle\product\11.1.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = abc-117.abc
    .com)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = dup)))
    OK (50 msec)
    C:\Documents and Settings\sanjeevk>set ORACLE_SID=dup
    C:\Documents and Settings\sanjeevk>sqlplus "sys/****** as sysdba"
    SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jun 25 11:59:55 2010
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Enter user-name: / as sysdba
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Edited by: user13174327 on Jun 25, 2010 12:16 AM

    try to conenct to clone database from target database as sys by sqlplus 'sys/sys@CLONE as sysdba'
    make sure u have remote_login_password_file=exclusive in clone database pfile,,,,
    reload the listener,,, with replacing hostname with the ip address of the machine.....
    also take care of global_db_name ..
    i will post a sample of listener file it may work 4 u..
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /oracle/orasoft/10.2.0.4)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = rman_cat)
    (ORACLE_HOME = /oracle/orasoft/10.2.0.4)
    (SID_NAME = rman_cat)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.$$$.###.***)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    if u want proper SOP for duplicating database through RMAN .. post me ur mail id.I did that at last two days back.....
    Regards,
    Sisya....

  • DBLINK truncation with SAP HANA db

    Hi - I have Oracle 11g installed in my Windows laptop and dblink connected to SAP's HANA database via ODBC using the HANA odbc driver. My NVARCHAR data in HANA is being truncated in half. I am working thru sqlplus. Same result in SQL developer client tool. The VARCHAR data is ok. I created three Oracle instances with the only difference being the NLS_CHARACTERSET & NLS_NCHAR_CHARACTERSET values. I have three SIDS: orcl, orulu, and orclutf8. All with the same result. My gateway settings for each are all the same. I started testing with SID orcl and once I found that out I decided to create orclu and orclutf8. In our Unix boxes, we have orcl and orclu settings and those are behaving the same (we use unixodbc.org as the mgr).
    I provided orclutf8 gateway .ora file and the orclut8 system info below.
    Symptoms/Info:
    The character set of HANA db is AL32UTF8.
    The HANA db table contains NVARCHAR and have Unicode values (eg: em dash, even Chinese char). NVARCHAR columns gets cut in half as shown in sqlplus (same in sql developer).
    For the half that do show up, the actual Unicode character shows up in sqlplus as either unprintable character or upside down question mark or a \u character. This is ok coz no abends therefore data gets process and let my customers deal with the non-converted data – it is ok with them.
    Since all SIDs are behaving the same way, I provided you information for orclutf8: initdwutf.ora, the system info, and the trace file. Of all things that SHOULD work, it is the one with the exact character set to HANA.
    I have two tables in HANA with the same number of columns and rows. Only difference is NVARCHAR versus VARCHAR.There are three columns with 3, 20, and 150 length.
    I took a Oracle trace when selecting from each table and compared them both. I pasted a picture at the bottom. The left side is the VARCHAR and right side NVARCHAR. You can see the HANA odbc driver report a truncation issue on line 209 but I do not see this error in sqlplus. I have a SAP incident open on this.
    Is there something in the Oracle side that can be tried? For example, in the trace compare picture, the VARCHAR trace shows that is doubled the data size for each column from 3, 20, and 150 to 6, 40, and 300. In the NVARCHAR it did not.
    SID: orcl
                    SELECT value$ FROM sys.props$ WHERE name = 'NLS_CHARACTERSET’;
                    WE8MSWIN1252
                    SELECT value$ FROM sys.props$ WHERE name = 'NLS_NCHAR_CHARACTERSET’;
                    AL16UTF16
    SID: orclu
                    SELECT value$ FROM sys.props$ WHERE name = 'NLS_CHARACTERSET’;
                    AL32UTF8
                   SELECT value$ FROM sys.props$ WHERE name = 'NLS_NCHAR_CHARACTERSET’;
                    AL16UTF16
    SID: orclutf8
                    SELECT value$ FROM sys.props$ WHERE name = 'NLS_CHARACTERSET’;
                    AL32UTF8
                   SELECT value$ FROM sys.props$ WHERE name = 'NLS_NCHAR_CHARACTERSET’;
                    UTF8
    initdw7utf.ora:
    # 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 = <odbc data_source_name>
    HS_FDS_CONNECT_INFO = HANADW7
    HS_FDS_TRACE_LEVEL=DEBUG
    #HS_LANGUAGE=AL32UTF8
    HS_LANGUAGE=AMERICAN_AMERICA.AL32UTF8
    HS_FDS_REMOTE_DB_CHARSET=AL32UTF8
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    SELECT * FROM sys.props$:
    DICT.BASE       2
    DEFAULT_TEMP_TABLESPACE           TEMP
    DEFAULT_PERMANENT_TABLESPACE            USERS
    DEFAULT_EDITION       ORA$BASE
    Flashback Timestamp TimeZone            GMT
    TDE_MASTER_KEY_ID
    DST_UPGRADE_STATE            NONE
    DST_PRIMARY_TT_VERSION    11
    DST_SECONDARY_TT_VERSION          0
    DEFAULT_TBS_TYPE   SMALLFILE
    NLS_LANGUAGE          AMERICAN
    NLS_TERRITORY          AMERICA
    NLS_CURRENCY          $
    NLS_ISO_CURRENCY   AMERICA
    NLS_NUMERIC_CHARACTERS  .,
    NLS_CHARACTERSET  AL32UTF8
    NLS_CALENDAR          GREGORIAN
    NLS_DATE_FORMAT    DD-MON-RR
    NLS_DATE_LANGUAGE            AMERICAN
    NLS_SORT       BINARY
    NLS_TIME_FORMAT     HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT      DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT            HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY            $
    NLS_COMP      BINARY
    NLS_LENGTH_SEMANTICS       BYTE
    NLS_NCHAR_CONV_EXCP       FALSE
    NLS_NCHAR_CHARACTERSET UTF8
    NLS_RDBMS_VERSION            11.2.0.1.0
    GLOBAL_DB_NAME     ORCLUTF8
    EXPORT_VIEWS_VERSION      8
    WORKLOAD_CAPTURE_MODE           
    WORKLOAD_REPLAY_MODE  
    NO_USERID_VERIFIER_SALT   57505D68AFECC3BCECE484A1C42CC8CE
    DBTIMEZONE   00:00

    1) When I tried HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL the nvarchar select statement still truncated and displayed them in sqlplus.
    For the varchar select statement, it just error'ed out in sqlplus.
    ERROR:
    ORA-28562: Heterogeneous Services data truncation error
    ORA-02063: preceding line from DEVUTF8
    no rows selected
    I commented out the HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL for now.
    2) For the nvarchar select statement, I do not get an error messages via sqlplus. I get the records displayed truncated in half they should be. A native odbc error do show up in the Oracle Trace file. I think that comes from the HANA odbc driver. It is line 209 of the picture in my original thread.
    3) DESCRIBE commands output below:
    SQL> desc ESBA_DB.ZTESTSAP@DEVUTF8 - THIS IS THE NVARCHAR TABLE. The sizes match what is in HANA db.
    Name                                      Null?    Type
    MANDT                                     NOT NULL NVARCHAR2(3)
    NAME                                      NOT NULL NVARCHAR2(20)
    NAME_150                                  NOT NULL NVARCHAR2(150)
    SQL> desc PTAN.ZTESTSAP_VC@DEVUTF8 - THIS IS THE VARCHAR TABLE.The sizes do not match what is in HANA db.
    Name                                      Null?    Type
    MANDT                                              VARCHAR2(1)
    NAME                                               VARCHAR2(6)
    NAME150                                            VARCHAR2(50)
    4) Below is the gateway trace. I included from the first occurence of hgodscr and all the way to the end of it. You can see the HANA odbc driver truncation.
    Entered hgodscr, cursor id 1 at 2014/10/02-11:15:41
    Allocate hoada @ 03705518
    Entered hgopcda at 2014/10/02-11:15:41
    Column:1(M): dtype:-9 (WVARCHAR), prc/scl:3/0, nullbl:1, octet:3, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2014/10/02-11:15:41
    Entered hgopcda at 2014/10/02-11:15:41
    Column:2(N): dtype:-9 (WVARCHAR), prc/scl:20/0, nullbl:1, octet:20, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2014/10/02-11:15:41
    Entered hgopcda at 2014/10/02-11:15:41
    Column:3(N): dtype:-9 (WVARCHAR), prc/scl:150/0, nullbl:1, octet:150, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2014/10/02-11:15:41
    hgodscr, line 910: Printing hoada @ 03705518
    MAX:3, ACTUAL:3, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR)
    DTY         NULL-OK  LEN  MAXBUFLEN   PR/SC  CST IND MOD NAME
    12 VARCHAR Y          3          3 128/  3 1000   0  40 MANDT
    12 VARCHAR Y         20         20 128/ 20 1000   0  40 NAME
    12 VARCHAR Y        150        150 128/150 1000   0  40 NAME_150
    Exiting hgodscr, rc=0 at 2014/10/02-11:15:41
    Entered hgoftch, cursor id 1 at 2014/10/02-11:15:41
    hgoftch, line 130: Printing hoada @ 03705518
    MAX:3, ACTUAL:3, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR)
    DTY         NULL-OK  LEN  MAXBUFLEN   PR/SC  CST IND MOD NAME
    12 VARCHAR Y          3          3 128/  3 1000   0  40 MANDT
    12 VARCHAR Y         20         20 128/ 20 1000   0  40 NAME
    12 VARCHAR Y        150        150 128/150 1000   0  40 NAME_150
    Performing delayed open.
    SQLBindCol: column 1, cdatatype: -8, bflsz: 6
    SQLBindCol: column 2, cdatatype: -8, bflsz: 22
    SQLBindCol: column 3, cdatatype: -8, bflsz: 152
    Entered hgopoer at 2014/10/02-11:15:41
    hgopoer, line 233: got native error 0 and sqlstate 01004; message follows...
    [SAP AG][LIBODBCHDB32 DLL] Data truncated {01004}[SAP AG][LIBODBCHDB32 DLL] Data truncated {01004}[SAP AG][LIBODBCHDB32 DLL] Data truncated {01004}[SAP AG][LIBODBCHDB32 DLL] Data truncated {01004}[SAP AG][LIBODBCHDB32 DLL] Data truncated {01004}
    Exiting hgopoer, rc=0 at 2014/10/02-11:15:41
    hgoftch, line 740: calling SQLFetch got sqlstate 01004
    SQLFetch: row: 1, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 1, column 1, bflsz: 6,  bflar: 6, (bfl: 3, mbl: 3)
    SQLFetch: row: 1, column 2, bflsz: 22, bflar: 6
    SQLFetch: row: 1, column 2, bflsz: 22,  bflar: 6, (bfl: 20, mbl: 20)
    SQLFetch: row: 1, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 1, column 3, bflsz: 152,  bflar: 0, (bfl: 150, mbl: 150)
    SQLFetch: row: 2, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 2, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 2, column 2, bflsz: 22, bflar: 12
    SQLFetch: row: 2, column 2, bflsz: 22,  bflar: 12, (bfl: 0, mbl: 20)
    SQLFetch: row: 2, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 2, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 3, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 3, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 3, column 2, bflsz: 22, bflar: 8
    SQLFetch: row: 3, column 2, bflsz: 22,  bflar: 8, (bfl: 0, mbl: 20)
    SQLFetch: row: 3, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 3, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 4, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 4, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 4, column 2, bflsz: 22, bflar: 6
    SQLFetch: row: 4, column 2, bflsz: 22,  bflar: 6, (bfl: 0, mbl: 20)
    SQLFetch: row: 4, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 4, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 5, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 5, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 5, column 2, bflsz: 22, bflar: 12
    SQLFetch: row: 5, column 2, bflsz: 22,  bflar: 12, (bfl: 0, mbl: 20)
    SQLFetch: row: 5, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 5, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 6, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 6, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 6, column 2, bflsz: 22, bflar: 8
    SQLFetch: row: 6, column 2, bflsz: 22,  bflar: 8, (bfl: 0, mbl: 20)
    SQLFetch: row: 6, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 6, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 7, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 7, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 7, column 2, bflsz: 22, bflar: 6
    SQLFetch: row: 7, column 2, bflsz: 22,  bflar: 6, (bfl: 0, mbl: 20)
    SQLFetch: row: 7, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 7, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 8, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 8, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 8, column 2, bflsz: 22, bflar: 12
    SQLFetch: row: 8, column 2, bflsz: 22,  bflar: 12, (bfl: 0, mbl: 20)
    SQLFetch: row: 8, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 8, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 9, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 9, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 9, column 2, bflsz: 22, bflar: 8
    SQLFetch: row: 9, column 2, bflsz: 22,  bflar: 8, (bfl: 0, mbl: 20)
    SQLFetch: row: 9, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 9, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 10, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 10, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 10, column 2, bflsz: 22, bflar: 6
    SQLFetch: row: 10, column 2, bflsz: 22,  bflar: 6, (bfl: 0, mbl: 20)
    SQLFetch: row: 10, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 10, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 11, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 11, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 11, column 2, bflsz: 22, bflar: 12
    SQLFetch: row: 11, column 2, bflsz: 22,  bflar: 12, (bfl: 0, mbl: 20)
    SQLFetch: row: 11, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 11, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 12, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 12, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 12, column 2, bflsz: 22, bflar: 8
    SQLFetch: row: 12, column 2, bflsz: 22,  bflar: 8, (bfl: 0, mbl: 20)
    SQLFetch: row: 12, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 12, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 13, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 13, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 13, column 2, bflsz: 22, bflar: 6
    SQLFetch: row: 13, column 2, bflsz: 22,  bflar: 6, (bfl: 0, mbl: 20)
    SQLFetch: row: 13, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 13, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 14, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 14, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 14, column 2, bflsz: 22, bflar: 12
    SQLFetch: row: 14, column 2, bflsz: 22,  bflar: 12, (bfl: 0, mbl: 20)
    SQLFetch: row: 14, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 14, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 15, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 15, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 15, column 2, bflsz: 22, bflar: 40
    SQLFetch: row: 15, column 2, bflsz: 22,  bflar: 40, (bfl: 0, mbl: 20)
    SQLFetch: row: 15, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 15, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 16, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 16, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 16, column 2, bflsz: 22, bflar: 8
    SQLFetch: row: 16, column 2, bflsz: 22,  bflar: 8, (bfl: 0, mbl: 20)
    SQLFetch: row: 16, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 16, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 17, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 17, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 17, column 2, bflsz: 22, bflar: 32
    SQLFetch: row: 17, column 2, bflsz: 22,  bflar: 32, (bfl: 0, mbl: 20)
    SQLFetch: row: 17, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 17, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 18, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 18, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 18, column 2, bflsz: 22, bflar: 40
    SQLFetch: row: 18, column 2, bflsz: 22,  bflar: 40, (bfl: 0, mbl: 20)
    SQLFetch: row: 18, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 18, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 19, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 19, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 19, column 2, bflsz: 22, bflar: 12
    SQLFetch: row: 19, column 2, bflsz: 22,  bflar: 12, (bfl: 0, mbl: 20)
    SQLFetch: row: 19, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 19, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 20, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 20, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 20, column 2, bflsz: 22, bflar: 2
    SQLFetch: row: 20, column 2, bflsz: 22,  bflar: 2, (bfl: 0, mbl: 20)
    SQLFetch: row: 20, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 20, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 21, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 21, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 21, column 2, bflsz: 22, bflar: 2
    SQLFetch: row: 21, column 2, bflsz: 22,  bflar: 2, (bfl: 0, mbl: 20)
    SQLFetch: row: 21, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 21, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 22, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 22, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 22, column 2, bflsz: 22, bflar: 6
    SQLFetch: row: 22, column 2, bflsz: 22,  bflar: 6, (bfl: 0, mbl: 20)
    SQLFetch: row: 22, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 22, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 23, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 23, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 23, column 2, bflsz: 22, bflar: 12
    SQLFetch: row: 23, column 2, bflsz: 22,  bflar: 12, (bfl: 0, mbl: 20)
    SQLFetch: row: 23, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 23, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 24, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 24, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 24, column 2, bflsz: 22, bflar: 40
    SQLFetch: row: 24, column 2, bflsz: 22,  bflar: 40, (bfl: 0, mbl: 20)
    SQLFetch: row: 24, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 24, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 25, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 25, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 25, column 2, bflsz: 22, bflar: 8
    SQLFetch: row: 25, column 2, bflsz: 22,  bflar: 8, (bfl: 0, mbl: 20)
    SQLFetch: row: 25, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 25, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 26, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 26, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 26, column 2, bflsz: 22, bflar: 32
    SQLFetch: row: 26, column 2, bflsz: 22,  bflar: 32, (bfl: 0, mbl: 20)
    SQLFetch: row: 26, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 26, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 27, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 27, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 27, column 2, bflsz: 22, bflar: 40
    SQLFetch: row: 27, column 2, bflsz: 22,  bflar: 40, (bfl: 0, mbl: 20)
    SQLFetch: row: 27, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 27, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 28, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 28, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 28, column 2, bflsz: 22, bflar: 12
    SQLFetch: row: 28, column 2, bflsz: 22,  bflar: 12, (bfl: 0, mbl: 20)
    SQLFetch: row: 28, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 28, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 29, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 29, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 29, column 2, bflsz: 22, bflar: 2
    SQLFetch: row: 29, column 2, bflsz: 22,  bflar: 2, (bfl: 0, mbl: 20)
    SQLFetch: row: 29, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 29, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 30, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 30, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 30, column 2, bflsz: 22, bflar: 2
    SQLFetch: row: 30, column 2, bflsz: 22,  bflar: 2, (bfl: 0, mbl: 20)
    SQLFetch: row: 30, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 30, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 31, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 31, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 31, column 2, bflsz: 22, bflar: 6
    SQLFetch: row: 31, column 2, bflsz: 22,  bflar: 6, (bfl: 0, mbl: 20)
    SQLFetch: row: 31, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 31, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 32, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 32, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 32, column 2, bflsz: 22, bflar: 12
    SQLFetch: row: 32, column 2, bflsz: 22,  bflar: 12, (bfl: 0, mbl: 20)
    SQLFetch: row: 32, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 32, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 33, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 33, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 33, column 2, bflsz: 22, bflar: 8
    SQLFetch: row: 33, column 2, bflsz: 22,  bflar: 8, (bfl: 0, mbl: 20)
    SQLFetch: row: 33, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 33, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 34, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 34, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 34, column 2, bflsz: 22, bflar: 6
    SQLFetch: row: 34, column 2, bflsz: 22,  bflar: 6, (bfl: 0, mbl: 20)
    SQLFetch: row: 34, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 34, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 35, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 35, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 35, column 2, bflsz: 22, bflar: 12
    SQLFetch: row: 35, column 2, bflsz: 22,  bflar: 12, (bfl: 0, mbl: 20)
    SQLFetch: row: 35, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 35, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 36, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 36, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 36, column 2, bflsz: 22, bflar: 8
    SQLFetch: row: 36, column 2, bflsz: 22,  bflar: 8, (bfl: 0, mbl: 20)
    SQLFetch: row: 36, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 36, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 37, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 37, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 37, column 2, bflsz: 22, bflar: 6
    SQLFetch: row: 37, column 2, bflsz: 22,  bflar: 6, (bfl: 0, mbl: 20)
    SQLFetch: row: 37, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 37, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 38, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 38, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 38, column 2, bflsz: 22, bflar: 12
    SQLFetch: row: 38, column 2, bflsz: 22,  bflar: 12, (bfl: 0, mbl: 20)
    SQLFetch: row: 38, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 38, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 39, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 39, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 39, column 2, bflsz: 22, bflar: 8
    SQLFetch: row: 39, column 2, bflsz: 22,  bflar: 8, (bfl: 0, mbl: 20)
    SQLFetch: row: 39, column 3, bflsz: 152, bflar: 0
    SQLFetch: row: 39, column 3, bflsz: 152,  bflar: 0, (bfl: 0, mbl: 150)
    SQLFetch: row: 40, column 1, bflsz: 6, bflar: 6
    SQLFetch: row: 40, column 1, bflsz: 6,  bflar: 6, (bfl: 0, mbl: 3)
    SQLFetch: row: 40, column 2, bflsz: 22, bflar: 38
    SQLFetch: row: 40, column 2, bflsz: 22,  bflar: 38, (bfl: 0, mbl: 20)
    SQLFetch: row: 40, column 3, bflsz: 152, bflar: 298
    SQLFetch: row: 40, column 3, bflsz: 152,  bflar: 298, (bfl: 0, mbl: 150)
    40 rows fetched
    Exiting hgoftch, rc=0 at 2014/10/02-11:15:42 with error ptr FILE:hgoftch.c LINE:740 ID:Fetch resultset data
    Entered hgoftch, cursor id 1 at 2014/10/02-11:15:42
    hgoftch, line 130: Printing hoada @ 03705518
    MAX:3, ACTUAL:3, BRC:40, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR)
    DTY         NULL-OK  LEN  MAXBUFLEN   PR/SC  CST IND MOD NAME
    12 VARCHAR Y          4          3 128/  3 1000   0  40 MANDT
    12 VARCHAR Y          6         20 128/ 20 1000   0  40 NAME
    12 VARCHAR Y          0        150 128/150 1000   0  40 NAME_150
    0 rows fetched
    Exiting hgoftch, rc=1403 at 2014/10/02-11:15:42
    Entered hgoclse, cursor id 1 at 2014/10/02-11:15:46
    Exiting hgoclse, rc=0 at 2014/10/02-11:15:46
    Entered hgodafr, cursor id 1 at 2014/10/02-11:15:46
    Free hoada @ 03705518
    Exiting hgodafr, rc=0 at 2014/10/02-11:15:46
    Entered hgocomm at 2014/10/02-11:15:46
    keepinfo:0, tflag:1
       00: 4F52434C 55544638 2E376265 35343664  [ORCLUTF8.7be546d]
       10: 392E312E 32362E36 3630               [9.1.26.660]
                     tbid (len 23) is ...
       00: 4F52434C 55544638 5B312E32 362E3636  [ORCLUTF8[1.26.66]
       10: 305D5B31 2E345D                      [0][1.4]]
    cmt(0):
    Entered hgocpctx at 2014/10/02-11:15:46
    Exiting hgocpctx, rc=0 at 2014/10/02-11:15:46
    Exiting hgocomm, rc=0 at 2014/10/02-11:15:46
    Entered hgolgof at 2014/10/02-11:15:46
    tflag:1
    Exiting hgolgof, rc=0 at 2014/10/02-11:15:46
    Entered hgoexit at 2014/10/02-11:15:46
    Exiting hgoexit, rc=0

  • Issue with Characters (tilde, accent and more)

    Hello all,
    Im triyng to do and export / import
    Export system:
    AIX 4.x, Oracle, 8.1.7
    Import system
    RedHat 5, Oracle 10.0.2
    After trying a lot with different character sets, setting and unsetting nls_lang in the target system i still having problems.
    The point is that an accent lleter (á) for example once imported is translated to a box (FFFD) or ascii code 191.
    We have tried changing NLS_CHARACTERSET and NLS_NCHAR_CHARACTERSET and setting NLS_LANG as environment variable.
    The source system has:
    env | grep -i nls
    NLS_LANG=american_america.US7ASCII
    LOCPATH=/usr/lib/nls/loc
    NLS_DATE_FORMAT=DD-MON-RR
    ORA_NLS33=/u01/app/oracle/product/8.1.7/ocommon/nls/admin/data
    NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
    SQL> select name,value$ from sys.props$;
    NAME VALUE$
    DICT.BASE 2
    DBTIMEZONE 0:00
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CHARACTERSET US7ASCII
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZH:TZM
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZH:TZM
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    NLS_NCHAR_CHARACTERSET US7ASCII
    NLS_RDBMS_VERSION 8.1.7.4.0
    GLOBAL_DB_NAME PUB.xxx.yyy
    EXPORT_VIEWS_VERSION 8
    The target:
    env | grep -i nls
    NLS_LANG=american_america.US7ASCII
    NAME VALUE$
    DICT.BASE 2
    DEFAULT_TEMP_TABLESPACE TEMP
    DEFAULT_PERMANENT_TABLESPACE SYSTEM
    DBTIMEZONE -03:00
    DEFAULT_TBS_TYPE SMALLFILE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CHARACTERSET US7ASCII
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_NCHAR_CHARACTERSET US7ASCII
    NLS_RDBMS_VERSION 10.2.0.1.0
    GLOBAL_DB_NAME SP9
    EXPORT_VIEWS_VERSION 8
    Anybody can give me any clue?
    Thanks in advance.
    Leonardo

    Hi,
    Does your indexed data (which you hope to match) contain "sofá" or "sofa" (no diacritic)? If the latter, and in-general, you may benefit from the dgidx flag --diacritic-folding* as described in documentation "Mapping accented characters to unaccented characters".  If you are running the latest version, this is all that should be required to generate a match.
    Best
    Brett

  • Highlighting a value in an interactive report

    Hi,
    I have an interactive report on which i have a column which displays either "Y" or "N". My requirement is to display "N" in bold and red color for every record having N. How can i make it work in my interactive report.
    Thanks

    Hi Andy,
    I am sorry but didnt understand what you are asking thats why i posted my query. I didnt understand what you meant by standard report column. It was highlighting N in my previous post because i didnt write my code in CODE tag. Npw please have a look.
    select "DBNAME" ,
    "DBID" "Database ID",
    "INSTANCE_NAME" "Instance Name",
    "VERSION",
    "CREATED" "Creation Date",
    "HOST_NAME" "Host Name",
    DECODE (DB_TYPE_CODE,'P','Production','D','Development','T','Test','Unspecified') "Database Type",
    "NLS_CHARACTERSET",
    "NLS_NCHAR_CHARACTERSET",
    "GLOBAL_DB_NAME",
    "SITE_CODE" "Site Code",
    "RECORD_CREATION_DATE" "Registration Date",
    "DB_STATUS" "Status",
    "COLLECT_STATS" "Collect Stats",
    CASE CONMON WHEN 'N' THEN
    '<span style="font-weight:bold; color:red">No</span>' ELSE 'Yes' END
    "Monitor"
    FROM "#OWNER#"."MONITORED_DATABASES"
    ORDER BY dbnameThis is a table column which i am displaying as it is. Is it what you meant by "Standard Report Column"?
    Salman

  • Converting to UTF8 from US7ASCII

    This is what I did to change the characterset of my PeopleSoft HRMS database to change the character set from US7ASCII to UTF8.Everything seems to have gone well but there is one value that is still not right.I am not sure how to change this or if I let it remain as it is, how is it going to affect the data.
    Stop all queues with dbms_aqadm.stop_queue( queue_name => '<queue name>');
    SHUTDOWN IMMEDIATE;
    STARTUP MOUNT;
    ALTER SYSTEM ENABLE RESTRICTED SESSION;
    ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;
    ALTER SYSTEM SET AQ_TM_PROCESSES=0;
    ALTER DATABASE OPEN;
    select value from nls_database_parameters where parameter='NLS_CHARACTERSET';
    TRUNCATE TABLE SYS.METASTYLESHEET; ---to get rid of ORA-12716 per Metalink Note - 213015.1
    ALTER DATABASE CHARACTER SET UTF8;
    --ALTER DATABASE CHARACTER SET INTERNAL_USE UTF8;
    SHUTDOWN IMMEDIATE;
    STARTUP;
    @$ORACLE_HOME/rdbms/admin/catmet.sql
    SHUTDOWN IMMEDIATE;
    STARTUP;
    Start all queues with dbms_aqadm.start_queue( queue_name => '<queue name>');
    Now when I query for the nls parameters in the database, this is what I get:
    DICT.BASE     2
    DBTIMEZONE     0:00
    NLS_LANGUAGE     AMERICAN
    NLS_TERRITORY     AMERICA
    NLS_CURRENCY     $
    NLS_ISO_CURRENCY     AMERICA
    NLS_NUMERIC_CHARACTERS     .,
    NLS_CHARACTERSET     UTF8
    NLS_CALENDAR     GREGORIAN
    NLS_DATE_FORMAT     DD-MON-RR
    NLS_DATE_LANGUAGE     AMERICAN
    NLS_SORT     BINARY
    NLS_TIME_FORMAT     HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT     DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT     HH.MI.SSXFF AM TZH:TZM
    NLS_TIMESTAMP_TZ_FORMAT     DD-MON-RR HH.MI.SSXFF AM TZH:TZM
    NLS_DUAL_CURRENCY     $
    NLS_COMP     BINARY
    NLS_NCHAR_CHARACTERSET     UTF8
    GLOBAL_DB_NAME     HRDEV
    EXPORT_VIEWS_VERSION     8
    NLS_TIME_FORMAT     HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT     DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT     HH.MI.SSXFF AM TZH:TZM
    NLS_TIMESTAMP_TZ_FORMAT     DD-MON-RR HH.MI.SSXFF AM TZH:TZM
    NLS_LENGTH_SEMANTICS     BYTE
    NLS_NCHAR_CONV_EXCP     FALSE
    NLS_RDBMS_VERSION     9.2.0.4.0
    DEFAULT_TEMP_TABLESPACE     SYSTEM
    NLS_SAVED_NCHAR_CS     US7ASCII
    I am concerned about this value NLS_SAVED_NCHAR_CS which still is US7ASCII.Will this affect the application data anyway.

    I would be too.
    But given that this is PeopleSoft this is not the kind of thing where you should be taking advice from strangers at a website.
    Open an SR with Oracle metalink and get advice supported by Oracle Corp.

  • How to supply wallet location to OCI client for SSL connection other than sqlnet.ora

    I have a oracle 11g database server and I am connecting to it through OCI client in OBIEE Admin tool. This is working fine, but now the requirement is we need to connect to an SSL enabled database.
    For this I had to update the sqlnet.ora under $ORACLE_HOME/network/admin in OBIEE installation and specify the wallet location where I placed the wallet containing appropriate certificates.
    The above is working fine for me. But due to certain restrictions, we cannot create this sqlnet.ora. Is there a way we can pass this wallet location through some environment variables so that sqlnet.ora is not required?
    If we create a jdbc connection, we can specify the wallet location through jdbc connection properties. Is there any such equivalent for OCI based connection. I dont mind how we make the wallet location available to OCI client, so long as I dont have to create a sqlnet.ora.
    Any pointers is greatly appreciated

    Hi,
    sqlnet.ora file is required if you want to set the wallet location to another directory by using the WALLET_LOCATION parameter.
    If you do not want to use sqlnet.ora then you need to use the default wallet location.
    The wallet is placed, by default, in $ORACLE_BASE/admin/<global_db_name>/wallet.
    If this directory does not exist or ORACLE_BASE is not set, the default location is: $ORACLE_HOME/admin/<global_db_name>/wallet
    Regards,
    Ravi

  • ORA-24365 from db link

    Hi:
    I am on 10.2.0.3.
    A db link has been created from another database to my database which has the following parms. An ORA-24365 was raised even on an attempt to select sysdate from dual. Any suggestions?
    SQL> select sysdate from dual@dblink1 ;
    select sysdate from dual@dblink1
    ERROR at line 1:
    ORA-02068: following severe error from dblink1
    ORA-24365: error in character conversion
    PROPERTY_NAME PROPERTY_VALUE
    DICT.BASE 2
    DEFAULT_TEMP_TABLESPACE TEMP
    DEFAULT_PERMANENT_TABLESPACE USERS
    DEFAULT_TBS_TYPE SMALLFILE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CHARACTERSET AL32UTF8
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_RDBMS_VERSION 10.2.0.3.0
    GLOBAL_DB_NAME FSUAT.COVANCE.COM
    EXPORT_VIEWS_VERSION 8
    DBTIMEZONE 00:00

    This is documented in ML Doc 212043.1 (ORA-24635 Using Database Link Between 8i and 9i Databases)
    HTH
    Srini

  • ***Oracle's language support***

    hai everybody,
    I have a senario of storing foreign in the db...that is i need to store characters of japaneese together with the current language ('English')...so can you explain about the prerequisites and steps to do this multilingual support..
    my current seetings
    my db is : ORACLE 10g2
    SQL> select property_name,property_value from database_properties;
    PROPERTY_NAME                  PROPERTY_VALUE
    DICT.BASE                      2
    DEFAULT_TEMP_TABLESPACE        TEMP
    DEFAULT_PERMANENT_TABLESPACE   USERS
    DEFAULT_TBS_TYPE               SMALLFILE
    NLS_LANGUAGE                   AMERICAN
    NLS_TERRITORY                  AMERICA
    NLS_CURRENCY                   $
    NLS_ISO_CURRENCY               AMERICA
    NLS_NUMERIC_CHARACTERS         .,
    NLS_CHARACTERSET               WE8MSWIN1252
    NLS_CALENDAR                   GREGORIAN
    NLS_DATE_FORMAT                DD-MON-RR
    NLS_DATE_LANGUAGE              AMERICAN
    NLS_SORT                       BINARY
    NLS_TIME_FORMAT                HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT           DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT             HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT        DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY              $
    NLS_COMP                       BINARY
    NLS_LENGTH_SEMANTICS           BYTE
    NLS_NCHAR_CONV_EXCP            FALSE
    NLS_NCHAR_CHARACTERSET         AL16UTF16
    NLS_RDBMS_VERSION              10.2.0.1.0
    GLOBAL_DB_NAME                 GTID04.REGRESS.RDBMS.DEV.US.ORACLE.COM
    EXPORT_VIEWS_VERSION           8
    DBTIMEZONE                     00:00and
    SQL> select parameter,value from nls_database_parameters
      2  ;
    PARAMETER                      VALUE
    NLS_LANGUAGE                   AMERICAN
    NLS_TERRITORY                  AMERICA
    NLS_CURRENCY                   $
    NLS_ISO_CURRENCY               AMERICA
    NLS_NUMERIC_CHARACTERS         .,
    NLS_CHARACTERSET               WE8MSWIN1252
    NLS_CALENDAR                   GREGORIAN
    NLS_DATE_FORMAT                DD-MON-RR
    NLS_DATE_LANGUAGE              AMERICAN
    NLS_SORT                       BINARY
    NLS_TIME_FORMAT                HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT           DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT             HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT        DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY              $
    NLS_COMP                       BINARY
    NLS_LENGTH_SEMANTICS           BYTE
    NLS_NCHAR_CONV_EXCP            FALSE
    NLS_NCHAR_CHARACTERSET         AL16UTF16
    NLS_RDBMS_VERSION              10.2.0.1.0
    and
    SQL> select parameter,value from nls_instance_parameters
      2  ;
    PARAMETER                      VALUE
    NLS_LANGUAGE                   AMERICAN
    NLS_TERRITORY                  AMERICA
    NLS_SORT                      
    NLS_DATE_LANGUAGE             
    NLS_DATE_FORMAT               
    NLS_CURRENCY                  
    NLS_NUMERIC_CHARACTERS        
    NLS_ISO_CURRENCY              
    NLS_CALENDAR                  
    NLS_TIME_FORMAT               
    NLS_TIMESTAMP_FORMAT          
    NLS_TIME_TZ_FORMAT            
    NLS_TIMESTAMP_TZ_FORMAT       
    NLS_DUAL_CURRENCY             
    NLS_COMP                      
    NLS_LENGTH_SEMANTICS           BYTE
    NLS_NCHAR_CONV_EXCP            FALSEI think you got my question..
    with regards,
    johnpaul

    I would advise doing some reading, starting here:
    [Oracle Docs: Globalization Support Guide|http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/toc.htm]
    Do you have metalink access?
    If so, I would strongly advise looking at these articles:
    260893.1: Unicode character sets in the database
    788156.1: UTF8 implications
    158577.1: NLS_LANG
    The principles of storing a variety of languages are the same and pretty simple.
    You pick a database character set that supports all these languages - i.e. a unicode character set (probably AL16UTF16 these days) - or you use the national character set.
    Your client applications set the value of NLS_LANG appropriately. You insert the correct data. You select out the correct data.
    If it's not too late / if you've got a choice, I would use a unicode database characterset - i.e. not WE8MSWIN1252 - and not just the NCHAR/NVARCHAR2/NLCOB functionality of the national character set.

  • Global Name has been deleted

    Delete from global_name;
    alter database rename global_name to ... fails
    Help

    One of our admins did this:
    delete from global_name;
    select * from global name;
    gives no rows found
    alter database rename global_name to foo;
    This statement fails...
    To fix do this
    insert into sys.props$
    values ('GLOBAL_DB_NAME','<SID>.<DB_DOMAIN>','Global database name');
    Thanks for nothing

Maybe you are looking for