v0.10.2
· 阅读需 8 分钟
Release date: November 26, 2024
👍 Highlights
- Vector type: GreptimeDB supports vector data types to optimize edge scenarios, such as IoT in vehicles, enabling efficient storage and computation of vector data for real-time perception and AI applications in smart driving.
- Free index: Inverted indexes are no longer tied to primary keys, allowing users to create them on any column, enhancing query flexibility and efficiency across different scenarios.
- Alter table options: Enhancements include setting TTL for databases and tables, modifying compaction parameters, and enabling/disabling full-text indexes on columns.
- Loki remote write: GreptimeDB now supports the Loki remote write protocol, allowing users to log data in Loki format through Grafana tools.
- Performance Optimization: Up to 10x improvement for queries fetching the latest N records by timestamp (
ORDER BY timestamp DESC LIMIT N). - Remove the option:
region_engine.mito.max_background_jobsand add three new options:region_engine.mito.max_background_flushes,region_engine.mito.max_background_compactions, andregion_engine.mito.max_background_purgesfor more detailed configuration.
Breaking changes
- fix!: replace timeout_millis and connect_timeout_millis with Duration in DatanodeClientOptions by @WenyXu in #4867
- feat!: Divide flush and compaction job pool by @evenyag in #4871
🚀 Features
- feat: yields empty batch after reading a range by @evenyag in #4845
- feat: update dashboard to v0.6.0 by @ZonaHex in #4861
- feat: Sort within each PartitionRange by @discord9 in #4847
- feat: Add functionality to the Opentelemetry write interface to extract fields from attr to top-level data. by @paomian in #4859
- feat: Limit CPU in runtime (#3685) by @ActivePeter in #4782
- feat: introduce the
PluginOptionsby @WenyXu in #4835 - feat: add json_path_match udf by @Kev1n8 in #4864
- feat: optimizer rule for windowed sort by @waynexia in #4874
- feat(index): support building inverted index for the field column on Mito by @zhongzc in #4887
- feat: add json datatype for grpc protocol by @WenyXu in #4897
- feat: Support altering table TTL by @v0y4g3r in #4848
- feat: adds the number of rows and index files size to region_statistics table by @killme2008 in #4909
- feat: implement parse_query api by @sunng87 in #4860
- feat: enhance windowed-sort optimizer rule by @waynexia in #4910
- feat: get row group time range from cached metadata by @evenyag in #4869
- feat: simple limit impl in PartSort by @waynexia in #4922
- feat: heartbeat_flush_threshold option by @fengjiachun in #4924
- feat: support to insert json data via grpc protocol by @WenyXu in #4908
- feat: add more geo functions by @sunng87 in #4888
- feat: support filter with windowed sort by @waynexia in #4960
- feat(index): support SQL to specify inverted index columns by @zhongzc in #4929
- feat(puffin): apply range reader by @zhongzc in #4928
- feat: alter fulltext options by @CookiePieWw in #4952
- feat: introduce vector type by @zhongzc in #4964
- feat: refine region state checks and handle stalled requests by @WenyXu in #4971
- feat: support alter twcs compaction options by @lyang24 in #4965
- feat: add distance functions by @zhongzc in #4987
- feat: implement statement/execution timeout session variable by @lyang24 in #4792
- feat: introduce
DynamicTimeoutLayerby @WenyXu in #5006 - feat: Loki remote write by @shuiyisong in #4941
- feat: make greatest supports timestamp and datetime types by @killme2008 in #5005
- feat: update dashboard to v0.6.1 by @ZonaHex in #5017
- feat: CREATE OR REPLACE FLOW by @discord9 in #5001
- feat: also shutdown gracefully on sigterm on unix by @discord9 in #5023
- feat(vector): remove
simsimdand usenalgebrainstead by @zhongzc in #5027 - feat: reimplement limit in PartSort to reduce memory footprint by @waynexia in #5018
- feat(vector): add conversion between vector and string by @zhongzc in #5029
- feat: add unset table options support by @WenyXu in #5034
- feat: alter database ttl by @CookiePieWw in #5035
- feat: use cache kv manager for SchemaMetadataManager by @v0y4g3r in #5053