# RRDRESIZE(1) - man - phpMan

[RRDRESIZE(1)](https://www.chedong.com/phpMan.php/man/RRDRESIZE/1/markdown)                                   rrdtool                                  [RRDRESIZE(1)](https://www.chedong.com/phpMan.php/man/RRDRESIZE/1/markdown)



## NAME
       rrdresize - alters the size of an RRA and creates a new .rrd file

## SYNOPSIS
       **rrdtool** **resize** _filename_ _rra-num_  **GROW**_|_**SHRINK** _rows_

## DESCRIPTION
       The **resize** function is used to modify the number of rows in an **RRA**.

       _filename_
               the name of the **RRD** you want to alter.

       _rra-num_ the **RRA** you want to alter. You can find the number using **rrdtool** **info**.

       **GROW**    used if you want to add extra rows to an RRA. The extra rows will be inserted as the
               rows that are oldest.

       **SHRINK**  used if you want to remove rows from an RRA. The rows that will be removed are the
               oldest rows.

       _rows_    the number of rows you want to add or remove.

## NOTES
       The new .rrd file, with the modified RRAs, is written to the file **resize.rrd** in the current
       directory.  **The** **original** **.rrd** **file** **is** **not** **modified**.

       It is possible to abuse this tool and get strange results by first removing some rows and
       then reinserting the same amount (effectively clearing them to be Unknown). You may thus end
       up with unknown data in one RRA while at the same timestamp this data is available in another
       RRA.

## AUTHOR
       Alex van den Bogaerdt <<alex@vandenbogaerdt.nl>>



1.7.2                                        2022-03-17                                 [RRDRESIZE(1)](https://www.chedong.com/phpMan.php/man/RRDRESIZE/1/markdown)
