StoleMyOwnCar
2[H]4U
- Joined
- Sep 30, 2013
- Messages
- 3,526
TL;DR ME WANT BEST DATABASE TYPE TO STORE HIERARCHICAL DATA (FILES+PATHS) WITH TAGGING. LEANING TOWARDS TRYING NEO4J. WILL BUILD CUSTOM WEB-BASED FRONTEND FOR IT (PROBABLY SPA).
I asked this on OCN but they're not coming up with much:
I'm thinking of making a local database for basically helping to manage the several TB of files that my HDDs have on them. I have a decent amount of experience working with MySQL, but I've never done anything horribly complicated in it. Usually at most it's a pull from a pull or a few joins, or something. Nothing like a recursive query that depends on stored procedures and does joins all over the place or something like that... and also thinking about the way a standard DB like MySQL is set up, I'm not sure whether it would be the optimal solution for for this.
From what I've seen storing hierarchical information in a standard database can get kinda hairy, and I would probably be doing joins all over the place. So I'm kind of wondering whether it would be the optimal solution. Lately I've been reading up on other types of databases (ie NoSQL). I'm kind of considering trying out one of those. Maybe Neo4j? A graph approach to this seems to be interesting, and with files being able to contain tags grouped with the data and having interconnections where I want them. Seems like it would be a very flexible way to represent the files.
If there are some other already made solutions, I would like to hear about how they approached it. But that being said I'm kind of wanting to just gradually (read: very gradually; ie nothing else to do style) do this from scratch for two reasons:
1. Learning experience.
2. Flexibility to choose what methods I want to query the data with and what information I want to store and how.
Maybe eventually make a gui frontend for it using... probably AJAX+JS+PHP (since I'm experienced with all three of those)... I'm lazy and this will pretty much be something I do during extremely bored periods, so this is just for now a discussion of what DB would be most suitable for such a task.
I asked this on OCN but they're not coming up with much:
I'm thinking of making a local database for basically helping to manage the several TB of files that my HDDs have on them. I have a decent amount of experience working with MySQL, but I've never done anything horribly complicated in it. Usually at most it's a pull from a pull or a few joins, or something. Nothing like a recursive query that depends on stored procedures and does joins all over the place or something like that... and also thinking about the way a standard DB like MySQL is set up, I'm not sure whether it would be the optimal solution for for this.
From what I've seen storing hierarchical information in a standard database can get kinda hairy, and I would probably be doing joins all over the place. So I'm kind of wondering whether it would be the optimal solution. Lately I've been reading up on other types of databases (ie NoSQL). I'm kind of considering trying out one of those. Maybe Neo4j? A graph approach to this seems to be interesting, and with files being able to contain tags grouped with the data and having interconnections where I want them. Seems like it would be a very flexible way to represent the files.
If there are some other already made solutions, I would like to hear about how they approached it. But that being said I'm kind of wanting to just gradually (read: very gradually; ie nothing else to do style) do this from scratch for two reasons:
1. Learning experience.
2. Flexibility to choose what methods I want to query the data with and what information I want to store and how.
Maybe eventually make a gui frontend for it using... probably AJAX+JS+PHP (since I'm experienced with all three of those)... I'm lazy and this will pretty much be something I do during extremely bored periods, so this is just for now a discussion of what DB would be most suitable for such a task.