-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Improve Data Storage by Using MySQL Database #104
Labels
enhancement
New feature or request
Comments
relates to #57 |
relates to #48 |
berntpopp
added a commit
that referenced
this issue
Jul 14, 2024
- Added three R scripts to improve data storage by utilizing the MySQL database. - `15_Rcommands_sysndd_db_logging_table.R`: Script to create and manage the logging table in MySQL. - `16_Rcommands_sysndd_db_pubtator_cache_table.R`: Script to handle the PubTator cache table for efficient data retrieval and storage. - `17_Rcommands_sysndd_db_json_storage_table.R`: Script for managing JSON storage tables in the MySQL database. These scripts enhance the overall data management capabilities and improve performance by leveraging MySQL's robust database features. Related to #104: Improve Data Storage by Using MySQL Database (but not closing the issue yet).
Completed Tasks:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current Situation:
Problems:
Proposed Solution:
Create new tables in the MySQL database to handle the following:
Database Table Design:
Logging Table:
Pubtator API Cache Table:
JSON Storage Table:
Tables:
Pubtator API Cache Table:
pubtator_cache
cache_id
: INT AUTO_INCREMENT PRIMARY KEYquery
: VARCHAR(255) NOT NULLpmid
: VARCHAR(50) NOT NULLresponse
: TEXT NOT NULLcreated_at
: TIMESTAMP DEFAULT CURRENT_TIMESTAMPLogging Table:
logs
log_id
: INT AUTO_INCREMENT PRIMARY KEYtimestamp
: TIMESTAMP DEFAULT CURRENT_TIMESTAMPlevel
: VARCHAR(50)message
: TEXTJSON Data Table:
json_data
data_id
: INT AUTO_INCREMENT PRIMARY KEYpage
: VARCHAR(255) NOT NULLjson_content
: JSONcreated_at
: TIMESTAMP DEFAULT CURRENT_TIMESTAMPTasks:
Design Database Tables:
Expected Benefits:
The text was updated successfully, but these errors were encountered: