Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Quantitative Finance · Glosario

¿Qué es Normal form?

Definition 25.2 Research, Data and Risk Platforms · Capítulo 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.
Leer en el capítulo →