Solved

minimum query memory

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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

803 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