Skip to content

Commit

Permalink
Update links in synthetic-size.md (#8501)
Browse files Browse the repository at this point in the history
  • Loading branch information
MihaiBojin authored Jul 26, 2024
1 parent 9bfa180 commit 857a182
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docs/synthetic-size.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ implementation where we keep more data than we would need to, do not
change the synthetic size or incur any costs to the user.

The synthetic size is calculated for the whole project. It is not
straightforward to attribute size to individual branches. See "What is
the size of an individual branch?" for discussion on those
difficulties.
straightforward to attribute size to individual branches. See [What is
the size of an individual branch?](#what-is-the-size-of-an-individual-branch)
for a discussion of those difficulties.

The synthetic size is designed to:

Expand All @@ -40,8 +40,9 @@ The synthetic size is designed to:
- logical size is the size of a branch *at a given point in
time*. It's the total size of all tables in all databases, as you
see with "\l+" in psql for example, plus the Postgres SLRUs and some
small amount of metadata. NOTE that currently, Neon does not include
the SLRUs and metadata in the logical size. See comment to `get_current_logical_size_non_incremental()`.
small amount of metadata. Note that currently, Neon does not include
the SLRUs and metadata in the logical size. Refer to the comment in
[`get_current_logical_size_non_incremental()`](/pageserver/src/pgdatadir_mapping.rs#L813-L814).

- a "point in time" is defined as an LSN value. You can convert a
timestamp to an LSN, but the storage internally works with LSNs.
Expand Down

1 comment on commit 857a182

@github-actions
Copy link

Choose a reason for hiding this comment

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

3132 tests run: 3011 passed, 0 failed, 121 skipped (full report)


Flaky tests (1)

Postgres 16

  • test_delete_timeline_client_hangup: debug

Code coverage* (full report)

  • functions: 32.7% (7000 of 21414 functions)
  • lines: 50.1% (55803 of 111277 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
857a182 at 2024-07-26T01:05:03.091Z :recycle:

Please sign in to comment.