4 ms·
That's weird. I thought you would have to have FKs to be a RDBMS, otherwise there isn't much R-MS in it.
by AlienRobot 3y ago
That's weird. I thought you would have to have FKs to be a RDBMS, otherwise there isn't much R-MS in it.
- szarnyasg 3y agoPrimary keys and foreign keys are rarely used in data science workloads. In our performance guide, we recommend users to avoid using primary keys unless they are absolutely necessary [1]. In workloads running in infrastructure components, keys and constraints are more important, and they are supported by DuckDB (but currently some of them can only be added when the table is created). [1] https://duckdb.org/docs/guides/performance/schema#microbenchmark-the-effect-of-primary-keys https://duckdb.org/docs/guides/performance/schema#microbench...