influxdb/tsdb/tsm1
Jeff Wendling 04605eb266 tsm1: speed up deleterange for large keys
rather than starting at the first key, do a binary search to the
first key. changes O(N) when deleting the largest key to O(log N).

benchmark                                    old ns/op       new ns/op     delta
BenchmarkIndirectIndex_DeleteRangeFull-8     17884166763     738717473     -95.87%
2018-12-14 10:06:24 -07:00
..
DESIGN.md Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
array_cursor.gen.go Integrate scanned values statistics tracking. 2018-11-28 15:32:06 -07:00
array_cursor.gen.go.tmpl Integrate scanned values statistics tracking. 2018-11-28 15:32:06 -07:00
array_cursor_iterator.gen.go Remove influxdb dependency. 2018-11-29 11:44:22 -07:00
array_cursor_iterator.gen.go.tmpl Remove influxdb dependency. 2018-11-29 11:44:22 -07:00
array_cursor_iterator.go Remove influxdb dependency. 2018-11-29 11:44:22 -07:00
array_encoding.go Rename time batch decoders 2018-11-01 18:59:19 +00:00
array_encoding_test.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
batch_boolean.go Ensure error strings not capitalised ST1005 2018-11-30 10:54:24 +00:00
batch_boolean_test.go Batch oriented boolean encoders 2018-11-01 18:59:19 +00:00
batch_float.go feat(tsm1): Improve performance of Gorilla float block decoding 2018-11-01 18:59:20 +00:00
batch_float_test.go chore(storage,tsdb): fix megacheck errors 2018-11-01 12:54:46 -07:00
batch_integer.go Ensure error strings not capitalised ST1005 2018-11-30 10:54:24 +00:00
batch_integer_test.go chore(storage,tsdb): fix megacheck errors 2018-11-01 12:54:46 -07:00
batch_string.go Ensure error strings not capitalised ST1005 2018-11-30 10:54:24 +00:00
batch_string_test.go Remove influxdb dependency. 2018-11-29 11:44:22 -07:00
batch_timestamp.go Ensure error strings not capitalised ST1005 2018-11-30 10:54:24 +00:00
batch_timestamp_test.go feat(encoding): Improve timestamp encoding 2018-11-01 18:59:20 +00:00
bit_reader.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
bit_reader_test.go Ensure all tsm1 metrics support multiple instances 2018-12-07 14:32:34 +00:00
bool.go Ensure error strings not capitalised ST1005 2018-11-30 10:54:24 +00:00
bool_test.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
cache.go Ensure all tsm1 metrics support multiple instances 2018-12-07 14:32:34 +00:00
cache_race_test.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
cache_test.go Refactor tracker names 2018-12-07 14:32:34 +00:00
compact.gen.go fix: Allow compactor to make progress if v.MaxTime() != entry.MaxTime 2018-11-14 12:14:45 +00:00
compact.gen.go.tmpl fix: Allow compactor to make progress if v.MaxTime() != entry.MaxTime 2018-11-14 12:14:45 +00:00
compact.gen.go.tmpldata Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
compact.go config: clean up 2018-11-08 11:39:36 -07:00
compact_test.go Add method QueryRawJSON to influxql.service (for querytest tool) (#1402) 2018-11-15 10:45:38 -08:00
config.go respond to review feedback 2018-11-08 11:39:36 -07:00
encoding.gen.go Removes unused methods: U1000 2018-11-30 10:54:24 +00:00
encoding.gen.go.tmpl Removes unused methods: U1000 2018-11-30 10:54:24 +00:00
encoding.gen.go.tmpldata Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
encoding.gen_test.go Update tsi1 package from OSS 2018-10-01 12:08:37 +01:00
encoding.go Omit unused receiver name: ST1006 2018-11-30 10:54:24 +00:00
encoding_test.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
engine.go Fix nil tracker for full compactions 2018-12-11 18:30:59 +00:00
engine_cursor.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
engine_test.go remove CreateSeriesIfNotExists from engine tests 2018-11-21 20:16:45 +08:00
file_store.gen.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
file_store.gen.go.tmpl Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
file_store.gen.go.tmpldata Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
file_store.go Merge pull request #1785 from influxdata/bj-tss-file-observer 2018-12-07 18:46:35 -07:00
file_store_array.gen.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
file_store_array_test.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
file_store_key_iterator.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
file_store_key_iterator_test.go Add TSM1 measurement stats. 2018-10-08 10:43:53 -06:00
file_store_observer.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
file_store_test.go test(tsdb/tsm1): skip long tests in short mode 2018-11-16 08:06:23 -08:00
float.go Ensure all tsm1 metrics support multiple instances 2018-12-07 14:32:34 +00:00
float_test.go Batch oriented float encoders 2018-11-01 18:59:19 +00:00
int.go Ensure error strings not capitalised ST1005 2018-11-30 10:54:24 +00:00
int_test.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
metrics.go Fix metric names 2018-12-07 16:37:17 +00:00
metrics_test.go Fix metric names 2018-12-07 16:37:17 +00:00
mmap_unix.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
mmap_windows.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
pools.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
reader.gen.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
reader.gen.go.tmpl Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
reader.gen.go.tmpldata Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
reader.go tsm1: speed up deleterange for large keys 2018-12-14 10:06:24 -07:00
reader_test.go tsm1: add benchmarks for deletes 2018-12-14 10:06:24 -07:00
ring.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
ring_test.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
scheduler.go Ensure all tsm1 metrics support multiple instances 2018-12-07 14:32:34 +00:00
scheduler_test.go Convert Cache statistics 2018-12-07 14:32:34 +00:00
stats.go Add TSM1 measurement stats. 2018-10-08 10:43:53 -06:00
stats_test.go Add TSM1 measurement stats. 2018-10-08 10:43:53 -06:00
string.go Ensure error strings not capitalised ST1005 2018-11-30 10:54:24 +00:00
string_test.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
timestamp.go Ensure error strings not capitalised ST1005 2018-11-30 10:54:24 +00:00
timestamp_test.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
tombstone.go config: clean up 2018-11-08 11:39:36 -07:00
tombstone_test.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
wal.go Ensure all tsm1 metrics support multiple instances 2018-12-07 14:32:34 +00:00
wal_test.go Pull in more pkg packages 2018-10-01 12:08:37 +01:00
writer.go tsm1: add benchmarks for deletes 2018-12-14 10:06:24 -07:00
writer_test.go test(tsdb/tsm1): skip long tests in short mode 2018-11-16 08:06:23 -08:00