PGA memory problem - Oracle 10.2.0.4 on windows 2003

Hi,
I have recently started work at a new company and we are running Oracle 10g (10.2.0.4, Enterprise Edition) on Windows 2003 (Standard Edition). The server has 4Gb of RAM (and we have modified boot.ini to inclue the /3Gb switch).
RE: SGA/PGA, we have the following Oracle parameters set:
sga_target 1G
pga_aggregate_target 194M
The employees tell me that they frequently "have to reboot the database" because of ORA-4030 and ORA-4031 problems. Looking at taskmgr on the server, Oracle is using "too much" memory (~3Gb). New sessions cannot connect etc. and they restart the database. Being a DBA (experience in UNIX, not Windows) I'm not so keen on this "solution" and am trying to find out what's happening.
When this problem occurred yesterday, before allowing the reboot, I bought myself some time to have a little dig around in the database. In v$sesstat I saw one process that had a value of over 1GB for "session pga memory". Memory usage on the server for oracle.exe was (as predicted) ~1GB over the "expected" 1.2Gb value (of SGA+PGA agg target). So, part 1 of my question is:
- Is this "normal" behaviour for Oracle to allow a process to go so wild on the PGA?
(I understood that Oracle would attempt to maintain total PGA memory close to the value of PGA_AGGREGATE_TARGET. I believe I read in the documentation that it could allow PGA memory to increase "up to 20% over this value" but please don't quote me on that, I can't find it again..)
Part 2 to this problem is that sessions "collect" in the database and do not release their PGA memory, leading to the slow build up of memory until the errors are encountered. I believe Dead Connection Detection (DCD) not to be working here (sql_net.expire_time=1 is set on the server but appears to do nothing). I've started reading docs/notes on this and it seems that DCD is not reliable on Windows. Metalink Doc 151972.1 suggests testing and adjusting some underlying TCP/IP serttings in the O/S kernel (I'm not even sure how to do this in Windows yet, let alone if it's something I want to get involved with!). So:
- I'm wondering if anyone has any tips for this (killing off dead connections, getting DCD working in Windows 2003 etc.)?  Any experiences, tips welcome here!!
Thanks in advance.
Regards,
Ados

user647632 wrote:
(By the way, can anyone recommend how to sort the formatting of these results please?!!)You can find all by clicking the Oracle Forum FAQ
</br>
Here is my PGASTAT result. Have a look at the values.
SQL> column name  format a60
column value format 9,999,999,999,999,999
select * from gv$pgastat order by inst_id,name;
SQL> SQL>
   INST_ID NAME                                                                          VALUE UNIT
         1 PGA memory freed back to OS                                         202,362,322,944 bytes
         1 aggregate PGA auto target                                             1,831,209,984 bytes
         1 aggregate PGA target parameter                                        2,147,483,648 bytes
         1 bytes processed                                                     287,247,907,840 bytes
         1 cache hit percentage                                                             68 percent
         1 extra bytes read/written                                            133,790,002,176 bytes
         1 global memory bound                                                     214,743,040 bytes
         1 max processes count                                                              48
         1 maximum PGA allocated                                                 1,708,733,440 bytes
         1 maximum PGA used for auto workareas                                   1,112,871,936 bytes
         1 maximum PGA used for manual workareas                                       271,360 bytes
   INST_ID NAME                                                                          VALUE UNIT
         1 over allocation count                                                             0
         1 process count                                                                    42
         1 recompute count (total)                                                     136,756
         1 total PGA allocated                                                     328,158,208 bytes
         1 total PGA inuse                                                         196,502,528 bytes
         1 total PGA used for auto workareas                                        81,608,704 bytes
         1 total PGA used for manual workareas                                               0 bytes
         1 total freeable PGA memory                                                96,927,744 bytes
19 rows selected.
SQL>
SQL> column BYTES_PROCESSED format 9,999,999,999,999,999
column EST_RW_EXTRA_BYTES format 9,999,999,999,999,999
SQL> SQL> select inst_id,round(pga_target_for_estimate/1024/1024) as target_size_MB,
  2                bytes_processed,estd_extra_bytes_rw as est_rw_extra_bytes,
  3                estd_pga_cache_hit_percentage as est_hit_pct,
  4                estd_overalloc_count as est_overalloc
  5  from gv$pga_target_advice  order by inst_id,target_size_mb;
   INST_ID TARGET_SIZE_MB        BYTES_PROCESSED     EST_RW_EXTRA_BYTES EST_HIT_PCT EST_OVERALLOC
         1            256        285,418,388,480        188,648,610,816          60             4
         1            512        285,418,388,480        131,006,145,536          69             0
         1           1024        285,418,388,480         92,476,995,584          76             0
         1           1536        285,418,388,480         91,536,565,248          76             0
         1           2048        285,418,388,480         72,373,725,184          80             0
         1           2458        285,418,388,480         68,650,139,648          81             0
         1           2867        285,418,388,480         68,650,139,648          81             0
         1           3277        285,418,388,480         68,650,139,648          81             0
         1           3686        285,418,388,480         68,650,139,648          81             0
         1           4096        285,418,388,480         68,650,139,648          81             0
         1           6144        285,418,388,480         68,650,139,648          81             0
   INST_ID TARGET_SIZE_MB        BYTES_PROCESSED     EST_RW_EXTRA_BYTES EST_HIT_PCT EST_OVERALLOC
         1           8192        285,418,388,480         68,650,139,648          81             0
         1          12288        285,418,388,480         68,650,139,648          81             0
         1          16384        285,418,388,480         68,650,139,648          81             0
