Hello,
we're importing a large file (~4 million lines) via XMLPort into NAV2017.
This should be done multiple times a day but it it seems the XMLport locks the whole table rather than the one line. Because the table is linked into the Item/27-table working with items is more or less impossible while the XMLport is running because every other click results in a "table is locked by another user"-message.
The Transactiontype ist set to default UpdateNoLocks.
Is there a way to change the XMLport-behavior or some kind of programming pattern (temp-tables, etc.) to avoid the locking of the whole table?
regards
Jens Murer
0
Answers
Jens Murer
This threshold is hardcoded into SQL Server Storage Engine, you cannot do anything about this, the only option is committing imported data at intervals as you did.
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03