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