Skip to content

Conversation

@TimLFletcher
Copy link
Contributor

DOC-13439

Added a note to clear up some confusion about what memory actually means within the context of storing data in a bucket.

This is for 8.0, which differs slightly to the 7.6 version.

Copy link
Contributor

@rao-shwe rao-shwe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested modifications for a bit of technical correctness and line breaks.


|===
[horizontal]
[[memory-note]]<<quota-ref, ^1^>>:: Memory refers to the memory allocated to the bucket.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
[[memory-note]]<<quota-ref, ^1^>>:: Memory refers to the memory allocated to the bucket.
[[memory-note]]<<quota-ref, ^1^>>:: Memory refers to the RAM allocated to the bucket.
+

|===
[horizontal]
[[memory-note]]<<quota-ref, ^1^>>:: Memory refers to the memory allocated to the bucket.
Disk space of the bucket refers to the data size of the bucket on the disk, including all of its replicas.
Copy link
Contributor

@rao-shwe rao-shwe Nov 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Disk space of the bucket refers to the data size of the bucket on the disk, including all of its replicas.
Disk space refers to the total size of the bucket’s data on the disk, including all of its replicas.
+

[horizontal]
[[memory-note]]<<quota-ref, ^1^>>:: Memory refers to the memory allocated to the bucket.
Disk space of the bucket refers to the data size of the bucket on the disk, including all of its replicas.
This can be estimated by: (number of documents * average document size * number of replicas * expected compression ratio).
Copy link
Contributor

@rao-shwe rao-shwe Nov 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This can be estimated by: (number of documents * average document size * number of replicas * expected compression ratio).
This can be estimated by:
+
(number of documents x average document size x number of replicas x expected compression ratio).

[[memory-note]]<<quota-ref, ^1^>>:: Memory refers to the memory allocated to the bucket.
Disk space of the bucket refers to the data size of the bucket on the disk, including all of its replicas.
This can be estimated by: (number of documents * average document size * number of replicas * expected compression ratio).
On a running system, the metric `kv_logical_data_size_bytes` reflects the bucket's size on the disk.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
On a running system, the metric `kv_logical_data_size_bytes` reflects the bucket's size on the disk.
+
On a running system, the metric `kv_logical_data_size_bytes` reflects the bucket's size on the disk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants