← Home ← Back to /g/

Thread 106259826

23 posts 6 images /g/
Anonymous No.106259826 >>106260122 >>106260196 >>106260315 >>106260717 >>106261008
NoSql vs Sql
is there any reason to pick sql over nosql in year 2025? nosql scales so much better and pretty has all the important features that sql has which it didn't had a decade ago.
Anonymous No.106260122 >>106260959
>>106259826 (OP)
Do you have more than a few million users?
Anonymous No.106260196 >>106260844 >>106261208
>>106259826 (OP)
kita owes me sex
Anonymous No.106260315 >>106260967 >>106261996
>>106259826 (OP)
There's basically no real reason to pick nosql over sql
Anonymous No.106260717 >>106260979 >>106261605
>>106259826 (OP)
When I tried nosql (the AWS one, DynamoDB) the big downside was that it couldn't do ad hoc queries. You had to know how the data was going to be queried ahead of time and set it up to do that and only that, whereas with SQL you can query on any combination of columns any time you want. When I researched it it seems that if you want more robust querying, you have to set up a separate system like SQL that stores searchable metadata along with a link to the nosql entry. This was a few years ago so I'm not sure if things have changed since then.
Anonymous No.106260844 >>106261208
>>106260196
this but kitanons
Anonymous No.106260945
But...
What is SQL?
Anonymous No.106260959 >>106261142
>>106260122
Your mother has more than a few million users.
Anonymous No.106260967
>>106260315
Don't they both provide a structure for database queries?
Anonymous No.106260973 >>106261010 >>106261165
https://www.youtube.com/watch?v=b2F-DItXtZs
Anonymous No.106260979 >>106261196 >>106261265
>>106260717
Is SQL a language or an actual database package?
Anonymous No.106261008
>>106259826 (OP)
it happened again, I was going to give you my take and my DB teacher's take... but you know, anime OP, it's dilation time for you again
Anonymous No.106261010 >>106261165
>>106260973
>The brown one makes the most monstrous and destructive suggestion as though it's not a huge problem
So f*ing accurate.
Anonymous No.106261142
>>106260959
Fuck you
Anonymous No.106261165
>>106260973
>>106261010
Only white people can get monstrously mad about a meaningless hypothetical
Anonymous No.106261196
>>106260979
The term SQL is a bit of a misnomer. The real meaning is Structured Query Language. Its an interface on top of a low level executable which is what does the actual work. The point of it is that it abstracts away a lot of the complexity about "how" to do something. You tell it "what" to do and then it figures out the best way to go about it. That's why its called a "declarative" language instead of an "imperative" one. SQL itself is strictly just the interface (words you type in), but the database engine itself (the lower level executable) is what interprets the language and figures out the best way to do what you want to do. Both the interface and the engine are collectively grouped under the term SQL since you can't really do anything with just the interface by itself. NoSQL is another interface that offers different functionality because the engine does different things than a SQL engine can because both have slightly different end goals and use cases.

For an example of what a SQL engine can decide for you, imagine you have a table with 1 row, and a table with 1 billion rows, and your objective is to find all the rows that have the same ID in both tables. The most efficient way is to get the 1 row out of the table with 1 row, read its ID, and then use that ID to look up against a hash set of the billion table rows. If you did it the other way around, you would have to directly read 1 billion rows and look them up against 1 row. With SQL, you don't need to know ahead of time that the tables have X amount of rows and thus you need to do it in this specific way for the best performance. You just tell it the 2 tables and your goal and it works out the most efficient way to do it on its own.
Anonymous No.106261208
>>106260196
You silly horny boy! :3

>>106260844
You silly gay boy! ;p
Anonymous No.106261265 >>106261378
>>106260979
The absolute state of nu-/g/
Anonymous No.106261378
>>106261265
Haven't checked my rotational velocidensity. Need to make a Structured Query LANGUAGE inquiry.
Anonymous No.106261605 >>106261947
>>106260717
I also watched this really good video on NoSQL. I wasn't really understanding it or what the point of it was until I watched it. He explains it really well, as he should I guess being one of the architects of it.
https://www.youtube.com/watch?v=HaEPXoXVf2k
Anonymous No.106261947 >>106262060
>>106261605
One of the first things he says is the human brain has "about zero fault tolerance."
Okay... and which can safely operate a motor vehicle?
Anonymous No.106261996
>>106260315
This. SQL better in nearly every way. Especially if it's PostgreSQL
Anonymous No.106262060
>>106261947
AI won
https://waymo.com/safety/impact/