Skip to content
This repository was archived by the owner on Oct 26, 2025. It is now read-only.

Load.py SQL insertion performance enhancement #30

@shawngu39

Description

@shawngu39

First thank you so much for creating this amazing repo!

While using the Load.py, I noticed that the data is generally inserted row-by-row, which could be really slow for some of the bigger tables (although they are not that big after all). I am using a low-tier AWS RDS instance with MySQL engine, and it is taking hours to insert certain tables, such as invNames, etc.. I put together some local quick modifications to switch to the bulk insertion from sqlalchemy lib and it speeds up things tremendously, from hours down to a few seconds for the invNames table as an example. Just want to bring this up and see how interested people are with this enhancement. If people believe this is a very useful enhancement, I can clean up my temp walkaround solution and turn it into a more prod quality change. Please let me know. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions