Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

minimum query memory

Posted on 2001-06-28
2
Medium Priority
?
1,773 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
acampoma earned 150 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

715 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