We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01ef041 commit 2e4d5aeCopy full SHA for 2e4d5ae
1 file changed
samples/Eftdb.Samples.Shared/Models/DeviceReading.cs
@@ -4,7 +4,7 @@
4
5
namespace CmdScale.EntityFrameworkCore.TimescaleDB.Example.DataAccess.Models
6
{
7
- [Hypertable(nameof(Time), ChunkSkipColumns = new[] { "Time" }, ChunkTimeInterval = "1 day", EnableCompression = true)]
+ [Hypertable(nameof(Time), ChunkSkipColumns = new[] { "Time" }, ChunkTimeInterval = "1 day", EnableCompression = true, CompressionSegmentBy = new[] { "DeviceId" }, CompressionOrderBy = new[] { "Time DESC" })]
8
[Index(nameof(Time), Name = "ix_device_readings_time")]
9
[PrimaryKey(nameof(Id), nameof(Time))]
10
[ReorderPolicy("ix_device_readings_time", InitialStart = "2025-09-23T09:15:19.3905112Z", ScheduleInterval = "1 day", MaxRuntime = "00:00:00", RetryPeriod = "00:05:00", MaxRetries = 3)]
0 commit comments