views:

1072

answers:

4

A database file system is a file system that is a database instead of a hierarchy. Not too complex an idea initially but I thought I'd ask if anyone has thought about how they might do something like this? What are the issues that a simple plan is likely to miss? My first guess at an implementation would be something like a filesystem to for a Linux platform (probably atop an existing file system) but I really don't know much about how that would be started. Its a passing thought that I doubt I'd ever follow through on but I'm hoping to at least satisfy my curiosity.

A: 

Maybe this is a good starting point for getting an idea how it could work.

It's a basic overview of the Firebird architecture.

Firebird is an opensource RDBMS, so you can have a real deep insight look, too, if you're interested.

Peter
+1  A: 

The easiest way would be to build it using fuse, with a database back-end.

A more difficult thing to do is to have it as a kernel module (VFS).

On Windows, you could use IFS.

Osama ALASSIRY
+1  A: 

I'm not really sure what you mean with "A database file system is a file system that is a database instead of a hierarchy".

Probably, using "Filesystem in Userspace" (FUSE), as mentioned by Osama ALASSIRY, is a good idea. The FUSE wiki lists a lot of existing projects about databased-backed filesystems as well as filesystems in which you can search by SQL-like queries.

dmeister
+1  A: 

Refer this.Its nice.He has implemented DBFS in linux.

Ravi
Hadn't seen that. Very interesting!
Dave
Yeah.I am using it as a reference for DBFS which I am building in windows.
Ravi