Re:DBOS: A database-oriented operating system
by marginalia_nu on Saturday September 03, 2022 @05:17PM
(#32706185)
A file system is a database though. Not a relational one, granted, but it's still basically nosql before it was cool.
[ Parent
| on HN ]
Re:DBOS: A database-oriented operating system
by layer8 on Saturday September 03, 2022 @06:19PM
(#32706683)
Today’s filesystems are more like the NoSQL equivalent of hierarchical databases, which were the very first database design, created in the 1960s, preceding RDBMSs.
Re:DBOS: A database-oriented operating system
by crazygringo on Saturday September 03, 2022 @08:04PM
(#32707945)
I don't think you can really call something a database if it doesn't have a query language, at least in contemporary practice.
And I wouldn't call "cd", "ls", "mkdir", "rm", "cat" and "echo" a query language.
Even the first navigational databases had a proper query language, although radically different from SQL.
Re:DBOS: A database-oriented operating system
by gkbrk on Saturday September 03, 2022 @08:21PM
(#32708123)
Would you call "get", "set", "del" and "rename" a query language? Because they are commonly used commands for Redis.
Re:DBOS: A database-oriented operating system
by tadfisher on Sunday September 04, 2022 @02:06AM
(#32710300)
There are plenty of databases without associated query languages. RocksDB, FoundationDB, and LMDB to name three. "Queries" are generally "list keys in this range" and all of the higher-level metadata you would want to query on (e.g. relations) are encoded in the key. I would absolutely put filesystems in this camp.
Re:DBOS: A database-oriented operating system
by esjeon on Sunday September 04, 2022 @01:01AM
(#32710003)
"Language" is just an interface. You can SQL a filesystem if you want, and also can build 3rd party indexers that query engines can benefit from.
Re:DBOS: A database-oriented operating system
by hasperdi on Sunday September 04, 2022 @03:55AM
(#32710870)
Exactly! https://osquery.io is one example that
Re:DBOS: A database-oriented operating system
by kevin_thibedeau on Sunday September 04, 2022 @01:43AM
(#32710180)
Path syntax with shell globbing is the query language.
Re:DBOS: A database-oriented operating system
by ta988 on Saturday September 03, 2022 @10:50PM
(#32709283)
Now add find, grep, xargs, sed, awk and put all those together with pipes
Re:DBOS: A database-oriented operating system
by jabbany on Sunday September 04, 2022 @12:43AM
(#32709913)
Considering things like wildcards and glob matching these don't seem far off from what you'd use in a graph db query language. (E.g. something like neo4j)
Re:DBOS: A database-oriented operating system
by tenebrisalietum on Saturday September 03, 2022 @09:51PM
(#32708914)
Databases have schema that can change (understood without having to scan content) and indexes - beyond trivial ones like "name; content" and "order written to disk".