Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to record a log of AsyncFileCached page accesses for some time window #1552

Open
satherton opened this issue May 8, 2019 · 0 comments

Comments

@satherton
Copy link
Contributor

satherton commented May 8, 2019

In support of #1518, it would be nice to have an ability to log storage engine page accesses from a live cluster for use in evaluating different caching policies.

One easy to use form of this would be for the fdbcli "profile" command to support this via a subcommand. Each process will would accumulate page numbers accessed for the specified amount of time into memory and then write the collected data to a set of keys AFTER the profile period is complete (so as to not affect the workload during the collection).

The data could be logged to chunked key/value pairs with keys like <prefix>/filename/<chunkNumber>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant