Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Storing one column in a NoSQL DB?

In an app I am working on, we use a MySQL database and want to store articles in a table. Rather than store them in a SQL DB, we were looking at just storing the key to the article in a NoSQL db. Is this a good problem to solve using NoSQL, or should we just create another table in MySQL and store the large amounts of text there?

We are looking at using MongoDB to store the text.

like image 992
tesserakt Avatar asked Dec 08 '25 09:12

tesserakt


1 Answers

First thing I'd do is check how MySQL runs with the 'large amount of data'. If you're getting acceptable performance, then there's no point trying to make the system more complicated.

Putting the text content into a separate table in MySQL wouldn't accomplish anything. Putting it into a separate DB might help, but I wouldn't do it unless you're sure that MySQL is a significant bottleneck, and that you can't do anything else, like optimize your queries.

like image 120
Mike Baranczak Avatar answered Dec 09 '25 22:12

Mike Baranczak



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!