This repository was archived by the owner on Feb 6, 2021. It is now read-only.
SQL insertions enhancements - #22
Open
razaina wants to merge 1 commit into
Open
Conversation
Owner
|
Thanks for this PR! There are a lot of changes. I'll have to review them first. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SQLITE is pretty slow so currently I am using MyQSL instead to improve insertions' time execution in the database. Performances (in term of time execution) is roughly multiplied by 100 now...
I had to make some changes also as MySQL is more strict while defining the types of each element of the DB.
How to use:
For testing, I am using MariaDB through a docker container https://hub.docker.com/_/mariadb/
docker pull mariadbdocker run -p 3306:3306 --name mymariadb --e MYSQL_ROOT_PASSWORD=mystrongpassword -e MYSQL_DATABASE=mydatabase -d mariadb:latest --max_allowed_packet=100M