Greetings, recently I stumbled across a video where ndb was used as a general purpose database. It looked very good and I am a friend of using only the on-board tools if possible. However, ndb(6) explicitly mentions "network database" and anything beyond that would probably be a misuse. Does anyone here use ndb as a general purpose database, or would you rather advise against it because it is not intended that way? Thank you very much! Best regards, sml
Quoth sml:
>Does anyone here use ndb as a general purpose database, or would you
>rather advise against it because it is not intended that way?
“General purpose” is very broad. PostgreSQL is not great for storing
a little metadata about a few TV shows. Ndb is not very suitable for
storing much data that changes often.
I use ndb to write down shows I have watched.
--
Humm
10.05.2022 19:08:24 sml <sml@firstpost.pub>:
> Does anyone here use ndb as a general purpose database, or would you
> rather advise against it because it is not intended that way?
I see no reason _not_ to use it if the use case fits perfectly. In the
end there are other similar database-like systems in 9 context, for
example factotum and inferno registry.
For simpler databases plain text files with a specific format are often
good enough. Ndb databases have the benefit that you can just use ndb
programs for querying, which works great using a shell script.
sirjofri
Not ndb, but Inferno introduced attrdb and cfg I reimplemented cfg in Go and have used it in a handful of projects: https://github.com/henesy/cfg It works well enough as a plug and play key/value store format. Cheers, Sean On Tue, May 10, 2022 at 11:26 AM sirjofri <sirjofri+ml-9front@sirjofri.de> wrote: > > > 10.05.2022 19:08:24 sml <sml@firstpost.pub>: > > Does anyone here use ndb as a general purpose database, or would you > > rather advise against it because it is not intended that way? > > I see no reason _not_ to use it if the use case fits perfectly. In the > end there are other similar database-like systems in 9 context, for > example factotum and inferno registry. > > For simpler databases plain text files with a specific format are often > good enough. Ndb databases have the benefit that you can just use ndb > programs for querying, which works great using a shell script. > > sirjofri
Quoth sml <sml@firstpost.pub>:
> Greetings,
>
> recently I stumbled across a video where ndb was used as a general purpose database.
>
> It looked very good and I am a friend of using only the on-board tools if possible. However, ndb(6) explicitly mentions "network database" and anything beyond that would probably be a misuse.
>
> Does anyone here use ndb as a general purpose database, or would you rather advise against it because it is not intended that way?
>
> Thank you very much!
>
> Best regards,
> sml
see vgadb