Re: Is there any way I can make garbage collection aggressive in SQL 2000 or 2005?



Nimesh wrote:
> Please let me know if there is any way to make to this possible.
> And another issue we are facing is that, SQL 2000 is consuming a lot of
> memory and not releasing it. Is there wany to make this SQL 2000 to
> release the memory when it does not require.

I think this behaviour is by design.

Databases work well when a lot of the data is in memory (because memory
access is faster than disk access). So SQL Server and other DBMSs will
try to use as much of the available memory as they can. So if you have a
2GB database it will potentially try to use something in the order of
2GB of memory.

If they share a machine with other applications, I think they will
release memory when other applications require it.

What other applications do you have running on the same machine?

You might also want to check in a SQL Server-specific newsgroup such as
microsoft.public.sqlserver.* or comp.databases.ms-sqlserver for more
specific information.

Paul.
.



Relevant Pages

  • Re: Locking pages in memory
    ... the account SQL runs under) the permission to lock pages in memory. ... Server Standard, Enterprise, and Developer editions: Required for SQL Server ...
    (microsoft.public.sqlserver.setup)
  • Re: Worker Threads
    ... In order to use more than 4GB of memory you must use AWE. ... One is you must have Enterprise Edition of SQL ... set in the Boot.ini and AWE enabled in SQL Server. ...
    (microsoft.public.sqlserver.setup)
  • Re: Inexplicable slowdowns
    ... I profiled the SQL operation and it is taking no time at all. ... I also noticed that the server was operating at the end of available physical memory and as a result of perfmon monitoring, I saw that these slowdowns occur when the available physical memory dips to 100mb or so. ... I think SQL server is the culprit. ... It's set to consume a max of 3GB. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: FTS Performance in SQL 2005
    ... Looking for a SQL Server replication book? ... The Memory Usage and VM Size never increase over about 65 MB and 20MB. ... Can you post you query plans and the output of statistics IO ... cost relative to the whole batch, ...
    (microsoft.public.sqlserver.fulltext)
  • Re: Another SQL Memory Issue
    ... I'm no SQL expert, and I'm definitely not qualified to comment on whether ... applications' interactions with SQL databases are correctly written. ... That server has RAM to spare, and I can neither explain why SQL uses ... I was mistaken in saying that SQL defaults to half the memory installed ...
    (microsoft.public.windows.server.sbs)