DBAsupport.com Forums - Powered by vBulletin
Results 1 to 8 of 8

Thread: SHARED_POOL_SIZE

  1. #1
    Join Date
    Dec 2001
    Location
    Baltimore, MD
    Posts
    374
    Hi all
    I am using Quest Software Spotlight on Oracle to monitor my database and my shared_pool_size is 249M and 94% used as per the monitoring tool.

    It seems to me that 249 M is big enough. yet the alert alarm from quest is stating that shared_pool too small.

    Do you thing increasing the size to 500 M will have any impact
    on the database or performance?

    Please advise

    [Edited by Ablakios on 06-07-2002 at 02:22 PM]
    Arsene Lupain
    The lie takes the elevator, the truth takes the staircase but ends up catching up with the lie.

  2. #2
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    it´s complaining because of his default parameters, its like TOAD, it complains because some hit ratio is below 95% but the database is running fine or just in a point of time it falls below that threshold

    dont trust everything it complains, put some common sense as well

  3. #3
    Join Date
    Dec 2001
    Location
    Baltimore, MD
    Posts
    374
    I flushed the shared_pool and the percentage used decreased from 94% to 45%

    Just thinking of flushing the shared_pool constantly maybe.
    thanks
    Arsene Lupain
    The lie takes the elevator, the truth takes the staircase but ends up catching up with the lie.

  4. #4
    Join Date
    Dec 2001
    Location
    Baltimore, MD
    Posts
    374
    Pando
    Thank for the response.
    What do think about flushing the shared_pool twice or 3X daily?
    Any impact? or performance degradation?
    Arsene Lupain
    The lie takes the elevator, the truth takes the staircase but ends up catching up with the lie.

  5. #5
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    Originally posted by Ablakios
    Just thinking of flushing the shared_pool constantly maybe.
    Yeah, the second best thing you can do with your database! But you should maybe try the best thing to obtain your goal: you could restart the database after every single command! That way you won't only flush the shared pool, you will also flush the buffer cache and other parts of SGA!

    No, seriously, haven't you read what pando suggested? "Use some common sense"! I suggest you read the Concepts manual to get fammiliar with what shared pool is and what is it used for....

    [Edited by jmodic on 06-07-2002 at 03:07 PM]
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

  6. #6
    Join Date
    Feb 2001
    Posts
    290
    Jean,
    The flusing of shared Pool 3 times a day will cause a perfromance HIT. The only reason is all the SQLs have to be reparsed and reloaded, which is very costly..

    You may wish to consider the following
    1. percentage of literal SQl statements
    2. Versions Counts
    3. Invalidations

    And if you are able to minimize the above then you may not need the flushing at all.

    if you are unable to reduce the literal sql statements and if are seeing ORA-04031 (shared pool fragmentation ), then you have consider that option , once in a while .

    Hope this adds
    Madhu Reddy
    xdollor@yahoo.com

  7. #7
    Join Date
    Apr 2002
    Location
    Phoenix, AZ
    Posts
    175
    Investigate why your shared pool is reaching 249 mb.
    Depends on #of Sessions, #of Packages, Procedures, SQL that are executing. Also you might be fragmenting your shared pools, try pinning some packages into the shared pool.

    Sridhar R Patnam

  8. #8
    Join Date
    Apr 2002
    Location
    Shenzhen, China
    Posts
    327

    find out what cause the performance run down to 94%

    Query V$librarycahce to check which namespace has a poor peformance.

    Query v$sesstat to check which session "Parse Count" statistics to find out which session cause it.

    Use SQL Trace to find out the poorly designed SQL statement.
    Oracle Certified Master - September, 2003, the Second OCM in China
    *** LOOKING for PART TIME JOB***
    Data Warehouse & Business Intelligence Expert
    MCSE, CCNA, SCJP, SCSA from 1998

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width