this post was submitted on 07 Mar 2026
831 points (98.9% liked)

Technology

82460 readers
3968 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
 

Over the past few weeks, several US banks have pulled off from lending to Oracle for expanding its AI data centres, as per a report.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Dremor@lemmy.world 5 points 1 day ago (1 children)

I work with a client using an Oracle DB. You have to do multiple request to even do something basic as pagination ๐Ÿ˜‚.

They improved it over the years, but given the choice, I'd advice for anything else than Oracle. I'd even prefer MS Sql, which, given I'm pretty anti-MS, is a miracle.

[โ€“] Tja@programming.dev 1 points 1 day ago (1 children)

They are doing something wrong. Say what you want about their commercial strategy, the product itself is pretty good. It can definitely do pagination, and I hope they are not doing skip and limit.

[โ€“] Dremor@lemmy.world 3 points 1 day ago (1 children)

Yeah, you can do pagination, but you need two request : one to select everything, the second to only return the results between id x and id y. Needless to say, the performances are far from ideal.

But in recent version you do skip and take x, which is far easier to write. But my codebase date back to the 2000's, and it uses the old ways.

As an example, an SQL request to filter on an handful of parameters, and paginate, easily amount to 40-50 lines of SQL. And that's the easy ones, because some request uses multiple view, in which case I wouldn't be surprised to find a request doing more than 100 lines of SQL, maybe without even factoring the view in.

[โ€“] Tja@programming.dev 1 points 11 hours ago (1 children)

That's some funky code, pagination is much easier than that, unless there's something else going on.

[โ€“] Dremor@lemmy.world 1 points 8 hours ago

Probably, but I won't touch that shit unless I have no way doing otherwise.