Releases: bluesky/suitcase-mongo
Releases · bluesky/suitcase-mongo
Use bulk write operation to insert Event/Datum Page into database
suitcase-mongo
now uses pymongo's insert_many() function to simultaneously send all Events from an Event Page to the mongo database, rather than the previous behavior of calling insert_one() for each Event inside a for-loop. The same change was applied to inserting a Datum Page.
This should reduce the time needed to store data when a Bluesky run has many thousands of events. The effect should be even more pronounced in deployments where network latency is high.
v0.6.0
Make index creation manual:
serializer = Serializer(mds_db, assets_db)
serializer.create_indexes()
v0.4.0
Adds indexes supporting paginated lookups
Release v0.3.1
Changes
- Fix bug in the duplicate-handling path for Datum.
mongo_embedded
mongo_layout1 and mongo_layout2 are renamed to mongo_normalized, and mongo_embedded.
mongo_embedded is working with DocBuffer.