Commit Graph

17 Commits

Author SHA1 Message Date
Benny Halevy
33bad72fd2 sstables: mx: add pi_auto_scale_events metric
Counts the number of promoted index auto-scale events.

A large number of those, relative to `partition_writes`,
indicates that `column_index_size_in_kb` should be increased.

Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
2022-05-24 13:32:39 +03:00
Avi Kivity
fcb8d040e8 treewide: use Software Package Data Exchange (SPDX) license identifiers
Instead of lengthy blurbs, switch to single-line, machine-readable
standardized (https://spdx.dev) license identifiers. The Linux kernel
switched long ago, so there is strong precedent.

Three cases are handled: AGPL-only, Apache-only, and dual licensed.
For the latter case, I chose (AGPL-3.0-or-later and Apache-2.0),
reasoning that our changes are extensive enough to apply our license.

The changes we applied mechanically with a script, except to
licenses/README.md.

Closes #9937
2022-01-18 12:15:18 +01:00
Michael Livshin
5f9695c1b2 sstables: count read row tombstones
Refs #7749.

Signed-off-by: Michael Livshin <michael.livshin@scylladb.com>
2021-08-01 19:41:11 +03:00
Michael Livshin
15b0e5c4d2 sstables: count read range tombstones
Refs #7749.

Signed-off-by: Michael Livshin <michael.livshin@scylladb.com>
Message-Id: <20210602152210.17948-2-michael.livshin@scylladb.com>
2021-06-14 14:37:33 +02:00
Avi Kivity
a55b434a2b treewide: extent copyright statements to present day 2021-06-06 19:18:49 +03:00
Michael Livshin
5abeadde4d statistics: add some sstable management metrics
Add the following metrics, as part of #251:

- open for writing (a.k.a. "created", unless I'm missing something?)

- open for reading

- deleted

- currently open for reading/writing (gauges)

Refs #251.

Signed-off-by: Michael Livshin <michael.livshin@scylladb.com>
2021-05-12 03:48:07 +03:00
Michael Livshin
1f83251b2b sstables: stats: noexcept all accessors
Signed-off-by: Michael Livshin <michael.livshin@scylladb.com>
2021-05-12 03:48:07 +03:00
Botond Dénes
ec6c540c30 sstables: stats: remove now unused sstable_partition_reads counter 2021-01-27 17:38:17 +02:00
Botond Dénes
e0284bb9ee treewide: add missing headers and/or forward declarations 2020-03-23 09:29:45 +02:00
Benny Halevy
427d6e6090 sstables: add capped_tombstone_deletion_time stats counter
Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
2019-01-22 15:34:32 +02:00
Benny Halevy
156f9ffa11 sstables: add capped_local_deletion_time stats counter
Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
2019-01-22 15:34:32 +02:00
Benny Halevy
bd6533f471 sstables stats: row reads
Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
2018-10-01 13:15:43 +03:00
Benny Halevy
192c1949a3 sstables stats: partition seeks
Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
2018-10-01 13:15:43 +03:00
Benny Halevy
edb3c23125 sstables stats: partition reads
Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
2018-10-01 13:15:43 +03:00
Benny Halevy
e9dffa56c8 sstables stats: flat mutation reads
Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
2018-10-01 13:15:43 +03:00
Benny Halevy
4ccdc1115d sstables stats: cell/cell_tombstone writes
Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
2018-10-01 13:15:41 +03:00
Benny Halevy
2f48f72d5c sstables stats: partition/row/tombstone writes
Introduce per-thread sstables stats infrastructure

Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
2018-10-01 13:01:14 +03:00