Build overview images of raster datasets. More information: https://gdal.org/programs/gdaladdo.
gdaladdo -r average path/to/input.tif