全部书籍

专业

应用 关于 Coach 登录 开始阅读

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

Quantitative Finance · 术语表

什么是 Flat file format, schema version?

又称: flat file format · schema version

Definition 4.2 Research, Data and Risk Platforms · 第 4 章 — A Tick Store on Open Formats

A flat file format stores records of one fixed width one after another, after a header that states their layout, so that record ii is at a computable offset and nothing needs to be parsed to reach it. The header’s schema version identifies the layout; a reader refuses a version it does not know.

The tick store’s flat file: a header of multiple of 64 bytes (magic, version, record width, the layout as JSON), then fixed-width records appended as they arrive. A reader maps the file; the operating system reads a page from disk the first time a record in it is touched.
Figure 4.1. The tick store’s flat file: a header of multiple of 64 bytes (magic, version, record width, the layout as JSON), then fixed-width records appended as they arrive. A reader maps the file; the operating system reads a page from disk the first time a record in it is touched.
在原文中阅读 →