Inside the DBMS: Components and How a Query Flows
A DBMS is built from a query processor, a storage manager, a transaction manager and a recovery manager. Following one query through all of them is th...
Material for readers past the basics.
145 notes tagged
A DBMS is built from a query processor, a storage manager, a transaction manager and a recovery manager. Following one query through all of them is th...
A centralised database keeps all data at one site; a distributed database spreads it across several. The choice changes availability, performance, com...
In client server architecture the database server owns the data and answers requests, while clients ask questions. Understanding what the server keeps...
Data independence is the ability to change a schema at one level without changing the level above. Physical independence is easy to achieve; logical i...
A test double stands in for a real dependency so a unit can be tested in isolation, quickly and predictably.
A unit test runs a small piece of code with known input and asserts the result, automatically and repeatedly.
A transaction makes several statements succeed or fail together, and batching turns many round trips into one.
Concatenating input into SQL lets a caller rewrite your query. Bound parameters make that structurally impossible.
JDBC is the standard API for talking to a relational database from Java: a connection, a statement, and a result set.
Since Java 11 the platform includes a modern HTTP client with synchronous and asynchronous requests and HTTP/2 support.
Addresses, sockets and streams. Underneath every network library in Java is a socket carrying bytes.
A thread moves through six states, and knowing which one it is in is the first step in diagnosing any hang.