| Option | LOCAL_STORAGE_PERCENTAGE | |
| Description | Sets a limit to the percentage of disk full | |
| Default | 85 % | |
| Minimum | 0 % | |
Used to set the percentage of local disk to be used to store incoming data before it is sent to bucket storage.
LOCAL_STORAGE_PERCENTAGE=80
LOCAL_STORAGE_MIN_AGE_DAYS=0These settings only take effect when bucket storage is enabled. It allows LogScale to delete files from the local storage and load them from bucket storage if the files are required during a query. Fetching the file from bucket is much slower than using local storage. Segment files will be deleted in a least recently used order, in order to hit the configured fill target.
        In clusters where USING_EPHEMERAL_DISKS is
        true, setting
        LOCAL_STORAGE_PERCENTAGE enables prefetching on
        node recovery, meaning that when a node with an empty disk boots
        into the cluster, it will start fetching from bucket storage to
        fill its disk.
      
Note
          With larger drive sizes, set
          LOCAL_STORAGE_PERCENTAGE to some number close
          to but smaller than 100 (e.g. 93) to avoid wasted storage.