v2.5.0
Highlights
This releases brings improvements to reported progress message while your Substreams executes which should greatly enhanced progression tracking
Note
Stay tuned, we are planning even more useful progression tracking now that we've updated progression data sent back to the client!
This releases also introduces a new mode to dump data in the database at high speed, useful for large amount of data insertion.
Substreams Progress Messages
Bumped substreams-sink v0.3.1 and substreams to v1.1.12 to support the new progress message format. Progression now relates to stages instead of modules. You can get stage information using the substreams info command starting from version v1.1.12.
Important
This client only support progress messages sent from a server using substreams version >=v1.1.12
Changed Prometheus Metrics
substreams_sink_progress_messageremoved in favor ofsubstreams_sink_progress_message_total_processed_blockssubstreams_sink_progress_message_last_end_blockremoved in favor ofsubstreams_sink_progress_message_last_block(per stage)
Added Prometheus Metrics
- Added
substreams_sink_progress_message_last_contiguous_block(per stage) - Added
substreams_sink_progress_message_running_jobs(per stage)
New injection method
A new injection method has been added to this substreams-sink-postgres release. It's a 2 steps method that leverage COPY FROM SQL operations to inject at high speed a great quantity of data.
Note
This method will be useful if you insert a lot of data into the database. If the standard ingestion speed satisfy your needs, continue to use it, the new feature is an advanced use case.
See the High Throughput Injection section of the README.md file to check how to use it.
Added
-
Added newer method of populating the database via CSV (thanks @gusinacio!).
Newer commands:
generate-csv: Generates CSVs for each tableinject-csv: Injects generated CSV rows for<table>