Size: separate data_length and index_length
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 65/100
調査の方向性
Start at the database size reporting path used by the --human-readable output and inspect how data and index sizes are currently combined and rounded. Done means the output separates Data, Index, and Total while preserving the combined total and avoiding the demonstrated rounding discrepancy.
索引モデルが issue の本文から書いたものです。
説明
Feature Request
- Yes, I reviewed the contribution guidelines.
Especially on larger sites, and with DB optimization (i.e. additional indexes), indexes can be quite big already on its own. Calculating data and index sizes together skew things slightly.
Here's an example of one site
Data total: ~3.43 GB
Index total: ~2.80 GB
Grand total: ~6.23 GB
Describe the solution you'd like
At least when using an output format that doesn't just give the size as a number, data and index should be displayed separately. At least it should be clearly documented that index sizes are counted to tally.
For example with --human-readable instead of
+------+------+
| Name | Size |
+------+------+
| wdb | 7 GB |
+------+------+
return could be
| Name | Data | Index | Total |
|------|---------|---------|---------|
| wdb | 3.43 GB | 2.80 GB | 6.23 GB |
There's currently also slight rounding issue where 6.23 GB becomes 7 GB.
- 主要言語
- PHP
- スター
- 76
- フォーク
- 73
- 平均マージ
- 9時間 31分
- マージ済み PR(30日)
- 2
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
wp-cli/db-command のほかの issue
-
bug command:db-query
wp-cli/db-command#319 · コメント 5 件 · リアクション 1 件 · 担当者 2 名 ·
-
command:db scope:distribution state:unconfirmed
wp-cli/db-command#306 · コメント 5 件 · リアクション 1 件 · 担当者 2 名 ·
-
bug command:db-export
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
wp-cli/db-command#289 · コメント 2 件 ·
-
command:db-export command:db-import scope:distribution state:unconfirmed
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
wp-cli/db-command#327 · コメント 8 件 · リアクション 2 件 ·
-
command:db command:db-search
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
wp-cli/db-command#156 · コメント 1 件 · リアクション 20 件 ·
wp-cli/db-command の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
getgrav/grav-plugin-api#45 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
RSS-Bridge/rss-bridge#5098 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
phingofficial/phing#2025 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
silverstripe/developer-docs#911 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100