If file systems are databases, then does that mean storing a sqlite db on a HDD is database inception?
67 0 Reply@slazer2au Yes!
20 0 Reply
@linuxmemes Wow, that worked!
49 0 ReplyHow do you post from mastodon to lemmy?
19 0 Reply@mogoh I just mentioned the group and it worked!
The way it's supposed to be!
I'm so happy for this omfgrotflolcopter
47 0 ReplyFederation.
Wait till you get a comment from threads. I've only had it happen once and it made me feel dirty.
13 0 Reply@mogoh AFAIK, I should mention @linuxmemes handle to make the comment visible inside the original Lemmy thread.
@drq7 0 Reply
It does!
8 0 Reply@30p87 Okay, looks like we *finally* have *actual* groups in Fedi that are compatible across the board.
I've been waiting for this for so long, I've almost given up all hope.
13 0 Reply
@drq what worked
1 0 Reply@[email protected]
@drq @linuxmemes you forgor to mention linuxmemes3 0 Reply
everything is a file including a filesystem*
* including databases
35 0 Replygit repo is blockchain
34 1 ReplyFor example, a directory full of spreadsheets.
Somewhere, a sysadmin is pulling his hair out
33 0 ReplyTbh still preferred to that asshat who rolls out an MS Access "app"
10 0 Reply*starts rocking back and forth in chair
1 0 Reply
or CSV files
5 0 Reply
and anuses are vaginas, as long as you treat them as one.
29 3 Replybussy
23 0 ReplyAs a man of science I prefer to test every theory.
17 0 Replythe anus isnt self lubricating :(
8 0 Replyhttps://my.clevelandclinic.org/health/body/24784-anus-function
Muscles, nerves and mucous membranes in your anus
It is though...
13 0 ReplyIt can be if you're lactose intolerant.
5 0 Reply
Didn't someone actually try making SQL as a filesystem and it ended up being something like 50 times slower than ZFS after they applied a ton of optimizations?
Not as a serious project, but more like a joke to see what would actually happen.
22 0 ReplyYou're right! Ill just store all this data as static json files in a directory then
21 0 ReplyAnd files are streams. 🎵 Islands in the stream. 🎵
19 1 Reply🎵 That is what we awk 🎵
12 0 Reply
They’re more like blob storage.
16 1 ReplyBlob storage usually uses a FS back end so it’s more like blob storage is like a file system
5 0 Reply
Just fucking putting data into json files in a folder is so much easier than databases. Sure, databases are faster and give you access to powerful SQL queries. But if you're just making something small and simple, you don't need those things. Save yourself the hassle and just use the filesystem.
Or use minio/s3, which can either be the best or the worst of both worlds depending on your usecase.
11 0 ReplyThe trouble is, filesystems don't have ACID. The first time you have a power loss during a write, your data will get corrupted.
11 0 ReplyHmm that's a valid criticism, thanks for pointing it out
2 1 Reply
It also makes you re-implement a database, but worse.
Use a JSON file if you just need to serialize/deserialize some data. Use SQLite or a DB server if you need more. Your own code will never match the quality of SQLite.
10 0 ReplySqlite is the best in most cases
3 0 Reply
Duckdb can query them with SQL like they are in a database. Csv, tsv, parquet also. You can even connect to and query postures and cloud storage also
3 0 Reply
welcome to lemmy im new also
11 1 Reply@mugdad1 Trick is, I'm not on Lemmy.
6 0 Replywtf how do you mix between lemmy and mastdon i also have account there but i didn't thought that the content will be here also so please explain
5 0 Reply
That's less the Unix way and more the BeOS way.
10 0 ReplyBut they are not DBMS
9 0 ReplyEvery Homestuck fan already knows this.
8 0 Reply@RizzRustbolt What's your fetch modus, warrior?
3 0 Reply"I have a system". Items are sorted randomly on to the top of "piles". I can retrieve any item from any pile, but pulling from anywhere except from the top of the pile destroys it.
3 0 Reply
Filesystem-as-a-db is why MongoDB is webscale. You just turn it on and it scales right up.
7 0 ReplyThe list of reasons filesystems are not databases is a database.
6 0 ReplyI love how pacman/libalpm database is just directories with tiny little files, and it’s faster in resolving dependencies than mostly anything else
6 0 Reply@drq Come on, that can't be your F I R S T post.
@linuxmemes5 0 Reply@th3rdsergeevich It is my first op-post on lemmy, that's right.
9 0 Reply
Honestly that's basically what CephFS is
5 0 Reply@possiblylinux127 Or BeFS
2 0 ReplyBeFS doesn't run on top of a data store. CephFS runs on RADOS.
2 0 Reply
Behold! I present to you: Database as Filesystem
5 0 ReplyAnd the worst FAT32
5 0 ReplyAnd all code is data too, and all processes are data transformers
3 0 ReplyMine's more of a databivouac.
2 0 Reply🤯😵
2 0 ReplyWell, that's ok, you are welcome.
1 0 ReplyI don't know why this one was such a good laugh, but great first post.
1 0 Reply@some_guy Thank you!
1 0 Reply
@[email protected] Second post?
@[email protected]1 1 Reply@pics
1 1 ReplyDoes not work
1 0 Reply
1 1 Reply