SigNoz / signoz

SigNoz is an open-source observability platform native to OpenTelemetry with logs, traces and metrics in a single application. An open-source alternative to DataDog, NewRelic, etc. 🔥 🖥. 👉 Open source Application Performance Monitoring (APM) & Observability tool
https://signoz.io
Other
18.3k stars 1.17k forks source link

[EPIC]: Logs new schema #5555

Closed nityanandagohain closed 2 weeks ago

nityanandagohain commented 1 month ago
nityanandagohain commented 1 month ago

Few changes

INSERT INTO test_table SELECT number as id, map(toString(number), number), map(toString(number), number), number FROM numbers(1000000);

--- not working on maps explain indexes=1 select * from test_table where valueFloat['1000'] > 999 limit 10;

explain indexes=1 select * from test_table where valueFloat['1000'] = 1000.0 limit 10;

explain indexes=1 select * from test_table where valueInt['1000'] > 999 limit 10;

explain indexes=1 select * from test_table where valueInt['1000'] = 1000 limit 10;

-- working on raw column explain indexes=1 select * from test_table where onlyVal = 1000.0 limit 10;

explain indexes=1 select * from test_table where onlyVal > 1000.0 limit 10; Also when > , < is used index on the key is also not applied, on when = is used index on the key is applied.

nityanandagohain commented 1 month ago

Decision w.r.t index

Create issues on clickhouse.

cc @srikanthccv

nityanandagohain commented 1 month ago
nityanandagohain commented 1 month ago

https://github.com/SigNoz/signoz/issues/5614

nityanandagohain commented 4 weeks ago

This left in new schema