database-operations / README.md
reactive-labs-team's picture
Card metadata: language, task_categories, tags, harbor_link
4063b50 verified
|
Raw History Blame Contribute Delete
2.29 kB
---
license: apache-2.0
language:
- en
pretty_name: Database Operations
task_categories:
- reinforcement-learning
- text-generation
tags:
- harbor
- agents
- reinforcement-learning
- postgresql
- database
- sre
- devops
- rl-environment
size_categories:
- n<1K
---
![Database Operations](https://huggingface.co/datasets/reactive-labs/database-operations/resolve/main/assets/banner.png)
# Database Operations
12 tasks on a live PostgreSQL 16 production host: recovery, migrations, access control and tuning. The agent is root on the host with a ticket, the app, backups, logs and runbooks; the verifier compares the final database and host with the expected state and runs the app as its own roles.
```
harbor run -d reactive-labs/database-operations -a <agent> -m <model>
```
Harbor Hub: [reactive-labs/database-operations](https://hub.harborframework.com/datasets/reactive-labs/database-operations)
| Task | Ticket |
|---|---|
| recovery-archive-gap | power loss tore the newest WAL; the archive had been failing since the day before |
| recovery-audit-retention | a mistyped retention cleanup; keep the evening's writes |
| recovery-rate-deploy | next year's prices went live early; re-quote three days of bookings |
| migration-surcharge-rows | surcharges from jsonb into a table, backfilled and kept in sync |
| migration-account-merge | merge an acquired shipper as of the closing date |
| migration-booking-refs | duplicates from a retry storm, then unique references |
| access-portal-rls | row-level security for the shipper portal |
| access-pii-lockdown | personal data out of BI by every route |
| access-offboarding | remove all a contractor left behind, keep what was approved |
| tuning-outbox-bloat | stuck two-phase commits and a bloated outbox |
| tuning-legacy-import | portal slow after a 300,000-shipment import |
| tuning-connection-limits | too many clients at peak, no restart allowed |
License: Apache 2.0.
## Citation
```bibtex
@misc{reactivelabs2026databaseoperations,
title = {Database Operations},
author = {{Reactive Labs}},
year = {2026},
howpublished = {\url{https://huggingface.co/datasets/reactive-labs/database-operations}},
url = {https://huggingface.co/datasets/reactive-labs/database-operations}
}
```