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

Notifications

Announcements

No record found.

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

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 

I have the same question (0)
  • Verified answer
    Microsoft Dynamics 365 Business Central Profile Picture
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,785

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,007 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 948 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans