Re: Database Memory Tool

From: David Gugick (davidg-nospam_at_imceda.com)
Date: 09/23/04

  • Next message: Hari Prasad: "Re: stored procedures"
    Date: Thu, 23 Sep 2004 18:12:55 -0400
    
    

    Marc wrote:
    > Hi,
    >
    > I'm wondering, is there any option/tool that could let me
    > monitor a database's memory. There's a maximum amount
    > that we can allow, and it would be nice to have some kind
    > of alarm/warning message that would tell us we're at our
    > maximum, or close to it.
    >
    > Thank you kindly.
    >
    > Marc

    You can use performance monitor to watch memory used by the SQL Server
    service. If you have SQL Server set up to automatically configure memory
    usage, it will use much of the server memory and not release any until
    the OS requests it do so. Using a lot of memory does not necessarily
    mean there is a problem. Since pages are moved into memory and kept
    there, if your database is much larger than your memory footprint,
    you're likely to see SQL Server using a lot of memory after enough
    queries are run and pages read into memory. Certainly, adding as much
    memory as SQL Server can handle is the best way to go, given how cheap
    memory is and how slow disk access is. If you see a lot of disk activity
    (also monitored from performance monitor), you may try and tune your
    queries. Eliminating unnecessary reading of data keeps the data in cache
    from moving out. Things like table scans cause a lot of data to move
    into cache and forces data that can benefit from being in cache out.
    Reading from disk is slow.

    -- 
    David Gugick
    Imceda Software
    www.imceda.com
    

  • Next message: Hari Prasad: "Re: stored procedures"

    Relevant Pages

    • Problems Installing SQL Server Develop 2005 server..... Please Help
      ... The System Configuration Check for Performance Monitor counter registry ... Increment the Counter Registry ... Key for Setup in SQL Server 2005, in the readme file or in SQL Server Books ... The Memory performance object consists of counters that describe the ...
      (microsoft.public.sqlserver.setup)
    • Re: Comments on PC Hardware Invited - Sempron Processor Etc
      ... I am not familiar with the AMD processors and would appreciate feedback from anyone who uses them alongside Intel for general use. ... 32 x ViewSonic VA1703wb 17-inch LCD Monitor Widescreen ... The 3800+ dual core, would be the equivalent of two of those processors ... HP shows a couple options for memory, and if you're going for 1GB total, ...
      (microsoft.public.windowsxp.hardware)
    • Re: Terminal Server 32bit /PAE vs 64bit
      ... memory usage goes back to about 3.5gb. ... Provision Networks VIP ... monitor does not see it with all my processes running. ... the best way to monitor this stuff as I have seen thru the task manager ...
      (microsoft.public.windows.terminal_services)
    • Re: Just the CP/M file system
      ... - Or a 1K monitor with basic memory ... emulator which allows you to single-step not only through RAM, ... the memory test and loop read/write for hardware diagnostics. ... A properly implemented file system in NAND flash will also ...
      (comp.os.cpm)
    • Upgrade Report [GeekTech: Tackling Your Tech Questions - 07/19/2005]
      ... your second monitor, right-click on your desktop to open Windows XP's ... Advanced Micro Devices and Next-Generation Memory ... Why hasn't AMD supported DDR2 yet? ...
      (comp.sys.ibm.pc.hardware.misc)