Insertion Query Slow
urjapatel opened this issue · 3 comments
On Testing your sample code referring project UWP-MVVM-EF-SQLite-2,
on calling db.SaveChanges() query is slow, which takes 200-300 milliseconds to save single record.
How to make faster insertion queries?
My sample code integrates a few different technologies (C#, UWP, EF, SQLite). To narrow down the perf issue, you could try isolating just the SQLite call. For example, try an insert like https://stackoverflow.com/a/19489736/4803. If it runs in about the same time, then the bottleneck is either C# or SQLite. At that point you could try calling SQLite from some other environment, like Java.
@RedGreenCode I tried inserting, mentioned in given link https://stackoverflow.com/a/19489736/4803, still shows the same results. Can you provide a sample for Java?