Solved

minimum query memory

Posted on 2001-06-28
2
1,745 Views
Last Modified: 2012-06-27
Could someone tell me what minimum query memory is, and how it relates to SQL 2000.  (In Enterprise Manager right-click on the server, choose properties, then the memory tab)

I am getting this error from a VB app after running four queries
"Could not perform the requested operation because the minimum query memory is not available. Decrease the configured value for the 'min memory per query' server configuration option."
0
Comment
Question by:trouta
2 Comments
 
LVL 6

Accepted Solution

by:
acampoma earned 50 total points
ID: 6235340
0
 
LVL 8

Expert Comment

by:chigrik
ID: 6236720
This is from SQL BOL:

"
min memory per query Option
Use the min memory per query option to specify the minimum amount of memory (kilobytes) that will be allocated for the execution of a query. For example, if min memory per query is set to 2048 KB, the query is guaranteed to get at least that much total memory. You can set min memory per query to any value from 512 through 2147483647 KB (2 GB). The default is 1024 KB.

Increasing the value of query memory generally improves the performance of queries that use hashing or sorting operations, particularly when there is a lot of memory available and few concurrent queries. min memory per query includes memory allocated for sorting and replaces the sort pages option in earlier versions of MicrosoftR SQL ServerT.

min memory per query is an advanced option. If you are using the sp_configure system stored procedure to change the setting, you can change min memory per query only when show advanced options is set to 1. The setting takes effect immediately (without a server stop and restart).
"
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now