Size: separate data_length and index_length
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 65/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- PHP
- Star
- 76
- Fork
- 73
- Merge trung bình
- 9 giờ 31 phút
- Pull request đã merge (30 ngày)
- 2
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của wp-cli/db-command
-
bug command:db-query
wp-cli/db-command#319 · 5 bình luận · 1 reaction · 2 người được giao ·
-
command:db scope:distribution state:unconfirmed
wp-cli/db-command#306 · 5 bình luận · 1 reaction · 2 người được giao ·
-
bug command:db-export
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
wp-cli/db-command#289 · 2 bình luận ·
-
command:db-export command:db-import scope:distribution state:unconfirmed
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
wp-cli/db-command#327 · 8 bình luận · 2 reaction ·
-
command:db command:db-search
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
wp-cli/db-command#156 · 1 bình luận · 20 reaction ·
Tất cả issue của wp-cli/db-command
Issue tương tự
-
tooling
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
UX
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
ProfessionalWiki/NeoWiki#1525 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
bug customer-reported
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
MagnaCapax/PMSS#949 ·
-
responsive-media kses allow-list strips clipPathUnits, collapsing objectBoundingBox clip paths Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Automattic/static-site-importer#1829 ·