Optimize stored data
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Review the landpks_soil_model and landpks_soilgrids schemas and trace how their result_blob, soilrank, soilIDRank_output_pd, mucompdata_cond_prob, and soilgrids_blob values are used. Determine whether the CSV and JSON should be represented as relational tables, and document the chosen storage design and its migration implications.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
Currently, we are storing CSV and JSON directly in the database.
landpks_soil_model
+----------------------+-----------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+----------------------+-----------------+------+-----+---------+----------------+
| ID | bigint unsigned | NO | PRI | NULL | auto_increment |
| plot_id | bigint unsigned | YES | MUL | 0 | |
| model_version | int | YES | | 1 | |
| result_blob | mediumtext | YES | | NULL | |
| soilIDRank_output_pd | mediumtext | YES | | NULL | |
| mucompdata_cond_prob | mediumtext | YES | | NULL | |
| soilrank | mediumtext | YES | | NULL | |
+----------------------+-----------------+------+-----+---------+----------------+
- result_blob: JSON
- soilrank: JSON
- soilIDRank_output_pd: CSV
- mucompdata_cond_prob: CSV
Can/should this data be stored in tabular data?
landpks_soilgrids
+----------------+-----------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+----------------+-----------------+------+-----+---------+----------------+
| ID | bigint unsigned | NO | PRI | NULL | auto_increment |
| plot_id | bigint unsigned | YES | MUL | 0 | |
| model_version | int | YES | | 1 | |
| soilgrids_blob | mediumtext | YES | | NULL | |
+----------------+-----------------+------+-----+---------+----------------+
- Ngôn ngữ chính
- Python
- Star
- 2
- Fork
- 3
- Merge trung bình
- 21 giờ 49 phút
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có 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 techmatters/soil-id-algorithm
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
techmatters/soil-id-algorithm#386 ·
-
SoilID: Fix component-group selection being sorted alphabetically instead of by cond_probCó thể làm lại được @johannesparty đã nhận 29 ngày trước và không có pull request nào đang mở. Đang mởbug
techmatters/soil-id-algorithm#398 · 1 bình luận · 1 người được giao ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
techmatters/soil-id-algorithm#390 · 1 bình luận ·
-
Design: a slice informed by fewer properties counts as much per cm as a fully-populated sliceĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
techmatters/soil-id-algorithm#388 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
techmatters/soil-id-algorithm#387 ·
Tất cả issue của techmatters/soil-id-algorithm
Issue tương tự
-
type-bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
push_gh-pages fails on master branch on forksCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởgood first issue infrastructure
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
kuznia-rdzeni/coreblocks#1135 ·
-
good first issue server
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation priority: high
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
a-lex-s/mealie-telegram-bot#54 ·
Maintainer thường phản hồi trong vòng 1 ngày