View Single Post
Old 11-14-2022, 06:50 AM   #8
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,389
Karma: 107076273
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
The purist approach might work with an SQL Server, not SQLite and would not work on FAT32. Last time I tried big binary blobs it resulted in excess RAM usage, poorer performance and a giant file, that was using MS SQL Server with NTFS.
So storing the files as-is in a directory structure is what I did. The current system aids human debugging and backups. Using the current naming allows human merging and also fixing/recovery of broken systems which the Row ID wouldn't.
I've seen backups on NTFS fail because the overall path was too long or a file name had accented characters.
So I think on balance Kovid made the right decision. Or whoever started the system for the Sony ereader; my understanding was that the embryonic library was taken over by Kovid when it only supported Sony?

Not quite related, but databases are not as simple as beginners think
https://www.explainxkcd.com/wiki/ind...loits_of_a_Mom

Quote:
Her daughter is named Help I'm trapped in a driver's license factory.

Last edited by Quoth; 11-14-2022 at 06:56 AM.
Quoth is offline   Reply With Quote