Database

Manage DB

Browse collections and tables, and watch the CQRS timing pipeline.

← Overviewβ€’Competitor History & IntelligenceIntelligence Rollup

Person Historical Summariesperson_historical_summaries

Materialized 1:1 career intelligence rollup for a person, computing experience tier and DNF risk.

Table Columns & Types (16)

person_historical_summaries
ColumnPostgreSQL TypeConstraintsDefaultDocumentation
iduuid
NOT NULLPK
gen_random_uuid()Unique historical summary identifier.
personIduuid
NOT NULLFK -> people.idON DELETE CASCADEUNIQUE
β€”Reference to the person (strict 1:1 relationship).
totalRacesinteger
NOT NULL
0Total recorded career race starts.
totalFinishesinteger
NOT NULL
0Total verified career race finishes.
totalDnfsinteger
NOT NULL
0Total career Did Not Finish (DNF) results.
dnfRatedouble precision
NOT NULL
0Computed career DNF ratio (0.0 to 1.0).
maxDistanceMetersdouble precision
NOT NULL
0Longest single race distance completed in meters.
maxElevationGainMetersdouble precision
NOT NULL
0Maximum positive vertical ascent completed in meters.
avgPaceSecondsPerKmdouble precision
nullable
β€”Weighted career baseline pace in seconds per kilometer.
experienceTierexperienceTierEnum
NOT NULLEnum
'novice'Classified experience tier: novice, intermediate, veteran, elite.
ultrasignupRankdouble precision
nullable
β€”Official UltraSignup score percentile (e.g. 88.42%).
itraPerformanceIndexinteger
nullable
β€”Official ITRA general performance index (0 - 1000 scale).
lastRaceDatetext
nullable
β€”ISO date string of most recently completed event.
confidenceScoredouble precision
NOT NULL
1.0Data completeness and verification confidence weight (0.0 - 1.0).
safetyTriageNotestext
nullable
β€”Automated medical or SAR warnings (e.g. High DNF risk, Low altitude origin).
computedAttimestamp with time zone
NOT NULL
now()Timestamp when this intelligence rollup was computed.

PostgreSQL Enums (1)

enum "experience_tier"

ValueLabelDomain Meaning
'novice'Novice0 to 2 career finishes; first-timer at distance.
'intermediate'Intermediate3 to 7 career finishes with consistent pacing.
'veteran'Veteran8+ career finishes; proven mountain ultra experience.
'elite'EliteTop-tier competitor (UltraSignup >= 90%, ITRA >= 750).

Database Indexes (2)

Index NameColumnsTypeQuery Performance Rationale
person_historical_summaries_person_idx(personId)UNIQUEGuarantees a strict 1:1 summary relation per person.
person_historical_summaries_tier_idx(experienceTier)INDEXOptimizes cohort filtering by athletic experience tier.