Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

resize (Ephemeral Database)

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
resize {
    database-size-diff size MB;
    database-size-on-disk size MB; 
}

Hierarchy Level

content_copy zoom_out_map
[edit system configuration-database ephemeral instance instance-name]
  

Description

Resize the ephemeral instance's configuration database. The system resizes the database during the commit operation when it meets the criteria in both the database-size-diff and database-size-on-disk statements. The system displays Database resize completed after it successfully resizes the configuration database.

A resize operation involves copying the active configuration objects to a new database and setting the version for each object to the latest version. Resizing the database effectively removes all deleted configuration objects and defragments the database.

Default

If you do not include this statement, the device does not resize the ephemeral database.

Options

none Enable database resizing and use the default values for the database-size-diff and database-size-on-disk statements.
database-size-diff size

Specify the minimum difference between the database size and the actual usage.

  • Default: 100 MB

  • Range: 1 MB through 1024 MB

database-size-on-disk size

Specify the minimum configuration database size on disk.

  • Default: 450 MB

  • Range: 1 MB through 1024 MB

Required Privilege Level

admin—To view this statement in the configuration.

admin-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 23.2R1 and Junos OS Evolved Release 23.2R1.

footer-navigation