Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Optimizing writing to Postgres from Protobuf #1261

galah92 started this conversation in General
Discussion options

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.

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /