[QUESTION] disable creation of LiteDB-log
See original GitHub issuewhen I create a database (let’s call him “DB”), it’s created me a file DB.db and DB-log.db. how I can create a database without the log file?
the c# code is:
var db = new LiteDatabase(@"DB.db");
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Privacy Policy
Protecting your private information is our priority. This Statement of Privacy applies to www.photoflex.com and Photoflex Division of PromarkBRANDS and governs ...
Read more >Featured Pros Part 4 John Beckett
Q How do you decide upon the lighting when photographing celebrities? A – For a celebrity the first question we pose to them...
Read more >Lakshit Chiranjiv Sagar Lakshit-Chiranjiv
Day of Week July Jul July Jul
Sunday Sun 4 contributions on Sunday, July 24, 2022 3 contributions on Sunday, July 31...
Monday Mon 22...
Read more >one strobe vs multiple speedlite for indoor shooting
I hope its not a silly question but i was wondering if i should get one strobe or multiple speedilte in order to...
Read more >Nikon 400mm f/2.8 as a portrait lens?
Hi, I shoot a lot of sports at times and have on occasion rented the 300mm f/2.8 VRI lens which is great for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lbnascimento Sorry to drag up an old post - but can you explain a little further about the checkpoint operation (or point me to the docs section, if such a section exists)? I am using LiteDB on an API that is always on. I wrap the connection in
using
statements so they are always disposed. Yet I recently revisited an old project and the db file shows a last updated timestamp of 8 months ago, while the log file shows last updated of today and is over 3GB in size. So the log file is clearly not being merged back into the db file, nor is it being deleted.Any more info you could provide would be appreciated.
Thanks!
@AntonyNET Just run a checkpoint operation after opening the datafile (actually, it should automatically run checkpoint when opening a datafile)