# Statement of Work — DB Optimizer Audit

**Template · PrismBase AI LLC**

---

## 1. Parties

**Provider:** PrismBase AI LLC  
**Client:** [Client legal name]  
**Audit window:** 48 hours from credential verification

## 2. Scope

Read-only performance audit of Client's **PostgreSQL** or **Supabase** database instance(s):

- Slow query analysis (pg_stat_statements, EXPLAIN plans)
- Missing / unused index review
- Connection pool and saturation patterns
- Schema-level risks affecting performance
- Severity-ranked remediation recommendations

## 3. Access requirements

- **Read-only** database credentials only
- No INSERT, UPDATE, DELETE, or DDL permissions
- Access revoked by Client after audit completion (recommended within 24 hours)

## 4. Deliverables

- Prioritized written audit report (PDF or markdown)
- 30-minute engineering walkthrough call
- Optional: remediation implementation quote (separate SOW from $8k)

## 5. Data handling

PrismBase analyzes query metadata, plans, and schema statistics—not row-level customer data. See prismbase.ai/security.

## 6. Fee

**Founding audit price:** $2,500 USD (due before audit start)

## 7. Limitations

This audit does not include query rewrites, index creation, or production changes. Implementation is available under a separate remediation engagement.

---

**PrismBase AI LLC**  
Signature: ___________________________ Date: ___________

**Client**  
Signature: ___________________________ Date: ___________
