We are experiencing a crash in NAV W1 4.0 Sql after migrating large amounts of data. Because of a change in primary key in a customized table, we have to export old data and rebuild the index to match the new primary key before the data is imported again and the primary key is changed. After this job is done, NAV crashes when opening any company in the database (even one where the data has not been touched).
The rebuilding of data was initially done with temporary tables, but because of the 2GB limit on temporary tables in NAV we decided to export data with dataports. We have tried this in similar databases but with less data in said table and everything has worked fine. The problem only occurs when exporting/importing large quantities of data.
We are wondering if anybody else has experienced similar problems when exporting/importing large quantities of data. Any help on this issue would be appreciated, because we are at our wits end about this.
0
Comments
If it's with dataports, it might be because it's just too much data and it can't page from memory. If it's a two step process, I'd consider splitting the process up, maybe put a COMMIT statement in there somewhere. Not after every single record, but every time it hits 500 records or something.
RIS Plus, LLC
MVP - Business Apps