Solved

minimum query memory

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

839 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