# Training video: named databases

**Target length:** 9 minutes  
**Kernel on camera:** 2.74.26  
**Audience:** Operator who already inserts into testdb and now needs one DiskStore per app or site.

`testdb`, `veloce`, and `postgres` share `testdb.bin`. That is the cluster store and the CRM alias. `CREATE DATABASE pm` makes a **new** DiskStore at `data/dbs/pm/`. It is not PostgreSQL `pg_database`. Named databases are **not** WAL-shipped to the replica. Clone is a file copy of `testdb.bin`, not TEMPLATE. certifiedClaim stays false.

On host01, leads.tuce.app stays on `postgresql://veloce@127.0.0.1:15432/veloce` (the testdb alias). Do not clone testdb.bin there — it is ~104 GB. Empty named stores are for new apps, not a second copy of CRM.

## On-screen beats

1. Control Center Databases pane. List. `certifiedClaim: false`.
2. `CREATE DATABASE pm` on TCP 2143. `SHOW DATABASES`.
3. `USE pm` then `INSERT TESTDB job.1 leak`. `USE testdb` then `GET TESTDB job.1` → `STATUS 4`.
4. `GET DB pm job.1` still hits pm.
5. GUI Clone from `pm` to `jobs`. Say file copy out loud.
6. `DROP DATABASE jobs`. testdb cannot be dropped.

## Spoken script

“People type CREATE DATABASE and expect Postgres. This kernel creates another testdb.bin under data/dbs/name. The CRM database name veloce is an alias of testdb. I am not going to clone the 104 gigabyte CRM store. I am going to make an empty pm store, write one key, switch back to testdb, and show that key is gone from testdb.”

```text
SHOW VERSION
SHOW DATABASES
CREATE DATABASE pm
USE pm
INSERT TESTDB job.1 leak
GET TESTDB job.1
USE testdb
GET TESTDB job.1
GET DB pm job.1
CLONE DATABASE pm TO jobs
DROP DATABASE jobs
```

“Replies: VELOCE 2.74.3, JSON with testdb builtin cluster true, OK database pm, OK 1, OK leak, STATUS 4, OK leak, OK database jobs cloned from pm, OK database jobs dropped. USE is per TCP session. Open a new connection and you are back on testdb.”

## Do not say

- That named databases replicate with testdb HA.
- That CREATE DATABASE is PostgreSQL TEMPLATE.
- That leads.tuce.app moved off the veloce alias.
- A fleet-wide clone of testdb.bin on a disk that cannot hold a second copy.
