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

Thread: QUICK!!check if running out of memory in database

  1. #1
    Join Date
    Oct 2000
    Posts
    56
    hello all

    what is a script to use really quickly where i can check if the database is running out of virtual memory?

  2. #2
    Join Date
    Apr 2000
    Location
    Baltimore, MD
    Posts
    759
    The thumb rule is to have an SGA size that is not more than half of the available RAM on the server.

  3. #3
    Join Date
    Oct 2000
    Posts
    56
    but how do i check the amount of memory being used? if it's getting maxed out a lot

  4. #4
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    the memory being used is the SGA you specify, add PGA
    check v$sgastat, v$sysstat

  5. #5
    Join Date
    Dec 2000
    Posts
    11
    What platform are you on? On most unixes, vmstat or top will give you a good idea of what virtual memory resources are being used & how much swapping is occuring. I'm not sure how to get such info on NT/2000 (other than what's available in task manager).

  6. #6
    Join Date
    Mar 2000
    Location
    CA
    Posts
    317
    If u are using unix sar command should give you detailes about the resource usage. And vmstat should give me memory usage
    Thanks
    Kishore Kumar

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