web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

What is cache lookup, and sub components?

(0) ShareShare
ReportReport
Posted on by

Hi Everyone..!!

Can any one tell me what is cache lookup and Entire table is not Best Practice but in which scenario we will take "Entire Table" .

*This post is locked for comments

I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    305,823 Super User 2026 Season 1 on at

    HI Sai,

    CacheLookup is a method where some records will be loaded into memory at startup of AX or when loading the table the first time.

    The setting Entire table will do the caching at startup of AX. When it is a parameter table with one record or a group (setup) with a few records and this content is not supposed to change (once or twice a year) you can use the Entire table cache.

    When the number of records are enourmous it will cause performance issues when starting AX. When you are changing the contents a lot (e.g. multiple times a day for records in that table) it could cause other sessions to keep working with the old cached data.

  • Verified answer
    Community Member Profile Picture
    on at

    CacheLookup

    Determines how to cache the records retrieved during a lookup operation.

    EntireTable

    Creates a set-based cache on the server. The entire table is cached as soon as at least one record is selected from the table.

    When you set a table's CacheLookup property to EntireTable, all the records in the table are placed in the cache after the first select. This type of caching follows the rules of single record caching. This means that the SELECT statement WHERE clause must include equality tests on all fields of the unique index that is defined in the table's PrimaryIndex property.

    Avoid using EntireTable caches for large tables because once the cache size reaches 128 KB the cache is moved from memory to disk. A disk search is much slower than an in-memory search.

  • Suggested answer
    Community Member Profile Picture
    on at

    Please follow following link for more details

    msdn.microsoft.com/.../bb278240.aspx

    msdn.microsoft.com/.../bb314693.aspx

    msdn.microsoft.com/.../bb314630.aspx

    Please verify and update us with your findings

  • Community Member Profile Picture
    on at

    what are the other sub components like NotinTTS , found and FoundAndEmpty.

    With Regards

    Sai Rajesh

  • Suggested answer
    Community Member Profile Picture
    on at

    Please follow following link for details about NotinTTS , found and FoundAndEmpty

    msdn.microsoft.com/.../bb314693.aspx

    Please verify if this helps you.

  • André Arnaud de Calavon Profile Picture
    305,823 Super User 2026 Season 1 on at

    And another link for table best practices: msdn.microsoft.com/.../aa632254.aspx

    This also mentions some guidelines on the table caching.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 10

#2
Harisgillani Profile Picture

Harisgillani 4

#2
dserp Profile Picture

dserp 4

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans