Increase SGA in Oracle 10g

Hi everyone,
I am Ann. I am not a DBA, because the main DBA and Developer is on maternity leave have to step up to look after an Oracle Application Forms and Reports and Oracle database (version 10.1).
Recently, people complaints the apps is slow.
So I open the Enterprise Manager, and check the Performance Adviser, it shows one issue
Finding          The buffer cache was undersized causing significant additional read I/O.
Impact (minutes)          5.31
Impact (%)     
13.13
The recommendation is Increase SGA target size by increasing the value of parameter "sga_target" by 928 M. (there is a button Implement next to the message).
The findings path is
The buffer cache was undersized causing significant additional read I/O.
13.13     
Wait class "User I/O" was consuming significant database time.     16.27     
About the server, we use OpenSuse. I also log into the server as root.
Type free command to get info about memory and here is the details
borg:~ # free
total used free shared buffers cached
Mem: 6101512 6001288 100224 0 180376 4636256
-/+ buffers/cache: 1184656 4916856
Swap: 12586916 1728548 10858368
I just want to know is it safe to run the implement button to increase the SGA target size.
I know that I have to shutdown and restart the instance.
Many thanks,
Ann

>
I just want to know is it safe to run the implement button to increase the SGA target size.
>
You shouldn't do anything until
1. You confirm that there is, in fact, a problem
2. You determine exactly what the problem is
3. You determine the cause, or causes, of the problem
4. You identify, and rank, possible solutions to the problem
5. You test possible solutions in a dev/text environment to make sure your process works as expected.
6. You script a method to 'undo' any changes you make
>
Recently, people complaints the apps is slow.
>
So what! People always complain that apps are slow. While it's fine to take note of that don't make a knee-jerk reaction to it.
Gather more information.
1. Slow in what way? entering data? running reports? batch jobs?
2. Slow when? first thing in the morning? mid-day when all users are on the system? all the time?
3. How long has it been slow? Just started? A couple of days? a few weeks?
4. What does the main DBA say about the reported slowness? Have you called to ask? Why not? They are on maternity leave not climbing the alps or Himalayas. Call them and ask them if they were aware of reported problems.
5. Did you ask the main DBA what you should look at? Why not?
Tell us more information. What are the memory parameters now?
Open a sql*plus session and then run and post the results of
1. SHOW PARAMETER SGA_TARGET
2. SHOW SGA
3. SHOW PARAMETER POOL

