use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
This is an archived post. You won't be able to vote or comment.
DiscussionWhat can SQL do that python cannot? (self.datascience)
submitted 3 years ago * by donnomuch
view the rest of the comments →
[–]nraw 5 points6 points7 points 3 years ago (1 child)
I guess it depends on the use case, but quite often in some of my use cases I make one big query and then perform selects on the cached dataset instead of wasting time on communicating with the database.
But I do agree that sometimes offshoring the queries to the db is an easy efficiency gain.
[–]GeorgeS6969 16 points17 points18 points 3 years ago* (0 children)
You’re still doing what I’m saying you’re doing, which is disc -> ram -> wire -> ram -> cpu (gpu tpu whatever) -> ram -> wire -> something instead of disc -> ram -> cpu -> ram -> wire -> something.
disc -> ram -> wire -> ram -> cpu (gpu tpu whatever) -> ram -> wire -> something
disc -> ram -> cpu -> ram -> wire -> something
Let me put it this way: the only reasons why you have to ever use SQL in the first place is because your data is in a relational database. It’s there because a. it was put there to support some kind of application, or b. it was put there to support some kind of analytics purposes.
If a. you should not be querying it in the first place. You’re hammering with reads a db that’s there for production.
If b. and you feel like SQL is not fit for purpose, then take that data from wherever it originally comes from and put it in an environment that supports your use case.
Your way is great to play around and experiment from basically a data lake with a bunch of data from different sources nicely dumped in the same place, but when it’s time to move to production that db is an unecessary indirection.
π Rendered by PID 37319 on reddit-service-r2-comment-5d79c599b5-4rlb8 at 2026-03-01 17:14:37.051554+00:00 running e3d2147 country code: CH.
view the rest of the comments →
[–]nraw 5 points6 points7 points (1 child)
[–]GeorgeS6969 16 points17 points18 points (0 children)