Overview
An analytics interface over public Connecticut sentencing and Department of Correction records: more than 247,000 sentenced dockets and 17,000 corrections profiles, linked, mapped and tracked over time. It runs PHP over Oracle Autonomous Database, and no page computes an aggregate on request; pre-warmed JSON payloads, materialized fact tables and a SQLite FTS5 index serve every view.
Highlights
- More than a dozen analytic views: arrest geography, sentencing practice, case processing, defense-counsel caseloads, corrections population and movement
- Materialized fact tables turned ~45-second window-function builds into flat indexed reads
- Payload cache rebuilt every 20 minutes, with a forced rebuild and fresh search index after each nightly refresh
- SQLite FTS5 index built from Oracle in ~30 s drives search, geography and trends; record pages read Oracle by primary key
- Google sign-in with an admin-managed allowlist, plus hashed, expiring and revocable demo tokens rate-limited per IP
- Careful semantics: case- vs. charge-level counts, suspended-sentence decomposition and superseded-row exclusion