Similar Messages

  • HOW INCREASE SGA IN ORACLE RAC 10 G WITH 2 NODES

    How increase sga_max_size, sga_target in ORACLE RAC 10 G WITH 2 NODES;
    i have oracle 10g in unix hp-ux 11i in rac (2 nodes)
    with sga 8g; and i want to increase 12g;
    i can alter these parameters without shutdown the entire database ?; , i can alter and take these change in one node first and later de second node?
    i used in first node :
    1- alter system set sga_max_size=16g scope spfile;
    2- alter system set sga_targer=12g cope spfile;
    later i restard all intance one by one:
    srcvtl stop instance -d my_database -i my_instance1 -o immediate;
    srcvtl start instance -d my_database -i my_instance1
    3- in second node.
    srcvtl stop instance -d my_database -i my_instance2 -o immediate;
    srcvtl start instance -d my_database -i my_instance2
    but my sga is the SAME 8G.. WHY NOT CHANGE...
    i changed these parameters and restar my instance in first node later stop and start using srvctl the second node but my sga not change. continue in 8g ;however these changes are in spfile so;
    prd2.sga_max_size=8589934592#internally adjusted
    prd1.sga_max_size=8589934592#internally adjusted
    *.sga_max_size=17179869184
    prd2.sga_target=8589934592
    prd1.sga_target=8589934592
    *.sga_target=12884901888
    prd2.thread=2
    prd1.thread=1
    how i can apply these change node by node or i need shutdown the entire database?
    need to make these changes without affecting my application because i can not shutdown the both node...
    Edited by: user568681 on 02-sep-2010 14:32

    Hi,
    I just checked on a test RAC configuration (HP-UX, 10.2.0.4)
    You don't need to stop the database.
    Keep your "rolling" original scenario but change :
    alter system set sga_max_size=16g scope spfile;
    alter system set sga_target=12g cope spfile;by
    alter system set sga_max_size=16g scope spfile sid = 'PRD1';
    alter system set sga_target=12g scope spfile sid = 'PRD1';
    alter system set sga_max_size=16g scope spfile sid = 'PRD2';
    alter system set sga_target=12g cope spfile sid = 'PRD2';Actually
    alter system set sga_max_size=16g scope spfile;
    alter system set sga_max_size=16g scope spfile SID='*';changes globally the values for every instance in the spfile ("*.XXXXXX" is updated) but it does not remove the specific entries already assigned to one particular instance (and it is your case !)
    Alternatively you could reset the values assigned specifically to one instance with "alter system reset" to have only "*.XXXX" for those parameters.
    Best regards
    Phil

  • Increase 'archive_max_process'  in oracle 10g

    Dear Friends ,
    I want to increase the value of 'archive_max_process' dynamically (i.e., alter system or alter database ) in my oracle 10g . Is it possible to do ?

    Hi,
    Kindly find the below.
    alter system set log_archive_max_processes=4;
    The LOG_ARCHIVE_MAX_PROCESSES initialization parameter specifies the number of ARCn processes that the database initially invokes. The default is two processes. There is usually no need specify this initialization parameter or to change its default value, because the database starts additional archiver processes (ARCn) as needed to ensure that the automatic processing of filled redo log files does not fall behind.
    However, to avoid any runtime overhead of invoking additional ARCn processes, you can set the LOG_ARCHIVE_MAX_PROCESSES initialization parameter to specify up to ten ARCn processes to be started at instance startup. The LOG_ARCHIVE_MAX_PROCESSES parameter is dynamic, and can be changed using the ALTER SYSTEM statement. The database must be mounted but not open. The following statement increases (or decreases) the number of ARCn processes currently running:
    ALTER SYSTEM SET LOG_ARCHIVE_MAX_PROCESSES=3;
    Best Regards
    RajaBaskar

  • SGA in Oracle 10g

    The following parameters are set in prod db.
    I would like to know whether oracle will take from sga_target or individual parameters in oracle 10g
    You suggesting would be highlyl appreciated
    (MB)
    shared_pool_size =      419430400     400
    large_pool_size =      16777216     16
    java_pool_size =      318767104     304
    db_cache_size =      536870912     512
    sga_target      2315255808     2208
    sga_max_size     3674210304     3504

    user446367 wrote:
    SGA_TARGET parameter set and individual (DB_CACHE_SIZE, SHARED_POOL_SIZE, LARGE_POOL_SIZE, and JAVA_POOL_SIZE) also which one will get effectBoth! For example, if you have SGA_TARGET set to 8gb and also have set the individual parameters, their values set will act as the minimum values for them and their sum total still can't be ever more than the value set in the SGA_TARGET.
    HTH
    Aman....

  • Increase SGA size with ORA-02095.

    Hi Experts,
    I want to increase SGA for oracle 10G in window 2003 . however, I got error as
    SQL> alter system set sga_max_size=1700M,scope=spfile;
    alter system set sga_max_size=1700M,scope=spfile
    ERROR at line 1:
    ORA-02095: specified initialization parameter cannot be modified
    SQL> alter system set SGA_TARGET=1700M scope=SPFILE;
    System altered.
    SQL> alter system set sga_max_size=1700M,scope=spfile;
    alter system set sga_max_size=1700M,scope=spfile
    ERROR at line 1:
    ORA-02095: specified initialization parameter cannot be modified
    Now I just increase SGA_target as 1700M How to increase SGA_MAX_SIZE?
    Thanks
    JIM
    Edited by: user589812 on Mar 23, 2009 8:42 AM

    SQL> alter system set sga_max_size=1700M,scope=spfile;
    alter system set sga_max_size=1700M,scope=spfile
    ERROR at line 1:
    ORA-02095: specified initialization parameter cannot be modified
    take out comma,
    alter system set sga_max_size=1700M scope=spfile;

  • How can i increase sga size in oracle 10g

    Hello friends
    how can i increase my sga size in oracle 10g
    Regards
    Vicky
    Edited by: Vignesh Chinnasamy on 31-Jul-2012 02:28

    HI
    **SQL> Show parameter sga ;**
    NAME                                 TYPE        VALUE
    lock_sga                             boolean     FALSE
    pre_page_sga                         boolean     FALSE
    sga_max_size                         big integer 2G
    sga_target                           big integer 2G
    **SQL> show parameter memory;**
    NAME                                 TYPE        VALUE
    hi_shared_memory_address             integer     0
    shared_memory_address                integer     0
    **[root@mte ~]# ulimit -a**
    core file size          (blocks, -c) 0
    data seg size           (kbytes, -d) unlimited
    file size               (blocks, -f) unlimited
    pending signals                 (-i) 1024
    max locked memory       (kbytes, -l) 32
    max memory size         (kbytes, -m) unlimited
    open files                      (-n) 1024
    pipe size            (512 bytes, -p) 8
    POSIX message queues     (bytes, -q) 819200
    stack size              (kbytes, -s) 10240
    cpu time               (seconds, -t) unlimited
    max user processes              (-u) 278528
    virtual memory          (kbytes, -v) unlimited
    file locks                      (-x) unlimited
    *[root@mte ~]#*

  • Oracle 10G and SGA

    Hi,
    i've a question about Oracle 10G and their SGA. When I do in SQLplus show sga, I get for example:
    SQL> show sga
    Total System Global Area 167772160 bytes
    Fixed Size 1247900 bytes
    Variable Size 58721636 bytes
    Database Buffers 104857600 bytes
    Redo Buffers 2945024 bytes
    when finding other parameter I get always '0', this was not in other releases...
    SQL> show parameter pool
    shared_pool_size big integer 0
    java_pool_size big integer 0
    large_pool_size big integer 0
    olap_page_pool_size big integer 0
    SQL> show parameter db_cache
    NAME TYPE VALUE
    db_cache_advice string ON
    db_cache_size big integer 0
    It seems that I have no control over setting those parameters, I remember at installation time it gave a % of the pc memory would be used, has it something to do with that? Can you chose between the automatic SGA-management and setting it by yourself?
    thanks
    greets

    Hi,
    I also find some trace files under my udump-dir, has this also to do with the SGA?
    Dump file c:\oracle\admin\orcl\udump\orcl_ora_3052.trc
    Wed Nov 16 15:42:40 2005
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the OLAP and Data Mining options
    Windows XP Version V5.1 Service Pack 2
    CPU : 1 - type 586
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:173M/502M, Ph+PgF:817M/1229M, VA:1755M/2047M
    Instance name: orcl
    Redo thread mounted by this instance: 0 <none>
    Oracle process number: 12
    Windows thread id: 3052, image: ORACLE.EXE (SHAD)
    *** SERVICE NAME:() 2005-11-16 15:42:40.974
    *** SESSION ID:(50.1) 2005-11-16 15:42:40.974
    kccsga_update_ckpt: num_1 = 8, num_2 = 0, num_3 = 0, lbn_2 = 0, lbn_3 = 0
    and:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the OLAP and Data Mining options
    Windows XP Version V5.1 Service Pack 2
    CPU : 1 - type 586
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:210M/502M, Ph+PgF:931M/1229M, VA:1781M/2047M
    Instance name: orcl
    Redo thread mounted by this instance: 0 <none>
    Oracle process number: 0
    Windows thread id: 3596, image: ORACLE.EXE (SHAD)
    KCCDEBUG_LEVEL = 0
    Dynamic strand is set to TRUE
    Running with 1 shared and 10 private strand(s). Zero-copy redo is FALSE
    these comes every time after restarting the instance. Does this means that I will have hundreds of files after a time?

  • User Connections getting increase in Oracle 10g database

    Hi All,
    we have a java application setup in Websphere 6.0 server with Oracle 10g as a back end database.
    Our application server is load balanced by two seperate server.
    We found that there are more number of inactive connections getting established to database from application server.
    Those connections keep on increasing automatically though we closed all the session created through application.
    Is there any specific reason behind this. Currently we are killing those sessions manually.
    Kindly help me in resolving this issue.
    Thanks in advance.
    Regards
    Aruna

    The main reason for this is products like Websphere are stateless, and establish a connection for every statement, execute the statement and close the connection.
    Refrain from setting up connection pooling, either in Websphere or at the database site, and you will keep seeing this.
    As such it is not a database problem. It is a problem of developers who don't know connection pooling.
    Sybrand Bakker
    Senior Oracle DBA
    Experts: those who did read documentation.

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

  • Oracle 10g on HP-UX, Terrible Poor Performance!!

    Hi All,
    I setup an Oracle 10g on HP-UX 11iv1. Server is a HP 9000, 4 CPUs (750
    MHZ). It is connected to Disk System 2405 (Virtual Array 7110). Fiber
    Channels are connected at 2 GB speed.
    I installed a cluster 10g database. First I installed CRS and after
    that I installed oracle database. ( I want to test clustered database
    with one instance)
    I installed every thing line by line as oracle document wrote.
    All the things, kernel parameters, patches, are like oracle wrote in
    its document.
    I installed Golden quality package June 2004.
    I increased shmmax to 2.3 G . My SGA is 1.7 G And change some other
    parameters as Sandy Gruver wrote in Best Practices for Oracle on HPUX.
    I used oracle new storage system called ASM for this case.
    When I put the system under the load, I was monitoring the system
    carefully.
    I started gmp. When we sent some quarries to database (It is not heavy
    load, I tested it with a Linux system on proliant ML570 without any
    problem), suddenly DISK section in gpm changed to red (critical ) I
    read the warning. It said "Disk bottleneck probability = 100%". I
    changed the output of disk report to "Report IO by Disk"
    "DISK%" was 100% and "RAW IO RT" was about 1000 for two disks ( This
    two disks dedicated for ASM). In this situation CPU idle time was 1% or
    2% for all the CPUs but load average was about 1. Performance is not
    acceptable at all ( In comparison with Oracle that installed on Linux).
    Glance reported Disk was in Critical situation.
    I think the problem is IO or something about Disks
    I used HP Disk System 2405. Fibber channels on both server side and
    Disk Array side are configured at 2 Gb and topologies are
    PTTOPT_FABRIC.
    Is it ok that RAW IO RT about 1000 for each LUN?
    Why Disk% in glance/report IO BY Disk/ was 100%?
    I found an error in STM logs about I/O.It said:
    Entry type: I/O error
    Product: Fiber Channel Interface
    Logger: td
    It logged this error about 12 times during the test.Any comment?
    Regards,
    Hasan

    Sorry, I have not a solution for your problem, but similar things happen on our installation on Solaris 5.8 with Oracle 10:
    I have a banking business solution from Windows/SQL Server 2000 to Sun Solaris/ORACLE 10g migrated. In the test environment everything was working fine. On the production system we have very poor DB performance. About 100 times slower than SQL Server 2000!
    Environment at Customer Server Side:
    Hardware: SUN Fire 4 CPU's, OS: Solaris 5.8, DB Oracle 8 and 10
    Data Storage: Em2
    DB access thru OCCI [Environment:OBJECT, Connection Pool, Create Connection]
    Depending from older applications it's necessary to run ORACLE 8 as well on the same Server. Since we have running the new solution, which is using ORACLE 10, the listener for ORACLE 8 is frequently gone (or by someone killed?). The performance of the whole ORACLE 10 Environment is very poor. As a result of my analyse I figured out that the process to create a connection to the connection pool takes up to 14 seconds. Now I am wondering if it a problem to run different ORACLE versions on the same Server? The Customer has installed/created the new ORACLE 10 DB with the same user account (oracle) as the older version. To run the new solution we have to change the ORACLE environment settings manually. All hints/suggestions to solve this problem are welcome. Thanks in advance.
    Anton

  • 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

  • Increase SGA on database with dataguard

    hi all,
    I have a database (10.2.0.2.0) configured with dataguard and we want to increase the SGA. We want update the RAM from Server ( Microsoft Windows Server 2003 R2 Server 5.2 Service Pack 2 (32-bit) ) with double memory RAM (actually 8G):
    The steps would be the next?:
    - SQL>alter system set sga_max_size=16G scope=spfile;
    - SQL>alter system set sga_target=16G scope=spfile;
    - shutdown immediate;
    - startup;
    Same in the standby database?
    Thanks in advance.

    Hi;
    What is your current SGA_MAX_SZE parameter? the SGA_MAX_SZE parameter is not dynamic in oracle 10g.
    To increase the sga size for your instance or to decrease,
    1. Make the entry in the pfile as sga_max_size=value. (generally pfile at 'ORACLE_HOME\database') *
    2. Shutdown the DB
    3. Startup the DB with the pfile as " SQL> STARTUP PFILE='path of the pfile edited' "
    4. Your DB is now running on pfile, to make the changes in spfile "SQL>CREATE SPFILE='path of the spfile' FROM PFILE"
    5. Shutdown Immediate
    6. Startup the DB with the newly created spfile " SQL>STARTUP SPFILE='path of the spfile' "
    7. sql> show parameter sga to make sure your changes takes effect
    8. You can increase SGA_TARGET dynamicly by ALTER command.
    Regard
    Helios

  • Netweaver 2004s installation problem on Windows: Oracle 10G

    Hi Friends,
    I would like to install Netweaver 2004S(with usage types AS ABAP, AS JAVA, BI, BI JAVA, EP & DI) on a server which has Windows 2003 server OS running on it.
    The server has 6GB RAM and has 5GB of free space on C: and a free sapce  of 60GB on H: & 50GB on I: respectively.The database that is to be used is Oracle 10g.
    Do I need to install first SAP solution manger 4.0 on this or Can i proceed with Netweaver  2004 S installation???
    I am installing a central system.
    First I tried installing SAP solution manger 4.0 on this system and it went successfully. Now when i am installing Netweaver 2004s on the same machine, during installation I am asked whether to "install a MCOD or create a new database for this installation".
    I chose Install MCOD and proceeded  further with Installation. But my installation is taking a lot of time while executing the service :"Creating database schema". The message which i get on status bar is " Removing schema user SAPSR3" and the status remains the same.
    Have any of you faced this problem ? Please let me know how you have proceeded further.
    Before starting the installation  one of the prerequisites " SWAP SPACE VALUES" for installation was not satisfied by my system  and even then i proceeded with the installation.
    Is it because of this SWAP space problem , my intsallation is strcuk?? or what could be the reason fo this?
    Thanks
    Diwakar

    Hello Diwakar, 
    If you are just installing NW2004s then it is not mandatory to install Solution manager.
    To increase the swap space --
    Right click my on computer ->Select Properties -> Click Advanced Tab ->Click Settings (performance) -> Select Advanced Tab -> In virtual memory -> Change
    you canIncrease swap space/page file here.
    Do not install the system as MCOD, make the seperate database.
    Do revert for further doubt.
    Best Regards,
    Sachin.

  • Open cursors problem- j2ee + oracle 10g

    Hi,
    I am using EJB on sunOne application server 8.1., Oracle 10g DB.
    EJB container connects to Oracle DB through a set of connection pools.
    BMP for all entity beans.
    I have about 160 PL/SQL functions that make up the business logic of the online application. everytime the application runs, I get an increasing number of open cursors, including some of the ones that are explicitly closed within PL/SQL (inspection with sys.v_$open_cursor).
    I made sure all CallableStatements, PreparedStatements, RecordSets within the beans are closed and set to NULL. All PL/SQL functions use explicit cursors, so every select statement is managed within a cursor which is explicitly closed when the function finishes with it.
    From v$open_cursor, I identified the sessions with the cursors still open, and issued (ALTER SYSTEM KILL SESSION �sid, #serial�) for each of the sessions (this is done via a PL/SQL function for all inactive sessions).
    These sessions have state INACTIVE, and wait_class IDLE. This has Killed all sessions, but I was not able to use the application anymore. I suspect by killing those sessions we have also caused the connections between EJB container and the Oracle DB. The only way to use the application now is to stop and restart the sunONE domain � this is very inconvenient.
    Has anyone encountered a similar problem? any suggestions to reduce or eliminate the open cursors number? Please help.
    Thank you all

    Maybe you can try to have a smaller steady-pool-size and idle-timeout-in-millis for your connection pools.
    Also, if that's at all possible, have smaller number of connection pools being shared by more apps.
    Just my 2c.
    thanks.

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

Maybe you are looking for