You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to steam incoming data in Protobuf to a corresponding table in Postgres. I deserialized it using the standard Protobuf package and then do executemany to save the data. My CPU load is high, and I suspect it's due to the type conversions from the de-serialized Protobuf data (which is not Python object, is far as I understand) to Postgres. Is there a canonical way of dealing with this? I assume it should be something on the line of #814.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I need to steam incoming data in Protobuf to a corresponding table in Postgres. I deserialized it using the standard Protobuf package and then do
executemany
to save the data. My CPU load is high, and I suspect it's due to the type conversions from the de-serialized Protobuf data (which is not Python object, is far as I understand) to Postgres. Is there a canonical way of dealing with this? I assume it should be something on the line of #814.Beta Was this translation helpful? Give feedback.
All reactions