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...
Answered

Some valuable information related to the compressed indexes that are dropped and then recreated after upgrade without compression

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Symptom:

When upgrading from BC 14 to BC 17 you might notice that differences in the handling of VSIFT indexes on the SQL side are different from all other SQL objects of the database when an upgrade is performed.

Every table and its indexes were renamed, but views and their index were dropped and recreated.

During this operation, a former compressed index of the view will be recreated without compression. The renamed tables and their indexes are still compressed.

Analysis and clarifications:

As all of us know that We never guarantee any customizations done directly in SQL survive schema syncing

Latest 14 does support compression, both from C/SIDE and extensions:

pastedimage1631430742992v1.png

From 16.x and forward, you can also simply run Start-NAVDatabaseCompression after the upgrade stating the level you want. This will query SQL for tables/indexes with incorrect compression and compress them, and set the 'default' level going forward for new tables synced (that don't have the compression level explicitly stated).

Reference:

1. Compression Type Property

2.  Start-NAVDatabaseCompression 

  • Verified answer
    Microsoft Dynamics 365 Business Central Profile Picture
    Microsoft Employee on at

    Not a question 

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 Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 624 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 440 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 244 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans