Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
docs
Commits
af80d03c
Commit
af80d03c
authored
Feb 02, 2015
by
Bjoern Rabenstein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improvements after code review.
parent
5aaf178c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
storage.md
content/docs/operating/storage.md
+8
-6
No files found.
content/docs/operating/storage.md
View file @
af80d03c
...
...
@@ -8,7 +8,8 @@ nav_icon: database
Prometheus has a sophisticated local storage subsystem. For indexes,
it uses
[
LevelDB
](
https://github.com/google/leveldb
)
. For the bulk
sample data, it has its own custom storage layer, which organizes
sample data in chunks of constant size (1024 bytes payload).
sample data in chunks of constant size (1024 bytes payload). These
chunks are then stored on disk in one file per time series.
## Memory usage
...
...
@@ -33,11 +34,12 @@ times more RAM available than needed by the memory chunks alone.
LevelDB is essentially dealing with data on disk and relies on the
disk caches of the operating system for optimal performance. However,
it maintains in-memory caches, whose size you can configure for each
index via the flags
`storage.local.index-cache-size.fingerprint-to-metric`
,
`storage.local.index-cache-size.fingerprint-to-timerange`
,
`storage.local.index-cache-size.label-name-to-label-values`
, and
`storage.local.index-cache-size.label-pair-to-fingerprints`
.
index via the following flags:
*
`storage.local.index-cache-size.fingerprint-to-metric`
*
`storage.local.index-cache-size.fingerprint-to-timerange`
*
`storage.local.index-cache-size.label-name-to-label-values`
*
`storage.local.index-cache-size.label-pair-to-fingerprints`
## Disk usage
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment