min memory per query on SQL

NavStudent
Member Posts: 399
Has anybody have any experience with Navision and
"min memory per query" on SQL server?
Could you write your experience? Thanks.
"min memory per query" on SQL server?
Could you write your experience? Thanks.
my 2 cents
0
Comments
-
i can't give a general answer, because the memory request is dependent on your type of query and how your datas are structered and stored (exist there indexes for your query or must the server scan the table).
The data / indexes are stored in pages wich has 8k. So when the server execute your query and must only make 6 reads to get the result set, he load 6x8k in memory. But is your question bad (or you have no index which can be used) and you have, for example, 5.179.823 Reads x 8K (Page) = 41.438.584KB = about 40GB ](*,)Do you make it right, it works too!0 -
"min memory per query" is an option in SQL that specifies the minumum amount of memory that is allocated for a query.There are no bugs - only undocumented features.0
-
oh, he mean the option in SQlServer properties. Sorry i misunderstood this.Do you make it right, it works too!0
-
garak wrote:oh, he mean the option in SQlServer properties. Sorry i misunderstood this.
That's how I read the question since there's a SQL property by that exact name. I've never had a reason to use that property. I've always just let SQL manage its memory.There are no bugs - only undocumented features.0 -
IMHO it's only feasible to adjust this setting if you receive data-result-sets of a (more or less constant) size. As we have in NAV quite different result-sets - from 0 to xMillion records - I think it's better to leave it to the standard default value ...
Actually I never had reason to change it so far.Jörg A. Stryk (MVP - Dynamics NAV)
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions