Solved

minimum query memory

Posted on 2001-06-28
2
1,753 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

679 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