database update

also known as database updates

3 moment(s) that assert this concept — showing 1–3 of 3

strong3 independent sources
↣ how this spread over time →
provenance — click a node to open its encoding unit
[1] Mycelial[2] Numberphile[3] Microsoft
showing 3 of 3 moments
Mycelial · youtube · en-US
1SQLite uses operating system buffers to temporarily store data during queries and updates, and these buffers must be flushed to disk to ensure data is not lost during a system crash.
“when a connection needs to write some data it will make the changes in its memory then when the change is saved the updated Pages get copied back to the buffers and eventually they get persisted to disk”
spoken · 135s · 2022-10-28
Numberphile · youtube · en-US
2View counts can temporarily exceed 301 due to simultaneous views from different geographic locations being processed together before the system closes at 301.
“What's going on there? There's an explanation for that, too, and that comes back to how I was saying the videos are shared around servers all across the world. So here's what's going on there. Views are coming in from the logs at the different videos, the different places around the world. And they're coming to this central database. And we know the door's going to be shut at 301, we just explained that a minute ago. But what happens if views are coming in at the same time? Someone watched it in Africa at the exact same time someone watched in Europe. Now we've got multiple views coming in. Checking if they're allowed to join the count, yes they are. It's less than or equal to 300. So they all pile on at the same time. Now when a new view comes along, sorry, we're closed for business. But because of that simultaneous update, a few extra views were able to sneak on.”
spoken · 450s · 2012-06-22
Microsoft Developer · youtube · en-US
3Sending an email before marking it as sent in the database can lead to duplicate emails due to query errors.
“mailgun.send happens before we actually tell Postgres, let me mark it”
spoken · 474s · 2024-06-13