Colloidal

joined 5 days ago
[–] [email protected] 1 points 23 hours ago

Got it, thanks.

[–] [email protected] 1 points 1 day ago (2 children)

Hold a sec. Rolling your own RDBMS out of a NoSQL database is insane. But is the opposite feasible? Wouldn't it be a simple table with two columns: a key and a JSON blob?

[–] [email protected] 2 points 1 day ago

Gotcha. Thanks!

[–] [email protected] 1 points 1 day ago* (last edited 1 day ago) (2 children)

Right, RDBMS for object permanence is a pain. It’s meant as efficient data storage and retrieval. But I counter that a huge amount of data problems are of that kind, and using object permanence for general database applications seems very contrived. I’m imagining loading a huge amount of data to memory to filter the things you need, essentially rolling your own DBMS. Am I missing something?

[–] [email protected] 1 points 1 day ago

I don't know if it was you, but thanks for the initiative.

[–] [email protected] 2 points 1 day ago

Still under the umbrella and control of the Mozilla organization. Just a different subsidiary from Firefox. The concerns are very valid.

[–] [email protected] 5 points 1 day ago

Right, and you’d never do a search for messages with a particular reaction, so there’s no functionality loss is this use case.

[–] [email protected] 3 points 1 day ago (4 children)

What I’m hearing is that they’re very different beasts for very different applications. A typical web app would likely need both.

[–] [email protected] 9 points 1 day ago* (last edited 1 day ago) (8 children)

Let me see if I got it. It would be like a denormalized table with a flexible number of columns? So instead of multiple rows for a single primary key, you have one row (the file), whose structure is variable, so you don’t need to traverse other tables or rows to gather/change/delete the data.

The downsides are the usual downsides of a denormalized DB.

Am I close?

 

I’m versed enough in SQL and RDBMS that I can put things in the third normal form with relative ease. But the meta seems to be NoSQL. Backends often don’t even provide a SQL interface.

So, as far as I know, NoSQL is essentially a collection of files, usually JSON, paired with some querying capacity.

  1. What problem is it trying to solve?
  2. What advantages over traditional RDBMS?
  3. Where are its weaknesses?
  4. Can I make queries with complex WHERE clauses?
[–] [email protected] 1 points 1 day ago

That’s very Windows-y.

[–] [email protected] 6 points 1 day ago (1 children)

Reduce, Reuse, Recycle; in that order. Recycling is always the most expensive option.

view more: next ›