<aside> 💡 Total Cost of Ownership (TCO).

This cost includes both the hardware procurement and software license, as well as the labor overhead of deploying the DBMS and the energy needed to run the machines.

</aside>

<aside> 💡 Parallel vs. Distributed

I. Definition

Database is spread out across multiple resources to improve different aspects of the DBMS.

Appears as a single logical database instance to the application, regardless of physical organization.

II. Difference

1. Process Models


<aside> 💡 Process Model → defines how the system is architected to support concurrent requests from a multi-user application.

Worker → the DBMS component that is responsible for executing tasks on behalf of the client and returning the results.

</aside>

1.1 Process per DBMS Worker

Untitled

Each worker is a separate OS process.

1.2 Process Pool

Untitled

A worker uses any free process from the pool.

1.3 Thread per DBMS Worker

Untitled

Single process with multiple worker threads.