Extend 'A Practical Guide For SQL Tuning' with table partitioning
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 42/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- sql
調査の方向性
既存の「A Practical Guide For SQL Tuning」ページを見つけ、追加を計画する前に issue #19108 のコンテキストを確認してください。partition pruning、DROP PARTITION、EXCHANGE PARTITION、非グローバルセカンダリインデックスの欠点、グローバルインデックスのトレードオフを扱ってください。要求された各メリット、制限事項、ユースケースが正確に説明されていれば、ドキュメントは完了です。
索引モデルが issue の本文から書いたものです。
説明
Change Request
Please answer the following questions before submitting your issue. Thanks!
-
Describe what you find is inappropriate or missing in the existing docs.
As a follow up to #19108, also write a part where table partitioning is explained and what its best practice can be used for SQL tuning -
Describe your suggestion or addition.
It should mention:
- Benefits of table partitioning
- partition pruning can skip all partitions not matching the predicates of the query, also for TiFlash
- DROP PARTITION very efficient way of deleting a whole partition, similar to DROP TABLE, without having to go through the transaction layer.
- EXCHANGE PARTITION
- Drawbacks of table partitioning
- non-global secondary indexes will do index lookups for each matching partition
- Global index
- Remove the limitation that 'all unique indexes needs to include all partitioning columns'
- A single table level index so not one lookup per partition
- Needs index reorganization when dropping / reorganizing partitions, so not meta-data only DROP PARTITION.
- Provide some reference materials (such as documents and websites) if you could.
- 主要言語
- Python
- スター
- 616
- フォーク
- 724
- 平均マージ
- 2日 5時間
- マージ済み PR(30日)
- 168
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pingcap/docs のほかの issue
-
Weekly keywords check: mismatches found対応中かも @saryn17 が 57 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
Broken Link Detectedオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
Weekly keywords check: mismatches found対応中かも @saryn17 が 57 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
Broken Link Detectedオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
tidb-cloud: Terraform import procedures need Terraform v1.5.0 or later, but the prerequisite says >=1.0対応中かも @yahonda が 5 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
area:security effort:S priority:P3 status:needs-triage type:chore
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
randomparity/kdive#3657 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
aws/mcp-proxy-for-aws#476 ·
メンテナーはふだん 1 日以内に返信
-
fix(cli): a --root that does not exist exits 0 with 'Scanned 0 file(s)', so a wrong path in CI passes silently対応中かも @arpanjot-coding が今日担当しました。 オープンarea: runtime automation bug cli code-scanning consistency developer-experience difficulty: easy github-actions good first issue help wanted json-output priority: P3 python sarif silent-failure static-analysis tests
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
ContainsOnly raises TypeError for unhashable input with set-based choices対応中かも @prathamchoksi が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
marshmallow-code/marshmallow#3115 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信