# Polymorphic Associations

> What is a polymorphic association in database design, and what are its problems and alternatives?

Canonical: https://www.internhack.in/learn/interview/database-design/db-polymorphic-associations
Last updated: 2026-11-28

Difficulty: Advanced

## Question

What is a polymorphic association in database design, and what are its problems and alternatives?

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

Polymorphic Association, Foreign Key, Exclusive Arc, Referential Integrity, ORM

Previous: [Star vs. Snowflake](https://www.internhack.in/learn/interview/database-design/db-star-vs-snowflake-schema) · Next: [Schema Migrations](https://www.internhack.in/learn/interview/database-design/db-database-migration-best-practices) · [All of Database Design](https://www.internhack.in/learn/interview/database-design)

## More Database Design questions

- [JSONB in SQL](https://www.internhack.in/learn/interview/database-design/db-json-b-data-type)
- [UPSERT](https://www.internhack.in/learn/interview/database-design/db-upsert-operation)
- [FK Performance](https://www.internhack.in/learn/interview/database-design/db-foreign-key-performance)
- [Redundancy Risks](https://www.internhack.in/learn/interview/database-design/db-data-redundancy-bad)
- [Graph Databases](https://www.internhack.in/learn/interview/database-design/db-graph-database-use-case)
- [NoSQL Secondary Indexes](https://www.internhack.in/learn/interview/database-design/db-secondary-indexes-nosql)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [Database Design](https://www.internhack.in/learn/interview/database-design)
