Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Optimization of Nav in sql 2008

(0) ShareShare
ReportReport
Posted on by 145

My database is getting too slow, and i want to optimize it using SHIFT Optimization. Please someone post how to perform SHIFT Optimization.

*This post is locked for comments

  • Suggested answer
    Roberto Stefanetti Profile Picture
    Roberto Stefanetti 12,998 on at
    RE: Optimization of Nav in sql 2008

    Hi,

    from NAV 5.0 SP1 SIFT Tables are indexed views , from NAV 2009 optimized with the introduction of the RoleTailored architecture.

    An indexed view is similar to a SQL Server view except that the contents have been materialized (computed and stored) to speed up the retrieval of data.

    Because is an "SQL Server Object", you can optimize Indexed Views using sql agent and a scheduled maintenance plan (scheduiling reorganixe tables, defrag or rebuild indexes and Indexed views)

    The NAV Optimization told (look at Naville Post) is similar to SQL Rebuild (drop & recreate indexes, you can select some table, indexes views etc.) but is obsolete from NAV 2009 & NAV 2013,

    my suggest is: on NAV 5.0 Sp1 or greaters use SQL Server optimization insteaf of NAV Optimization.

    Some NAV 2009 links:

    SIFT and Microsoft Dynamics NAV with Microsoft SQL Server

    msdn.microsoft.com/.../dd355336.aspx

    Tuning and Tracing

    using SQL Profiler to tracing Sift performance

    msdn.microsoft.com/.../dd301142.aspx

    SIFT and Performance

    msdn.microsoft.com/.../dd338941.aspx

  • RE: Optimization of Nav in sql 2008

    www.bing.com/search

  • brian.db Profile Picture
    brian.db 15 on at
    RE: Optimization of Nav in sql 2008

    Hi Nev

    Any possible way of scheduling the optimization process? Either NAV application services or SQL Agent?

    Best regards

    Brian

  • Suggested answer
    Neville Foyn Profile Picture
    Neville Foyn 4,320 on at
    RE: Optimization of Nav in sql 2008

    Hi Jagesh

    Not sure what you mean by SHIFT optimization, could you perhaps mean SIFT optimization?

    SIFT optimization was a lot more relevant with the non SQL version of the database, you will get a lot more performance from other areas such as SQL optimizations and looking at possibly more SQL memory, faster HDD's setups in the server

    If you want to run the optimizations however it may slightly improve performance however i suspect this change may be so small as to be unnoticeable

    Open the classic NAV client, with the database opened click on "File" -> "Database" -> "Information"

    On the screen that opens click the tables button at the bottom

    Select a range of tables and hit the optimize button,

    Be aware that this may take a long time to run on big tables so you can do ranges of small tables but only a single table whee there are a lot of records

    Hope this helps

    Cheers

    Nev

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,401 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans