This message was deleted.
# support
s
This message was deleted.
a
can you show output of below command when run over clickhouse client
Copy code
SELECT
                    database,
                    table,
                    formatReadableSize(sum(data_compressed_bytes) AS size) AS compressed,
                    formatReadableSize(sum(data_uncompressed_bytes) AS usize) AS uncompressed,
                    round(usize / size, 2) AS compr_rate,
                    sum(rows) AS rows,
                    count() AS part_count
                FROM system.parts
                WHERE (active = 1) AND (database='signoz_traces') AND (table LIKE '%')
                GROUP BY
                    database,
                    table
                ORDER BY size DESC;
a span is the smallest entity. A trace might consist of many spans.
should be usually 150 bytes per span
v
Initially I ran select count() from signoz_metrics.time_series_v2; but seems I was on a different table
note sure why I have 29574447 traces in two days though
a
so 29M spans till now. Can you run the same query for logs and metrics dbs?
by changing
(database='signoz_traces')
in above query to
signoz_logs
and
signoz_metrics
v
I only index traces SO the traces table is what I was looking for normally
a
ok..
v
So the issue seem to be on my side, I must figure out where thse 29M traces in a single day come from
thx
👍 1
a
maybe...though we will be optimizing the storage in a couple of weeks...a couple of features on duration and timestamp sorting in the trace filter page heavy on storage
we will make those optional which should reduce the size to half
🙌 1