Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Adding new field to a large table

Posted on by 64

Hi,

I added a new field to a table. In the development environment it's not a big of a deal. The object compiled and everything works fine.

But in Test/Production the table is pretty big (>1mio entries). So when I try to import the object to the Navision envirenment it takes ages (>2 hours) and then it fails because of a full transaction log of the SQL server.

The field is a simple Code (10) and doesn't have a default/init value.

Is there a trick to optimize the performance of these kind of operations?

Thanks,

Michael

*This post is locked for comments

  • X. GARONNAT Profile Picture
    X. GARONNAT on at
    RE: Adding new field to a large table

    Depending on your backup model, you should backup/truncate/extend your log file before importing again.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans