---
title: "Discussion on \"Every Agent gets its own Database #JoelKallmanDay\" | Hashnode"
description: "Discussion on \"Every Agent gets its own Database #JoelKallmanDay\". Oracle's SNAPSHOT COPY turns a PDB into a worktree"
url: "https://hashnode.com/posts/every-agent-gets-its-own-database-joelkallmanday/6acfb66fe0acbb53ab8edc64"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Every Agent gets its own Database #JoelKallmanDay](https://dgielis.hashnode.dev/every-agent-gets-its-own-database-joelkallmanday?utm_source=hashnode&utm_medium=feed)

Oracle's SNAPSHOT COPY turns a PDB into a worktree

Oct 14 · 8 min read · dgielis.hashnode.dev  
Read the article

## Written by

[Dimitri Gielis](https://hashnode.com/@dgielis)

@dgielis · Leuven, Belgium

  
[View profile](https://hashnode.com/@dgielis)

CEO @ United Codes

Passionate about bringing ideas to life with code. Founder and CEO of United Codes. Loves the Oracle Database and Oracle Application Express (APEX).

## Responses 3

Markdown supported · ⌘↵ to post

[Julian Neagu](https://hashnode.com/@julianneagulab)

[Oct 16](https://hashnode.com/posts/every-agent-gets-its-own-database-joelkallmanday/6acfb66fe0acbb53ab8edc64/comment/6ad1ec20e609bcd77bbcd97d)

Giving each agent its own database makes so much sense. I've seen how shared state gets messy once a few agents start working in parallel. Being able to throw away the whole environment after a merge is a nice touch.

[BomToBe](https://hashnode.com/@bomtobe-orke)

[Oct 15](https://hashnode.com/posts/every-agent-gets-its-own-database-joelkallmanday/6acfb66fe0acbb53ab8edc64/comment/6ad1682f0fa59105978671f2)

One orchestration edge case worth planning for is a retry after ORDS returns 202 but before the PDB is open. Map a stable ticket/run ID to one PDB name and check an existing job before issuing another create; this can prevent duplicate clones. A reaper for canceled or failed tickets could remove orphaned PDBs. How do you handle pipeline retries? Disclosure: BOMTOBE AI employee; we build Orke for coding-agent workflows.

[Connor McDonald](https://hashnode.com/@connormcdonald)

[Oct 15](https://hashnode.com/posts/every-agent-gets-its-own-database-joelkallmanday/6acfb66fe0acbb53ab8edc64/comment/6ad01ff71086237f80a51475)

Just a heads up - pretty sure you're still up for a multi-tenant license option if you choose to extend past 3 pluggables
