dictionary size soft limit

オープン 初心者向け
#5,757 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
67/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
技術スタック
lua
領域
documentation

調査の方向性

Issueでは辞書カラムの劣化と、それがindex:info()にどのように表示されるかが説明されていますが、ドキュメントファイルは指定されていません。まず、辞書インデックスとindex:info()に関する既存のドキュメントを見つけ、カラムの上限と劣化がどのように説明されているかを確認してください。劣化がいつ発生するか、ストレージとスキャンにどのような影響があるか、degradationフィールドをどう調べるかがドキュメントで説明されていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Now on attempt to insert (replace etc) a value that does not fit into
already full dictionary column becomes degraded. In this mode we convert
a block from dictionary layout to layout with plain strings before
mutating a block.

Degraded column is still scanned using dictionary layout, but in this
case dictionary is built per scan.

Degraded column mode is introduced for technical reasons. It is not
recommended to operate in this mode. Such column will become eventually
more or less same as column with plain strings in terms of memory
consumption and performance.

Whether column is degraded is visible in index:info():

tarantool> index:info().columns.<name>.degradation
---
- dictionary overflow
...
...

The field is nil for dictionary column without degradation or
non-dictionary column.
Requested by @nshy in https://github.com/tarantool/tarantool-ee/commit/b01e5649f49d5378d7e85fa11bc0c82058b5ec1e.

主要言語
CSS
スター
16
フォーク
49
平均マージ
5日 18時間
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

tarantool/doc のほかの issue

tarantool/doc の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。