Buffer pool size

Oracle 9.2.0.4.0
java 1.4.2
Hi,
How can I set the buffer pool size in oracle 9i?
Thanks
JN

DB_CACHE_SIZE
Parameter type
Big integer
Syntax
DB_CACHE_SIZE = integer [K | M | G]
Default value
48 MB, rounded up to the nearest granule size
Parameter class
Dynamic: ALTER SYSTEM
DB_CACHE_SIZE specifies the size of the DEFAULT buffer pool for buffers with the primary block size (the block size defined by the DB_BLOCK_SIZE parameter).
The value must be at least the size of one granule (smaller values are automatically rounded up to the granule size). A value of zero is illegal because zero is the size of the DEFAULT pool for the standard block size, which is the block size for the SYSTEM tablespace.
[email protected]
Joel P๏ฟฝrez

Similar Messages

  • Buffer pool keep and multiple db block sizes

    I have a tablespace with 8k block size (database default) and a tablespace with 16k block size. I have db_cache_size and db_16k_cache_size set (obviously).
    Also i have buffer cache keep set in the database.
    Question: If a table is placed in a tablespace with 16k block size, and it's buffer pool is keep, does it end up in the keep pool (like tables from 8k tablsepace and keep pool set), or it ends in 16k buffer?

    You can find in the following online manual
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14220/memory.htm#i16408

  • Issue with shared pool size while upgrading from 10.2.0.4 to 11.2.0.2

    Hi Team,
    Below is my issue
    I am running dbua as part of the upgrade from 10.2.0.4 to 11.2.0.2. Its almost 59% and nothing is happening on the instance. The logs directory contian the below
    -bash-3.00$ ls -ltr
    total 280
    -rw-r----- 1 ora8014 ems8014 3662 Oct 16 08:58 upgrade.xml
    -rw-r----- 1 ora8014 ems8014 1127 Oct 16 09:00 Upgrade_Directive.log
    -rw-r----- 1 ora8014 ems8014 7452 Oct 16 09:00 mapfile.txt
    -rw-r----- 1 ora8014 ems8014 297 Oct 16 09:04 SpaceUsage.txt
    -rw-r----- 1 ora8014 ems8014 9803 Oct 16 09:04 PreUpgradeResults.html
    -rw-r----- 1 ora8014 ems8014 1572 Oct 16 09:06 PreUpgrade.log
    -rw-r----- 1 ora8014 ems8014 2850 Oct 16 09:06 Oracle_Text.log
    -rw-r----- 1 ora8014 ems8014 157816 Oct 16 09:09 trace.log
    -rw-r----- 1 ora8014 ems8014 71368 Oct 16 09:09 sqls.log
    -rw-r----- 1 ora8014 ems8014 339 Oct 16 09:09 Oracle_Server.log
    -bash-3.00$ date
    Sat Oct 16 22:54:27 PDT 2010
    -bash-3.00$ pwd
    /slot/ems8014/oracle/app/ora8014/cfgtoollogs/dbua/ebs11i10/upgrade1
    It seems its almost more 12 hrs nothing has happened. When I check the oracle_server.log it has the error
    -bash-3.00$ tail Oracle_Server.log
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    select count(*) from v$instance
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    ORA-00371: not enough shared pool memory, should be atleast 424463564 bytes
    Hence I started the Db in 10g oracle home to check and below is the details.
    SQL> select * from V$SGAINFO;
    NAME BYTES RES
    Fixed SGA Size 1267908 No
    Redo Buffers 11313152 No
    Buffer Cache Size 614400000 Yes
    Shared Pool Size 301989888 Yes
    Large Pool Size 8388608 Yes
    Java Pool Size 67108864 Yes
    Streams Pool Size 50331648 Yes
    Granule Size 4194304 No
    Maximum SGA Size 1056964608 No
    Startup overhead in Shared Pool 188743680 No
    Free SGA Memory Available 0
    11 rows selected.
    I tried to increase the space of shared pool as below
    SQL> ALTER SYSTEM SET shared_pool_size ='301M' SCOPE=MEMORY SID='ebs11i10';
    ALTER SYSTEM SET shared_pool_size ='301M' SCOPE=MEMORY SID='ebs11i10'
    ERROR at line 1:
    ORA-02097: parameter cannot be modified because specified value is invalid
    ORA-04033: Insufficient memory to grow pool
    I am stuck and cant proceed further. Could you please help me on this issue so that I overcome this and proceed further.
    Thanks
    Shyam.

    These are the logs. Could you please let me know which one you want.
    -bash-3.00$ pwd
    /slot/ems8014/oracle/app/ora8014/cfgtoollogs/dbua/ebs11i10/upgrade1
    -bash-3.00$ ls -ltr
    total 280
    -rw-r----- 1 ora8014 ems8014 3662 Oct 16 08:58 upgrade.xml
    -rw-r----- 1 ora8014 ems8014 1127 Oct 16 09:00 Upgrade_Directive.log
    -rw-r----- 1 ora8014 ems8014 7452 Oct 16 09:00 mapfile.txt
    -rw-r----- 1 ora8014 ems8014 297 Oct 16 09:04 SpaceUsage.txt
    -rw-r----- 1 ora8014 ems8014 9803 Oct 16 09:04 PreUpgradeResults.html
    -rw-r----- 1 ora8014 ems8014 1572 Oct 16 09:06 PreUpgrade.log
    -rw-r----- 1 ora8014 ems8014 2850 Oct 16 09:06 Oracle_Text.log
    -rw-r----- 1 ora8014 ems8014 157816 Oct 16 09:09 trace.log
    -rw-r----- 1 ora8014 ems8014 71368 Oct 16 09:09 sqls.log
    -rw-r----- 1 ora8014 ems8014 339 Oct 16 09:09 Oracle_Server.log

  • No free buffers available in buffer pool default

    We encounter this error ORA00379 No free buffers available in buffer pool default with one of our online transaction system.
    Initially, the errors occur once every 30 sec, and became less frequent (about twice a day) after the buffers has been increased to the size of Oracle's default medium size database.
    Currently, the system is under testing and we have 4 staffs using the same userid to send transactions. Furthermore the size of each transaction is about 3-5mb. Will these issues actually caused Oracle to run out of free buffer spaces?
    Please advise.
    Thankyou,

    Kenny
    I think your are running your server as dedicated server. Make it multi-threaded server if it is applicable. It will use the resources more efficiently. Otherwise, you have to set your pool size, prespawn, etc to their maximums.
    Regards

  • How to set the correct shared pool size and db_buffer_cache using awr

    Hi All,
    I want to how to set the correct size for shared_pool_size and db_cache_size using shared pool advisory and buffer pool advisory of awr report. I have paste the shared and buffer pool advisory of awr report.
    Shared Pool Advisory
    * SP: Shared Pool Est LC: Estimated Library Cache Factr: Factor
    * Note there is often a 1:Many correlation between a single logical object in the Library Cache, and the physical number of memory objects associated with it. Therefore comparing the number of Lib Cache objects (e.g. in v$librarycache), with the number of Lib Cache Memory Objects is invalid.
    Shared Pool Size(M)     SP Size Factr     Est LC Size (M)     Est LC Mem Obj     Est LC Time Saved (s)     Est LC Time Saved Factr     Est LC Load Time (s)     Est LC Load Time Factr     Est LC Mem Obj Hits (K)
    4,096     1.00     471     25,153     184,206     1.00     149     1.00     9,069
    4,736     1.16     511     27,328     184,206     1.00     149     1.00     9,766
    5,248     1.28     511     27,346     184,206     1.00     149     1.00     9,766
    5,760     1.41     511     27,346     184,206     1.00     149     1.00     9,766
    6,272     1.53     511     27,346     184,206     1.00     149     1.00     9,766
    6,784     1.66     511     27,346     184,206     1.00     149     1.00     9,766
    7,296     1.78     511     27,346     184,206     1.00     149     1.00     9,766
    7,808     1.91     511     27,346     184,206     1.00     149     1.00     9,766
    8,320     2.03     511     27,346     184,206     1.00     149     1.00     9,766
    Buffer Pool Advisory
    * Only rows with estimated physical reads >0 are displayed
    * ordered by Block Size, Buffers For Estimate
    P     Size for Est (M)     Size Factor     Buffers (thousands)     Est Phys Read Factor     Estimated Phys Reads (thousands)     Est Phys Read Time     Est %DBtime for Rds
    D     4,096     0.10     485     1.02     1,002     1     0.00
    D     8,192     0.20     970     1.00     987     1     0.00
    D     12,288     0.30     1,454     1.00     987     1     0.00
    D     16,384     0.40     1,939     1.00     987     1     0.00
    D     20,480     0.50     2,424     1.00     987     1     0.00
    D     24,576     0.60     2,909     1.00     987     1     0.00
    D     28,672     0.70     3,394     1.00     987     1     0.00
    D     32,768     0.80     3,878     1.00     987     1     0.00
    D     36,864     0.90     4,363     1.00     987     1     0.00
    D     40,960     1.00     4,848     1.00     987     1     0.00
    D     45,056     1.10     5,333     1.00     987     1     0.00
    D     49,152     1.20     5,818     1.00     987     1     0.00
    D     53,248     1.30     6,302     1.00     987     1     0.00
    D     57,344     1.40     6,787     1.00     987     1     0.00
    D     61,440     1.50     7,272     1.00     987     1     0.00
    D     65,536     1.60     7,757     1.00     987     1     0.00
    D     69,632     1.70     8,242     1.00     987     1     0.00
    D     73,728     1.80     8,726     1.00     987     1     0.00
    D     77,824     1.90     9,211     1.00     987     1     0.00
    D     81,920     2.00     9,696     1.00     987     1     0.00
    My shared pool size is 4gb and db_cache_size is 40Gb.
    Please help me in configuring the correct size for this.
    Thanks and Regards,

    Hi ,
    Actually batch load is taking too much time.
    Please find below the 1 hr awr report
         Snap Id     Snap Time     Sessions     Cursors/Session
    Begin Snap:     6557     27-Nov-11 16:00:06     126     1.3
    End Snap:     6558     27-Nov-11 17:00:17     130     1.6
    Elapsed:          60.17 (mins)          
    DB Time:          34.00 (mins)          
    Report Summary
    Cache Sizes
         Begin     End          
    Buffer Cache:     40,960M     40,960M     Std Block Size:     8K
    Shared Pool Size:     4,096M     4,096M     Log Buffer:     25,908K
    Load Profile
         Per Second     Per Transaction     Per Exec     Per Call
    DB Time(s):     0.6     1.4     0.00     0.07
    DB CPU(s):     0.5     1.2     0.00     0.06
    Redo size:     281,296.9     698,483.4          
    Logical reads:     20,545.6     51,016.4          
    Block changes:     1,879.5     4,667.0          
    Physical reads:     123.7     307.2          
    Physical writes:     66.4     164.8          
    User calls:     8.2     20.4          
    Parses:     309.4     768.4          
    Hard parses:     8.5     21.2          
    W/A MB processed:     1.7     4.3          
    Logons:     0.7     1.6          
    Executes:     1,235.9     3,068.7          
    Rollbacks:     0.0     0.0          
    Transactions:     0.4               
    Instance Efficiency Percentages (Target 100%)
    Buffer Nowait %:     100.00     Redo NoWait %:     100.00
    Buffer Hit %:     99.66     In-memory Sort %:     100.00
    Library Hit %:     99.19     Soft Parse %:     97.25
    Execute to Parse %:     74.96     Latch Hit %:     99.97
    Parse CPU to Parse Elapsd %:     92.41     % Non-Parse CPU:     98.65
    Shared Pool Statistics
         Begin     End
    Memory Usage %:     80.33     82.01
    % SQL with executions>1:     90.90     86.48
    % Memory for SQL w/exec>1:     90.10     86.89
    Top 5 Timed Foreground Events
    Event     Waits     Time(s)     Avg wait (ms)     % DB time     Wait Class
    DB CPU          1,789          87.72     
    db file sequential read     27,531     50     2     2.45     User I/O
    db file scattered read     26,322     30     1     1.47     User I/O
    row cache lock     1,798     20     11     0.96     Concurrency
    OJVM: Generic     36     15     421     0.74     Other
    Host CPU (CPUs: 24 Cores: 12 Sockets: )
    Load Average Begin     Load Average End     %User     %System     %WIO     %Idle
    0.58     1.50     2.8     0.7     0.1     96.6
    Instance CPU
    %Total CPU     %Busy CPU     %DB time waiting for CPU (Resource Manager)
    2.2     63.6     0.0
    Memory Statistics
         Begin     End
    Host Mem (MB):     131,072.0     131,072.0
    SGA use (MB):     50,971.4     50,971.4
    PGA use (MB):     545.5     1,066.3
    % Host Mem used for SGA+PGA:     39.30     39.70
    RAC Statistics
         Begin     End
    Number of Instances:     2     2
    Global Cache Load Profile
         Per Second     Per Transaction
    Global Cache blocks received:     3.09     7.68
    Global Cache blocks served:     1.86     4.62
    GCS/GES messages received:     78.64     195.27
    GCS/GES messages sent:     53.82     133.65
    DBWR Fusion writes:     0.52     1.30
    Estd Interconnect traffic (KB)     65.50     
    Global Cache Efficiency Percentages (Target local+remote 100%)
    Buffer access - local cache %:     99.65
    Buffer access - remote cache %:     0.02
    Buffer access - disk %:     0.34
    Global Cache and Enqueue Services - Workload Characteristics
    Avg global enqueue get time (ms):     0.0
    Avg global cache cr block receive time (ms):     1.7
    Avg global cache current block receive time (ms):     1.0
    Avg global cache cr block build time (ms):     0.0
    Avg global cache cr block send time (ms):     0.0
    Global cache log flushes for cr blocks served %:     1.4
    Avg global cache cr block flush time (ms):     0.9
    Avg global cache current block pin time (ms):     0.0
    Avg global cache current block send time (ms):     0.0
    Global cache log flushes for current blocks served %:     0.1
    Avg global cache current block flush time (ms):     0.0
    Global Cache and Enqueue Services - Messaging Statistics
    Avg message sent queue time (ms):     0.0
    Avg message sent queue time on ksxp (ms):     0.4
    Avg message received queue time (ms):     0.5
    Avg GCS message process time (ms):     0.0
    Avg GES message process time (ms):     0.0
    % of direct sent messages:     79.13
    % of indirect sent messages:     17.10
    % of flow controlled messages:     3.77
    Cluster Interconnect
         Begin      End
    Interface     IP Address     Pub     Source     IP     Pub     Src
    en9     10.51.10.61     N     Oracle Cluster Repository               
    Main Report
    * Report Summary
    * Wait Events Statistics
    * SQL Statistics
    * Instance Activity Statistics
    * IO Stats
    * Buffer Pool Statistics
    * Advisory Statistics
    * Wait Statistics
    * Undo Statistics
    * Latch Statistics
    * Segment Statistics
    * Dictionary Cache Statistics
    * Library Cache Statistics
    * Memory Statistics
    * Streams Statistics
    * Resource Limit Statistics
    * Shared Server Statistics
    * init.ora Parameters
    More RAC Statistics
    * RAC Report Summary
    * Global Messaging Statistics
    * Global CR Served Stats
    * Global CURRENT Served Stats
    * Global Cache Transfer Stats
    * Interconnect Stats
    * Dynamic Remastering Statistics
    Back to Top
    Statistic Name     Time (s)     % of DB Time
    sql execute elapsed time     1,925.20     94.38
    DB CPU     1,789.38     87.72
    connection management call elapsed time     99.65     4.89
    PL/SQL execution elapsed time     89.81     4.40
    parse time elapsed     46.32     2.27
    hard parse elapsed time     25.01     1.23
    Java execution elapsed time     21.24     1.04
    PL/SQL compilation elapsed time     11.92     0.58
    failed parse elapsed time     9.37     0.46
    hard parse (sharing criteria) elapsed time     8.71     0.43
    sequence load elapsed time     0.06     0.00
    repeated bind elapsed time     0.02     0.00
    hard parse (bind mismatch) elapsed time     0.01     0.00
    DB time     2,039.77     
    background elapsed time     122.00     
    background cpu time     113.42     
    Statistic     Value     End Value
    NUM_LCPUS     0     
    NUM_VCPUS     0     
    AVG_BUSY_TIME     12,339     
    AVG_IDLE_TIME     348,838     
    AVG_IOWAIT_TIME     221     
    AVG_SYS_TIME     2,274     
    AVG_USER_TIME     9,944     
    BUSY_TIME     299,090     
    IDLE_TIME     8,375,051     
    IOWAIT_TIME     6,820     
    SYS_TIME     57,512     
    USER_TIME     241,578     
    LOAD     1     2
    OS_CPU_WAIT_TIME     312,200     
    PHYSICAL_MEMORY_BYTES     137,438,953,472     
    NUM_CPUS     24     
    NUM_CPU_CORES     12     
    GLOBAL_RECEIVE_SIZE_MAX     1,310,720     
    GLOBAL_SEND_SIZE_MAX     1,310,720     
    TCP_RECEIVE_SIZE_DEFAULT     16,384     
    TCP_RECEIVE_SIZE_MAX     9,223,372,036,854,775,807     
    TCP_RECEIVE_SIZE_MIN     4,096     
    TCP_SEND_SIZE_DEFAULT     16,384     
    TCP_SEND_SIZE_MAX     9,223,372,036,854,775,807     
    TCP_SEND_SIZE_MIN     4,096     
    Back to Wait Events Statistics
    Back to Top
    Operating System Statistics - Detail
    Snap Time     Load     %busy     %user     %sys     %idle     %iowait
    27-Nov 16:00:06     0.58                         
    27-Nov 17:00:17     1.50     3.45     2.79     0.66     96.55     0.08
    Back to Wait Events Statistics
    Back to Top
    Foreground Wait Class
    * s - second, ms - millisecond - 1000th of a second
    * ordered by wait time desc, waits desc
    * %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
    * Captured Time accounts for 95.7% of Total DB time 2,039.77 (s)
    * Total FG Wait Time: 163.14 (s) DB CPU time: 1,789.38 (s)
    Wait Class     Waits     %Time -outs     Total Wait Time (s)     Avg wait (ms)     %DB time
    DB CPU               1,789          87.72
    User I/O     61,229     0     92     1     4.49
    Other     102,743     40     31     0     1.50
    Concurrency     3,169     10     24     7     1.16
    Cluster     58,920     0     11     0     0.52
    System I/O     45,407     0     6     0     0.29
    Configuration     107     7     1     5     0.03
    Commit     383     0     0     1     0.01
    Network     15,275     0     0     0     0.00
    Application     52     8     0     0     0.00
    Back to Wait Events Statistics
    Back to Top
    Foreground Wait Events
    * s - second, ms - millisecond - 1000th of a second
    * Only events with Total Wait Time (s) >= .001 are shown
    * ordered by wait time desc, waits desc (idle events last)
    * %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
    Event     Waits     %Time -outs     Total Wait Time (s)     Avg wait (ms)     Waits /txn     % DB time
    db file sequential read     27,531     0     50     2     18.93     2.45
    db file scattered read     26,322     0     30     1     18.10     1.47
    row cache lock     1,798     0     20     11     1.24     0.96
    OJVM: Generic     36     42     15     421     0.02     0.74
    db file parallel read     394     0     7     19     0.27     0.36
    control file sequential read     22,248     0     6     0     15.30     0.28
    reliable message     4,439     0     4     1     3.05     0.18
    gc current grant busy     7,597     0     3     0     5.22     0.16
    PX Deq: Slave Session Stats     2,661     0     3     1     1.83     0.16
    DFS lock handle     3,208     0     3     1     2.21     0.16
    direct path write temp     4,842     0     3     1     3.33     0.15
    library cache load lock     39     0     3     72     0.03     0.14
    gc cr multi block request     37,008     0     3     0     25.45     0.14
    IPC send completion sync     5,451     0     2     0     3.75     0.10
    gc cr block 2-way     4,669     0     2     0     3.21     0.09
    enq: PS - contention     3,183     33     1     0     2.19     0.06
    gc cr grant 2-way     5,151     0     1     0     3.54     0.06
    direct path read temp     1,722     0     1     1     1.18     0.05
    gc current block 2-way     1,807     0     1     0     1.24     0.03
    os thread startup     6     0     1     108     0.00     0.03
    name-service call wait     12     0     1     47     0.01     0.03
    PX Deq: Signal ACK RSG     2,046     50     0     0     1.41     0.02
    log file switch completion     3     0     0     149     0.00     0.02
    rdbms ipc reply     3,610     0     0     0     2.48     0.02
    gc current grant 2-way     1,432     0     0     0     0.98     0.02
    library cache pin     903     32     0     0     0.62     0.02
    PX Deq: reap credit     35,815     100     0     0     24.63     0.01
    log file sync     383     0     0     1     0.26     0.01
    Disk file operations I/O     405     0     0     0     0.28     0.01
    library cache lock     418     3     0     0     0.29     0.01
    kfk: async disk IO     23,159     0     0     0     15.93     0.01
    gc current block busy     4     0     0     35     0.00     0.01
    gc current multi block request     1,206     0     0     0     0.83     0.01
    ges message buffer allocation     38,526     0     0     0     26.50     0.00
    enq: FB - contention     131     0     0     0     0.09     0.00
    undo segment extension     8     100     0     6     0.01     0.00
    CSS initialization     8     0     0     6     0.01     0.00
    SQL*Net message to client     14,600     0     0     0     10.04     0.00
    enq: HW - contention     96     0     0     0     0.07     0.00
    CSS operation: action     8     0     0     4     0.01     0.00
    gc cr block busy     33     0     0     1     0.02     0.00
    latch free     30     0     0     1     0.02     0.00
    enq: TM - contention     49     6     0     0     0.03     0.00
    enq: JQ - contention     19     100     0     1     0.01     0.00
    SQL*Net more data to client     666     0     0     0     0.46     0.00
    asynch descriptor resize     3,179     100     0     0     2.19     0.00
    latch: shared pool     3     0     0     3     0.00     0.00
    CSS operation: query     24     0     0     0     0.02     0.00
    PX Deq: Signal ACK EXT     72     0     0     0     0.05     0.00
    KJC: Wait for msg sends to complete     269     0     0     0     0.19     0.00
    latch: object queue header operation     4     0     0     1     0.00     0.00
    gc cr block congested     5     0     0     0     0.00     0.00
    utl_file I/O     11     0     0     0     0.01     0.00
    enq: TO - contention     3     33     0     0     0.00     0.00
    SQL*Net message from client     14,600     0     219,478     15033     10.04     
    jobq slave wait     7,726     100     3,856     499     5.31     
    PX Deq: Execution Msg     10,556     19     50     5     7.26     
    PX Deq: Execute Reply     2,946     31     27     9     2.03     
    PX Deq: Parse Reply     3,157     35     3     1     2.17     
    PX Deq: Join ACK     2,976     28     2     1     2.05     
    PX Deq Credit: send blkd     7     14     0     4     0.00     
    Back to Wait Events Statistics
    Back to Top
    Background Wait Events
    * ordered by wait time desc, waits desc (idle events last)
    * Only events with Total Wait Time (s) >= .001 are shown
    * %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
    Event     Waits     %Time -outs     Total Wait Time (s)     Avg wait (ms)     Waits /txn     % bg time
    os thread startup     140     0     13     90     0.10     10.35
    db file parallel write     8,233     0     6     1     5.66     5.08
    log file parallel write     3,906     0     6     1     2.69     4.62
    log file sequential read     350     0     5     16     0.24     4.49
    control file sequential read     13,737     0     5     0     9.45     3.72
    DFS lock handle     2,990     27     2     1     2.06     1.43
    db file sequential read     921     0     2     2     0.63     1.39
    SQL*Net break/reset to client     18     0     1     81     0.01     1.19
    control file parallel write     2,455     0     1     1     1.69     1.12
    ges lms sync during dynamic remastering and reconfig     24     100     1     50     0.02     0.98
    library cache load lock     35     0     1     24     0.02     0.68
    ASM file metadata operation     3,483     0     1     0     2.40     0.65
    enq: CO - master slave det     1,203     100     1     0     0.83     0.46
    kjbdrmcvtq lmon drm quiesce: ping completion     9     0     1     62     0.01     0.46
    enq: WF - contention     11     0     0     35     0.01     0.31
    CGS wait for IPC msg     32,702     100     0     0     22.49     0.19
    gc object scan     28,788     100     0     0     19.80     0.15
    row cache lock     535     0     0     0     0.37     0.14
    library cache pin     370     55     0     0     0.25     0.12
    ksxr poll remote instances     19,119     100     0     0     13.15     0.11
    name-service call wait     6     0     0     19     0.00     0.10
    gc current block 2-way     304     0     0     0     0.21     0.09
    gc cr block 2-way     267     0     0     0     0.18     0.08
    gc cr grant 2-way     355     0     0     0     0.24     0.08
    ges LMON to get to FTDONE     3     100     0     24     0.00     0.06
    enq: CF - contention     145     76     0     0     0.10     0.05
    PX Deq: reap credit     8,842     100     0     0     6.08     0.05
    reliable message     126     0     0     0     0.09     0.05
    db file scattered read     19     0     0     3     0.01     0.05
    library cache lock     162     1     0     0     0.11     0.04
    latch: shared pool     2     0     0     27     0.00     0.04
    Disk file operations I/O     504     0     0     0     0.35     0.04
    gc current grant busy     148     0     0     0     0.10     0.04
    gcs log flush sync     84     0     0     1     0.06     0.04
    ges message buffer allocation     24,934     0     0     0     17.15     0.02
    enq: CR - block range reuse ckpt     83     0     0     0     0.06     0.02
    latch free     22     0     0     1     0.02     0.02
    CSS operation: action     13     0     0     2     0.01     0.02
    CSS initialization     4     0     0     6     0.00     0.02
    direct path read     1     0     0     21     0.00     0.02
    rdbms ipc reply     153     0     0     0     0.11     0.01
    db file parallel read     2     0     0     8     0.00     0.01
    direct path write     5     0     0     3     0.00     0.01
    gc current multi block request     49     0     0     0     0.03     0.01
    gc current block busy     5     0     0     2     0.00     0.01
    enq: PS - contention     24     50     0     0     0.02     0.01
    gc cr multi block request     54     0     0     0     0.04     0.01
    ges generic event     1     100     0     10     0.00     0.01
    gc current grant 2-way     35     0     0     0     0.02     0.01
    kfk: async disk IO     183     0     0     0     0.13     0.01
    Log archive I/O     3     0     0     2     0.00     0.01
    gc buffer busy acquire     2     0     0     3     0.00     0.00
    LGWR wait for redo copy     123     0     0     0     0.08     0.00
    IPC send completion sync     18     0     0     0     0.01     0.00
    enq: TA - contention     11     0     0     0     0.01     0.00
    read by other session     2     0     0     2     0.00     0.00
    enq: TM - contention     9     89     0     0     0.01     0.00
    latch: ges resource hash list     135     0     0     0     0.09     0.00
    PX Deq: Slave Session Stats     12     0     0     0     0.01     0.00
    KJC: Wait for msg sends to complete     89     0     0     0     0.06     0.00
    enq: TD - KTF dump entries     8     0     0     0     0.01     0.00
    enq: US - contention     7     0     0     0     0.00     0.00
    CSS operation: query     12     0     0     0     0.01     0.00
    enq: TK - Auto Task Serialization     6     100     0     0     0.00     0.00
    PX Deq: Signal ACK RSG     24     50     0     0     0.02     0.00
    log file single write     6     0     0     0     0.00     0.00
    enq: WL - contention     2     100     0     1     0.00     0.00
    ADR block file read     13     0     0     0     0.01     0.00
    ADR block file write     5     0     0     0     0.00     0.00
    latch: object queue header operation     1     0     0     1     0.00     0.00
    gc cr block busy     1     0     0     1     0.00     0.00
    rdbms ipc message     103,276     67     126,259     1223     71.03     
    PX Idle Wait     6,467     67     12,719     1967     4.45     
    wait for unread message on broadcast channel     7,240     100     7,221     997     4.98     
    gcs remote message     218,809     84     7,213     33     150.49     
    DIAG idle wait     203,228     95     7,185     35     139.77     
    shared server idle wait     121     100     3,630     30000     0.08     
    ASM background timer     3,343     0     3,611     1080     2.30     
    Space Manager: slave idle wait     723     100     3,610     4993     0.50     
    heartbeat monitor sleep     722     100     3,610     5000     0.50     
    ges remote message     73,089     52     3,609     49     50.27     
    dispatcher timer     66     88     3,608     54660     0.05     
    pmon timer     1,474     82     3,607     2447     1.01     
    PING     1,487     19     3,607     2426     1.02     
    Streams AQ: qmn slave idle wait     125     0     3,594     28754     0.09     
    Streams AQ: qmn coordinator idle wait     250     50     3,594     14377     0.17     
    smon timer     18     50     3,505     194740     0.01     
    JOX Jit Process Sleep     73     100     976     13370     0.05     
    class slave wait     56     0     605     10806     0.04     
    KSV master wait     2,215     98     1     0     1.52     
    SQL*Net message from client     109     0     0     2     0.07     
    PX Deq: Parse Reply     27     44     0     1     0.02     
    PX Deq: Join ACK     30     40     0     1     0.02     
    PX Deq: Execute Reply     20     30     0     0     0.01     
    Streams AQ: RAC qmn coordinator idle wait     259     100     0     0     0.18     
    Back to Wait Events Statistics
    Back to Top
    Wait Event Histogram
    * Units for Total Waits column: K is 1000, M is 1000000, G is 1000000000
    * % of Waits: value of .0 indicates value was <.05%; value of null is truly 0
    * % of Waits: column heading of <=1s is truly <1024ms, >1s is truly >=1024ms
    * Ordered by Event (idle events last)
              % of Waits
    Event     Total Waits     <1ms     <2ms     <4ms     <8ms     <16ms     <32ms     <=1s     >1s
    ADR block file read     13     100.0                                   
    ADR block file write     5     100.0                                   
    ADR file lock     6     100.0                                   
    ARCH wait for archivelog lock     3     100.0                                   
    ASM file metadata operation     3483     99.6     .1     .1                    .2     
    CGS wait for IPC msg     32.7K     100.0                                   
    CSS initialization     12     50.0                    50.0               
    CSS operation: action     21     28.6     9.5          61.9                    
    CSS operation: query     36     86.1     5.6     8.3                         
    DFS lock handle     6198     98.6     1.2     .1                    .1     
    Disk file operations I/O     909     95.7     3.6     .7                         
    IPC send completion sync     5469     99.9     .1     .0     .0                    
    KJC: Wait for msg sends to complete     313     100.0                                   
    LGWR wait for redo copy     122     100.0                                   
    Log archive I/O     3     66.7               33.3                    
    OJVM: Generic     36     55.6                              44.4     
    PX Deq: Signal ACK EXT     72     98.6     1.4                              
    PX Deq: Signal ACK RSG     2070     99.7               .0     .1     .0     .1     
    PX Deq: Slave Session Stats     2673     99.7     .2                         .1     .0
    PX Deq: reap credit     44.7K     100.0                                   
    SQL*Net break/reset to client     20     95.0                                   5.0
    SQL*Net message to client     14.7K     100.0                                   
    SQL*Net more data from client     32     100.0                                   
    SQL*Net more data to client     689     100.0                                   
    asynch descriptor resize     3387     100.0                                   
    buffer busy waits     2     100.0                                   
    control file parallel write     2455     96.6     2.2     .6     .6          .1          
    control file sequential read     36K     99.4     .3     .1     .1     .1     .1     .0     
    db file parallel read     397     8.8     .8     5.5     12.6     17.4     46.3     8.6     
    db file parallel write     8233     85.4     10.3     2.3     1.4     .4     .1          
    db file scattered read     26.3K     79.2     1.5     8.2     10.5     .6     .1     .0     
    db file sequential read     28.4K     60.2     3.3     18.0     18.1     .3     .1     .0     
    db file single write     2     100.0                                   
    direct path read     2     50.0                         50.0          
    direct path read temp     1722     95.8     2.8     .1     .5     .8     .1          
    direct path write     6     83.3                    16.7               
    direct path write temp     4842     96.3     2.7     .5     .2     .0     .0     .2     
    enq: AF - task serialization     1     100.0                                   
    enq: CF - contention     145     99.3     .7                              
    enq: CO - master slave det     1203     98.9     .8     .2                         
    enq: CR - block range reuse ckpt     83     100.0                                   
    enq: DR - contention     2     100.0                                   
    enq: FB - contention     131     100.0                                   
    enq: HW - contention     97     100.0                                   
    enq: JQ - contention     19     89.5     10.5                              
    enq: JS - job run lock - synchronize     3     100.0                                   
    enq: MD - contention     1     100.0                                   
    enq: MW - contention     2     100.0                                   
    enq: PS - contention     3207     99.5     .4     .1                         
    enq: TA - contention     11     100.0                                   
    enq: TD - KTF dump entries     8     100.0                                   
    enq: TK - Auto Task Serialization     6     100.0                                   
    enq: TM - contention     58     100.0                                   
    enq: TO - contention     3     100.0                                   
    enq: TQ - DDL contention     1     100.0                                   
    enq: TS - contention     1     100.0                                   
    enq: UL - contention     1     100.0                                   
    enq: US - contention     7     100.0                                   
    enq: WF - contention     11     81.8                              18.2     
    enq: WL - contention     2     50.0     50.0                              
    gc buffer busy acquire     2     50.0               50.0                    
    gc cr block 2-way     4934     99.9     .1                    .0     .0     
    gc cr block busy     35     68.6     31.4                              
    gc cr block congested     6     100.0                                   
    gc cr disk read     2     100.0                                   
    gc cr grant 2-way     4824     100.0     .0                              
    gc cr grant congested     2     100.0                                   
    gc cr multi block request     37.1K     99.8     .2     .0     .0     .0     .0     .0     
    gc current block 2-way     2134     99.9     .0                         .0     
    gc current block busy     7     14.3     14.3          14.3          28.6     28.6     
    gc current block congested     2     100.0                                   
    gc current grant 2-way     1337     99.9     .1                              
    gc current grant busy     7123     99.2     .2     .2     .0     .0     .3     .1     
    gc current grant congested     2     100.0                                   
    gc current multi block request     1260     99.8     .2                              
    gc object scan     28.8K     100.0                                   
    gcs log flush sync     65     95.4          3.1     1.5                    
    ges LMON to get to FTDONE     3                              100.0          
    ges generic event     1                         100.0               
    ges inquiry response     2     100.0                                   
    ges lms sync during dynamic remastering and reconfig     24                         16.7     29.2     54.2     
    ges message buffer allocation     63.1K     100.0                                   
    kfk: async disk IO     23.3K     100.0     .0     .0                         
    kjbdrmcvtq lmon drm quiesce: ping completion     9     11.1                              88.9     
    ksxr poll remote instances     19.1K     100.0                                   
    latch free     52     59.6     40.4                              
    latch: call allocation     2     100.0                                   
    latch: gc element     1     100.0                                   
    latch: gcs resource hash     1     100.0                                   
    latch: ges resource hash list     135     100.0                                   
    latch: object queue header operation     5     40.0     40.0     20.0                         
    latch: shared pool     5     40.0                    20.0     20.0     20.0     
    library cache load lock     74     9.5     5.4     8.1     17.6     10.8     13.5     35.1     
    library cache lock     493     99.2     .4     .4                         
    library cache pin     1186     98.4     .3     1.2     .1                    
    library cache: mutex X     6     100.0                                   
    log file parallel write     3897     72.9     1.5     17.1     7.5     .6     .3     .1     
    log file sequential read     350     4.6               3.1     59.4     30.0     2.9     
    log file single write     6     100.0                                   
    log file switch completion     3                         33.3          66.7     
    log file sync     385     90.4     3.6     4.7     .8     .5               
    name-service call wait     18          5.6     5.6     5.6     16.7     44.4     22.2     
    os thread startup     146                                   100.0     
    rdbms ipc reply     3763     99.7     .3                              
    read by other session     2     50.0          50.0                         
    reliable message     4565     99.7     .2     .0               .0     .1     
    row cache lock     2334     99.3     .2     .1                    .1     .3
    undo segment extension     8     50.0                    37.5     12.5          
    utl_file I/O     11     100.0                                   
    ASM background timer     3343     57.0     .3     .1     .1     .1          21.1     21.4
    DIAG idle wait     203.2K     3.4     .2     .4     18.0     41.4     14.8     21.8     
    JOX Jit Process Sleep     73                                   2.7     97.3
    KSV master wait     2213     99.4     .1     .2                    .3     
    PING     1487     81.0                                   19.0
    PX Deq Credit: send blkd     7     57.1          14.3     14.3          14.3          
    PX Deq: Execute Reply     2966     59.8     .8     9.5     5.6     10.2     2.6     11.4     
    PX Deq: Execution Msg     10.6K     72.4     12.1     2.6     2.5     .1     5.6     4.6     .0
    PX Deq: Join ACK     3006     77.9     22.1     .1                         
    PX Deq: Parse Reply     3184     67.1     31.1     1.6     .2                    
    PX Idle Wait     6466     .2     8.7     4.3     4.8     .3     .1     5.0     76.6
    SQL*Net message from client     14.7K     72.4     2.8     .8     .5     .9     .4     2.8     19.3
    Space Manager: slave idle wait     722                                        100.0
    Streams AQ: RAC qmn coordinator idle wait     259     100.0                                   
    Streams AQ: qmn coordinator idle wait     250     50.0                                   50.0
    Streams AQ: qmn slave idle wait     125                                        100.0
    class slave wait     55     67.3          7.3     1.8     5.5     1.8     7.3     9.1
    dispatcher timer     66     6.1                                   93.9
    gcs remote message     218.6K     7.7     1.8     1.2     1.6     1.7     15.7     70.3     
    ges remote message     72.9K     29.7     5.1     2.7     2.2     1.5     4.0     54.7     
    heartbeat monitor sleep     722                                        100.0
    jobq slave wait     7725                    .1          .0     99.9     
    pmon timer     1474     18.4                                   81.6
    rdbms ipc message     103.3K     20.7     2.7     1.5     1.3     .9     .7     40.7     31.6
    shared server idle wait     121                                        100.0
    smon timer     18                                        100.0
    wait for unread message on broadcast channel     7238                         .3          99.7     
    Back to Wait Events Statistics
    Back to Top
    Wait Event Histogram Detail (64 msec to 2 sec)
    * Units for Total Waits column: K is 1000, M is 1000000, G is 1000000000
    * Units for % of Total Waits: ms is milliseconds s is 1024 milliseconds (approximately 1 second)
    * % of Total Waits: total waits for all wait classes, including Idle
    * % of Total Waits: value of .0 indicates value was <.05%; value of null is truly 0
    * Ordered by Event (only non-idle events are displayed)
              % of Total Waits
    Event     Waits 64ms to 2s     <32ms     <64ms     <1/8s     <1/4s     <1/2s     <1s     <2s     >=2s
    ASM file metadata operation     6     99.8          .1     .1                    
    DFS lock handle     6     99.9               .1     .0               
    OJVM: Generic     16     55.6               2.8          41.7          
    PX Deq: Signal ACK RSG     3     99.9     .0     .1                         
    PX Deq: Slave Session Stats     3     99.9          .0               .0     .0     
    SQL*Net break/reset to client     1     95.0                              5.0     
    control file sequential read     1     100.0          .0                         
    db file parallel read     34     91.4     8.6                              
    db file scattered read     4     100.0     .0          .0                    
    db file sequential read     6     100.0     .0     .0     .0                    
    direct path write temp     11     99.8     .1     .1     .0                    
    enq: WF - contention     2     81.8               18.2                    
    gc cr block 2-way     1     100.0          .0                         
    gc cr multi block request     1     100.0          .0                         
    gc current block 2-way     1     100.0     .0                              
    gc current block busy     2     71.4     28.6                              
    gc current grant busy     8     99.9     .0     .1                         
    ges lms sync during dynamic remastering and reconfig     13     45.8     20.8     33.3                         
    kjbdrmcvtq lmon drm quiesce: ping completion     8     11.1     11.1     77.8                         
    latch: shared pool     1     80.0     20.0                              
    library cache load lock     26     64.9     14.9     12.2     4.1     4.1               
    log file parallel write     2     99.9     .0               .0               
    log file sequential read     10     97.1     2.0     .6     .3                    
    log file switch completion     2     33.3               66.7                    
    name-service call wait     4     77.8          22.2                         
    os thread startup     146               100.0                         
    reliable message     4     99.9          .0               .1          
    row cache lock     2     99.7                    .0     .0          .3
    Back to Wait Events Statistics
    Back to Top
    Wait Event Histogram Detail (4 sec to 2 min)
    * Units for Total Waits column: K is 1000, M is 1000000, G is 1000000000
    * Units for % of Total Waits: s is 1024 milliseconds (approximately 1 second) m is 64*1024 milliseconds (approximately 67 seconds or 1.1 minutes)
    * % of Total Waits: total waits for all wait classes, including Idle
    * % of Total Waits: value of .0 indicates value was <.05%; value of null is truly 0
    * Ordered by Event (only non-idle events are displayed)
              % of Total Waits
    Event     Waits 4s to 2m     <2s     <4s     <8s     <16s     <32s     < 1m     < 2m     >=2m
    row cache lock     6     99.7     .3                              
    Back to Wait Events Statistics
    Back to Top
    Wait Event Histogram Detail (4 min to 1 hr)
    No data exists for this section of the report.
    Back to Wait Events Statistics
    Back to Top
    Service Statistics
    * ordered by DB Time
    Service Name     DB Time (s)     DB CPU (s)     Physical Reads (K)     Logical Reads (K)
    ubshost     1,934     1,744     445     73,633
    SYS$USERS     105     45     1     404
    SYS$BACKGROUND     0     0     1     128
    ubshostXDB     0     0     0     0
    Back to Wait Events Statistics
    Back to Top
    Service Wait Class Stats
    * Wait Class info for services in the Service Statistics section.
    * Total Waits and Time Waited displayed for the following wait classes: User I/O, Concurrency, Administrative, Network
    * Time Waited (Wt Time) in seconds
    Service Name     User I/O Total Wts     User I/O Wt Time     Concurcy Total Wts     Concurcy Wt Time     Admin Total Wts     Admin Wt Time     Network Total Wts     Network Wt Time
    ubshost      60232     90     2644     4     0     0     13302     0
    SYS$USERS      997     2     525     19     0     0     1973     0
    SYS$BACKGROUND      1456     2     1258     14     0     0     0     0
    I am not able to paste the whole awr report. I have paste some of the sections of awr report.
    Please help.
    Thanks and Regards,

  • Db_keep_cache_size shows 0 when i keep object in KEEP buffer pool !

    Dear Frineds ,
    I use Oracle 10g . Form the oracle 10g documentaiton, I get the following information regarding ASMM (Automatic Shared Memory Management) :
    The following pools are manually sized components and are not affected by Automatic Shared Memory Management:
    Log buffer
    Other buffer caches (such as KEEP, RECYCLE, and other non-default block size)
    Fixed SGA and other internal allocations
    Now plz see the following examle :
    1) SQL> select sum(bytes)/1024/1024 " SGA size used in MB" from v$sgastat where name!='free memory';
    SGA size used in MB
    247.09124
    2) SQL> show parameter keep_
    NAME TYPE VALUE
    db_keep_cache_size big integer 0 (Here db_keep_cache_size is 0 )
    3) Now I keep the scott's dept table to KEEP cache :
    SQL> select owner,segment_type,segment_name,buffer_pool from dba_segments where buffer_pool != 'DEFAULT';
    no rows selected
    SQL> alter table scott.dept storage(BUFFER_POOL KEEP);
    Table altered.
    SQL> select owner,segment_type,segment_name,buffer_pool from dba_segments where buffer_pool != 'DEFAULT';
    OWNER SEGMENT_TYPE SEGMENT_NAME
    SCOTT TABLE DEPT
    4)
    After doing this , I have to see the following parameter :
    SQL> show parameter keep
    NAME TYPE VALUE
    db_keep_cache_size big integer 0
    SQL> select sum(bytes)/1024/1024 " SGA size used in MB" from v$sgastat where name!='free memory';
    SGA size used in MB
    246.76825
    Here I see that my sga is used but "db_keep_cache_size" still shows the '0' .
    Can u plz explain why this parameter value shows '0' now ?
    Thx in advance ... ...

    Hi,
    I am not sure I have understood the question fully but if you are trying to monitor usage of the buffer pools you should use some of the dynamic views like in the example query below. If this is not what you are interested in let me know.
    SELECT NAME, BLOCK_SIZE, SUM(BUFFERS)
    FROM V$BUFFER_POOL
    GROUP BY NAME, BLOCK_SIZE
    HAVING SUM(BUFFERS) > 0;

  • How to configure params for buffer pool for named data cache?

    when create a named data cache on ase 12.5, it will setup 2K I/O buffer pool by default with Configured size=0, wash size = 60M
    1. if 2K can be changed to 8K for this buffer pool?
    2. If add another 16k buffer pool, should Affected Pool be changed to the right pool?
    3. How to decide then pagesize, configured size and wash size for a buffer pool? Are they part of total memory size allocated for this cache?

    > 1. if 2K can be changed to 8K for this buffer pool?
    You should be able to create an 8K i/o pool, then drop the 2k pool by setting its size to 0.
    > 2. If add another 16k buffer pool, should Affected Pool be changed to the right pool?
    If you don't specify the Affected Pool (when calling sp_poolconfig), the procedure uses the pool with the smallest i/o.ย  So if you had an 8k but not had dropped the 2k, the space for the new 16k pool would come from the 8k pool.
    > 3. How to decide then pagesize, configured size and wash size for a buffer pool? Are they part of total memory size allocated for this cache?
    The wash is included in the pool. I don't think it usually needs to be adjusted.
    Which page size pools to have will depend on how the cache is used.ย  Tables with a clustered index that have a lot of range queries will benefit from larger page size pools, as will text/image/java.ย ย  Syslogs is said to do well on a 4k pool.
    -bret

  • How to calculate the shared pool size ..........

    Does anyone know if there is a decent algorithm/method to calculate the shared pool size in Oracle 8.1.7.

    look my answer on your thread about db cache size
    How to Calculate the DB Block Buffer value.

  • MULTIPLE BUFFER POOL์˜ ๊ฐœ๋… ๋ฐ ์‚ฌ์šฉ ๋ฐฉ๋ฒ• (ORACLE8)

    ์ œํ’ˆ : ORACLE SERVER
    ์ž‘์„ฑ๋‚ ์งœ : 1999-05-13
    Multiple Buffer Pool์˜ ๊ฐœ๋… ๋ฐ ์‚ฌ์šฉ ๋ฐฉ๋ฒ•
    1. ํ•„์š”์„ฑ
    table์ด๋‚˜ index ๋“ฑ segment๋Š” ๊ทธ ์‚ฌ์šฉ ๋นˆ๋„๋‚˜ ์ค‘์š”๋„ ๋“ฑ์— ๋”ฐ๋ผ memory์—
    buffering๋˜๋Š” ๊ฒƒ์„ ๋‹ฌ๋ฆฌ ํ•  ํ•„์š”๊ฐ€ ์žˆ๋‹ค. Oracle8์—์„œ๋Š” buffer cache์— ๋Œ€ํ•ด์„œ
    multiple buffer pool์ด๋ผ๋Š” ์ƒˆ๋กœ์šด ํŠน์„ฑ์˜ ๊ฐœ๋…์„ ์ œ๊ณตํ•˜์—ฌ segment๋งˆ๋‹ค ๋‹ค๋ฅธ
    buffer๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋„๋ก ํ•˜๊ณ  ์žˆ๋‹ค.
    multiple buffer pool์€ 'keep', 'recycle', ๊ทธ๋ฆฌ๊ณ  'default' buffer pool๋กœ
    ๊ตฌ์„ฑ๋˜๋ฉฐ, ์ด๊ฒƒ์„ controlํ•˜๊ธฐ ์œ„ํ•œ internal algorithm์€ ํ•˜๋‚˜์˜ buffer pool์„
    ์‚ฌ์šฉํ•  ๋•Œ์™€ ๋Œ€๋ถ€๋ถ„ ๋งˆ์ฐฌ๊ฐ€์ง€๋‹ค. ์ฆ‰, ๊ธฐ์กด์˜ CACHE option์ด๋‚˜ full table scan ์‹œ
    LRU end์— ์œ„์น˜์‹œํ‚ค๋Š” ๊ฒƒ ๋“ฑ์€ ๋ชจ๋‘ ๋ณ€ํ•จ์ด ์—†์œผ๋ฉฐ, ๋‹จ์ง€ ๊ทธ๋Ÿฌํ•œ ๊ธฐ๋ฒ•๋“ค์ด ๊ฐ
    buffer๋งˆ๋‹ค ๋ณ„๋„๋กœ ์ ์šฉ๋œ๋‹ค๋Š” ๊ฒƒ ๋ฟ์ด๋‹ค.
    2. buffer์˜ ์ข…๋ฅ˜
    multiple buffer pool์˜ ์ฃผ์š” ๋ชฉ์ ์€ ์„œ๋กœ ๋‹ค๋ฅธ ํ˜•ํƒœ๋กœ ์‚ฌ์šฉ๋˜๋Š” ๊ฒƒ์„ ๋‚˜๋ˆ„์–ด ๋†“
    ์•„ ์„œ๋กœ ๋ฐฉํ•ด๊ฐ€ ๋˜์ง€ ์•Š๋„๋ก ํ•˜๋Š” ๊ฒƒ์œผ๋กœ ์ •๋ฆฌํ•  ์ˆ˜ ์žˆ์œผ๋ฉฐ, ๊ฐ๊ฐ ๋‹ค์Œ๊ณผ ๊ฐ™์€
    ๊ฒฝ์šฐ์— ์‚ฌ์šฉํ•˜๋„๋ก ํ•œ๋‹ค.
    (1) KEEP buffer pool : ๊ฐ€๋Šฅํ•œ ํ•œ memory์— ์˜ค๋žซ๋™์•ˆ ์œ ์ง€๋˜์–ด์ ธ์•ผ ํ•˜๋Š”
    segment๋ฅผ ์œ„ํ•ด ์‚ฌ์šฉ๋˜์–ด์ ธ์•ผ ํ•œ๋‹ค. ์ž์ฃผ ์‚ฌ์šฉ๋˜์–ด์ง€๊ณ  cache size์˜ ์•ฝ 10%
    ์ „ํ›„์˜ ํฌ๊ธฐ๋ฅผ ๊ฐ€์ง„ segment๊ฐ€ ์ด pool์„ ์‚ฌ์šฉํ•˜๊ธฐ์— ์ ๋‹นํ•˜๋‹ค.
    ๊ทธ๋Ÿฌ๋‚˜, ์—ฌ๊ธฐ์—์„œ๋„ Oracle7.3์˜ CACHE option๊ณผ ๋งˆ์ฐฌ๊ฐ€์ง€๋กœ ์ƒˆ๋กœ์ด access
    ๋˜๋Š” segment์— ์˜ํ•ด LRU end ์ชฝ์œผ๋กœ ์ด๋™ํ•˜๋Š” ๊ฒƒ์ด ๊ฐ€๋Šฅํ•˜๋ฏ€๋กœ ํ•ญ์ƒ cache
    ๋œ๋‹ค๊ณ  ๋ณด์žฅํ•  ์ˆ˜๋Š” ์—†๋‹ค.
    ์ ๋‹นํ•œ ํฌ๊ธฐ๋กœ ์ง€์ •ํ•˜๋Š” ๊ฒƒ์ด ์ค‘์š”ํ•œ๋ฐ ๋‹น์—ฐํžˆ, ๋™์‹œ์— memory์— ์˜ฌ๋ ค์ง€๊ธฐ๋ฅผ
    ๋ฐ”๋ผ๋Š” object๋“ค์˜ ํฌ๊ธฐ์˜ ํ•ฉ๋ณด๋‹ค๋Š” ์ปค์•ผ ํ•œ๋‹ค.
    (2) RECYCLE buffer pool : ์ž์ฃผ ์‚ฌ์šฉ๋˜์–ด์ง€์ง€ ์•Š๊ฑฐ๋‚˜, buffer pool์˜ ๋‘๋ฐฐ๋ณด๋‹ค
    ํฐ ์ •๋„์˜ ํฐ segment๊ฐ€ index search๋ฅผ ํ•˜๋Š” ์ž‘์—… ๋“ฑ์— ์‚ฌ์šฉ๋˜์–ด์ง€๋„๋ก ํ•œ๋‹ค.
    (3) DEFAULT buffer pool : ์œ„์˜ ๋‘ buffer pool์— ํ• ๋‹น๋˜์ง€ ์•Š์€ ๋‚˜๋จธ์ง€๋Š”
    default buffer pool์ด ๋œ๋‹ค. ๊ทธ๋Ÿฌ๋ฏ€๋กœ KEEP์ด๋‚˜ RECYCLE buffer pool์€
    ์—†์–ด๋„ ๋ฐ˜๋“œ์‹œ default buffer pool์€ ์กด์žฌํ•˜๊ฒŒ ๋œ๋‹ค.
    ์ด buffer pool์€ Oracle7์˜ ํ•˜๋‚˜์˜ buffer pool๊ณผ ๊ฐ™๋‹ค.
    3. buffer pool์„ ์„ค์ •ํ•˜๋Š” ๋ฐฉ๋ฒ•
    ์ด๋Ÿฌํ•œ ์ข…๋ฅ˜์˜ buffer pool์„ ์ง€์ •ํ•˜๊ธฐ ์œ„ํ•ด์„œ BUFFER_POOL_KEEP๊ณผ
    BUFFER_POOL_RECYCLE์ด๋ผ๋Š” parameter๊ฐ€ ์กด์žฌํ•˜๋ฉฐ, DB_BLOCK_BUFFERS
    ์™€ DB_BLOCK_LRU_LATCHES parameter๋„ ํ•จ๊ป˜ ๊ณ ๋ คํ•˜์—ฌ์•ผ ํ•œ๋‹ค.
    syntax๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™๋‹ค.
    BUFFER_POOL_KEEP=(buffers:<value>,lru_latches:<value>) ํ˜น์€
    BUFFER_POOL_KEEP=<value>
    BUFFER_POOL_RECYCLE=(buffers:<value>,lru_latches:<value>) ํ˜น์€
    BUFFER_POOL_RECYCLE=<value>
    ์œ„์˜ syntax์—์„œ ๋ณด๋Š” ๋ฐ”์™€ ๊ฐ™์ด ๊ฐ pool์— ๋Œ€ํ•ด์„œ buffer์˜ ๊ฐฏ์ˆ˜ ๋ฟ ์•„๋‹ˆ๋ผ
    LRU latch์˜ ๊ฐฏ์ˆ˜๋„ ์ง€์ •ํ•  ์ˆ˜ ์žˆ๋‹ค. ๋งŒ์•ฝ ์ง€์ •ํ•˜์ง€ ์•Š์œผ๋ฉด ๊ทธ pool์— ๋Œ€ํ•ด์„œ
    ํ•˜๋‚˜์˜ latch๊ฐ€ ํ• ๋‹น๋˜๋Š” ๊ฒƒ์ด๋‹ค.
    DEFAULT pool์— ๋Œ€ํ•ด์„œ๋Š” ๋ช…์‹œ์ ์œผ๋กœ block์˜ ๊ฐฏ์ˆ˜๋‚˜ latch์˜ ๊ฐฏ์ˆ˜๋ฅผ ์ง€์ •ํ• 
    ์ˆ˜ ์—†๊ณ , ๋Œ€์‹  ์ „์ฒด block์˜ ๊ฐฏ์ˆ˜ (DB_BLOCK_BUFFERS)์™€ ์ „์ฒด LRU latch์˜
    ๊ฐฏ์ˆ˜ (DB_BLOCK_LRU_LATCHES)์—์„œ KEEP๊ณผ RECYCLE์— ํ• ๋‹น๋œ ๊ฐ๊ฐ์˜
    ๊ฐ’์„ ๋บ€ ๊ฒƒ๋งŒํผ default pool์— ํ• ๋‹น๋œ๋‹ค.
    ๊ฐ„๋‹จํ•œ ์˜ˆ์ œ๋กœ ์„ค๋ช…ํ•˜๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™๋‹ค.
    ์˜ˆ๋ฅผ ๋“ค์–ด initSID.ora file์— ๋‹ค์Œ๊ณผ ๊ฐ™์ด parameter๊ฐ€ ์„ค์ •๋˜์–ด ์žˆ๋‹ค๊ณ  ๊ฐ€์ •ํ•œ๋‹ค.
    DB_BLOCK_BUFFERS=1000
    DB_BLOCK_LRU_LATCHES=6
    BUFFER_POOL_KEEP=(buffers:400,lru_latches:2)
    BUFFER_POOL_RECYCLE=100
    ์ด๋Ÿฌํ•œ ๊ฒฝ์šฐ KEEP pool์— ๋Œ€ํ•ด์„œ๋Š” 400๊ฐœ์˜ block๊ณผ 2๊ฐœ์˜ LRU latch๊ฐ€ ํ• ๋‹น
    ๋˜๊ณ  RECYCLE pool์—๋Š” 100๊ฐœ์˜ block๊ณผ 1๊ฐœ์˜ LRU latch๊ฐ€ ํ• ๋‹น๋œ๋‹ค. ๊ทธ๋ฆฌ
    ๊ณ  DEFAULT pool์—๋Š” 500 (1000-400-100) ๊ฐœ์˜ block๊ณผ 3 (6-2-1)๊ฐœ์˜ LRU latch
    ๊ฐ€ ํ• ๋‹น๋˜๊ฒŒ ๋œ๋‹ค.
    ๊ฐ LRU queue์— ๋Œ€ํ•ด์„œ block์€ ๊ท ๋“ฑํ•˜๊ฒŒ ๋ฐฐ๋ถ„๋œ๋‹ค.
    ์ฆ‰, ์ด ์˜ˆ์—์„œ DEFAULT queue๋Š” LRU 1๋ฒˆ์ด 167๊ฐœ์˜ block์„ LRU2๋„ 167๊ฐœ, ๊ทธ๋ฆฌ
    ๊ณ  LRU3์€ 166๊ฐœ์˜ block์„ ๊ฐ€์ง€๊ฒŒ ๋˜๋ฉฐ, KEEP queue๋Š” ๋‘๊ฐœ์˜ latch๊ฐ€ ๊ฐ๊ฐ
    200๊ฐœ์”ฉ์˜ block์„ ๊ทธ๋ฆฌ๊ณ  RECYCLE queue๋Š” 100๊ฐœ์˜ block์„ ๊ฐ€์ง€๊ฒŒ ๋œ๋‹ค.
    ์ด๋Ÿฌํ•œ ์ •๋ณด๋Š” v$buffer_pool์„ ํ†ตํ•ด ํ™•์ธ์ด ๊ฐ€๋Šฅํ•˜๋ฉฐ,
    ์ด ์˜ˆ์˜ ๊ฒฝ์šฐ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์กฐํšŒ๋œ๋‹ค. ์—ฌ๊ธฐ์—์„œ set_count๊ฐ€ ๊ฐ pool์— ํ• ๋‹น๋œ
    latch์˜ ๊ฐฏ์ˆ˜์ด๋ฉฐ, lo_bnum๊ณผ hi_bnum์ด buffer์˜ range์ด๋‹ค.
    SQL> select * from v$buffer_pool;
    NAME      LO_SETID HI_SETID SET_COUNT BUFFERS LO_BNUM HI_BNUM
         0 0 0 0 0 0
    KEEP 4 5 2 400 0 399
    RECYCLE 6 6 1 100 400 499
    DEFAULT 1 3 3      500 500 999
    ๊ฐ queue๋Š” ์ตœ์†Œ 50๊ฐœ์˜ block์€ ํ• ๋‹น๋ฐ›์•„์•ผ ํ•˜๋ฉฐ, ๊ทธ๋ ‡์ง€ ์•Š์€ ๊ฒฝ์šฐ์—๋Š” ์˜ค๋ฅ˜
    ๊ฐ€ ๋ฐœ์ƒํ•œ๋‹ค. ์ฆ‰ ์˜ˆ๋ฅผ ๋“ค์–ด, BUFFER_POOL_KEEP=(buffers:100, lru_latches:3)๊ณผ
    ๊ฐ™์ด ์„ค์ •ํ•˜๋ฉด alert.log file์— "Incorrect parameter specification for
    BUFFER_POOL_KEEP"์ด๋ผ๋Š” ์˜ค๋ฅ˜ ๋ฉ”์‹œ์ง€๊ฐ€ ์ ํžˆ๊ฒŒ ๋˜๋ฉฐ, 100๊ฐœ์˜ block์— ๋Œ€ํ•ด์„œ
    ์ตœ๋Œ€ ๋‘๊ฐœ์˜ LRU latch๋งŒ์ด ๊ฐ€๋Šฅํ•˜๊ฒŒ ๋œ๋‹ค.
    4. buffer pool์„ ์ง€์ •ํ•˜๋Š” ๋ฐฉ๋ฒ•
    BUFFER_POOL์ด๋ผ๋Š” Oracle8์—์„œ ์ƒˆ๋กœ ์ถ”๊ฐ€๋œ storage ์ ˆ์˜ parameter๋ฅผ ์ด์šฉ
    ํ•˜์—ฌ segment๊ฐ€ ์‚ฌ์šฉํ•  default pool์„ ์ง€์ •ํ•  ์ˆ˜ ์žˆ๋‹ค. segment์˜ ๋ชจ๋“  block์€
    ์ง€์ •๋œ pool์„ ์‚ฌ์šฉํ•˜๊ฒŒ ๋˜๋ฉฐ, ์•„๋ž˜์˜ ์˜ˆ์ œ์™€ ๊ฐ™์ด ์‚ฌ์šฉํ•˜๋ฉด ๋œ๋‹ค.
    CREATE TABLE keep_table(t NUMBER(10)) STORAGE (BUFFER_POOL KEEP);
    ALTER TABLE recycle_table storage(BUFFER_POOL RECYCLE);
    BUFFER_POOL์€ tablespace๋‚˜ rollback segment์— ๋Œ€ํ•ด์„œ๋Š” ์ง€์ •ํ•  ์ˆ˜ ์—†์œผ๋ฉฐ,
    clustered table์— ๋Œ€ํ•ด์„œ๋Š” cluster level์—์„œ๋งŒ ์ง€์ •์ด ๊ฐ€๋Šฅํ•˜๋‹ค. partition
    table์— ๋Œ€ํ•ด์„œ๋Š” ๊ฐ partition๋ณ„๋กœ pool์„ ์ง€์ •ํ•˜๋Š” ๊ฒƒ์ด ๊ฐ€๋Šฅํ•˜๋‹ค.
    ์ผ๋‹จ segments๊ฐ€ ์ ๋‹นํ•œ pool์— ํ• ๋‹น์ด ๋˜๊ณ  ๋‚œ ํ›„์—๋Š”, logical hit ratio๋‚˜
    free buffer waits์™€ ๊ฐ™์€ ๋‹ค์–‘ํ•œ ํ†ต๊ณ„ ์ •๋ณด๊ฐ€ ํ™•์ธ ๊ฐ€๋Šฅํ•˜๋‹ค.
    ์ด๋Ÿฌํ•œ ํ†ต๊ณ„ ์ •๋ณด๋ฅผ ๋‹ด๊ณ  ์žˆ๋Š” view๋Š” v$buffer_pool_statistics์ด๋ฉฐ,
    ์ด view๋Š” $ORACLE_HOME/rdbms/admin/catperf.sql์„ ์ˆ˜ํ–‰ํ•˜๋ฉด ์ƒ์„ฑ๋œ๋‹ค.

  • Buffer pool Cache is two low .

    Dear Experts ,
    All of the sudden the producation database buffer pool cacheing had fallen down to 35 %
    select
    100*(1 - (v3.value / (v1.value + v2.value))) "Cache Hit Ratio [%]"
    from
    v$sysstat v1, v$sysstat v2, v$sysstat v3
    where
    v1.name = 'db block gets' and
    v2.name = 'consistent gets' and
    v3.name = 'physical reads';
    When i run this script i am getting '93.9% hit
    but
    select name,100 - round ((physical_reads/(db_block_gets+consistent_gets))*1
    "hit ratio" from v$buffer_pool_statistics;
    NAME hit ratio
    DEFAULT 34.87
    my hit ratio is also about 93% but sudden my database perforamce gone very low .
    please advise your valuable suggestion .

    > {quote:title=user640913 wrote:}{quote}
    > Thanks for the Response .
    > My DB version 10.2.0.4  on AIX 5.3
    >
    > there are some lending users . that cause this please help me how to find the stmt that making a troble and to solve it .
    > i am copyiing  the AWR REPORT with this mail .
    >
    > AWR REPORT LOAD PROFILE .
    >
    >                        Per Second                      PerTransaction I
    > Redo size:             89,912.03                            13,411.58
    > Logical reads:           55,554.6                             8,285.20
    > Block changes:        553.50                                 82.56
    > Physical reads:        15,842.52                              2,318.37
    > Physical writes:        20.93                                      3.12
    > User calls:              269.32                                      40.17
    > Parses:                 138.35                                      20.64
    > Hard parses:          4.13                                         0.62
    > Logons:                0.81                                          0.09
    > Executes:             356.3                                       53.23
    > ransactions:          6.70                                        0
    > [eBlocks changed per Read: 1.00 Recursive Call %: 70.83
    > Rollback per transaction %: 3.84 Rows per Sort: 103.67
    >
    Since you're licensed to run the AWR why are you bothering with something as silly as that SQL for the "buffer cache hit ratio" !
    You need to compare a "pre-problem" AWR with the current AWR reports to see if you can spot the changes that might be the significant ones, but based purely on the Load Profile that you have shown, you're not really doing much work, but you're doing it the hard way. The figures that stand out are:
    {code}
    Logical reads:           55,554.6                             8,285.20
    Physical reads:        15,842.52                              2,318.37
    {code}
    You can check the instance statistics to learn more about what type of read activity is generating these physical reads, and work out whether (a) it's sensible and (b) it's supportable on your number of disc. Having said that - take a look at the "SQL ordered by Reads" section of the report to see which SQL statements are responsible for most of the reads, get the historic plans from the AWR and then work out why the plan changed and how to produce a better plan.
    See my note below that explains why my quote of your results is tidier than your original.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{code}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in {code}fixed format{code}.
    There is a +"Preview"+ tab at the top of the text entry panel. Use this to check what your message will look like before you post the message. If it looks a complete mess you're unlikely to get a response. (Click on the +"Plain text"+ tab if you want to edit the text to tidy it up.)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Buffer pool parameter vs LRU/MRU

    Dear Friends,
    I know that in the database buffer cache , the following parameters define the sizes of the caches for buffers :
    โ€“ย ย ย ย ย Default : DB_CACHE_SIZE
    โ€“ย ย ย ย ย Keep : DB_KEEP_CACHE_SIZE
    โ€“ย ย ย ย ย Recycle: DB_RECYCLE_CACHE_SIZE
    And also I know LRU and MRU also works in this regards .Now my ques is , when the "keep pool" and " the "buffer pool" is on then LRU and MRU are active ?
    Both the above 3 pools and (LRU+MRU) is working together ? I have confusion about that . plz help .. ..

    I am getting buffer busy waits on some tables.
    Users are not experiencing any problem.Looks like you got bit by the CTD troll while sleeping.
    Note also that (if I'm reading the report alright) out of 23 mins you have 6 seconds accounted to buffer busy waits.
    Read the sample chapter here.

  • Keep buffer pool tuning

    hello,
    we have development database 10gR2
    ASSM is ON...
    and the system memory is
    SQL> sho sga
    Total System Global Area 293601280 bytes
    Fixed Size 1290232 bytes
    Variable Size 209715208 bytes
    Database Buffers 79691776 bytes
    Redo Buffers 2904064 bytes
    SQL> sho parameter sga_
    NAME TYPE VALUE
    sga_max_size big integer 280M
    sga_target big integer 280M
    SQL> select component,current_size from v$sga_dynamic_components;
    COMPONENT CURRENT_SIZE
    shared pool 171966464
    large pool 4194304
    java pool 12582912
    streams pool 20971520
    DEFAULT buffer cache 79691776
    KEEP buffer cache 0
    RECYCLE buffer cache 0
    DEFAULT 2K buffer cache 0
    DEFAULT 4K buffer cache 0
    DEFAULT 8K buffer cache 0
    DEFAULT 16K buffer cache 0
    DEFAULT 32K buffer cache 0
    ASM Buffer Cache 0
    i need to ping around 5 to 6 tables in keep buffer pool since they are frequently accessed ....so just need help on how can i properly configure the keep buffer pool sizewise...
    thank you very much

    Why do you need a keep pool?
    Why would the default buffer cache not be sufficient?
    See http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1590999000346302363
    99.999999999999% of the world does not need, want, nor desire a keep and recycle pool, they add
    to your administrative overhead and are for very special edge cases Edited by: Dom Brooks on Apr 19, 2011 12:00 PM

  • ORA-04031 on 10g - should I just adjust my SGA POOL SIZE?

    Has anyone gotten this message frequently:
    ORA-04031: unable to allocate 37536 bytes of shared memory ("shared pool","unknown object","sga heap(1,0)","session parame")
    We are a business intelligence application that issues lots of large queries. We just migrated to 10g and we are seeing this every 2-3 days on our testing machine.
    In particular, I am not sure about "sga heap"... I would just set my Shared Pool Size higher - currently 144 MB but will this help here? Thoughts?

    In Oracle 10g a new feature called "automatic memory management" allows the dba to reserve a pool of shared memory that is used to allocate the shared pool, the buffer cache, the java pool and the large pool.
    In general, when the database needs to allocate a large object into the shared pool and cannot find contiguous space available, it will automatically increase the shared pool size using free space from other SGA structure.
    Since the space allocation is automatically managed by Oracle, the probability of getting ora-4031 errors may be greatly reduced. Automatic Memory Management is enabled when the parameter SGA_TARGET is greater than zero and the current setting can be obtained quering the v$sga_dynamic_components view.
    Please refer to the 10g Administration Manual for further reference
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14231/toc.htm

  • ORA00379 No free buffers available in buffer pool default

    We encounter this error ORA00379 No free buffers available in buffer pool default with one of our online transaction system.
    Initially, the errors occur once every 30 sec, and became less frequent (about twice a day) after the buffers has been increased to the size of Oracle's default medium size database.
    Currently, the system is under testing and we have 4 staffs using the same userid to send transactions. Furthermore the size of each transaction is about 3-5mb. Will these issues actually caused Oracle to run out of free buffer spaces?
    Please advise.
    null

    kevin,
    i am not sure how big is your database or how big it is going to be.this is a memory issue that you are facing. try increase the db_block_buffers i would say an (ballpark *2) idea would be to size it around 200Mb+
    (assuming you have loads of memory). for a
    50-100 user database typically 200MB + of db_block_buffers and 200Mb+ of shared_pool_size should work.
    oracle's default sizes are too generic to work for all. so may be you shld change the init.ora parameters until you get rid of the errors.
    mukundan.

  • Connection pool size limit error

    Hi all,
    I am trying to execute a BAPI function from MII, execution fails with the following message;
    [ERROR] Unable to make RFC call Exception: [Problem retrieving JCO.Function object: Connection pool <ECC_Server>:800:02:EN:ECCUser is exhausted. The current pool size limit (max connections) is 1 connections.]
    [WARN] [SAP_JCo_Function_0] Skipping execution of output links due to action failure.
    [ERROR] Uncaught exception from SAP_JCo_Function_0, Problem retrieving JCO.Function object: Connection pool <ECC_Server>:800:02:EN:ECCUser is exhausted. The current pool size limit (max connections) is 1 connections.
    Config:
    1. In 'SAP MII: Connections' of type JCO and have given pool size to 100.
    2. In 'SAP MII: Credential Stores' store is created and same is being used in Start Session.
    3. Inย  JCO_Function block, we can search for the Function Module and set it.
    MII Version:
    14.0.2 Build(82)
    Am I missing something?
    Has any one seen this? please advise.
    Thanks,
    Message was edited by: Shridhar N

    Check if there is another JCo connection configured with the same IP and User. I have found in the past that even though there are two connections configured because they have the same ip and user they are put into one pool with the lowest max pool of the two connections.

Maybe you are looking for