Skip to content

Conversation

@driusan
Copy link
Collaborator

@driusan driusan commented Oct 22, 2025

This speeds up make testdata (and the GitHub Actions tests in general) faster by converting the format of loading from one INSERT statement per row to a bulk LOAD DATA LOCAL INFILE statement loading the data from a tsv.

The tsv is also more readable than the insert statements and smaller on the filesystem.

On my laptop, this took the load time from approximately 13.5 minutes to 30 seconds.

@github-actions github-actions bot added Language: SQL PR or issue that update SQL code RaisinBread PR or issue introducing/requiring improvements to the Raidinbread dataset Language: PHP PR or issue that update PHP code labels Oct 22, 2025
@driusan driusan force-pushed the LoadDataLocalInfile branch from 86c92b0 to f50f37c Compare October 22, 2025 17:10
@driusan driusan force-pushed the LoadDataLocalInfile branch from f50f37c to c09b971 Compare October 22, 2025 17:27
@driusan driusan added the State: Needs work PR awaiting additional work by the author to proceed label Oct 22, 2025
@driusan
Copy link
Collaborator Author

driusan commented Oct 22, 2025

Added Needs Work because the API tests are not running properly even though they say they're passing and I need to investigate why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Language: PHP PR or issue that update PHP code Language: SQL PR or issue that update SQL code RaisinBread PR or issue introducing/requiring improvements to the Raidinbread dataset State: Needs work PR awaiting additional work by the author to proceed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant