タグ

DBとあとで読むに関するnminoruのブックマーク (2)

  • B+Treeのページレイアウトと可変長タプル - Write and Run

    これは 自作DBMS Advent Calendar 2020 - Adventar 1日目の記事です。 初日からギリギリで大丈夫なんですかねぇ(主催者)。 先日こういう記事を書きました。 Rustで古典的なDisk-Oriented DBMSを実装した話 - Write and Run その中で、 このあたりで固定長のページをノードとした B+Tree に、可変長のデータを入れようとすると途端に実装が面倒になることに気が付きます。 と書いたのですが、具体的にどう面倒になるのかについてはなにも説明しませんでした。 今回は固定長のページに可変長のタプルを入れるとなにがどう面倒なのかという話を解説します。 テーブルヒープにおける可変長タプル まず、B+Tree ではなく単純なテーブルヒープを考えます。 PostgreSQL のテーブルデータなどがそういう実装ですね。 これは CMU の例の講義

    B+Treeのページレイアウトと可変長タプル - Write and Run
  • Datomic - Overview

    Datomic Pro The fully transactional, cloud-ready, distributed database. Build flexible, distributed systems that can leverage the entire history of your critical data, not just the most current state. Build them on your existing infrastructure or jump straight to the cloud. Never Forget Critical insights come from knowing the full story of your data, not just the most recent state. Datomic stores

    nminoru
    nminoru 2017/06/15
    知らなかったが、それほど知名度があるDBではないのね。
  • 1