Edd Robinson
f2d6c93e65
test: add benchmark to track cache deletion perf
...
Benchmarks using a 24T / 32GB / NVME disk machine:
goos: linux
goarch: amd64
pkg: github.com/influxdata/influxdb/tsdb/tsm1
BenchmarkEngine_DeletePrefixRange_Cache/exists-24 20 280039668 ns/op 64073374 B/op 711421 allocs/op
BenchmarkEngine_DeletePrefixRange_Cache/exists-24 30 271810284 ns/op 64073207 B/op 711420 allocs/op
BenchmarkEngine_DeletePrefixRange_Cache/exists-24 30 263464797 ns/op 64072589 B/op 711415 allocs/op
BenchmarkEngine_DeletePrefixRange_Cache/exists-24 30 269460489 ns/op 64073344 B/op 711420 allocs/op
BenchmarkEngine_DeletePrefixRange_Cache/exists-24 30 268319443 ns/op 64073947 B/op 711425 allocs/op
BenchmarkEngine_DeletePrefixRange_Cache/exists-24 30 254945449 ns/op 64073463 B/op 711421 allocs/op
BenchmarkEngine_DeletePrefixRange_Cache/exists-24 30 270202990 ns/op 65616337 B/op 724440 allocs/op
BenchmarkEngine_DeletePrefixRange_Cache/exists-24 30 274113444 ns/op 64074764 B/op 711435 allocs/op
BenchmarkEngine_DeletePrefixRange_Cache/exists-24 30 264234897 ns/op 64073748 B/op 711428 allocs/op
BenchmarkEngine_DeletePrefixRange_Cache/exists-24 30 264406196 ns/op 64073797 B/op 711429 allocs/op
BenchmarkEngine_DeletePrefixRange_Cache/not_exists-24 30 250130623 ns/op 59202124 B/op 700036 allocs/op
BenchmarkEngine_DeletePrefixRange_Cache/not_exists-24 30 255092042 ns/op 59552365 B/op 706287 allocs/op
BenchmarkEngine_DeletePrefixRange_Cache/not_exists-24 30 274121068 ns/op 59202753 B/op 700043 allocs/op
BenchmarkEngine_DeletePrefixRange_Cache/not_exists-24 30 273088065 ns/op 59202702 B/op 700043 allocs/op
BenchmarkEngine_DeletePrefixRange_Cache/not_exists-24 30 264184087 ns/op 59202724 B/op 700043 allocs/op
BenchmarkEngine_DeletePrefixRange_Cache/not_exists-24 30 268075364 ns/op 59202718 B/op 700043 allocs/op
BenchmarkEngine_DeletePrefixRange_Cache/not_exists-24 30 265067057 ns/op 59202709 B/op 700043 allocs/op
BenchmarkEngine_DeletePrefixRange_Cache/not_exists-24 30 254749976 ns/op 60118957 B/op 701435 allocs/op
BenchmarkEngine_DeletePrefixRange_Cache/not_exists-24 30 266953837 ns/op 59203376 B/op 700051 allocs/op
BenchmarkEngine_DeletePrefixRange_Cache/not_exists-24 30 275083559 ns/op 59203329 B/op 700050 allocs/op
PASS
ok github.com/influxdata/influxdb/tsdb/tsm1 261.273s
2019-08-30 20:35:05 +01:00
Edd Robinson
d160585a34
refactor(storage): add deeper tracing around deletes
2019-08-22 11:08:33 +01:00
tmgordeeva
48ee7ada04
fix(storage): move retention snapshot out of per bucket calls ( #14420 )
...
* fix(storage): move retention snapshot out of per bucket calls
Also adds tracking for snapshots from retention and full compactions.
2019-07-23 11:40:05 -07:00
Jeff Wendling
7403fd8aa9
tsm1: rename engine method to DeletePrefixRange
...
The storage/engine knows about buckets, but the tsm1/engine doesn't, so
name the tsm1/engine method Prefix and keep the storage/engine named
Bucket.
2019-05-01 13:40:40 -06:00
Edd Robinson
c7d26d8950
Rename delete method
2019-01-14 11:23:13 +00:00
Mark Rushakoff
d73d73c0d4
chore: rename imports from platform to influxdb
...
I did this with a dumb editor macro, so some comments changed too.
Also rename root package from platform to influxdb.
In interest of minimizing risk, anyone importing the root package has
now aliased it to "platform" so that no changes beyond imports were
necessary in those files.
Lastly, replace the old platform module to local path /dev/null so that
nobody can accidentally reintroduce a platform dependency while
migrating platform code to influxdb.
2019-01-09 20:51:47 -08:00
Jeff Wendling
73c0ea410e
tsm1: add test for engine DeletePrefix
2019-01-09 10:56:10 -07:00