Logical and Physical Data Independence
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...
Interview preparation material.
165 notes tagged
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...
The ANSI-SPARC architecture separates a database into external, conceptual and internal levels. That separation is what makes data abstraction and dat...
A database system serves naive users, application programmers, sophisticated users and specialised users, and is run by a database administrator whose...
A DBMS buys controlled redundancy, enforced integrity, sharing, security, recovery and independence. It charges for them in cost, complexity, hardware...
The file based approach fails on redundancy, inconsistency, isolation, atomicity, concurrency, security and integrity. Each failure maps to one specif...
A DBMS is the software layer between users and stored data. It exists to give many users controlled, concurrent, recoverable and consistent access to...
Data is raw recorded fact, information is data placed in context, and a database is an organised, shared, self describing collection of related data...
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.
An immutable object cannot change after construction, which removes whole categories of bug at the cost of a little copying.
A sealed type names exactly which types may extend it, which lets the compiler check that a pattern switch covers every case.
The collector reclaims objects that can no longer be reached. Understanding reachability explains both leaks and pauses.