I'm used to working with mysql, but for my next series of projects, CouchDB (NoSQL) seems to be suitable in order to avoid EAV in mysql and cover all the interesting functions that it has to offer.
After much research and documentation for reading, etc. There is one thing that I do not seem to understand very well.
Suppose I have three web applications on my server and therefore you need three databases. For example, one is an online store with tables of goods and accounts, one is a blog with tables of articles and comments, and the other is a web game with tables of game statistics (obviously, a simplification).
Therefore, I host several sites with one mysql installation, and each application that I run on my server gets its own database with tables, fields and content.
Now, with CouchDb, I want to do the same. The problem is that creating a database in CouchDb is more like creating a table in mysql. That is, I create databases called "comments", "articles", etc. For my weblog and inside. I create a document per article or document for comment.
So my question is: how can I separate my data from multiple web applications on a single CouchDB installation?
I think I'm doing something fundamentally wrong here, but hopefully one of you guys can help me get on the right track.
database couchdb
Thijs van beek
source share