Announcing the release of Spice v1.0.7 🏎️
Spice v1.0.7 improves memory usage when using DuckDB, improves schema inference performance when using object-store based data connectors, and fixes a bug in Dremio schema inference.
DuckDB Memory Usage: Memory usage when using DuckDB has been significantly improved for data loads and refreshes through expanded use of zero-copy Arrow and multi-threading for data loads. When a duckdb_memory_limit
is specified, disk spilling has been improved for greater-than-memory workloads. In addition, a new temp_directory
runtime parameter supports storing temporary files to alternative location than the DuckDB data file for higher throughput. For example, temp_directory
could be set to a different high-IOPs IO2 EBS volume that is separate from the duckdb_file_path
.
Automated end-to-end tests for the DuckDB Accelerator coverage has been significantly expanded.
For configuration details, see the documentation for runtime parameters and the DuckDB Data Accelerator.
Schema Inference Performance for Object-Store Data Connectors: Schema inference performance has been improved, especially for large numbers of objects (1M+ objects) when using object-store based data connectors by making the object-listing and selection more efficient.
When compared to previous versions, Spice v1.0.7 loads DuckDB accelerated datasets significantly faster. When using the TPCH lineitem dataset at Scale Factor 100 (600M rows):
5x faster, 28% less memory usage.
Version | Load Time | Peak Memory Usage |
---|---|---|
v1.0.6 | 16m 3s | 32GB |
v1.0.7 | 3m 149ms | 24.4GB |
2.5x faster. Higher memory usage in v1.0.7 is due to better resource utilization to achieve faster load times. Use the duckdb_memory_limit
parameter to control memory usage.
Version | Load Time | Peak Memory Usage |
---|---|---|
v1.0.6 | 27m 9s | 50GB |
v1.0.7 | 11m 30s | 77GB |
No breaking changes.
To upgrade to v1.0.7, use one of the following methods:
CLI:
Homebrew:
Docker:
Pull the spiceai/spiceai:1.0.7 image:
For available tags, see DockerHub.
Helm:
760ece6ac52b7d180d697f347642af403c2e711c
to 9ba9dce19a1fdbd5e22cc2e445c5b3ea731944b4
.Full Changelog: github.com/spiceai/spiceai/compare/v1.0.6...v1.0.7