akshat518s/enterprise-dba-env
0
Enterprise DBA Agent (OpenEnv)
This environment simulates a production NoSQL database. An AI agent acts as a Database Administrator (DBA) to optimize schemas, manage server RAM, and ensure data safety.
Action Space
create_snapshot: Takes a backup.drop_collection: Deletes a table.create_index: Adds an index for speed.drop_index: Frees up RAM.create_compound_index: Complex indexing.
Tasks
- Easy (Safe Cleanup): Drop useless logs, but ONLY after taking a snapshot.
- Medium (N+1 Query Fix): Create an index on
emailto fix a slow COLLSCAN query. - Hard (Concurrency & RAM): Drop an old index to free up RAM, then safely create a compound index without crashing the server (OOM).
Setup & Run Locally
- Install dependencies:
pip install -r requirements.txt - Start the server:
uvicorn environment:app --host 0.0.0.0 --port 8000 - Test the baseline:
python inference.py
