4 ms·
You're describing the fact that OS apis are typed, and check state for validity. That's already the case and OS system calls already incur those costs. In a da
by twhitmore 7y ago
You're describing the fact that OS apis are typed, and check state for validity. That's already the case and OS system calls already incur those costs.
In a database, preparing a query compiles the access plan (ie all the above) on the server side. There's no reason it would be any less efficient than an OS call today.
Could in fact be more efficient, since you would probably be able to leverage set-based operations on the server (ie OS) side rather than iterating everything on the caller.
- simonh 7y agoIf OSes are already doing all these things, to the same degree required, and with the same overhead of a DB based OS, why do we need a DB based OS? What more is it giving us, and how is it providing that at no additional cost over the current model? 'On the server side' isn't magic. You don't get server side operations for free and these 'server side' operations would be occurring on the same computer.