Minimizing oracle 10g memory utilization

i am basically developing appliactions using .net framework and using oracle as my database backend. i have noticed that there is support for java which is installed by default. i dont need them so how to remove them. also creating databases in oracle is too costly. as i am a developer i am not developing applications for production environment. how do i reduce memory consumption for oracle. which edition of oracle is suitable for developers? how to disable advanced features which are reqiuired for production level and not when developing applications.

If you're a developer, you're just using the standard Oracle feartures and you don't want Java then it seems to be you are the sort of person who ought to be using Oracle Express Edition. This has a much smaller footprint than regular Oracle and a much much smaller licencing cost (it's free, as in free beer) but it is still a proper Oracle database (i.e. it's not that nasty Lite thing).
Cheers, APC

Similar Messages

  • Ancient RHEL3 Running Oracle Rac 10G - memory utilization question

    As all good things must happen the crappy old systems that never get upgraded come back to bite you.
    I have a 4 node RAC cluster running Linux RHEL3. I know .. would love to upgrade it .. but that will take time. Looking for at survival at this point. The system is experiencing High I/O wait. Now, my background is mainly Solaris/AIX and not Linux. So as I work through this problem I am unsure of what I am seeing, since Linux maybe handling memory differently on this OS.
    This is what I am seeing:
    High I/O wait as shown by TOP
    Disk Access Time and Utilization : pretty good .. no device utilized over 30% and <20 millisecond response times from the drives
    The real Question is in memory usage:
    Host: 32GB
    OS: Red Hat Enterprise Linux AS release 3 (Taroon Update 9)
    model name : AMD Opteron (tm) Processor 880
    Please .. I know its old but try and not laugh.......
    The box has 32GB of Memory and I am told by the DBAs that OEM is reporting that SGA is sized correctly and memory ISN"T the problem. But disk access time/utilization isn't really pointing to a particular problem with the OS. The disks are all provided by a SAN.
    However, when I look at TOP .. I see that the largest oracle process in RSS size is 8G .. now on all other platforms .. AIX/Solaris when using TOP .. all oracle processes that connect to the SGA will show the full size of SGA. So this is my question. Does Linux do this differently... for the DBAs to tell me SGA is set to 20GB and to only see top showing process with 8GB .. this has me confused. Is the SGA really being set to 20GB????
    I can see in a pmap <oracle process> that it appears to be attached but just wanting to rule out a simple Oracle / Linux configuration problem first.
    I've included a pmap of both a current Linux process on the troubled system and a pmap of a current oracle solaris host.
    Linux
    [root@lnxracbo2a proc]# pmap 15013
    15013: oracle
    Start Size Perm Mapping
    00400000 94192K r-xp /oracle/product/10.2.0.4apr09/bin/oracle
    060fc000 436K rw-p /oracle/product/10.2.0.4apr09/bin/oracle
    06169000 792K rwxp [ anon ]
    60000000 24119296K rw-s /SYSVfa491508
    2a95556000 1108K r-xp /lib64/ld-2.3.2.so
    2a9566b000 4K rw-p /lib64/ld-2.3.2.so
    2a9566c000 4K rw-p [ anon ]
    2a9566d000 164K r-xp /oracle/product/10.2.0.4apr09/lib/libskgxp10.so
    2a95696000 1024K ---p /oracle/product/10.2.0.4apr09/lib/libskgxp10.so
    2a95796000 8K rw-p /oracle/product/10.2.0.4apr09/lib/libskgxp10.so
    2a95798000 944K r-xp /oracle/product/10.2.0.4apr09/lib/libhasgen10.so
    2a95884000 1024K ---p /oracle/product/10.2.0.4apr09/lib/libhasgen10.so
    2a95984000 24K rw-p /oracle/product/10.2.0.4apr09/lib/libhasgen10.so
    2a9598a000 24K rw-p [ anon ]
    2a95990000 8K r-xp /oracle/product/10.2.0.4apr09/lib/libskgxn2.so
    2a95992000 1020K ---p /oracle/product/10.2.0.4apr09/lib/libskgxn2.so
    2a95a91000 4K rw-p /oracle/product/10.2.0.4apr09/lib/libskgxn2.so
    2a95a92000 428K r-xp /oracle/product/10.2.0.4apr09/lib/libocr10.so
    2a95afd000 1024K ---p /oracle/product/10.2.0.4apr09/lib/libocr10.so
    2a95bfd000 8K rw-p /oracle/product/10.2.0.4apr09/lib/libocr10.so
    2a95bff000 256K r-xp /oracle/product/10.2.0.4apr09/lib/libocrb10.so
    2a95c3f000 1024K ---p /oracle/product/10.2.0.4apr09/lib/libocrb10.so
    2a95d3f000 4K rw-p /oracle/product/10.2.0.4apr09/lib/libocrb10.so
    2a95d40000 4K rw-p [ anon ]
    2a95d41000 444K r-xp /oracle/product/10.2.0.4apr09/lib/libocrutl10.so
    2a95db0000 1020K ---p /oracle/product/10.2.0.4apr09/lib/libocrutl10.so
    2a95eaf000 20K rw-p /oracle/product/10.2.0.4apr09/lib/libocrutl10.so
    2a95eb4000 8K rw-p [ anon ]
    2a95eb6000 8492K r-xp /oracle/product/10.2.0.4apr09/lib/libjox10.so
    2a96701000 1020K ---p /oracle/product/10.2.0.4apr09/lib/libjox10.so
    2a96800000 1568K rw-p /oracle/product/10.2.0.4apr09/lib/libjox10.so
    2a96988000 32K r-xp /oracle/product/10.2.0.4apr09/lib/libclsra10.so
    2a96990000 1024K ---p /oracle/product/10.2.0.4apr09/lib/libclsra10.so
    2a96a90000 4K rw-p /oracle/product/10.2.0.4apr09/lib/libclsra10.so
    2a96a91000 4K rw-p [ anon ]
    2a96a92000 112K r-xp /oracle/product/10.2.0.4apr09/lib/libdbcfg10.so
    2a96aae000 1024K ---p /oracle/product/10.2.0.4apr09/lib/libdbcfg10.so
    2a96bae000 8K rw-p /oracle/product/10.2.0.4apr09/lib/libdbcfg10.so
    2a96bb0000 3004K r-xp /oracle/product/10.2.0.4apr09/lib/libnnz10.so
    2a96e9f000 1020K ---p /oracle/product/10.2.0.4apr09/lib/libnnz10.so
    2a96f9e000 708K rw-p /oracle/product/10.2.0.4apr09/lib/libnnz10.so
    2a9704f000 12K rw-p [ anon ]
    2a97069000 4K r-xp /usr/lib64/libaio.so.1
    2a9706a000 1020K ---p /usr/lib64/libaio.so.1
    2a97169000 4K rw-p /usr/lib64/libaio.so.1
    2a9716a000 4K rw-p [ anon ]
    2a9716b000 12K r-xp /lib64/libdl-2.3.2.so
    2a9716e000 1020K ---p /lib64/libdl-2.3.2.so
    2a9726d000 4K rw-p /lib64/libdl-2.3.2.so
    2a9726e000 540K r-xp /lib64/tls/libm-2.3.2.so
    2a972f5000 1024K ---p /lib64/tls/libm-2.3.2.so
    2a973f5000 4K rw-p /lib64/tls/libm-2.3.2.so
    2a973f6000 60K r-xp /lib64/tls/libpthread-0.60.so
    2a97405000 1024K ---p /lib64/tls/libpthread-0.60.so
    2a97505000 4K rw-p /lib64/tls/libpthread-0.60.so
    2a97506000 20K rw-p [ anon ]
    2a9750b000 80K r-xp /lib64/libnsl-2.3.2.so
    2a9751f000 1020K ---p /lib64/libnsl-2.3.2.so
    2a9761e000 8K rw-p /lib64/libnsl-2.3.2.so
    2a97620000 8K rw-p [ anon ]
    2a97622000 1264K r-xp /lib64/tls/libc-2.3.2.so
    2a9775e000 1020K ---p /lib64/tls/libc-2.3.2.so
    2a9785d000 20K rw-p /lib64/tls/libc-2.3.2.so
    2a97862000 1480K rw-p [ anon ]
    2a979d4000 48K rw-p /dev/zero
    2a979e0000 64K rw-p /dev/zero
    2a979f0000 64K rw-p /dev/zero
    2a97a00000 64K rw-p /dev/zero
    2a97a10000 64K rw-p /dev/zero
    2a97a20000 64K rw-p /dev/zero
    2a97a30000 64K rw-p /dev/zero
    2a97a40000 64K rw-p /dev/zero
    2a97a50000 16K rw-p /dev/zero
    2a97a54000 640K rw-p /dev/zero
    2a97af4000 640K rw-p /dev/zero
    2a97b94000 128K rw-p /dev/zero
    2a97bb4000 128K rw-p /dev/zero
    2a97bd4000 128K rw-p /dev/zero
    2a97bf4000 128K rw-p /dev/zero
    2a97c14000 128K rw-p /dev/zero
    2a97c34000 128K rw-p /dev/zero
    2a97c54000 64K rw-p /dev/zero
    2a97c64000 64K rw-p /dev/zero
    2a97c74000 512K ---p /dev/zero
    7fbffe4000 112K rwxp [ stack ]
    mapped: 24255304K writeable/private: 8000K shared: 24119296K
    Solaris
    admin-srv403[2]/ # pmap 5467
    5467: oracleorprd26a (LOCAL=NO)
    0000000100000000 97696K r-x-- /oracle/product/10.2.0.4.4/bin/oracle
    0000000106066000 672K rwx-- /oracle/product/10.2.0.4.4/bin/oracle
    000000010610E000 1952K rwx-- [ heap ]
    0000000380000000 8388632K rwxsR [ ism shmid=0x4268 ]
    FFFFFFFF7B070000 64K rw--- [ anon ]
    FFFFFFFF7B100000 64K rw--- [ anon ]
    FFFFFFFF7B110000 64K rw--- [ anon ]
    FFFFFFFF7B120000 64K rw--- [ anon ]
    FFFFFFFF7B130000 64K rw--- [ anon ]
    FFFFFFFF7B140000 64K rw--- [ anon ]
    FFFFFFFF7B150000 64K rw--- [ anon ]
    FFFFFFFF7B160000 64K rw--- [ anon ]
    FFFFFFFF7B170000 64K rw--- [ anon ]
    FFFFFFFF7B19E000 8K rwxs- [ anon ]
    FFFFFFFF7B200000 8K rwx-- [ anon ]
    FFFFFFFF7B300000 8K r-x-- /usr/lib/sparcv9/libmd5.so.1
    FFFFFFFF7B402000 8K rwx-- /usr/lib/sparcv9/libmd5.so.1
    FFFFFFFF7B500000 8K rwx-- [ anon ]
    FFFFFFFF7B600000 16K r-x-- /usr/lib/sparcv9/libmp.so.2
    FFFFFFFF7B704000 8K rwx-- /usr/lib/sparcv9/libmp.so.2
    FFFFFFFF7B800000 8K rwx-- [ anon ]
    FFFFFFFF7B900000 216K r-x-- /usr/lib/sparcv9/libm.so.1
    FFFFFFFF7BA34000 16K rwx-- /usr/lib/sparcv9/libm.so.1
    FFFFFFFF7BB00000 32K r-x-- /usr/lib/sparcv9/librt.so.1
    FFFFFFFF7BC08000 8K rwx-- /usr/lib/sparcv9/librt.so.1
    FFFFFFFF7BD00000 32K r-x-- /usr/lib/sparcv9/libaio.so.1
    FFFFFFFF7BE08000 8K rwx-- /usr/lib/sparcv9/libaio.so.1
    FFFFFFFF7BE0A000 8K rwx-- /usr/lib/sparcv9/libaio.so.1
    FFFFFFFF7BF00000 728K r-x-- /usr/lib/sparcv9/libc.so.1
    FFFFFFFF7C0B6000 56K rwx-- /usr/lib/sparcv9/libc.so.1
    FFFFFFFF7C0C4000 8K rwx-- /usr/lib/sparcv9/libc.so.1
    FFFFFFFF7C100000 8K rwx-- [ anon ]
    FFFFFFFF7C200000 8K r-x-- /usr/lib/sparcv9/libsched.so.1
    FFFFFFFF7C302000 8K rwx-- /usr/lib/sparcv9/libsched.so.1
    FFFFFFFF7C400000 8K rwx-- /usr/lib/sparcv9/libdl.so.1
    FFFFFFFF7C500000 32K r-x-- /usr/lib/sparcv9/libgen.so.1
    FFFFFFFF7C608000 8K rwx-- /usr/lib/sparcv9/libgen.so.1
    FFFFFFFF7C700000 48K r-x-- /usr/lib/sparcv9/libsocket.so.1
    FFFFFFFF7C80C000 16K rwx-- /usr/lib/sparcv9/libsocket.so.1
    FFFFFFFF7C900000 672K r-x-- /usr/lib/sparcv9/libnsl.so.1
    FFFFFFFF7CAA8000 56K rwx-- /usr/lib/sparcv9/libnsl.so.1
    FFFFFFFF7CAB6000 40K rwx-- /usr/lib/sparcv9/libnsl.so.1
    FFFFFFFF7CB00000 8K rwx-- [ anon ]
    FFFFFFFF7CC00000 8K r-x-- /usr/lib/sparcv9/libkstat.so.1
    FFFFFFFF7CD02000 8K rwx-- /usr/lib/sparcv9/libkstat.so.1
    FFFFFFFF7CE00000 2184K r-x-- /oracle/product/10.2.0.4.4/lib/libnnz10.so
    FFFFFFFF7D120000 240K rwx-- /oracle/product/10.2.0.4.4/lib/libnnz10.so
    FFFFFFFF7D15C000 8K rwx-- /oracle/product/10.2.0.4.4/lib/libnnz10.so
    FFFFFFFF7D200000 72K r-x-- /oracle/product/10.2.0.4.4/lib/libdbcfg10.so
    FFFFFFFF7D310000 8K rwx-- /oracle/product/10.2.0.4.4/lib/libdbcfg10.so
    FFFFFFFF7D400000 1072K r-x-- /oracle/product/10.2.0.4.4/lib/libclsra10.so
    FFFFFFFF7D60A000 56K rwx-- /oracle/product/10.2.0.4.4/lib/libclsra10.so
    FFFFFFFF7D618000 8K rwx-- /oracle/product/10.2.0.4.4/lib/libclsra10.so
    FFFFFFFF7D700000 8K rwx-- [ anon ]
    FFFFFFFF7D800000 9272K r-x-- /oracle/product/10.2.0.4.4/lib/libjox10.so
    FFFFFFFF7E20C000 560K rwx-- /oracle/product/10.2.0.4.4/lib/libjox10.so
    FFFFFFFF7E300000 1072K r-x-- /oracle/product/10.2.0.4.4/lib/libocrutl10.so
    FFFFFFFF7E50A000 56K rwx-- /oracle/product/10.2.0.4.4/lib/libocrutl10.so
    FFFFFFFF7E518000 8K rwx-- /oracle/product/10.2.0.4.4/lib/libocrutl10.so
    FFFFFFFF7E600000 1376K r-x-- /oracle/product/10.2.0.4.4/lib/libocrb10.so
    FFFFFFFF7E856000 64K rwx-- /oracle/product/10.2.0.4.4/lib/libocrb10.so
    FFFFFFFF7E866000 8K rwx-- /oracle/product/10.2.0.4.4/lib/libocrb10.so
    FFFFFFFF7E900000 1536K r-x-- /oracle/product/10.2.0.4.4/lib/libocr10.so
    FFFFFFFF7EB7E000 64K rwx-- /oracle/product/10.2.0.4.4/lib/libocr10.so
    FFFFFFFF7EB8E000 8K rwx-- /oracle/product/10.2.0.4.4/lib/libocr10.so
    FFFFFFFF7EC00000 8K rwx-- [ anon ]
    FFFFFFFF7ED00000 8K r-x-- /oracle/product/10.2.0.4.4/lib/libskgxn2.so
    FFFFFFFF7EE00000 8K rwx-- /oracle/product/10.2.0.4.4/lib/libskgxn2.so
    FFFFFFFF7EF00000 1752K r-x-- /oracle/product/10.2.0.4.4/lib/libhasgen10.so
    FFFFFFFF7F1B4000 72K rwx-- /oracle/product/10.2.0.4.4/lib/libhasgen10.so
    FFFFFFFF7F1C6000 16K rwx-- /oracle/product/10.2.0.4.4/lib/libhasgen10.so
    FFFFFFFF7F200000 144K r-x-- /oracle/product/10.2.0.4.4/lib/libskgxp10.so
    FFFFFFFF7F322000 16K rwx-- /oracle/product/10.2.0.4.4/lib/libskgxp10.so
    FFFFFFFF7F400000 8K r-x-- /usr/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
    FFFFFFFF7F500000 8K rwx-- [ anon ]
    FFFFFFFF7F600000 184K r-x-- /usr/lib/sparcv9/ld.so.1
    FFFFFFFF7F72E000 16K rwx-- /usr/lib/sparcv9/ld.so.1
    FFFFFFFF7FFDC000 144K rw--- [ stack ]
    total 8511704K

    834881 wrote:
    I have a 4 node RAC cluster running Linux RHEL3. I know .. would love to upgrade it .. but that will take time. Looking for at survival at this point. The system is experiencing High I/O wait. How/why do you relate this to a memory problem that needs memory utilisation analysed?
    It could be that you have a dual fibre via HBA to the SAN and that one port is faulty (e.g. bad cable), thus reducing your I/O to the SAN to a single I/O path.
    It could be caused by hotspots on a LUN - and likely because ASM is not being used, this hotspot cannot be automatically load balanced.
    Or it could be a number of other factors, such as poorly designed and written app code that performs multiple passes through the same data sets, abuse of PQ slaves, etc.
    How does your storage layer look? What do you use for SAN connectivity? What diver s/w is used? How are the LUNs used (cooked/raw)? Is ASM used? What does Oracle session and instance reports ito I/O wait times? Which datafiles are being hit the hardest? Is acrhive logging used and what is the frequency of log switches? Etc. etc.
    Memory utilisation does not impact I/O, unless it is swap I/O. And these symptoms are easily seen and easily diagnosed. So I would expect that high memory utilisation may be a symptom, as is I/O wait times, of a potential underlying problem. But it would be premature to blame one (e.g. I/O wait times) on the other (e.g. memory utilisation).

  • Minimal Oracle 10g required support files to run a C client

    Is ociw32.dll all I need? Do I have to include anything else in $ORACLE_HOME\bin? There are simply too many DLL's, such as oraclient10.dll, oracommon10.dll, oracore10.dll, orageneric10.dll...
    Thanks.

    Simple way is use Oracle Instant Client which requires minimum libraries

  • Oracle 10G New Feature........Part 1

    Dear all,
    from last couple of days i was very busy with my oracle 10g box,so i think this is right time to
    share some intresting feature on 10g and some internal stuff with all of you.
    Have a look :-
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Oracle 10g Memory and Storage Feature.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1.Automatic Memory Management.
    2.Online Segment Shrink
    3.Redolog Advisor, checkpointing
    4.Multiple Temporary tablespace.
    5.Automatic Workload Repository
    6.Active Session History
    7.Misc
    a)Rename Tablespace
    b)Bigfile tablespace
    c)flushing buffer cache
    8.ORACLE INTERNAL
    a)undocumented parameter (_log_blocks_during_backup)
    b)X$ view (x$messages view)
    c)Internal Structure of Controlfile
    1.Automatic memory management
    ================================
    This feature reduce the overhead of oracle DBA.previously mostly time we need to set diff oracle SGA parameter for
    better performance with the help of own experience,advice views and by monitoring the behaviour
    of oracle database.
    this was just time consuming activity.........
    Now this feature makes easy life for oracle DBA.
    Just set SGA_TARGET parameter and it automatically allocate memory to different SGA parameter.
    it focus on DB_CACHE_SIZE
    SHARED_POOL_SIZE
    LARGE_POOL
    JAVA_POOL
    and automatically set it as
    __db_cache_size
    __shared_pool_size
    __large_pool_size
    __java_pool_size
    check it in alert_log
    MMAN(memory manager) process is new in 10g and this is responsible for sga tuning task.
    it automatically increase and decrease the SGA parameters value as per the requirement.
    Benefit:- Maximum utlization of available SGA memory.
    2.Online Segment Shrink.
    ==========================
    hmmmmm again a new feature by oracle to reduce the downtime.Now oracle mainly focus on availablity
    thats why its always try to reduce the downtime by intrducing new feature.
    in previous version ,reducing High water mark of table was possible by
    Exp/imp
    or
    alter table move....cmd. but on these method tables was not available for normal use for long hrs if it has more data.
    but in 10g with just few command we can reduce the HWmark of table.
    this feature is available for ASSM tablespaces.
    1.alter table emp enable row movement.
    2.alter table emp shrink space.
    the second cmd have two phases
    first phase is to compact the segment and in this phase DML operations are allowed.
    second phase(shrink phase)oracle shrink the HWM of table, DML operation will be blocked at that time for short duration.
    So if want to shrink the HWM of table then we should use it with two diff command
    first compact the segment and then shrink it on non-peak hrs.
    alter table emp shrink space compact. (This cmd doesn't block the DML operation.)
    and alter table emp shrink space. (This cmd should be on non-peak hrs.)
    Benefit:- better full table scan.
    3.Redolog Advisor and checkpointing
    ================================================================
    now oracle will suggest the size of redo log file by V$INSTANCE_RECOVERY
    SELECT OPTIMAL_LOGFILE_SIZE
    FROM V$INSTANCE_RECOVERY
    this value is influence with the value of FAST_START_MTTR_TARGET .
    Checkpointing
    Automatic checkpointing will be enable after setting FAST_START_MTTR_TARGET to non-zero value.
    4.Multiple Temporary tablespace.
    ==================================
    Now we can manage multiple temp tablespace under one group.
    we can create a tablespace group implicitly when we include the TABLESPACE GROUP clause in the CREATE TEMPORARY TABLESPACE or ALTER TABLESPACE statement and the specified tablespace group does not currently exist.
    For example, if group1 is not exists,then the following statements create this groups with new tablespace
    CREATE TEMPORARY TABLESPACE temp1 TEMPFILE '/u02/oracle/data/temp01.dbf'
    SIZE 50M
    TABLESPACE GROUP group1;
    --Add Existing temp tablespace into group by
    alter tablespace temp2 tablespace group group1.
    --we can also assign the temp tablespace group on database level as default temp tablespace.
    ALTER DATABASE <db name> DEFAULT TEMPORARY TABLESPACE group1;
    benefit:- Better I/O
    One sql can use more then one temp tablespace
    5.AWR(Automatic Workload Repository):-
    ================================== AWR is built in Repository and Central point of Oracle 10g.Oracle self managing activities
    is fully dependent on AWR.by default after 1 hr, oracle capure all database uses information and store in AWR with the help of
    MMON process.we called it Memory monitor process.and all these information are kept upto 7 days(default) and after that it automatically purge.
    we can generate a AWR report by
    SQL> @?/rdbms/admin/awrrpt
    Just like statspack report but its a advance and diff version of statspack,it provide more information of Database as well as OS.
    it show report in Html and Text format.
    we can also take manually snapshot for AWR by
    BEGIN
    DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT ();
    END;
    **The STATISTICS_LEVEL initialization parameter must be set to the TYPICAL or ALL to enable the Automatic Workload Repository.
    [oracle@RMSORA1 oracle]$ sqlplus / as sysdba
    SQL*Plus: Release 10.1.0.2.0 - Production on Fri Mar 17 10:37:22 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> @?/rdbms/admin/awrrpt
    Current Instance
    ~~~~~~~~~~~~~~~~
    DB Id DB Name Inst Num Instance
    4174002554 RMSORA 1 rmsora
    Specify the Report Type
    ~~~~~~~~~~~~~~~~~~~~~~~
    Would you like an HTML report, or a plain text report?
    Enter 'html' for an HTML report, or 'text' for plain text
    Defaults to 'html'
    Enter value for report_type: text
    Type Specified: text
    Instances in this Workload Repository schema
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    DB Id Inst Num DB Name Instance Host
    * 4174002554 1 RMSORA rmsora RMSORA1
    Using 4174002554 for database Id
    Using 1 for instance number
    Specify the number of days of snapshots to choose from
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Entering the number of days (n) will result in the most recent
    (n) days of snapshots being listed. Pressing <return> without
    specifying a number lists all completed snapshots.
    Listing the last 3 days of Completed Snapshots
    Snap
    Instance DB Name Snap Id Snap Started Level
    rmsora RMSORA 16186 16 Mar 2006 17:33 1
    16187 16 Mar 2006 18:00 1
    16206 17 Mar 2006 03:30 1
    16207 17 Mar 2006 04:00 1
    16208 17 Mar 2006 04:30 1
    16209 17 Mar 2006 05:00 1
    16210 17 Mar 2006 05:31 1
    16211 17 Mar 2006 06:00 1
    16212 17 Mar 2006 06:30 1
    16213 17 Mar 2006 07:00 1
    16214 17 Mar 2006 07:30 1
    16215 17 Mar 2006 08:01 1
    16216 17 Mar 2006 08:30 1
    16217 17 Mar 2006 09:00 1
    Specify the Begin and End Snapshot Ids
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Enter value for begin_snap: 16216
    Begin Snapshot Id specified: 16216
    Enter value for end_snap: 16217
    End Snapshot Id specified: 16217
    Specify the Report Name
    ~~~~~~~~~~~~~~~~~~~~~~~
    The default report file name is awrrpt_1_16216_16217.txt. To use this name,
    press <return> to continue, otherwise enter an alternative.
    Benefit:- Now DBA have more free time to play games.....................:-)
    Advance version of statspack
    more DB and OS information with self managing capabilty
    New Automatic alert and database advisor with the help of AWR.
    6.Active Session History:-
    ==========================
    V$active_session_history is view that contain the recent session history.
    the memory for ASH is comes from SGA and it can't more then 5% of Shared pool.
    So we can get latest and active session report from v$active_session_history view and also get histortical data of
    of session from DBA_HIST_ACTIVE_SESS_HISTORY.
    v$active_session_history include some imp column like:-
    ~SQL identifier of SQL statement
    ~Object number, file number, and block number
    ~Wait event identifier and parameters
    ~Session identifier and session serial number
    ~Module and action name
    ~Client identifier of the session
    7.Misc:-
    ========
    Rename Tablespace:-
    =================
    in 10g,we can even rename a tablespace by
    alter tablespace <tb_name> rename to <tb_name_new>;
    This command will update the controlfile,data dictionary and datafile header,but dbf filename will be same.
    **we can't rename system and sysaux tablespace.
    Bigfile tablespace:-
    ====================
    Bigfile tablespace contain only one datafile.
    A bigfile tablespace with 8K blocks can contain a 32 terabyte datafile.
    Bigfile tablespaces are supported only for locally managed tablespaces with automatic segment-space management.
    we can take the advantage of bigfile tablespace when we are using ASM or other logical volume with RAID.
    without ASM or RAID ,it gives poor response.
    syntax:-
    CREATE BIGFILE TABLESPACE bigtbs
    Flushing Buffer Cache:-
    ======================
    This option is same as flushing the shared pool,but only available with 10g.
    but i don't know, whats the use of this command in prod database......
    anyway we can check and try it on test server for tuning n testing some query etc....
    SQL> alter system flush buffer_cache;
    System altered.
    ++++++++++++++++++
    8.Oracle Internal
    ++++++++++++++++++
    Here is some stuff that is not related with 10g but have some intresting things.
    a)undocumented parameter "_log_blocks_during_backup"
    ++++++++++++++++++++++++
    as we know that oracle has generate more redo logs during hotbackup mode because
    oracle has to maintain the a complete copy of block into redolog due to split block.
    we can also change this behaviour by setting this parameter to False.
    If Oracle block size equals the operating system block size.thus reducing the amount of redo generated
    during a hot backup.
    WITHOUT ORACLE SUPPORT DON'T SET IT ON PROD DATABASE.THIS DOCUMENT IS JUST FOR INFORMATIONAL PURPOSE.
    b)some X$ views (X$messages)
    ++++++++++++++++
    if you are intresting in oracle internal architecture then x$ view is right place for getting some intresting things.
    X$messages :-it show all the actions that a background process do.
    select * from x$messages;
    like:-
    lock memory at startup MMAN
    Memory Management MMAN
    Handle sga_target resize MMAN
    Reset advisory pool when advisory turned ON MMAN
    Complete deferred initialization of components MMAN
    lock memory timeout action MMAN
    tune undo retention MMNL
    MMNL Periodic MQL Selector MMNL
    ASH Sampler (KEWA) MMNL
    MMON SWRF Raw Metrics Capture MMNL
    reload failed KSPD callbacks MMON
    SGA memory tuning MMON
    background recovery area alert action MMON
    Flashback Marker MMON
    tablespace alert monitor MMON
    Open/close flashback thread RVWR
    RVWR IO's RVWR
    kfcl instance recovery SMON
    c)Internal Structure of Controlfile
    ++++++++++++++++++++++++++++++++++++
    The contents of the current controlfile can be dumped in text form.
    Dump Level Dump Contains
    1 only the file header
    2 just the file header, the database info record, and checkpoint progress records
    3 all record types, but just the earliest and latest records for circular reuse record types
    4 as above, but includes the 4 most recent records for circular reuse record types
    5+ as above, but the number of circular reuse records included doubles with each level
    the session must be connected AS SYSDBA
    alter session set events 'immediate trace name controlf level 5';
    This dump show lots of intresting information.
    it also show rman recordes if we used this controlfile in rman backup.
    Thanks
    Kuljeet Pal Singh

    You can find each doc in html and pdf format on the Documentation Library<br>
    You can too download all the documentation in html format to have all on your own computer here (445.8MB)<br>
    <br>
    Nicolas.

  • What is maximum amount of memory that oracle db can utilize ?

    Hi
    Thank you for reading my post
    What is maximum number of memory that oracle database can utilize for each of its memory structure like sga, caches....
    Thanks

    ps, the following may help too
    VLM) Configurations
    Oracle Database for Windows supports Very Large Memory (VLM) configurations in Windows 2000, Windows 2003, and Windows XP, which allows Oracle Database to access more than the 4 gigabyte (GB) of RAM traditionally available to Windows applications.
    Note:
    This feature is available on Windows 2000, Windows 2003, and Windows XP only with Intel Pentium II and above processors.
    Specifically, Oracle Database uses Address Windowing Extensions (AWE) built into Windows 2000, Windows 2003, and Windows XP to access more than 4 GB of RAM.
    The requirements for taking advantage of this support are:
    1. The computer on which Oracle Database is installed must have more than 4 GB of memory.
    2. The operating system must be configured to take advantage of Physical Address Extensions (PAE) by adding the /PAE switch in boot.ini. See Microsoft Knowledge Base article Q268363 for instructions on modifying boot.ini to enable PAE.
    3. It is advisable (though not necessary) to enable 4GT support by adding the /3GB parameter in boot.ini. See Microsoft Knowledge Base article Q171793 for additional requirements and instructions on modifying boot.ini to enable 4GT.
    4. The user account under which Oracle Database runs (typically the LocalSystem account), must have the "Lock memory pages" Windows 2000 and Windows XP privilege.
    5. USE_INDIRECT_DATA_BUFFERS=TRUE must be present in the initialization parameter file for the database instance that will use VLM support. If this parameter is not set, then Oracle Database 10g Release 1 (10.1) or later behaves in exactly the same way as previous releases.
    6. Initialization parameters DB_BLOCK_BUFFERS and DB_BLOCK_SIZE must be set to values you have chosen for Oracle Database.
    Note:
    The total number of bytes of database buffers (that is, DB_BLOCK_BUFFERS multiplied by DB_BLOCK_SIZE) is no longer limited to 3 GB.
    Dynamic SGA and multiple block size are not supported with VLM. When VLM is enabled, the following new buffer cache parameters are not supported:
    o DB_CACHE_SIZE
    o DB_2K_CACHE_SIZE
    o DB_4K_CACHE_SIZE
    o DB_8K_CACHE_SIZE
    o DB_16K_CACHE_SIZE
    o DB_32K_CACHE_SIZE
    To select the block size for the instance, use the initialization parameter DB_BLOCK_SIZE. The buffer cache size is set by the initialization parameter DB_BLOCK_BUFFERS.
    7. Registry parameter AWE_WINDOW_MEMORY must be created and set in the appropriate key for your Oracle home. This parameter is specified in bytes and has a default value of 1 GB. AWE_WINDOW_MEMORY tells Oracle Database how much of its 3 GB address space to reserve for mapping in database buffers.
    This memory comes from the 3 GB virtual address space in Oracle Database, so its value must be less than 3 GB. Setting this parameter to a large value has the effect of using more of the address space for buffers and using less AWE memory for buffers. However, since accessing AWE buffers is somewhat slower than accessing virtual address space buffers, Oracle recommends that you tune these parameters to be as large as possible without adversely limiting database operations.
    In general, the higher AWE_WINDOW_MEMORY is set, the fewer connections and memory allocations will be possible for Oracle Database. The lower AWE_WINDOW_MEMORY is set, the lower the performance.
    8. Once this parameter is set, Oracle Database can be started and will function exactly the same as before except that more database buffers are available to the instance. In addition, disk I/O may be reduced because more Oracle Database data blocks can be cached in the System Global Area (SGA).
    Note:
    Registry parameter VLM_BUFFER_MEMORY, which enabled VLM configurations in earlier releases, is not supported in Oracle Database 10g Release 1 (10.1) or later.
    VLM Instance Tuning
    VLM configurations improve database performance by caching more database buffers in memory. This reduces disk I/O compared to configurations without VLM. VLM support in Oracle Database 10g Release 1 (10.1) or later has been re-written to integrate very closely with Windows. Compared to Oracle8i release 2 (8.1.6), VLM users should see better performance with the newer implementation.
    Tuning for VLM is no different than tuning for configurations without VLM. It is an iterative task that begins by selecting appropriate DB_BLOCK_SIZE and DB_BLOCK_BUFFERS initialization parameters for the application being supported.
    Note:
    Oracle Database 10g Release 1 (10.1) or later VLM configurations do not support multiple database block sizes.
    AWE_WINDOW_MEMORY, a new registry parameter specific to VLM, tells Oracle Database how much of its address space to reserve for mapping in database buffers. It defaults to a value of 1 GB, which should be suitable for most installations. If DB_BLOCK_SIZE is large, however, the default AWE_WINDOW_MEMORY value of 1 GB may not be sufficient to start the database.
    Increasing the value of AWE_WINDOW_MEMORY will improve performance, but it will also limit the amount of memory available for other Oracle Database threads (like foreground threads). Clients may see "out of memory" errors if this value is set too large. As a general guideline, increase the AWE_WINDOW_MEMORY registry value by 20 percent.
    For example, if DB_BLOCK_SIZE is set to 8 KB, AWE_WINDOW_MEMORY is set to 1 GB, and the number of LRU latches is set to 32 (16 processor computer), then database startup fails with out of memory errors 27102 and 34. Increasing the value of AWE_WINDOW_MEMORY to 1.2 GB fixes the problem.
    Having a large cache in a VLM configuration may also slow down database writer (DBWR) threads. Having more DBWR threads will distribute work required to identify and write buffers to disk and will distribute I/O loads among threads. Initialization parameter DB_WRITER_PROCESSES enables you to configure multiple database writer threads.
    A large cache can also introduce contention on the LRU (least recently used) latch. On symmetric multiprocessor (SMP) systems, Oracle Database sets the number of LRU latches to a value equal to one half the number of processors on the system. You can reduce contention on such configurations by increasing the number of LRU latches to twice (or four times) the number of processors on the system.
    See Also:
    Oracle Database Performance Tuning Guide for more information on instance tuning
    Windows 4 GB RAM Tuning (4GT)
    The following Windows operating systems include a feature called 4 GB RAM Tuning (4GT):
    · Windows Server 2003
    · Windows 2000 Advanced Server
    · Windows 2000 Datacenter Server
    This feature allows memory-intensive applications running on Oracle Database Enterprise Edition to access up to 3 GB of memory, as opposed to the standard 2 GB in previous operating system versions. 4GT provides a tremendous benefit: 50 percent more memory is available for database use, increasing SGA sizes or connection counts.
    Large User Populations
    Several features allow Oracle Database to support an increasingly large number of database connections on Windows:
    · Oracle Database Shared Server Process, which limits the number of threads needed in the Oracle Database process, supports over 10,000 simultaneous connections to a single database instance.
    · Oracle Net multiplexing and connection pooling features allow a large configuration to connect more users to a single database instance.
    · Oracle Real Application Clusters raises connection counts dramatically by allowing multiple server computers to access the same database files, increasing the number of user connections by tens of thousands, as well as increasing throughput.
    rgds
    alan

  • How to configure Oracle 10g to use 4GB memory

    I'm trying to configure Oracle 10g to use >4GB memory. Have configured server boot.ini with required flags (/3GB /PAE). Rebooted server then created standard database, then connected to db instance and changed oracle parameters DB_BLOCK_BUFFERS, USE_INDIRECT_DATA_BUFFERS as required. Restarted DB instance, DB fails to restarted with SGA memory error. According to oracle user docs the SGA is nolonger in effect due to previous settings. Can you provide example of SPFILE with parameters settings that do work and use >4GB memory. Current server has 8GB, 2 x Dual XEON core/processors (i.e. 8 processors)

    The recommended /3GB switches in the boot.ini file can only be used with the following operating systems editions (KB article 291988):
    Microsoft Windows 2000 Advanced Server
    Microsoft Windows 2000 Data Center Server
    Microsoft Windows Server 2003, Enterprise Edition
    Microsoft Windows Server 2003, Data Center Edition
    Microsoft Windows Small Business Server 2003
    Important: Windows 2000 and 2003 Server Standard Editions DO NOT SUPPORT /3GB Switch.
    So if your OS is listed above, then you cannot have a larger SGA.

  • "In-Memory Database Cache" option for Oracle 10g Enterprise Edition

    Hi,
    In one of our applications, we are using TimesTen 5.1.24 and Oracle 9i
    databases (platform - Solaris 9i).
    TimesTen holds application information which needs to be accessed quickly
    and Oracle 9i is a master application database.
    Now we are looking at an option of migrating from Oracle 9i to Oracle 10g
    database. While exploring about Oracle 10g features, came to know about
    "In-Memory Database Cache" option for Oracle Enterprise Edition. This made
    me to think about using Oracle 10g Enterprise Edition with "In-Memory
    Database Cache" option for our application.
    Following are the advantages that I could visualize by adopting the
    above-mentioned approach:
    1. Data reconciliation between Oracle and TimesTen is not required (i.e.
    data can be maintained only in Oracle tables and for caching "In-Memory
    Database Cache" can be used)
    2. Data maintenance is easy and gives one view access to data
    I have following queries regarding the above-mentioned solution:
    1. What is the difference between "TimesTen In-Memory Database" and
    "In-Memory Database Cache" in terms of features and licensing model?
    2. Is "In-Memory Database Cache" option integrated with Oracle 10g
    installable or a separate installable (i.e. TimesTen installable with only
    cache feature)?
    3. Is "In-Memory Database Cache" option same as that of "TimesTen Cache
    Connect to Oracle" option in TimesTen In-Memory Database?
    4. After integrating "In-Memory Database Cache" option with Oracle 10g, data
    access will happen only through Oracle sqlplus or OCI calls. Am I right here
    in making this statement?
    5. Is it possible to cache the result set of a join query in "In-Memory
    Database Cache"?
    In "Options and Packs" chapter in Oracle documentation
    (http://download.oracle.com/docs/cd/B19306_01/license.102/b14199/options.htm
    #CIHJJBGA), I encountered the following statement:
    "For the purposes of licensing Oracle In-Memory Database Cache, only the
    processors on which the TimesTen In-Memory Database component of the
    In-Memory Database Cache software is installed and/or running are counted
    for the purpose of determining the number of licenses required."
    We have servers with the following configuration. Is there a way to get the
    count of processors on which the Cache software could be installed and/or
    running? Please assist.
    Production box with 12 core 2 duo processors (24 cores)
    Pre-production box with 8 core 2 duo processors (16 cores)
    Development and test box with 2 single chip processors
    Development and test box with 4 single chip processors
    Development and test box with 6 single chip processors
    Thanks & Regards,
    Vijay

    Hi Vijay,
    regarding your questions:
    1. What is the difference between "TimesTen In-Memory Database" and
    "In-Memory Database Cache" in terms of features and licensing model?
    ==> Product has just been renamed and integrated better with the Oracle database - Times-Ten == In-Memory-Cache-Database
    2. Is "In-Memory Database Cache" option integrated with Oracle 10g
    installable or a separate installable (i.e. TimesTen installable with only
    cache feature)?
    ==> Seperate Installation
    3. Is "In-Memory Database Cache" option same as that of "TimesTen Cache
    Connect to Oracle" option in TimesTen In-Memory Database?
    ==> Please have a look here: http://www.oracle.com/technology/products/timesten/quickstart/cc_qs_index.html
    This explains the differences.
    4. After integrating "In-Memory Database Cache" option with Oracle 10g, data
    access will happen only through Oracle sqlplus or OCI calls. Am I right here
    in making this statement?
    ==> Please see above mentioned papers
    5. Is it possible to cache the result set of a join query in "In-Memory
    Database Cache"?
    ==> Again ... ;-)
    Kind regards
    Mike

  • Oracle 10g OEM high memory usage

    Hi,
    I am using oracle 10g SR2, after start the OEM, the CPU usage 100% and somethime will have out of memory heapdump and javacore in $ORACLE_HOME. I don't know what is the problem. pls help. The below msg is the part of javacore
    0SECTION TITLE subcomponent dump routine
    NULL ===============================
    1TISIGINFO OUTOFMEMORY received
    1TIDATETIME Date: 2007/05/06 at 16:30:56
    1XHENVVARS Environment Variables
    NULL ---------------------
    2XHENVVAR _=/u01/app/oracle/10g/jdk/bin/java.bin
    2XHENVVAR TMPDIR=/tmp
    2XHENVVAR LANG=en_US
    2XHENVVAR CONSOLE_CFG=dbconsole
    2XHENVVAR LOGIN=oracle
    Thanks

    Is it a AIX5L Based System?
    Adith

  • How can I solve memory lick, which occurs when operate Oracle 10g DB ?

    I'm using Dell power Edge2850 server(dual CPU, 4GB Ram), RedHat AS 3 and Oracle 10g SE ONE. When I started the server, transaction speed was very fast. But after several day, the system has been getting slower seriously.
    So I monitored my system using 'top'. And I've found that almost 30MB swap memory has been used and CPU usage has been only 23%. But there has been 2GB idle Ram memory. Besides when Oracle don't execute any operation, swap memory is not freed. After I started my server, swap memory allocated has been getting larger and larger. And the speed of my system has been getting slower and slower.
    I think that it is very strange thing not to free swap memory when there is no operation on the server.
    Of course, swapping which rise with large transaction is not problem. But it is a serious problem not to free swap memory when there is no transaction.
    How can I solve this ploblem? Thanks.

    This means the the URL for database control will use the http protocol. To convert to the https protocol (using the included SSL certificate), use the steps documented above. Before doing so, pl review MOS Doc 1222603.1
    HTH
    Srini

  • Memory issue, Oracle 10g in Solaris 10 zone

    I know many memory questions have been asked, but I couldn't find any similar to the problem I'm seeing.
    Starting from a fresh server boot, I have 12G of available memory, or nearly that anyway. Oracle 10g is installed with no databases created.
    After creating a database and running a few sql scripts to create tablespaces and users, my available memory is down to 3.5G.
    Rebooting the solaris zone containing Oracle does not restore any available memory. Shutting down the database does not restore any available memory.
    Why does Oracle seem to absorb so much available memory and not release it? I created the database from scripts and restricted the overall sga by a good bit over the defaults and while this did reduce the memory the oracle processes use, I'm still seeing this continual absorption of memory to the point where running any imports takes forever because my memory seems to bottom out. I saw it go down (using top, and vmstat) to about 500M at one point.
    Is there any utility that I can use, either solaris or sqlplus that will free up system memory?
    Message was edited by:
    tsmori

    After creating a database and running a few sql scripts to create tablespaces and users, my available memory is down to 3.5G.
    What are your settings fpr SGA_MAX_SIZE, SGA_TARGET and PGA_AGGREGATE_TARGET?
    Shutting down the database does not restore any available memory.
    Hmm that's really strange. We are running Oracle 9i on Solaris 10 Containers and didn't have any problems with memory leaks.
    Dim

  • Solaris 10, Oracle 10g and ORA-27102 out of memory

    After much STFW'ing, RTFM'ing and experimenting I finally got Oracle 10g to start a database on a SunBlade 100 with 512MB of memory and Solaris 10. As most of the replies on the web about error 27102 "out of memory" address solutions in Solaris 8 and 9, I thought I should post a clear description of the solution here.
    Unlike earlier releases of Solaris, most of the system parameters needed to run Oracle are already set properly, so the only one you need is the maximum shared memory parameter. In earlier versions this was called SHMMAX and was set by editing the /etc/system file and rebooting. With Solaris 10 you set this by modifying a "Resource Control Value". You can do this temporarily by using prctl, but that is lost at reboot so you will need to add the command to the oracle user's .profile. The other option is to create a default project for the oracle user:
    projadd -U oracle -K "project.max-shm-memory=(priv,2048MB,deny)" user.oraclewhat this does:
    - makes a project named "user.oracle" with the user oracle as it's only member.
    - because the name was of the form "user.username" it becomes the oracle user's default project.
    - the value of the maximum shared memory is set to 2gb, you might want to use a larger value here if you have more memory and swap.
    - no reboot is needed, the user will get the new value at their next login.

    thanks buddy. I was in this same tricky situation. and ur post solved my prblem.
    Is this a bug with solaris 10.
    Later i discovered.. on Oracle documentation that.. there r sum parameters that needed to be taken care while pre-installation of Oracle binaries.
    Here is the excerpts.
    The Oracle installer recognizes kernel parameters set using this method, but it is now deprecated in favour of resource control projects, explained below.
    As the root user, issue the following command.
    projadd oracle
    Append the following line to the "/etc/user_attr" file.
    oracle::::project=oracle
    If you've performed a default installation, it is likely that the only kernel parameter you need to alter is "max-shm-memory". To check the current value issue the following command.
    # prctl -n project.max-shm-memory -i project oracle
    project: 100: oracle
    NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
    project.max-shm-memory
            privileged       254MB      -   deny
            system          16.0EB    max   deny     
    To reset this value, make sure at least one session is logged in as the oracle user, then from the root user issue the following commands.
    # prctl -n project.max-shm-memory -v 4gb -r -i project oracle
    # projmod -s -K "project.max-shm-memory=(priv,4gb,deny)" oracle
    The first dynamically resets the value, while the second makes changes to the "/etc/project" file so the value is persistent between reboots.
    # cat /etc/project
    system:0::::
    user.root:1::::
    noproject:2::::
    default:3::::
    group.staff:10::::
    oracle:100::::project.max-shm-memory=(priv,4294967296,deny)
    The Oracle installer seems incapable of recognising kernel parameter set using resource control projects, but if you ignore the warnings the installation completes successfully.Even this method works.
    Regards
    Monu Koshy

  • Avoid Bug 7146375 ORA-4030 MEMORY LEAK IN (Xml generation) in oracle 10g

    Hi All,
    I have to generate an xml from database which contains around 4 lac records. I had written a query using XmlSerialize and XmlElement.
    It does run properly for records less than 2 lacs.
    But when the record count goes above 2 lacs..it is throwing the following error -
    { ORA-04030: out of process memory when trying to allocate 1032 bytes (qmxlu subheap,qmemNextBuf:alloc)
    ORA-06512: at "SYS.XMLTYPE", line 111!}
    For the above error - I have tried increasing pga from 480M to 800M, but still we are getting the same error.
    After researching i found out -
    Cause
    This is caused by the following bug:
    Bug 7146375 ORA-4030 AND MEMORY LEAK IN SESSION HEAP: "KOH DUR HEAP D"
    Solution
    Bug 7146375 is fixed in 11.2
    So i tried out the query in another a db which has 11g installed and my query runs perfectly fine for records of upto 4 lacs.
    But since we have oracle 10g on our clients machine, are there other ways to achieve this XML generation other than this?
    Thanks.

    913389 wrote:
    After researching i found out -
    Cause
    This is caused by the following bug:
    Bug 7146375 ORA-4030 AND MEMORY LEAK IN SESSION HEAP: "KOH DUR HEAP D"
    Solution
    Bug 7146375 is fixed in 11.2
    So i tried out the query in another a db which has 11g installed and my query runs perfectly fine for records of upto 4 lacs.
    But since we have oracle 10g on our clients machine, are there other ways to achieve this XML generation other than this?I doubt it. If Oracle have investigated and created a bug report that says the solution is to upgrade to 11.2, then that's the answer, otherwise they would indicate that a particular 10g patch set can also be used.

  • ORA-04031: unable to allocate 33568 bytes of shared memory  in Oracle 10g

    Hi,
    I am getting following message frequently while taking export in Oracle 10g database:-
    EXP-00008: ORACLE error 4031 encountered
    ORA-04031: unable to allocate 33568 bytes of shared memory ("shared pool","DBMS_REPCAT_UTL","PL/SQL MPCODE","BAMIMA: Bam Buffer")
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_REPCAT_UTL"
    ORA-06512: at "SYS.DBMS_REPCAT_EXP", line 87
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when calling SYS.DBMS_REPCAT_EXP.schema_info_exp
    EXP-00008: ORACLE error 4031 encountered
    ORA-04031: unable to allocate 16416 bytes of shared memory ("shared pool","SELECT SYNNAM, SYNNAM, SYNTA...","kgghtInit","kgghtInit")
    EXP-00000: Export terminated unsuccessfully
    Whats could be the reason?

    There could be a few reasons causing the problem. From literal message it would look like your shared pool size is small and you need to increase. But the root cause of the problem is a little more complicated than that. I suggest you read metalink doc
    Diagnosing and Resolving Error ORA-04031
    Doc ID: Note:146599.1

  • Oracle 10g R2 x64 Windows - Memory allocation

    I've installed Oracle 10g R2 x64 on Windows Server 2003 STD X64.
    My SGA is configured to use 65% of total memory (3,5Gb).
    After few days since instance startup, virtual meory size grow up to 6Gb and OS crash.
    Anyone can help me?
    Thanks in advance

    You might have to work with Oracle support see if you have memory leaking problem.
    While your oracle.exe growing VM size, run a statspack report and following query for a quick checking,
    select * from v$sgainfo
      1  select se.sid, n.name, max(se.value) maxmem
      2  from v$sesstat se,
      3  v$statname n
      4  where n.statistic#=se.statistic#
      5  and n.name like 'session pga%'
      6  group by n.name, se.sid
      7* order by 3 desc
    SQL> /
           SID NAME                                                                 MAXMEM
           216 session pga memory max                                             11836008
           216 session pga memory                                                 11687880
           212 session pga memory max                                              7960728
           225 session pga memory max                                              5880632
           200 session pga memory max                                              5282408
           200 session pga memory                                                  5282408
           217 session pga memory max                                              3995992
           217 session pga memory                                                  3668312
           214 session pga memory max                                              3626952
           212 session pga memory                                                  3176600
    ....

  • Enable oracle 10g on windows 2003 R2 X64 edition to address 8 Gb memory

    We are using Oracle 10g R2 on Windows 2003 R2 x64 Standart edition. Lately we upgraded the system memory from 4 Gb to 8 Gb. Windows sees the memory as is (8 Gb) But oracle can not see the RAM as 8 gb. How can we ovecome this problem.
    Best Regards,
    Murat CAKIR

    What you can effectively do is since your are using 10gR2, you can use the spfile. Increase the SGA_MAX_SIZE and SGA_TARGET (if you want to give the control to the Oracle itself) in the spfile and bounce the database.
    alter system set SGA_MAX_SIZE = 6G scope=spfile;
    alter system set SGA_TARGET = 6G scope=spfile;
    shutdown immediate;
    startup;
    show parameter sga;6G could be changed according to what sort of applications that allocates the operating system RAM, you have already got on your operating system.
    Hope That Helps.
    Ogan

Maybe you are looking for