DashboardSchema Quality & Integrity
Demo Mode
Production DB

Schema Quality & Integrity

Referential integrity · Foreign Key coverage · Orphan risk · Composite key analysis · Index efficiency

View ERD
Schema Score
74
/ 100
Missing Foreign Keys
4
Foreign Key constraints
Orphan Risk
3.2%
of all rows
Composite Keys
8
Misuse cases
Index Efficiency
82%
Coverage score
Schema Score Breakdown
74
/ 100
Primary Key Coverage96%
Foreign Key Coverage78%
Constraint Coverage71%
Index Efficiency82%
Integrity Issues
Missing Foreign Key
4
Orphan Rows
2
Composite Key Misuse
8
Missing Constraints
14
Index Coverage by Table
Missing Foreign Key Constraints
4 missing
Source TableColumnLikely ReferencesOrphan RiskImpactAction
inventory product_id products(id) — 99.8% match confidence High (0.2%) Join failures · Data drift Fix
notifications user_id customers(id) — 97.4% match confidence Medium (0.8%) Ghost notifications Fix
analytics_events session_id user_sessions(id) — 94.1% match confidence Low (1.2%) Orphaned events Fix
audit_log record_id Multiple tables — polymorphic pattern Low (0.0%) Intentional design
Orphaned Row Analysis
TableOrphaned Rows% of TableForeign Key Column
order_items2,3410.024%order_id
analytics_events8470.008%session_id
notifications1240.001%user_id
Ready to go live?
You're currently exploring ThunderScan in Demo Mode with sample data.

To connect your real database and unlock live scanning, AI-powered insights, and full compliance reporting — contact the ThunderScan team.