The announcement of NAV5SP1 mentions Bulk Inserts are introduced, but does anyone know what it means?
I guess it means that all inserts are buffered and inserted bulked in some way, but when? Right before the commit or right before any other transaction to any table or the exact table?
If it doesn't insert until the commit, how about reading of just inserted data in the same transaction. Will reads in the same transaction be able to find the records not yet fully inserted? (and count and modifyall and deleteall etc.)
If it doesn't insert until other transaction in the exact table, how about flowfields in other tables. If I insert a CustLedgEntry (buffered) and then do a calcfields of the balance of the customer. Will the result be different than today/native?
Is this change also covering updates and deletes, or is it only inserts?
Regards
Peter
0
Comments
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Are you saying that it will buffer all inserts until the commit, but allow read/modify/delete/count of the not-yet-inserted records from the same session? Wouldn't that increase the hardware requirements for the clients quite a bit...
Peter
Sqlclient and native caches the records right now so no change in hardware.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
With Native it maps to Snapshot during read operations which does not read uncommitted data
the inserted data are read/modified...
it means, it will postpone the inserts until latest possible point. If the application find that you need the data, they will be inserted.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.