14 rows selected.
SQL>
SQL> show parameters pga
NAME                                 TYPE        VALUE
pga_aggregate_target                 big integer 2G
SQL> show parameters sga_max
NAME                                 TYPE        VALUE
sga_max_size                         big integer 2G
SQL> show parameters sga_target
NAME                                 TYPE        VALUE
sga_target                           big integer 2G
SQL>

Similar Messages

  • Oracle 8i (8.1.5) on windows 2003

    I have install oracle 8i (8.1.5)on windows 2003. It's install fine. but when i stop the oracle service and try to start the service it's don't response. So please help to resolve this problem.

    First, technical questions need to be addressed to one of the technical forums. Products | Database | Database - General would be appropriate here.
    Second, 8.1.5 hasn't been supported by Oracle in a while. When it was supported, I don't believe it was ever certified on Windows 2000, let alone Windows 2003. In other words, I wouldn't expect it to work correctly.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Can oracle discoverer 10 be installed on Windows 2003 server

    Hi,
    I have couple of queries related to Oracle Discoverer. Need help urgently.
    1. Can Oracle Discoverer 4.1 version support Windows 2003 on which Citrix server version 4 or above is installed? If yes, please let me know the patch details to download the same.
    2. Can Oracle 10g BI Tool, Oracle Discoverer Administrator and Desktop be installed on Windows 2003 Server Operating System on which Citrix server version 4 or above be installed?
    Thanks in advance.
    Regards,
    Rajesh Gurram

    Hi,
    1. Discoverer 4.1 has been desupported but was only certified for Windows 200 and XP
    2. Discoverer Desktop and Admin is support on Windows 2003:
    2003 SP1+ 10g (10.1.2.0.2 )
    One thing I have to mentioned is that Oracle does not support any Citrix client operations.
    If ever you encounter a problem you will need to reproduce the problem
    outside of the Citrix environment to prove that it is not the cause of the problem.
    Regards
    Roelie Viviers

  • NTLM module for oracle 10g Release 2 Apache on Windows 2003

    Hi,
    I want to implement autologon on my HTML DB application depending on the Windows username. I understand that I can implement this feature with the Apache module modntlm.
    Is there anyone who has got this working on Windows 2003 Server in combination with Oracle 10g Release 2 Apache on Windows 2003.
    Which version NTLM software do I need and where can I download the version for Windows 2003 server?

    Nothing fantastic, we have the username/id passed in from the linking application (company intranet) as part of the URL. The process is invisible to the end-user. Possibly not ideal if you want really tight security/authentication, but it was sufficient for our needs, and the problems we had previously where users were unable to use the application have disappeared. I'd like to know the reasons for the problems we had with mod_ntlm (running on AIX), but it was more important to
    me to deliver a working app than to spend time resolving probelms in 3rd party software.
    Cheers.

  • Does Oracle 10G R2 support installation on Windows 2003 Domain Controller?

    Does Oracle 10g R2 support installation on Windows 2003 Domain Controller? I remember that 10g R1 had issues with the DC? Is it still the case. Does it work now?
    Any help is appreciated.
    Regards,
    Raghav

    We have Oracle 10g R2 running on a Windows 2003 domain controller. It was not a domain controller when Oracle was installed. The domain was created after installation. (I don't recommend that procedure. I spent a long day fixing the installation after they configured the domain.) If Oracle is unhappy with being on a domain controller, it has not shown it yet.

  • Oracle.exe(oralce 10.1)  on Window 2003 is using 100% CPU

    Oracle.exe(oralce 10.1) on Window 2003 is using 100% CPU.
    while using importing. CPU IS PENTIUM 4 AND RAM IS 2G
    any tuning ideas ?

    WEll I just did google for you:
    Take a look at:
    http://www.dba-village.com/village/dvp_forum.OpenThread?ThreadIdA=15940&DestinationA=RSS
    Hope this Helps
    Regards

  • Oracle 9i R1 application server With Windows 2003 server

    Hi all,
    I am Getting error (Web Forms can install only Windows NT/2000) When installing Oracle 9i R1 application server in Windows 2003 SP1.
    is any specific setting or workarounds available to install in Windows 2003 Server?.
    Abk

    setup.exe -ignore sysprereqs this may work because it will detect that you dont have the appropiated OS, but it will ignore under your responsability and keep installing.
    Also you may try to modify the oraparam.ini in the install folder, and add some lines for the Windows version that you have, but this is more difficult, because you should use the exact name of the Version in order to pass this check.
    Regards.
    Edited by: Roberto Barrera on Jan 22, 2009 10:02 AM

  • Data Cartridge Implementation - PGA Memory Problem

    Hi,
    I have modified the Data Cartridge implementation explained in the article at http://www.oracle-developer.net/display.php?id=422.
    More precisely I have modified it to create not only the type returned, but also the select statement.
    The problem I have, is that the PGA memory through the execution of my package always increases, and when it ends the execution the PGA doesn't get released.
    I'm wondering if i'm missing something on the ODCITableClose.
    Object spec:
    create or replace type t_conf_obj as object
      atype anytype, --<-- transient record type
      static function ODCITableDescribe(rtype                  out anytype,
                                        p_cz_conf_categoria in     number,
                                        p_id_profilo        in     number   default null,
                                        p_cz_conf_livello   in     number   default null,
                                        p_dt_rif            in     varchar2 default to_char(sysdate,'ddmmyyyy')
                                       ) return number,
      static function ODCITablePrepare(sctx                   out t_conf_obj,
                                       tf_info             in     sys.ODCITabFuncInfo,
                                       p_cz_conf_categoria in     number,
                                       p_id_profilo        in     number   default null,
                                       p_cz_conf_livello   in     number   default null,
                                       p_dt_rif            in     varchar2 default to_char(sysdate,'ddmmyyyy')
                                      ) return number,
      static function ODCITableStart(sctx                in out t_conf_obj,
                                     p_cz_conf_categoria in     number,
                                     p_id_profilo        in     number   default null,
                                     p_cz_conf_livello   in     number   default null,
                                     p_dt_rif            in     varchar2 default to_char(sysdate,'ddmmyyyy')
                                    ) return number,
      member function ODCITableFetch(self  in out t_conf_obj,
                                     nrows in     number,
                                     rws      out anydataset
                                    ) return number,
      member function ODCITableClose(self in t_conf_obj
                                    ) return number
    );Object Body
    create or replace type body t_conf_obj as
      static function ODCITableDescribe(rtype                  out anytype,
                                        p_cz_conf_categoria in     number,
                                        p_id_profilo        in     number   default null,
                                        p_cz_conf_livello   in     number   default null,
                                        p_dt_rif            in     varchar2 default to_char(sysdate,'ddmmyyyy')
                                       ) return number
      is
        r_sql   pck_conf_calcolo.rt_dynamic_sql;
        v_rtype anytype;
        stmt    dbms_sql.varchar2a;
      begin
          HERE I CREATE MY SELECT STATEMENT
        if p_cz_conf_livello is null and p_id_profilo is null then
          stmt := pck_conf_calcolo.GetSQLConfCategoria(p_cz_conf_categoria
        elsif p_cz_conf_livello is not null then
          stmt (1) := pck_conf_calcolo.GetSQLConfCategoria(p_cz_conf_categoria,
                                                           p_id_profilo,
                                                           p_cz_conf_livello,
                                                           p_dt_rif
        else
          stmt (1) := pck_conf_calcolo.GetSQLConfCategoria(p_cz_conf_categoria,
                                                           p_id_profilo
        end if;
        || parse the sql and describe its format and structure.
        r_sql.cursor := dbms_sql.open_cursor;
        dbms_sql.parse(r_sql.cursor, stmt, stmt.first, stmt.last, false, dbms_sql.native);
        dbms_sql.describe_columns2(r_sql.cursor,
                                   r_sql.column_cnt,
                                   r_sql.description);
        dbms_sql.close_cursor(r_sql.cursor);
        || create the anytype record structure from this sql structure.
        anytype.begincreate(dbms_types.typecode_object, v_rtype);
        for i in 1 .. r_sql.column_cnt loop
          v_rtype.addattr(r_sql.description(i).col_name,
                          case
                          --<>--
                            when r_sql.description(i).col_type in (1, 96, 11, 208) then
                             dbms_types.typecode_varchar2
                          --<>--
                            when r_sql.description(i).col_type = 2 then
                             dbms_types.typecode_number
                            when r_sql.description(i).col_type in (112) then
                             dbms_types.typecode_clob
                          --<>--
                            when r_sql.description(i).col_type = 12 then
                             dbms_types.typecode_date
                          --<>--
                            when r_sql.description(i).col_type = 23 then
                             dbms_types.typecode_raw
                          --<>--
                            when r_sql.description(i).col_type = 180 then
                             dbms_types.typecode_timestamp
                          --<>--
                            when r_sql.description(i).col_type = 181 then
                             dbms_types.typecode_timestamp_tz
                          --<>--
                            when r_sql.description(i).col_type = 182 then
                             dbms_types.typecode_interval_ym
                          --<>--
                            when r_sql.description(i).col_type = 183 then
                             dbms_types.typecode_interval_ds
                          --<>--
                            when r_sql.description(i).col_type = 231 then
                             dbms_types.typecode_timestamp_ltz
                          --<>--
                          end,
                          r_sql.description(i).col_precision,
                          r_sql.description(i).col_scale,
                          r_sql.description(i).col_max_len,
                          r_sql.description(i).col_charsetid,
                          r_sql.description(i).col_charsetform);
        end loop;
        v_rtype.endcreate;
        || now we can use this transient record structure to create a table type
        || of the same. this will create a set of types on the database for use
        || by the pipelined function...
        anytype.begincreate(dbms_types.typecode_table, rtype);
        rtype.setinfo(null,
                      null,
                      null,
                      null,
                      null,
                      v_rtype,
                      dbms_types.typecode_object,
                      0);
        rtype.endcreate();
        return odciconst.success;
      exception when others then
        -- indicate that an error has occured somewhere.
        return odciconst.error;
      end odcitabledescribe;
      static function ODCITablePrepare(sctx                   out t_conf_obj,
                                       tf_info             in     sys.ODCITabFuncInfo,
                                       p_cz_conf_categoria in     number,
                                       p_id_profilo        in     number   default null,
                                       p_cz_conf_livello   in     number   default null,
                                       p_dt_rif            in     varchar2 default to_char(sysdate,'ddmmyyyy')
                                      ) return number
      is
        r_meta pck_conf_calcolo.rt_anytype_metadata;
      begin
        || we prepare the dataset that our pipelined function will return by
        || describing the anytype that contains the transient record structure...
        r_meta.typecode := tf_info.rettype.getattreleminfo(1,
                                                           r_meta.precision,
                                                           r_meta.scale,
                                                           r_meta.length,
                                                           r_meta.csid,
                                                           r_meta.csfrm,
                                                           r_meta.type,
                                                           r_meta.name);
        || using this, we initialise the scan context for use in this and
        || subsequent executions of the same dynamic sql cursor...
        sctx := t_conf_obj(r_meta.type);
        return odciconst.success;
      end;
      static function ODCITableStart(sctx                in out t_conf_obj,
                                     p_cz_conf_categoria in     number,
                                     p_id_profilo        in     number   default null,
                                     p_cz_conf_livello   in     number   default null,
                                     p_dt_rif            in     varchar2 default to_char(sysdate,'ddmmyyyy')
                                    ) return number
      is
        r_meta pck_conf_calcolo.rt_anytype_metadata;
        stmt    dbms_sql.varchar2a;
      begin
          HERE I CREATE MY SELECT STATEMENT
        if p_cz_conf_livello is null and p_id_profilo is null then
          stmt := pck_conf_calcolo.GetSQLConfCategoria(p_cz_conf_categoria
        elsif p_cz_conf_livello is not null then
          stmt(1) := pck_conf_calcolo.GetSQLConfCategoria(p_cz_conf_categoria,
                                                           p_id_profilo,
                                                           p_cz_conf_livello,
                                                           p_dt_rif
        else
          stmt(1) := pck_conf_calcolo.GetSQLConfCategoria(p_cz_conf_categoria,
                                                          p_id_profilo
        end if;
        || we now describe the cursor again and use this and the described
        || anytype structure to define and execute the sql statement...
        pck_conf_calcolo.r_sql.cursor := dbms_sql.open_cursor;
        dbms_sql.parse(pck_conf_calcolo.r_sql.cursor, stmt, stmt.first, stmt.last, false, dbms_sql.native);
        dbms_sql.describe_columns2(pck_conf_calcolo.r_sql.cursor,
                                   pck_conf_calcolo.r_sql.column_cnt,
                                   pck_conf_calcolo.r_sql.description);
        for i in 1 .. pck_conf_calcolo.r_sql.column_cnt loop
          || get the anytype attribute at this position...
          r_meta.typecode := sctx.atype.getattreleminfo(i,
                                                        r_meta.precision,
                                                        r_meta.scale,
                                                        r_meta.length,
                                                        r_meta.csid,
                                                        r_meta.csfrm,
                                                        r_meta.type,
                                                        r_meta.name);
          case r_meta.typecode
          --<>--
            when dbms_types.typecode_varchar2 then
              dbms_sql.define_column(pck_conf_calcolo.r_sql.cursor, i, '', 32767);
              --<>--
            when dbms_types.typecode_number then
              dbms_sql.define_column(pck_conf_calcolo.r_sql.cursor,
                                     i,
                                     cast(null as number));
              --<>--
            when dbms_types.typecode_date then
              dbms_sql.define_column(pck_conf_calcolo.r_sql.cursor,
                                     i,
                                     cast(null as date));
              --<>--
            when dbms_types.typecode_raw then
              dbms_sql.define_column_raw(pck_conf_calcolo.r_sql.cursor,
                                         i,
                                         cast(null as raw),
                                         r_meta.length);
              --<>--
            when dbms_types.typecode_timestamp then
              dbms_sql.define_column(pck_conf_calcolo.r_sql.cursor,
                                     i,
                                     cast(null as timestamp));
              --<>--
            when dbms_types.typecode_timestamp_tz then
              dbms_sql.define_column(pck_conf_calcolo.r_sql.cursor,
                                     i,
                                     cast(null as timestamp with time zone));
              --<>--
            when dbms_types.typecode_timestamp_ltz then
              dbms_sql.define_column(pck_conf_calcolo.r_sql.cursor,
                                     i,
                                     cast(null as timestamp with local time zone));
              --<>--
            when dbms_types.typecode_interval_ym then
              dbms_sql.define_column(pck_conf_calcolo.r_sql.cursor,
                                     i,
                                     cast(null as interval year to month));
              --<>--
            when dbms_types.typecode_interval_ds then
              dbms_sql.define_column(pck_conf_calcolo.r_sql.cursor,
                                     i,
                                     cast(null as interval day to second));
              --<>--
            when dbms_types.typecode_clob then
              --<>--
              dbms_sql.define_column(pck_conf_calcolo.r_sql.cursor,
                                     i,
                                     cast(null as clob));
              --<>--
          end case;
        end loop;
        || the cursor is prepared according to the structure of the type we wish
        || to fetch it into. we can now execute it and we are done for this method...
        pck_conf_calcolo.r_sql.execute := dbms_sql.execute(pck_conf_calcolo.r_sql.cursor);
        return odciconst.success;
      end;
      member function ODCITableFetch(self  in out t_conf_obj,
                                     nrows in     number,
                                     rws      out anydataset
                                    ) return number
      is
        type rt_fetch_attributes is record(
          v2_column    varchar2(32767),
          num_column   number,
          date_column  date,
          clob_column  clob,
          raw_column   raw(32767),
          raw_error    number,
          raw_length   integer,
          ids_column   interval day to second,
          iym_column   interval year to month,
          ts_column    timestamp,
          tstz_column  timestamp with time zone,
          tsltz_column timestamp with local time zone,
          cvl_offset   integer := 0,
          cvl_length   integer);
        r_fetch rt_fetch_attributes;
        r_meta  pck_conf_calcolo.rt_anytype_metadata;
      begin
        rws := null;
        if dbms_sql.fetch_rows(pck_conf_calcolo.r_sql.cursor) > 0 then
          || first we describe our current anytype instance (self.a) to determine
          || the number and types of the attributes...
          r_meta.typecode := self.atype.getinfo(r_meta.precision,
                                                r_meta.scale,
                                                r_meta.length,
                                                r_meta.csid,
                                                r_meta.csfrm,
                                                r_meta.schema,
                                                r_meta.name,
                                                r_meta.version,
                                                r_meta.attr_cnt);
          || we can now begin to piece together our returning dataset. we create an
          || instance of anydataset and then fetch the attributes off the dbms_sql
          || cursor using the metadata from the anytype. longs are converted to clobs...
          anydataset.begincreate(dbms_types.typecode_object, self.atype, rws);
          rws.addinstance();
          rws.piecewise();
          for i in 1 .. pck_conf_calcolo.r_sql.column_cnt loop
            r_meta.typecode := self.atype.getattreleminfo(i,
                                                          r_meta.precision,
                                                          r_meta.scale,
                                                          r_meta.length,
                                                          r_meta.csid,
                                                          r_meta.csfrm,
                                                          r_meta.attr_type,
                                                          r_meta.attr_name);
            case r_meta.typecode
            --<>--
              when dbms_types.typecode_varchar2 then
                dbms_sql.column_value(pck_conf_calcolo.r_sql.cursor,
                                      i,
                                      r_fetch.v2_column);
                rws.setvarchar2(r_fetch.v2_column);
                --<>--
              when dbms_types.typecode_number then
                dbms_sql.column_value(pck_conf_calcolo.r_sql.cursor,
                                      i,
                                      r_fetch.num_column);
                rws.setnumber(r_fetch.num_column);
                --<>--
              when dbms_types.typecode_date then
                dbms_sql.column_value(pck_conf_calcolo.r_sql.cursor,
                                      i,
                                      r_fetch.date_column);
                rws.setdate(r_fetch.date_column);
                --<>--
              when dbms_types.typecode_raw then
                dbms_sql.column_value_raw(pck_conf_calcolo.r_sql.cursor,
                                          i,
                                          r_fetch.raw_column,
                                          r_fetch.raw_error,
                                          r_fetch.raw_length);
                rws.setraw(r_fetch.raw_column);
                --<>--
              when dbms_types.typecode_interval_ds then
                dbms_sql.column_value(pck_conf_calcolo.r_sql.cursor,
                                      i,
                                      r_fetch.ids_column);
                rws.setintervalds(r_fetch.ids_column);
                --<>--
              when dbms_types.typecode_interval_ym then
                dbms_sql.column_value(pck_conf_calcolo.r_sql.cursor,
                                      i,
                                      r_fetch.iym_column);
                rws.setintervalym(r_fetch.iym_column);
                --<>--
              when dbms_types.typecode_timestamp then
                dbms_sql.column_value(pck_conf_calcolo.r_sql.cursor,
                                      i,
                                      r_fetch.ts_column);
                rws.settimestamp(r_fetch.ts_column);
                --<>--
              when dbms_types.typecode_timestamp_tz then
                dbms_sql.column_value(pck_conf_calcolo.r_sql.cursor,
                                      i,
                                      r_fetch.tstz_column);
                rws.settimestamptz(r_fetch.tstz_column);
                --<>--
              when dbms_types.typecode_timestamp_ltz then
                dbms_sql.column_value(pck_conf_calcolo.r_sql.cursor,
                                      i,
                                      r_fetch.tsltz_column);
                rws.settimestampltz(r_fetch.tsltz_column);
                --<>--
              when dbms_types.typecode_clob then
                --<>--
                dbms_sql.column_value(pck_conf_calcolo.r_sql.cursor,
                                      i,
                                      r_fetch.clob_column);
                rws.setclob(r_fetch.clob_column);
                --<>--
            end case;
          end loop;
          || our anydataset instance is complete. we end our create session...
          rws.endcreate();
        end if;
        return odciconst.success;
      end;
      member function ODCITableClose(self in t_conf_obj
                                    ) return number
      is
      begin
        dbms_sql.close_cursor(pck_conf_calcolo.r_sql.cursor);
        pck_conf_calcolo.r_sql := null;
        return odciconst.success;
      end;
    end;We have an Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 running on Windows 2003 sp2.
    Thanks in advance.
    Riccardo.

    I'm getting confused with so much answers!!!

  • Oracle Express 10g - cannot install on Windows 2003

    I'm trying to install Oracle Express 10g on Windows 2003. On this machine already works MS SQL2005 server.
    The installation starts ok but after copying files installer disappears whitout any message (in that moment an icon on desktop should be created, but it's not) All files copied first by installer are deleted upon it finishes it's work. From the same package I installed Express on Windows XP and then there was everything ok.
    I checked install log but it didn't tell me much. It looks more or less the same as the log file from succesful installation until bolded line:
    MSI (s) (30:A4) [15:02:44:281]: User policy value 'DisableRollback' is 0
    MSI (s) (30:A4) [15:02:44:281]: Machine policy value 'DisableRollback' is 0
    Action ended 15:02:44: InstallFinalize. Return value 2.
    On successful installation the return value is 1. But it doesn't tell me anything. Also in event logs I got only mssinstaller information (event 11708)
    Product: Oracle Database 10g Express Edition -- Installation operation failed.
    Do anyone experienced such problem?
    Regards,
    Piotr

    You may want to check Event ID: 11708.

  • Met ora-07445 on oracle 10.2.0.4 of Windows 2003

    Hello,
    I was running an PL/SQL application using PL/SQL Developer and after a while, the application will be disconnected from the database with error 03113: end-of-file on communication channel. I checked the alert.log file of the database, at that time an ora-07445 error happened:
    Errors in file c:\oracle\product\10.2.0\admin\dbtest1\udump\dbtest1_ora_4820.trc:
    ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [unable_to_trans_pc] [PC:0x0] [ADDR:0x0] [UNABLE_TO_READ] []
    My environment is oracle 10.2.0.4 on Microsoft Windows 2003(32bit).
    My friends helped me search on metalink about this error and didn't find a similiar workaround. Can anybody take a look at this error or give some hint?
    I want to upload the trace file but didn't find the entry to upload a file. Please let me know if I need to paste all the content of the trace file. it is too long.
    Thank you very much.
    Tony

    I hope that I can log a SR because the metalink account is in our dba hands and till now, almost one month passed we got no answer form him.tough situation - Mystery Problem that you can't deal with directly, having to work through the powers that be second-hand to get support. Been there, done that :(
    You probably haven't heard from the DBA because the DBA hasn't heard anything back from MOS - a pure guess on my part, but according to my experience in logging SRs quite possible.
    You have some options - not good ones but they do exist. The ideas below are different variations based on the idea that if you can figure out where the program is having trouble you might be able to work around the problem.
    There is no trace in PL/SQL as such, but there is a debugger. I'm not sure if you are using All-around Automations's PL/SQL developer or Oracle's SQL*Developer but both support the debugger. You can compile stored code in debug mode and use a GUI interface in both products (TOAD too, for that matter) to set stopping points to monitor your progress. There is information about the debugger in the Oracle documentation and elsewhere on-line. IF YOU CHOOSE TO USE THE DEBUGGER USE A GUI INTERFACE TO SET IT UP AND RUN IT - the command-line interface via PL/SQL APIs in SQL*PLUS is nearly impossible to use effectively.
    Alternately and more easily you can put your own markers in the code and execute it. This can take the form of lines like DBMS_OUTPUT.PUT_LINE('Got to line 999') or more elegantly using dbms_application_info to set a column value in V$SESSION to put a message there (procedure name, line number, whatever you want within reason). You'll only see DBMS_OUTPUT.PUT_LINE data after the program(s) finish or crash so the dbms_application_info method might be a little bit more useful
    Good Luck!

  • Oracle 10g Universe Connectivity From 64bit Windows 2003 Server

    Hi,
    Have an existing BO XI 3.1 environment built on a 64 bit Windows 2003 server and
    I'm having problems getting it to communicate with Oracle 10g universes.  Works fine
    with its SQL Server 2005 repository and SQL Server 2005 relational/olap universes, but
    cant seem to get it to work with Oracle.
    Universes work fine on the 32 bit development environment talking to the same Oracle
    database, but when move them to 64 bit testing environment they all fail with
    Oracle ora-12154 errors.
    32 bit Oracle client is installed and can communicate fine with other products using ODBC
    connections from the server - but BO refuses to communicate.
    Any ideas other than reinstalling BO under 'Program Files' rather than 'Program Files (x86)'
    as I've seen some references on the web about this possibly being a problem?
    Thanks.

    Hi,
    Oracle 32 bit and 64 bit connectivity work fine from the server.  The problem seems to
    relate to bug 3807408 in Oracle 10g that cant handle parentheses in directory names.
    So BO being installed in u2018C:\Program Files (x86)\Business Objectsu2019 causes it to get
    rather annoyed.
    SAP Note 1202730 does cover this, but our DBA's aren't too keen on installing the
    suggested patch.  I'm also not very keen on reinstalling BO in a different directory as
    we've got working production sites that would have to be rebuilt.
    So now investigating whether using the Oracle 11g client will resolve this.
    MSDN forum topic http://social.msdn.microsoft.com/forums/en-US/sqlintegrationservices/thread/ab662d63-6385-4f73-b27f-d526048f601f/  gives a pretty good overview of what people have been trying to resolve this.

  • Oracle 10g XE installation error on Windows 2003 Server

    Hi,
    I am getting the following error while trying to install Oracle 10gXE
    on Windows 2003 server.
    My System is Compaq AMD Athlon 64 Bit with 512MB RAM
    Unhandled Exception
    Error Number: 0x80040707
    Description : DLL function call crashed: GetHostnameDLL.GetHostname
    Setup will now terminate.
    Thank you
    Sudheer Palaparambil

    If this is not related to a corrupt download, then it should be reported to the XE forum.
    Please register for the XE forum at http://www.oracle.com/technology/xe/registration ....
    Then, next time you sign in to the discussion forum (with the userid you registered) you will see the XE forum link at the bottom of the discussion forum page.

  • Oracle eBusiness R12 wont install on Windows 2003

    I have been trying for 3 days to install the current (downloaded from Oracle Monday 18th Jan 2010) eBusiness suite on Windows 2003 with no success.
    The installation always fails on Step 3 of 5 - Registering Applications Technology Stack with error RW-50004 Running APPL-TOP Intall Driver for VIS instance.
    The log file in E:\oracle\VIS\inst\apps\VIS_oracler12\admin\log\ApplyAppsTechStack_01261228.log contains:
    Started ApplyAppsTechStack at Tue Jan 26 12:28:32 GMT 2010
    Version:
         ApplyAppsTechStack.java     :      120.23
    Executing home registration for s_weboh_oh...
    Registering using Registration Driver
    e:\oracle\VIS\apps\tech_st\10.1.3\appsutil\driver\regclone.drv
    instantiate file:
    source : e:\oracle\VIS\apps\tech_st\10.1.3\appsutil\template\adouiweboh.pl
    dest : e:\oracle\VIS\apps\tech_st\10.1.3\appsutil\clone\ouicli.pl
    backup : e:\oracle\VIS\apps\tech_st\10.1.3\appsutil\clone\ouicli.pl to e:\oracle\VIS\inst\apps\VIS_oracler12\out\ouicli.pl
    setting permissions: 700
    instantiate file:
    source : e:\oracle\VIS\apps\tech_st\10.1.3\appsutil\template\txkstubcfg1013.pl
    dest : e:\oracle\VIS\apps\tech_st\10.1.3\appsutil\clone\txkstubcfg1013.pl
    backup : e:\oracle\VIS\apps\tech_st\10.1.3\appsutil\clone\txkstubcfg1013.pl to e:\oracle\VIS\inst\apps\VIS_oracler12\out\txkstubcfg1013.pl
    setting permissions: 700
    instantiate file:
    source : e:\oracle\VIS\apps\tech_st\10.1.3\appsutil\template\apachectl_sh_1013_oh.tmp
    dest : e:\oracle\VIS\apps\tech_st\10.1.3\Apache\Apache\bin\apachectl
    backup : e:\oracle\VIS\apps\tech_st\10.1.3\Apache\Apache\bin\apachectl to e:\oracle\VIS\inst\apps\VIS_oracler12\out\apachectl
    setting permissions: 700
    Executing script in InstantiateFile:
    e:\oracle\VIS\apps\tech_st\10.1.3\perl\5.8.3\bin\MSWin32-x86-multi-thread\perl.exe -I e:\oracle\VIS\apps\tech_st\10.1.3\perl\5.8.3\lib\MSWin32-x86-multi-thread -I e:\oracle\VIS\apps\tech_st\10.1.3\perl\5.8.3\lib -I e:\oracle\VIS\apps\tech_st\10.1.3\perl\site\5.8.3\lib\MSWin32-x86-multi-thread -I e:\oracle\VIS\apps\tech_st\10.1.3\perl\site\5.8.3\lib -I e:\oracle\VIS\apps\apps_st\appl\au\12.0.0\perl -I e:\oracle\VIS\apps\tech_st\10.1.3\Apache\Apache\mod_perl\site\5.8.3\lib\MSWin32-x86-multi-thread e:\oracle\VIS\apps\tech_st\10.1.3\appsutil\clone\ouicli.pl
    script returned:
    Timed out( 3750000 ): Interrupted Exception
    Beginning OUI CLI cloning for s_weboh_ohTue Jan 26 12:28:35 2010
    e:\oracle\VIS\apps\tech_st\10.1.3\appsutil\jdk\jre\bin\java.exe -classpath C:\StageR12\startCD\Disk1\rapidwiz\jlib\java;e:\oracle\VIS\apps\tech_st\10.1.3\oui\jlib\OraInstaller.jar;C:\StageR12\startCD\Disk1\rapidwiz\jlib\xmlparserv2.jar;C:\StageR12\startCD\Disk1\rapidwiz\jlib\ojdbc14.jar oracle.apps.ad.clone.util.OracleHomeCloner -OUICLI -e e:\oracle\VIS\inst\apps\VIS_oracler12\appl\admin\VIS_oracler12.xml -nolink -oaVar s_weboh_oh -homestub weboh -log e:\oracle\VIS\inst\apps\VIS_oracler12\admin\log\ohclone.log
    running OUI CLI home cloning:
    e:\oracle\VIS\apps\tech_st\10.1.3\oui\bin\setup.exe -nowait -clone -silent -force -nolink -waitForCompletion session:ORACLE_HOME=e:\oracle\VIS\apps\tech_st\10.1.3 oracle.as.j2ee.top:s_asInstanceName=VIS_oracler12_WEBOH oracle.as.j2ee.top:s_adminName=oc4jadmin oracle.as.j2ee.top:s_adminPassword=welcome ORACLE_HOME_NAME=VIS_oracler12_WEBOH -J-Doracle.installer.noLink=true
    Executing script in InstantiateFile:
    e:\oracle\VIS\apps\tech_st\10.1.3\perl\5.8.3\bin\MSWin32-x86-multi-thread\perl.exe -I e:\oracle\VIS\apps\tech_st\10.1.3\perl\5.8.3\lib\MSWin32-x86-multi-thread -I e:\oracle\VIS\apps\tech_st\10.1.3\perl\5.8.3\lib -I e:\oracle\VIS\apps\tech_st\10.1.3\perl\site\5.8.3\lib\MSWin32-x86-multi-thread -I e:\oracle\VIS\apps\tech_st\10.1.3\perl\site\5.8.3\lib -I e:\oracle\VIS\apps\apps_st\appl\au\12.0.0\perl -I e:\oracle\VIS\apps\tech_st\10.1.3\Apache\Apache\mod_perl\site\5.8.3\lib\MSWin32-x86-multi-thread e:\oracle\VIS\apps\tech_st\10.1.3\appsutil\clone\txkstubcfg1013.pl
    script returned:
    .end std out.
    .end err out.
    instantiate file:
    source : e:\oracle\VIS\apps\tech_st\10.1.3\appsutil\template\adouiweboh.pl
    dest : e:\oracle\VIS\apps\tech_st\10.1.3\appsutil\clone\ouicli.pl
    backup : e:\oracle\VIS\apps\tech_st\10.1.3\appsutil\clone\ouicli.pl to e:\oracle\VIS\inst\apps\VIS_oracler12\out\ouicli0.pl
    setting permissions: 700
    instantiate file:
    source : e:\oracle\VIS\apps\tech_st\10.1.3\appsutil\template\txkstubcfg1013.pl
    dest : e:\oracle\VIS\apps\tech_st\10.1.3\appsutil\clone\txkstubcfg1013.pl
    backup : e:\oracle\VIS\apps\tech_st\10.1.3\appsutil\clone\txkstubcfg1013.pl to e:\oracle\VIS\inst\apps\VIS_oracler12\out\txkstubcfg10130.pl
    setting permissions: 700
    instantiate file:
    source : e:\oracle\VIS\apps\tech_st\10.1.3\appsutil\template\apachectl_sh_1013_oh.tmp
    dest : e:\oracle\VIS\apps\tech_st\10.1.3\Apache\Apache\bin\apachectl
    backup : e:\oracle\VIS\apps\tech_st\10.1.3\Apache\Apache\bin\apachectl to e:\oracle\VIS\inst\apps\VIS_oracler12\out\apachectl0
    setting permissions: 700
    e:\oracle\VIS\inst\apps\VIS_oracler12\admin\log\adcvmlog.xml does not exist. Ignore it
    [AutoConfig Error Report]
    The following report lists errors AutoConfig encountered during each
    phase of its execution. Errors are grouped by directory and phase.
    The report format is:
    <filename> <phase> <return code where appropriate>
    [APPLY PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: e:\oracle\VIS\apps\tech_st\10.1.3\perl\5.8.3\bin\MSWin32-x86-multi-thread\perl.exe -I e:\oracle\VIS\apps\tech_st\10.1.3\perl\5.8.3\lib\MSWin32-x86-multi-thread -I e:\oracle\VIS\apps\tech_st\10.1.3\perl\5.8.3\lib -I e:\oracle\VIS\apps\tech_st\10.1.3\perl\site\5.8.3\lib\MSWin32-x86-multi-thread -I e:\oracle\VIS\apps\tech_st\10.1.3\perl\site\5.8.3\lib -I e:\oracle\VIS\apps\apps_st\appl\au\12.0.0\perl -I e:\oracle\VIS\apps\tech_st\10.1.3\Apache\Apache\mod_perl\site\5.8.3\lib\MSWin32-x86-multi-thread e:\oracle\VIS\apps\tech_st\10.1.3\appsutil\clone
    ouicli.pl INSTE8_APPLY -1
    AutoConfig is exiting with status 1
    RC-50013: Fatal: Instantiate driver did not complete successfully.
    e:\oracle\VIS\apps\tech_st\10.1.3\appsutil\driver\regclone.drv
    But this does not shed any light.
    I have cygwin installed.
    I have VC++ installed.
    I have tried with the current Active Perl (and without as Oracle seems to now include perl in e:\oracle\VIS\apps\tech_st\10.1.3\perl\5.8.3\bin\MSWin32-x86-multi-thread - so I tested without incase 2 versions were causing a conflict).
    I desperately need help and any assistance would be appreciated!

    Hsawwan,
    I have actually solved it. I did 2 things different this time to all the previous times and I'm not sure which fixed it. But to assist others on here this is what I did:
    1. Used Visual Studio 2005 Standard instead of Visual C++ 2005 Express (we have MSDN so this was rather simple for us)
    2. Used Cygwin 1.5 instead of the current release. As Oracle seems to only work on very old Windows technology I figured that the Cygwin released in 2009 was far too recent. The 1.5 release is on the cygwin site but is only kept around for Windows 9x platforms.
    Also of note is that the mktemp package is not in the current Cygwin release, not even as a obsolete package so i was always missing this. In the 1.5 release it is available if you tick the obsolete package.
    I hope that information helps someone else on here!

  • Oracle 9.2 64 bit for windows 2003 x64

    Hi Gurus ,
                 We are now upgrading the server from R/3 4.7 to ECC 6.0 . As per our upgrade . i need to download oracle 9.2 64 bit for our windows 2003 server X64 edition . I try to search in service market place . But i cant find oracle 9.2 64 bit for our windows 2003 server X64 edition . Kindly advice me to download .
    Regards
    Selvan .SP

    I am not sure but its not logical.
    How you can use 64bit kernel with 32bit DB.
    I suggest you keep 32bit SAP, 32bit oracle 9.2 db.
    Do upgradation of oracle 9.2 to 10.2 32bit.
    Take offline / cold backup of 32bit 10.2 db
    Install X64bit OS, 64bit SAP, 64bit Oracle Software
    Restore offfline / cold backup and migrate to x64bit.
    Regards,
    Nikunj Thaker

  • Problems upgrading to Flash player v11 on Windows 2003 Terminal Server

    Hello
    I am trying to upgrade several Windows 2003 32-bit terminal servers, v5.2 to Flash IE plugin version 11.1.102.63.  This has not worked on the first two servers that I tried, and subsequently I have been concentrating my testing on just one of them.  The version on the servers prior to the attempted upgrade was 10.3.181.14. 
    On each occasion that I attempt the upgrade, the executable initially runs, but then does nothing.  The running process is visible in Task Manager, using no processing resource, and around 18MB of memory.  Unless I kill the process manually, it will sit like this indefinitely.  If I attempt the install again, I get a message informing me that only one instance of the process can run.
    I have tried rebooting the server, I have tried running the install in terminal server install mode, I have tried uninstalling the previous version, I have tried re-installing the previous version (which works fine).  For some reason, this particular version will not run.
    Any suggestions as to the next step would be very gratefully received.
    Thanks in advance.
    Paul

    How do I do a clean install of Flash Player?

Maybe you are looking for

  • HP LaserJet 4 plus driver

    The driver I have will not install, setup, or execute. So how do you get the driver into windows XP. This is the first time in 18 years I have seen this. It appears the driver is in DOS format. Hopefully I will get an answer before the weekends out.

  • BAPI -  user last modified Name, Date and Time in SU01 of a Particular User

    HI Experts, After searched a lot in SDN , i am posting this thread, I want to know any  Standard BAPI  to give LAST modified User name , time and Date in SU01 of a particular User. I checked * BAPI_USER_GET_DETAIL* , its giving LAST modified  time an

  • Bank g/l accounts

    Dear All, What is the Purpose of having three G/l accounts for Bank Reconcliation, ie Receipt, Payment & Recon a/c. What exactly is the logic behind that.  kindly please guide me. reagrds ram

  • Delete condition type records from PO

    Hi all,    I have put custom fields ( for condition type ) under customer data tab in PO (ME21N) line item. While creating/changing PO, I have to delete condition records under conditions tab based on the custom fields which I have defined in the cus

  • Character Set Syntax In Creating A New Database

    What is the correct line of syntax for this block of code in order to make the default character set WE8ISO8859P1? I tried the following but the database will not accept the Swedish or French characters. create database DEL1 controlfile reuse logfile