Update old MySQL packages - #1364
Conversation
|
did you see the comments i added to #1355 yesterday? |
melange396
left a comment
There was a problem hiding this comment.
Nice, this is pretty much a drop-in replacement except for the cursor name accessor. Does this cursor.rowcount still work with the new adapter? If the method exists, i would assume so, but you never know.
delphi-epidata/src/acquisition/covidcast/database.py
Lines 175 to 181 in 8a476fd
We talked about performance differences between the adapters -- i expect this to be approximately the same as with the previous one if not a teeny bit better. But just in case that doesnt hold, it would be good to try timing some stress-testing. From a simpler perspective, how does the running time of the integration tests compare to before?
If you have time, could you try to see if this adapter would support the reeeeeally long INSERT INTO...UPDATE statement that broke things before #1356? I have a strong feeling that the old "upsert" is better for data file fragmentation than the new REPLACE INTO.
|
@melange396 the As for a quick performance check, let me try:
|
|
✅ Performance tests complete! Result summary:
Click here to view full results: https://github.com/cmu-delphi/delphi-epidata/actions/runs/7572075216. |
i dont think that demonstrates very much, since its not doing acquisition or even going through the integration tests |
|
|
Do you have any updates on performance comparison and/or compatibility with the old long INSERT INTO...UPDATE statement? |

Closes #1355.
Summary:
Bumps versions for the
mysqlclientandSQLAlchemylibraries.Removes the
mysql-connectorandpymysqllibraries, replacing all their usage with theMySQLdbinterface.Prerequisites:
devbranchdev