hhblaze / DBreeze

C# .NET NOSQL ( key value store embedded ) ACID multi-paradigm database management system.
BSD 2-Clause "Simplified" License
532 stars 58 forks source link

DBreeze single Database File #48

Closed zandiarash closed 6 years ago

zandiarash commented 6 years ago

Hi Dear Developer I want to save video file to a database finally after testing many databases, I found DBreeze as the most fastest. but I have a question. Is it possible to have one database file like SQLite or LiteDb ? or copy other files to a temp folder ? my DBreeze DB have more than one file as I've attached 1 .

hhblaze commented 6 years ago

Hi, Dbreeze needs many files, to be compact, fast and flexible. I recommend to store video files in file system and only meta information about these files (for fast search of video file names) in database. thank you for the interest

zandiarash commented 6 years ago

Yes you are right but i want to encrypt my video file and save some bookmark(Time) for video. and sell videos as single files. and the videos will be played just with my own player. do you have any other suggestion ?

hhblaze commented 6 years ago

Zip file, may be

sgf commented 11 months ago

For document databases, 1-2 files are generally very good when WAL is enabled. One problem with DBreezed is that it has too many files.

The number of files determines whether it is portable enough.