This is an automated email from the ASF dual-hosted git repository.
hanahmily pushed a change to branch index
in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb.git
from 66574f0d init
add d5ec6590 Add the `bydbctl analyze series` command to analyze the
series data. (#553)
add 2bc6b0aa Several Changes about Index and Document (#554)
new 867d60c0 Improve the index
add ba0d71d6 Improve the inverted index (#555)
new dbc21e88 Merge remote-tracking branch 'origin/main' into index
new f405da31 Merge remote-tracking branch 'origin/index' into index
new e3f4e60e Change the options to "index_mode"
new b0e2abab Introduce "index_mode" to save data exclusively in the series
index
The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.air.toml | 31 -
.golangci.yml | 195 +++---
CHANGES.md | 9 +
api/proto/banyandb/database/v1/schema.proto | 5 +-
banyand/internal/storage/index.go | 66 +--
banyand/internal/storage/index_test.go | 4 +-
banyand/internal/storage/segment.go | 3 +
banyand/internal/storage/storage.go | 6 +-
banyand/measure/measure.go | 2 +-
banyand/measure/query.go | 243 +++++---
banyand/measure/write.go | 131 ++--
banyand/stream/benchmark_test.go | 6 +-
banyand/stream/stream.go | 2 +-
bydbctl/internal/cmd/analyze.go | 118 ++++
bydbctl/internal/cmd/analyze_test.go | 77 +++
bydbctl/internal/cmd/root.go | 3 +-
dist/LICENSE | 12 +-
...uge.txt => license-github.com-SkyAPM-bluge.txt} | 0
...s-ice.txt => license-github.com-SkyAPM-ice.txt} | 0
docs/api-reference.md | 2 +-
docs/installation/kubernetes.md | 8 +-
docs/interacting/bydbctl/analyze.md | 65 ++
docs/menu.yml | 2 +
go.mod | 14 +-
go.sum | 68 +--
pkg/index/index.go | 44 +-
pkg/index/inverted/inverted.go | 179 +++---
pkg/index/inverted/inverted_series.go | 284 +++++++--
pkg/index/inverted/inverted_series_test.go | 657 +++++++++++++++++++--
pkg/index/inverted/query.go | 21 +
pkg/index/inverted/sort.go | 44 +-
pkg/index/testcases/duration.go | 2 +-
pkg/partition/index.go | 5 +-
pkg/pb/v1/series.go | 1 +
pkg/pb/v1/value.go | 15 +
.../measure/measure_plan_indexscan_local.go | 46 +-
pkg/query/logical/measure/topn_plan_localscan.go | 3 +-
pkg/query/logical/optimizer.go | 3 +-
pkg/query/logical/plan.go | 3 +
.../logical/stream/stream_plan_indexscan_local.go | 4 +-
pkg/query/model/model.go | 44 +-
.../measure/testdata/measures/service_traffic.json | 1 +
pkg/timestamp/range.go | 16 +
...alloc_space.inuse_objects.inuse_space.001.pb.gz | Bin 550417 -> 0 bytes
scripts/build/vendor.mk | 2 +-
.../data/input/{all.yaml => index_mode_all.yaml} | 8 +-
...{order_desc.yaml => index_mode_order_desc.yaml} | 9 +-
.../{tag_filter_int.yaml => index_mode_range.yaml} | 6 +-
test/cases/measure/data/want/index_mode_all.yaml | 107 ++++
.../data/want/index_mode_order_desc.yaml} | 68 ++-
.../want/{entity.yaml => index_mode_range.yaml} | 24 +-
test/cases/measure/measure.go | 3 +
test/stress/istio/istio_suite_test.go | 44 +-
53 files changed, 1962 insertions(+), 753 deletions(-)
delete mode 100644 .air.toml
create mode 100644 bydbctl/internal/cmd/analyze.go
create mode 100644 bydbctl/internal/cmd/analyze_test.go
rename dist/licenses/{license-github.com-zinclabs-bluge.txt =>
license-github.com-SkyAPM-bluge.txt} (100%)
rename dist/licenses/{license-github.com-zinclabs-ice.txt =>
license-github.com-SkyAPM-ice.txt} (100%)
create mode 100644 docs/interacting/bydbctl/analyze.md
delete mode 100644
pprof.banyand.alloc_objects.alloc_space.inuse_objects.inuse_space.001.pb.gz
copy test/cases/measure/data/input/{all.yaml => index_mode_all.yaml} (86%)
copy test/cases/measure/data/input/{order_desc.yaml =>
index_mode_order_desc.yaml} (87%)
copy test/cases/measure/data/input/{tag_filter_int.yaml =>
index_mode_range.yaml} (90%)
create mode 100644 test/cases/measure/data/want/index_mode_all.yaml
copy test/cases/{stream/data/want/duplicated_entity_filter.yaml =>
measure/data/want/index_mode_order_desc.yaml} (58%)
copy test/cases/measure/data/want/{entity.yaml => index_mode_range.yaml} (82%)