Data Storage, File Services
Comparison of different file services available to Aaltonians.
Managing the size of data is an important part of responsible research and working practices. Large amounts of data affect storage needs, backups, transfer times, analysis speed, long-term preservation costs, and how easily data can be reused or shared with others. Data may become large due to, for example, individual large files, a very large number of files, high resolution or sampling frequency, or multiple versions and intermediate results.
The aim is not to reduce data size at any cost, but to preserve the scientific value, quality and understandability of the data. Especially with research data, it must be ensured that measurement information and metadata are preserved, the analysis remains reliable, and the data can be validated or reused if necessary.
Each user is responsible for ensuring that their own files and working practices are appropriate. In research groups and shared storage spaces, the data owner, such as the person responsible for the project or the group leader, must ensure that clear practices have been agreed for the data: what is retained, in which format, for how long, and who is responsible for it.
Decisions about compressing, converting or reducing data should not be made alone if the data is shared, scientifically significant, or related to agreements, funder requirements, publications, research ethics obligations or long-term preservation.
In addition to traditional deletion processes, data size can be affected by reducing or compressing data. File size can also be reduced within individual files. For example, if a PowerPoint file becomes large, it is recommended to use the Compress option in the file settings; images have a separate compression option. PowerPoint is not the right format for preserving data at original resolution or for storing data pixel by pixel.
Rule of thumb: an office document is usually measured in megabytes; hundreds of megabytes is already large; several gigabytes require consideration; and tens or hundreds of gigabytes are a research data management issue. Videos, microscopy data, simulations and point clouds can normally be very large.
Data reduction means that less data is collected or retained. In this case, the content changes: some data is removed, accuracy is reduced, or the data is simplified. Examples include cropping an image to include only the region of interest, reducing the frame rate of a video, saving only certain sensor channels, or saving simulation output files less frequently.
Data compression means that the same data is stored in a technically more efficient way. In lossless compression, the data can be restored exactly to its original form. Examples include ZIP, 7z, gzip, PNG, TIFF LZW, HDF5 compression, lossless FLAC, and lossless video codecs.
The practical choice depends on the data:
Lossless compression is the basic solution for research data when the content and accuracy of the data must be preserved. It is suitable, for example, for raw data, measurement data, imaging data, simulation data, sensor data, large text datasets, CSV files, code files, and bundling many files together.
Lossy compression reduces file size by removing information. It is usually not suitable as the only version of research data. However, a lossy version may be suitable for viewing, distribution, teaching, presentations or checking purposes, provided that the original data or a sufficiently high-quality lossless version has been retained separately.
A good general rule is:
Raw data should be retained unchanged at least when the measurement is unique, expensive, difficult to repeat, or when validation of the research requires the original data.
The need for validation may arise, for example, in a situation where a journal editor asks the authors to address questions raised after publication and wants to see the raw data underlying a specific figure or analysis. To support published results, it is advisable to retain original, traceable data that can be used, if necessary, to verify the results and demonstrate their provenance. This helps in responding to subsequent questions concerning, for example, the authenticity or integrity of the data.
In research data, the scientific value and quality of the data are often more important than a small file size. Before reducing, converting or deleting raw data, consider at least the following:
Lossy compression is not recommended during the analysis phase, so that the data is not corrupted and the reliability of the analysis is not weakened.
The same data can differ significantly in size and usability depending on the file format. For example, CSV can be large and slow, whereas Parquet can be more efficient for tabular and log data. For simulation data, HDF5, NetCDF and other formats that support chunking structures or internal compression can be useful. For point clouds, LAZ can compress data efficiently.
General considerations:
Data size does not only mean gigabytes. The number of files also matters. For example, 10 million small files can be more difficult to handle than a few large files, even if the total data size is the same. A large number of small files slows down transfers, backups, folder browsing and archiving, and cloud services often handle small files inefficiently.
If the data consists of a very large number of small files:
If the data consists of individual very large files:
Choose the compression method based on the intended use, quality, size and retention requirements of the data.
Common lossless options include ZIP, 7z, gzip, zstd, xz, tar.zst, as well as internal compression provided by formats such as HDF5, TIFF or NetCDF.
Video data can be exceptionally large. For example, uncompressed Full HD video at 60 fps can take about 3 gigabytes per minute. Raw data from a high-speed camera can amount to tens or hundreds of gigabytes in just a few seconds of recording.
Video compression is a balance between file size and analysis quality. If the video is used to measure, for example, motion, shapes, crack propagation or other features requiring accuracy, lossy compression should not be used during the analysis phase.
Recommended approach:
According to CSC’s guidance, original research data should be kept unchanged somewhere, and large amounts of video should not be left uncompressed in active work or scratch directories. Unnecessary or passive data should be moved to an appropriate storage location.
For retention and archiving use, high-quality formats such as MP4 with the H.264 or H.265 codec, or, depending on the situation, MOV or AVI, can be used alongside the source material. However, the choice must be based on the intended use and quality requirements.
Compression, reduction and format conversions must be documented so that another person can later understand what has been done to the data and why. Documentation is especially important when the data is related to a publication, research reproducibility, long-term preservation or shared use.
Record, for example:
If data is reduced in terms of content, also document what was removed, cropped or combined.
Do not optimise small data unnecessarily. Compress large data losslessly if all information is needed. Reduce data only if it is clear which part of the data is no longer needed. Retain critical raw data or at least a representative raw data sample if the measurement is unique or needed for validation. Prefer efficient, open and well-documented formats so that the data remains usable later.
Comparison of different file services available to Aaltonians.
Read what to consider before, during and after transferring data from one storage system to another.
Recommended file storage services to use in various use cases.
Aalto Data Storage and retention principles
See instructions on how to restore previous versions of your files from back-up folders on the Home or Work disks, and OneDrive.
File backup means the storage and restoration of information in case of any unexpected error or damage. Files are backed up with both quick backup copies and more stable backup copies that are stored on a separate medium.