全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Quantitative Finance · 术语表

什么是 Normal form?

Definition 25.2 Research, Data and Risk Platforms · 第 25 章 — Databases and SQL

A schema is in a normal form when each fact is stored once: every non-key column depends on the key, the whole key and nothing but the key (third normal form), so that an instrument’s currency, say, lives in the instruments table and not on every trade.

The chapter’s schema. Instruments and accounts are referenced by trades through enforced foreign keys; the trades table’s primary key is the trade identifier with the start of its system time, because a corrected trade has several versions.
Figure 25.1. The chapter’s schema. Instruments and accounts are referenced by trades through enforced foreign keys; the trades table’s primary key is the trade identifier with the start of its system time, because a corrected trade has several versions.
在原文中阅读 →