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
19.45k stars 1.31k forks source link

[EPIC]: Logs new schema #5555

Open nityanandagohain opened 4 months ago

nityanandagohain commented 4 months ago
nityanandagohain commented 4 months 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 4 months ago

Decision w.r.t index

Create issues on clickhouse.

cc @srikanthccv

nityanandagohain commented 4 months ago
nityanandagohain commented 3 months ago

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

nityanandagohain commented 3 months ago

This left in new schema