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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Server settings -RetainNonInteractiveSession to prevent a massive amount of entries in the Session Event table.

(0) ShareShare
ReportReport
Posted on by

Hello,

 This is a new server settings parameter introduced in CU27 for Nav 2017. What is optimum settings for this field "RetainNonInteractiveSession "to prevent a massive amount of entries in the Session Event table.

Thanks,

Neeta 

I have the same question (0)
  • Lars Lohndorf-Larsen Profile Picture
    Microsoft Employee on at

    Hello,

    Thank you for asking. I would say that unless you have the problem that the setting was invented for, just leave it as default.

    The reason for the setting was systems with high numbers of Web Service calls, which ended up creating a lot of entries in the "Session Event" table. This is typically not a problem, as there are jobs that automatically purge the table, but in some cases this cleanup-job would take so long, that users were not able to log in because of locks on the table.

    So if you see errors caused by locks on "Session Event" table. Or if you notice that the table contains a very large number of records, then this setting is for you. Otherwise I would leave it alone.

    I hope this answers your question?

  • Suggested answer
    TWBlaisdell Profile Picture
    Microsoft Employee on at

    Hello,

    Thank you for posting on the Forum.

    From feedback from the North America Technical Team for Microsoft Dynamics NAV Support:

    “Optimum” is quite subjective. A client may certainly lower either of these settings if the number of records are too large.  Many environments have these set to 1 day as they generate many session event records.

    Server Configuration Dynamics NAV 2017

    From the config….

    <add key="SessionEventTableRetainInterval" value="90.00:00:00" />

     <!--

       Specifies the time interval that sessions in the Session Events table remain before they are deleted.

       This value has format d.hh:mm:ss.

     -->

     <add key="NonInteractiveSessionsLogRetainInterval" value="5.00:00:00" />

     <!--

       Specifies the time interval that background and web service sessions remain in the Session Event table before they are deleted.

       This value has format d.hh:mm:ss.

     -->

    Thank you again for posting on the Forum.

    Best Regards,

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,902 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 580 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans